Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfig

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

Auth configuration to run the extension.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AuthConfig

Returns a new instance of GoogleCloudAiplatformV1beta1AuthConfig.



9690
9691
9692
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9690

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#api_key_configGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig

Config for authentication with API key. Corresponds to the JSON property apiKeyConfig



9663
9664
9665
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9663

def api_key_config
  @api_key_config
end

#auth_typeString

Type of auth scheme. Corresponds to the JSON property authType

Returns:

  • (String)


9668
9669
9670
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9668

def auth_type
  @auth_type
end

#google_service_account_configGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig

Config for Google Service Account Authentication. Corresponds to the JSON property googleServiceAccountConfig



9673
9674
9675
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9673

def 
  @google_service_account_config
end

#http_basic_auth_configGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig

Config for HTTP Basic Authentication. Corresponds to the JSON property httpBasicAuthConfig



9678
9679
9680
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9678

def http_basic_auth_config
  @http_basic_auth_config
end

#oauth_configGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfigOauthConfig

Config for user oauth. Corresponds to the JSON property oauthConfig



9683
9684
9685
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9683

def oauth_config
  @oauth_config
end

#oidc_configGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfigOidcConfig

Config for user OIDC auth. Corresponds to the JSON property oidcConfig



9688
9689
9690
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9688

def oidc_config
  @oidc_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9695
9696
9697
9698
9699
9700
9701
9702
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9695

def update!(**args)
  @api_key_config = args[:api_key_config] if args.key?(:api_key_config)
  @auth_type = args[:auth_type] if args.key?(:auth_type)
  @google_service_account_config = args[:google_service_account_config] if args.key?(:google_service_account_config)
  @http_basic_auth_config = args[:http_basic_auth_config] if args.key?(:http_basic_auth_config)
  @oauth_config = args[:oauth_config] if args.key?(:oauth_config)
  @oidc_config = args[:oidc_config] if args.key?(:oidc_config)
end