Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig
- 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
Config for HTTP Basic Authentication.
Instance Attribute Summary collapse
-
#credential_secret ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig
constructor
A new instance of GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig
Returns a new instance of GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig.
1176 1177 1178 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1176 def initialize(**args) update!(**args) end |
Instance Attribute Details
#credential_secret ⇒ String
Required. The name of the SecretManager secret version resource storing the
base64 encoded credentials. Format: projects/
project/secrets/
secrete/
versions/
version`- If specified, the
secretmanager.versions.access
permission should be granted to Vertex AI Extension Service Agent (https://
cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the
specified resource.
Corresponds to the JSON property
credentialSecret`
1174 1175 1176 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1174 def credential_secret @credential_secret end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1181 1182 1183 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1181 def update!(**args) @credential_secret = args[:credential_secret] if args.key?(:credential_secret) end |