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.



19126
19127
19128
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19126

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)


19119
19120
19121
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19119

def access_token
  @access_token
end

#expire_timeString

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

Returns:

  • (String)


19124
19125
19126
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19124

def expire_time
  @expire_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19131
19132
19133
19134
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19131

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