Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ApiAuth
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ApiAuth
- 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
The generic reusable api auth config. Deprecated. Please use AuthConfig ( google/cloud/aiplatform/master/auth.proto) instead.
Instance Attribute Summary collapse
-
#api_key_config ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig
The API secret.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ApiAuth
constructor
A new instance of GoogleCloudAiplatformV1beta1ApiAuth.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ApiAuth
Returns a new instance of GoogleCloudAiplatformV1beta1ApiAuth.
1459 1460 1461 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1459 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_key_config ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig
The API secret.
Corresponds to the JSON property apiKeyConfig
1457 1458 1459 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1457 def api_key_config @api_key_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1464 1465 1466 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1464 def update!(**args) @api_key_config = args[:api_key_config] if args.key?(:api_key_config) end |