Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateFetchAccessTokenResponse

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

Overview

Response message for FeatureOnlineStoreService.GenerateFetchAccessToken.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1GenerateFetchAccessTokenResponse

Returns a new instance of GoogleCloudAiplatformV1GenerateFetchAccessTokenResponse.



16211
16212
16213
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16211

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)


16204
16205
16206
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16204

def access_token
  @access_token
end

#expire_timeString

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

Returns:

  • (String)


16209
16210
16211
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16209

def expire_time
  @expire_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16216
16217
16218
16219
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16216

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