Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfig
- 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
Auth configuration to run the extension.
Instance Attribute Summary collapse
-
#api_key_config ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfigApiKeyConfig
Config for authentication with API key.
-
#auth_type ⇒ String
Type of auth scheme.
-
#google_service_account_config ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig
Config for Google Service Account Authentication.
-
#http_basic_auth_config ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig
Config for HTTP Basic Authentication.
-
#oauth_config ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfigOauthConfig
Config for user oauth.
-
#oidc_config ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfigOidcConfig
Config for user OIDC auth.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1AuthConfig
constructor
A new instance of GoogleCloudAiplatformV1AuthConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1AuthConfig
Returns a new instance of GoogleCloudAiplatformV1AuthConfig.
2155 2156 2157 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2155 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_key_config ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfigApiKeyConfig
Config for authentication with API key.
Corresponds to the JSON property apiKeyConfig
2128 2129 2130 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2128 def api_key_config @api_key_config end |
#auth_type ⇒ String
Type of auth scheme.
Corresponds to the JSON property authType
2133 2134 2135 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2133 def auth_type @auth_type end |
#google_service_account_config ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig
Config for Google Service Account Authentication.
Corresponds to the JSON property googleServiceAccountConfig
2138 2139 2140 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2138 def google_service_account_config @google_service_account_config end |
#http_basic_auth_config ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig
Config for HTTP Basic Authentication.
Corresponds to the JSON property httpBasicAuthConfig
2143 2144 2145 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2143 def http_basic_auth_config @http_basic_auth_config end |
#oauth_config ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfigOauthConfig
Config for user oauth.
Corresponds to the JSON property oauthConfig
2148 2149 2150 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2148 def oauth_config @oauth_config end |
#oidc_config ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AuthConfigOidcConfig
Config for user OIDC auth.
Corresponds to the JSON property oidcConfig
2153 2154 2155 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2153 def oidc_config @oidc_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2160 2161 2162 2163 2164 2165 2166 2167 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2160 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 |