Class: Google::Apis::CloudshellV1::GenerateAccessTokenResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudshellV1::GenerateAccessTokenResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudshell_v1/classes.rb,
lib/google/apis/cloudshell_v1/representations.rb,
lib/google/apis/cloudshell_v1/representations.rb
Overview
Response message for GenerateAccessToken.
Instance Attribute Summary collapse
-
#access_token ⇒ String
The access token.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenerateAccessTokenResponse
constructor
A new instance of GenerateAccessTokenResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenerateAccessTokenResponse
Returns a new instance of GenerateAccessTokenResponse.
289 290 291 |
# File 'lib/google/apis/cloudshell_v1/classes.rb', line 289 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_token ⇒ String
The access token.
Corresponds to the JSON property accessToken
287 288 289 |
# File 'lib/google/apis/cloudshell_v1/classes.rb', line 287 def access_token @access_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
294 295 296 |
# File 'lib/google/apis/cloudshell_v1/classes.rb', line 294 def update!(**args) @access_token = args[:access_token] if args.key?(:access_token) end |