Class: Google::Apis::CloudshellV1::GenerateAccessTokenResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_tokenString

The access token. Corresponds to the JSON property accessToken

Returns:

  • (String)


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