Class: Google::Apis::IamcredentialsV1::GenerateIdentityBindingAccessTokenResponse
- Inherits:
-
Object
- Object
- Google::Apis::IamcredentialsV1::GenerateIdentityBindingAccessTokenResponse
- 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
-
#access_token ⇒ String
The OAuth 2.0 access token.
-
#expire_time ⇒ String
Token expiration time.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenerateIdentityBindingAccessTokenResponse
constructor
A new instance of GenerateIdentityBindingAccessTokenResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GenerateIdentityBindingAccessTokenResponse
Returns a new instance of GenerateIdentityBindingAccessTokenResponse
241 242 243 |
# File 'generated/google/apis/iamcredentials_v1/classes.rb', line 241 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_token ⇒ String
The OAuth 2.0 access token.
Corresponds to the JSON property accessToken
233 234 235 |
# File 'generated/google/apis/iamcredentials_v1/classes.rb', line 233 def access_token @access_token end |
#expire_time ⇒ String
Token expiration time.
The expiration time is always set.
Corresponds to the JSON property expireTime
239 240 241 |
# File 'generated/google/apis/iamcredentials_v1/classes.rb', line 239 def expire_time @expire_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
246 247 248 249 |
# File 'generated/google/apis/iamcredentials_v1/classes.rb', line 246 def update!(**args) @access_token = args[:access_token] if args.key?(:access_token) @expire_time = args[:expire_time] if args.key?(:expire_time) end |