Class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfig
- Inherits:
-
Object
- Object
- Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebaseml_v2beta/classes.rb,
lib/google/apis/firebaseml_v2beta/representations.rb,
lib/google/apis/firebaseml_v2beta/representations.rb
Overview
Auth configuration to run the extension.
Instance Attribute Summary collapse
-
#api_key_config ⇒ Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig
Config for authentication with API key.
-
#auth_type ⇒ String
Type of auth scheme.
-
#google_service_account_config ⇒ Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig
Config for Google Service Account Authentication.
-
#http_basic_auth_config ⇒ Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig
Config for HTTP Basic Authentication.
-
#oauth_config ⇒ Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigOauthConfig
Config for user oauth.
-
#oidc_config ⇒ Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigOidcConfig
Config for user OIDC auth.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AuthConfig
constructor
A new instance of GoogleCloudAiplatformV1beta1AuthConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AuthConfig
Returns a new instance of GoogleCloudAiplatformV1beta1AuthConfig.
334 335 336 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 334 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_key_config ⇒ Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig
Config for authentication with API key.
Corresponds to the JSON property apiKeyConfig
307 308 309 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 307 def api_key_config @api_key_config end |
#auth_type ⇒ String
Type of auth scheme.
Corresponds to the JSON property authType
312 313 314 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 312 def auth_type @auth_type end |
#google_service_account_config ⇒ Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig
Config for Google Service Account Authentication.
Corresponds to the JSON property googleServiceAccountConfig
317 318 319 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 317 def google_service_account_config @google_service_account_config end |
#http_basic_auth_config ⇒ Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig
Config for HTTP Basic Authentication.
Corresponds to the JSON property httpBasicAuthConfig
322 323 324 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 322 def http_basic_auth_config @http_basic_auth_config end |
#oauth_config ⇒ Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigOauthConfig
Config for user oauth.
Corresponds to the JSON property oauthConfig
327 328 329 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 327 def oauth_config @oauth_config end |
#oidc_config ⇒ Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigOidcConfig
Config for user OIDC auth.
Corresponds to the JSON property oidcConfig
332 333 334 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 332 def oidc_config @oidc_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
339 340 341 342 343 344 345 346 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 339 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 |