Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfig
- 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
-
#api_key_config ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig
Config for authentication with API key.
-
#auth_type ⇒ String
Type of auth scheme.
-
#google_service_account_config ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig
Config for Google Service Account Authentication.
-
#http_basic_auth_config ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig
Config for HTTP Basic Authentication.
-
#no_auth ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfigNoAuth
Empty message, used to indicate no authentication for an endpoint.
-
#oauth_config ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfigOauthConfig
Config for user oauth.
-
#oidc_config ⇒ Google::Apis::AiplatformV1beta1::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.
1924 1925 1926 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1924 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_key_config ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig
Config for authentication with API key.
Corresponds to the JSON property apiKeyConfig
1892 1893 1894 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1892 def api_key_config @api_key_config end |
#auth_type ⇒ String
Type of auth scheme.
Corresponds to the JSON property authType
1897 1898 1899 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1897 def auth_type @auth_type end |
#google_service_account_config ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig
Config for Google Service Account Authentication.
Corresponds to the JSON property googleServiceAccountConfig
1902 1903 1904 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1902 def google_service_account_config @google_service_account_config end |
#http_basic_auth_config ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig
Config for HTTP Basic Authentication.
Corresponds to the JSON property httpBasicAuthConfig
1907 1908 1909 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1907 def http_basic_auth_config @http_basic_auth_config end |
#no_auth ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfigNoAuth
Empty message, used to indicate no authentication for an endpoint.
Corresponds to the JSON property noAuth
1912 1913 1914 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1912 def no_auth @no_auth end |
#oauth_config ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfigOauthConfig
Config for user oauth.
Corresponds to the JSON property oauthConfig
1917 1918 1919 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1917 def oauth_config @oauth_config end |
#oidc_config ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfigOidcConfig
Config for user OIDC auth.
Corresponds to the JSON property oidcConfig
1922 1923 1924 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1922 def oidc_config @oidc_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1929 1930 1931 1932 1933 1934 1935 1936 1937 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1929 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) @no_auth = args[:no_auth] if args.key?(:no_auth) @oauth_config = args[:oauth_config] if args.key?(:oauth_config) @oidc_config = args[:oidc_config] if args.key?(:oidc_config) end |