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.
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
#token ⇒ String
The OpenId Connect ID token.
Corresponds to the JSON property token
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 |