Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::AuthConfig.
AuthConfig represents the authentication information.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#api_key_config
def api_key_config() -> ::Google::Cloud::ApiHub::V1::AuthConfig::ApiKeyConfig
-
(::Google::Cloud::ApiHub::V1::AuthConfig::ApiKeyConfig) — Api Key Config.
Note: The following fields are mutually exclusive:
api_key_config
,google_service_account_config
,user_password_config
,oauth2_client_credentials_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#api_key_config=
def api_key_config=(value) -> ::Google::Cloud::ApiHub::V1::AuthConfig::ApiKeyConfig
-
value (::Google::Cloud::ApiHub::V1::AuthConfig::ApiKeyConfig) — Api Key Config.
Note: The following fields are mutually exclusive:
api_key_config
,google_service_account_config
,user_password_config
,oauth2_client_credentials_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::ApiHub::V1::AuthConfig::ApiKeyConfig) — Api Key Config.
Note: The following fields are mutually exclusive:
api_key_config
,google_service_account_config
,user_password_config
,oauth2_client_credentials_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#auth_type
def auth_type() -> ::Google::Cloud::ApiHub::V1::AuthType
- (::Google::Cloud::ApiHub::V1::AuthType) — Required. The authentication type.
#auth_type=
def auth_type=(value) -> ::Google::Cloud::ApiHub::V1::AuthType
- value (::Google::Cloud::ApiHub::V1::AuthType) — Required. The authentication type.
- (::Google::Cloud::ApiHub::V1::AuthType) — Required. The authentication type.
#google_service_account_config
def google_service_account_config() -> ::Google::Cloud::ApiHub::V1::GoogleServiceAccountConfig
-
(::Google::Cloud::ApiHub::V1::GoogleServiceAccountConfig) — Google Service Account.
Note: The following fields are mutually exclusive:
google_service_account_config
,user_password_config
,api_key_config
,oauth2_client_credentials_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#google_service_account_config=
def google_service_account_config=(value) -> ::Google::Cloud::ApiHub::V1::GoogleServiceAccountConfig
-
value (::Google::Cloud::ApiHub::V1::GoogleServiceAccountConfig) — Google Service Account.
Note: The following fields are mutually exclusive:
google_service_account_config
,user_password_config
,api_key_config
,oauth2_client_credentials_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::ApiHub::V1::GoogleServiceAccountConfig) — Google Service Account.
Note: The following fields are mutually exclusive:
google_service_account_config
,user_password_config
,api_key_config
,oauth2_client_credentials_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#oauth2_client_credentials_config
def oauth2_client_credentials_config() -> ::Google::Cloud::ApiHub::V1::AuthConfig::Oauth2ClientCredentialsConfig
-
(::Google::Cloud::ApiHub::V1::AuthConfig::Oauth2ClientCredentialsConfig) — Oauth2.0 Client Credentials.
Note: The following fields are mutually exclusive:
oauth2_client_credentials_config
,google_service_account_config
,user_password_config
,api_key_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#oauth2_client_credentials_config=
def oauth2_client_credentials_config=(value) -> ::Google::Cloud::ApiHub::V1::AuthConfig::Oauth2ClientCredentialsConfig
-
value (::Google::Cloud::ApiHub::V1::AuthConfig::Oauth2ClientCredentialsConfig) — Oauth2.0 Client Credentials.
Note: The following fields are mutually exclusive:
oauth2_client_credentials_config
,google_service_account_config
,user_password_config
,api_key_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::ApiHub::V1::AuthConfig::Oauth2ClientCredentialsConfig) — Oauth2.0 Client Credentials.
Note: The following fields are mutually exclusive:
oauth2_client_credentials_config
,google_service_account_config
,user_password_config
,api_key_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#user_password_config
def user_password_config() -> ::Google::Cloud::ApiHub::V1::AuthConfig::UserPasswordConfig
-
(::Google::Cloud::ApiHub::V1::AuthConfig::UserPasswordConfig) — User Password.
Note: The following fields are mutually exclusive:
user_password_config
,google_service_account_config
,api_key_config
,oauth2_client_credentials_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#user_password_config=
def user_password_config=(value) -> ::Google::Cloud::ApiHub::V1::AuthConfig::UserPasswordConfig
-
value (::Google::Cloud::ApiHub::V1::AuthConfig::UserPasswordConfig) — User Password.
Note: The following fields are mutually exclusive:
user_password_config
,google_service_account_config
,api_key_config
,oauth2_client_credentials_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::ApiHub::V1::AuthConfig::UserPasswordConfig) — User Password.
Note: The following fields are mutually exclusive:
user_password_config
,google_service_account_config
,api_key_config
,oauth2_client_credentials_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.