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.



15488
15489
15490
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15488

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)


15481
15482
15483
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15481

def access_token
  @access_token
end

#expire_timeString

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

Returns:

  • (String)


15486
15487
15488
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15486

def expire_time
  @expire_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15493
15494
15495
15496
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15493

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