API hub V1 API - Class Google::Cloud::ApiHub::V1::AuthConfig (v0.6.0)

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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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
Returns

#auth_type=

def auth_type=(value) -> ::Google::Cloud::ApiHub::V1::AuthType
Parameter
Returns

#google_service_account_config

def google_service_account_config() -> ::Google::Cloud::ApiHub::V1::GoogleServiceAccountConfig
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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.