Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_secretString

Required. The name of the SecretManager secret version resource storing the base64 encoded credentials. Format: projects/project/secrets/secrete/ versions/version`- If specified, thesecretmanager.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 propertycredentialSecret`

Returns:

  • (String)


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