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.
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.
852 853 854 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 852 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
850 851 852 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 850 def api_key_config @api_key_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
857 858 859 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 857 def update!(**args) @api_key_config = args[:api_key_config] if args.key?(:api_key_config) end |