Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateFetchAccessTokenResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb

Overview

Response message for FeatureOnlineStoreService.GenerateFetchAccessToken.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1GenerateFetchAccessTokenResponse

Returns a new instance of GoogleCloudAiplatformV1beta1GenerateFetchAccessTokenResponse.



25511
25512
25513
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 25511

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#access_tokenString

The OAuth 2.0 access token. Corresponds to the JSON property accessToken

Returns:

  • (String)


25504
25505
25506
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 25504

def access_token
  @access_token
end

#expire_timeString

Token expiration time. This is always set Corresponds to the JSON property expireTime

Returns:

  • (String)


25509
25510
25511
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 25509

def expire_time
  @expire_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



25516
25517
25518
25519
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 25516

def update!(**args)
  @access_token = args[:access_token] if args.key?(:access_token)
  @expire_time = args[:expire_time] if args.key?(:expire_time)
end