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.



23986
23987
23988
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 23986

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)


23979
23980
23981
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 23979

def access_token
  @access_token
end

#expire_timeString

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

Returns:

  • (String)


23984
23985
23986
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 23984

def expire_time
  @expire_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



23991
23992
23993
23994
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 23991

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