Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig

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

Config for HTTP Basic Authentication.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig

Returns a new instance of GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig.



1493
1494
1495
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1493

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)


1491
1492
1493
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1491

def credential_secret
  @credential_secret
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1498
1499
1500
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1498

def update!(**args)
  @credential_secret = args[:credential_secret] if args.key?(:credential_secret)
end