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.



26883
26884
26885
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26883

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)


26876
26877
26878
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26876

def access_token
  @access_token
end

#expire_timeString

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

Returns:

  • (String)


26881
26882
26883
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26881

def expire_time
  @expire_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



26888
26889
26890
26891
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26888

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