Class: Google::Apis::IamcredentialsV1::GenerateIdTokenResponse
- Inherits:
-
Object
- Object
- Google::Apis::IamcredentialsV1::GenerateIdTokenResponse
- 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
-
#token ⇒ String
The OpenId Connect ID token.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenerateIdTokenResponse
constructor
A new instance of GenerateIdTokenResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GenerateIdTokenResponse
Returns a new instance of GenerateIdTokenResponse
145 146 147 |
# File 'generated/google/apis/iamcredentials_v1/classes.rb', line 145 def initialize(**args) update!(**args) end |
Instance Attribute Details
#token ⇒ String
The OpenId Connect ID token.
Corresponds to the JSON property token
143 144 145 |
# File 'generated/google/apis/iamcredentials_v1/classes.rb', line 143 def token @token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
150 151 152 |
# File 'generated/google/apis/iamcredentials_v1/classes.rb', line 150 def update!(**args) @token = args[:token] if args.key?(:token) end |