class Google::Apis::IamV1::SignJwtRequest

Deprecated. [Migrate to Service Account Credentials API](cloud.google. com/iam/help/credentials/migrate-api). The service account sign JWT request.

Attributes

payload[RW]

Required. Deprecated. [Migrate to Service Account Credentials API](https:// cloud.google.com/iam/help/credentials/migrate-api). The JWT payload to sign. Must be a serialized JSON object that contains a JWT Claims Set. For example: ` `“sub”: “user@example.com”, “iat”: 313435“ If the JWT Claims Set contains an expiration time (`exp`) claim, it must be an integer timestamp that is not in the past and no more than 12 hours in the future. If the JWT Claims Set does not contain an expiration time (`exp`) claim, this claim is added automatically, with a timestamp that is 1 hour in the future. Corresponds to the JSON property `payload` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/iam_v1/classes.rb, line 1632
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/iam_v1/classes.rb, line 1637
def update!(**args)
  @payload = args[:payload] if args.key?(:payload)
end