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.



1780
1781
1782
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1780

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)


1778
1779
1780
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1778

def credential_secret
  @credential_secret
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1785
1786
1787
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1785

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