Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateFetchAccessTokenResponse
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateFetchAccessTokenResponse
- 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
-
#access_token ⇒ String
The OAuth 2.0 access token.
-
#expire_time ⇒ String
Token expiration time.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1GenerateFetchAccessTokenResponse
constructor
A new instance of GoogleCloudAiplatformV1GenerateFetchAccessTokenResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1GenerateFetchAccessTokenResponse
Returns a new instance of GoogleCloudAiplatformV1GenerateFetchAccessTokenResponse.
16258 16259 16260 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16258 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_token ⇒ String
The OAuth 2.0 access token.
Corresponds to the JSON property accessToken
16251 16252 16253 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16251 def access_token @access_token end |
#expire_time ⇒ String
Token expiration time. This is always set
Corresponds to the JSON property expireTime
16256 16257 16258 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16256 def expire_time @expire_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16263 16264 16265 16266 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16263 def update!(**args) @access_token = args[:access_token] if args.key?(:access_token) @expire_time = args[:expire_time] if args.key?(:expire_time) end |