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.



15287
15288
15289
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15287

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)


15280
15281
15282
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15280

def access_token
  @access_token
end

#expire_timeString

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

Returns:

  • (String)


15285
15286
15287
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15285

def expire_time
  @expire_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15292
15293
15294
15295
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15292

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