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.



19192
19193
19194
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19192

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)


19185
19186
19187
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19185

def access_token
  @access_token
end

#expire_timeString

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

Returns:

  • (String)


19190
19191
19192
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19190

def expire_time
  @expire_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19197
19198
19199
19200
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19197

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