Class: Google::Apis::IamcredentialsV1::GenerateIdTokenResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/iamcredentials_v1/classes.rb,
generated/google/apis/iamcredentials_v1/representations.rb,
generated/google/apis/iamcredentials_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenerateIdTokenResponse

Returns a new instance of GenerateIdTokenResponse.



146
147
148
# File 'generated/google/apis/iamcredentials_v1/classes.rb', line 146

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#tokenString

The OpenId Connect ID token. Corresponds to the JSON property token

Returns:

  • (String)


144
145
146
# File 'generated/google/apis/iamcredentials_v1/classes.rb', line 144

def token
  @token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



151
152
153
# File 'generated/google/apis/iamcredentials_v1/classes.rb', line 151

def update!(**args)
  @token = args[:token] if args.key?(:token)
end