Class: Google::Apis::IamcredentialsV1::GenerateIdTokenResponse
- Inherits:
-
Object
- Object
- Google::Apis::IamcredentialsV1::GenerateIdTokenResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/iamcredentials_v1/classes.rb,
lib/google/apis/iamcredentials_v1/representations.rb,
lib/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.
149 150 151 |
# File 'lib/google/apis/iamcredentials_v1/classes.rb', line 149 def initialize(**args) update!(**args) end |
Instance Attribute Details
#token ⇒ String
The OpenId Connect ID token.
Corresponds to the JSON property token
147 148 149 |
# File 'lib/google/apis/iamcredentials_v1/classes.rb', line 147 def token @token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
154 155 156 |
# File 'lib/google/apis/iamcredentials_v1/classes.rb', line 154 def update!(**args) @token = args[:token] if args.key?(:token) end |