Connectors V1 API - Class Google::Cloud::Connectors::V1::AuthConfig (v0.3.0)

Reference documentation and code samples for the Connectors V1 API class Google::Cloud::Connectors::V1::AuthConfig.

AuthConfig defines details of a authentication type.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#additional_variables

def additional_variables() -> ::Array<::Google::Cloud::Connectors::V1::ConfigVariable>
Returns

#additional_variables=

def additional_variables=(value) -> ::Array<::Google::Cloud::Connectors::V1::ConfigVariable>
Parameter
Returns

#auth_type

def auth_type() -> ::Google::Cloud::Connectors::V1::AuthType
Returns

#auth_type=

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

#oauth2_client_credentials

def oauth2_client_credentials() -> ::Google::Cloud::Connectors::V1::AuthConfig::Oauth2ClientCredentials
Returns

#oauth2_client_credentials=

def oauth2_client_credentials=(value) -> ::Google::Cloud::Connectors::V1::AuthConfig::Oauth2ClientCredentials
Parameter
Returns

#oauth2_jwt_bearer

def oauth2_jwt_bearer() -> ::Google::Cloud::Connectors::V1::AuthConfig::Oauth2JwtBearer
Returns
  • (::Google::Cloud::Connectors::V1::AuthConfig::Oauth2JwtBearer) — Oauth2JwtBearer.

    Note: The following fields are mutually exclusive: oauth2_jwt_bearer, user_password, oauth2_client_credentials, ssh_public_key. If a field in that set is populated, all other fields in the set will automatically be cleared.

#oauth2_jwt_bearer=

def oauth2_jwt_bearer=(value) -> ::Google::Cloud::Connectors::V1::AuthConfig::Oauth2JwtBearer
Parameter
  • value (::Google::Cloud::Connectors::V1::AuthConfig::Oauth2JwtBearer) — Oauth2JwtBearer.

    Note: The following fields are mutually exclusive: oauth2_jwt_bearer, user_password, oauth2_client_credentials, ssh_public_key. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Connectors::V1::AuthConfig::Oauth2JwtBearer) — Oauth2JwtBearer.

    Note: The following fields are mutually exclusive: oauth2_jwt_bearer, user_password, oauth2_client_credentials, ssh_public_key. If a field in that set is populated, all other fields in the set will automatically be cleared.

#ssh_public_key

def ssh_public_key() -> ::Google::Cloud::Connectors::V1::AuthConfig::SshPublicKey
Returns
  • (::Google::Cloud::Connectors::V1::AuthConfig::SshPublicKey) — SSH Public Key.

    Note: The following fields are mutually exclusive: ssh_public_key, user_password, oauth2_jwt_bearer, oauth2_client_credentials. If a field in that set is populated, all other fields in the set will automatically be cleared.

#ssh_public_key=

def ssh_public_key=(value) -> ::Google::Cloud::Connectors::V1::AuthConfig::SshPublicKey
Parameter
  • value (::Google::Cloud::Connectors::V1::AuthConfig::SshPublicKey) — SSH Public Key.

    Note: The following fields are mutually exclusive: ssh_public_key, user_password, oauth2_jwt_bearer, oauth2_client_credentials. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Connectors::V1::AuthConfig::SshPublicKey) — SSH Public Key.

    Note: The following fields are mutually exclusive: ssh_public_key, user_password, oauth2_jwt_bearer, oauth2_client_credentials. If a field in that set is populated, all other fields in the set will automatically be cleared.

#user_password

def user_password() -> ::Google::Cloud::Connectors::V1::AuthConfig::UserPassword
Returns
  • (::Google::Cloud::Connectors::V1::AuthConfig::UserPassword) — UserPassword.

    Note: The following fields are mutually exclusive: user_password, oauth2_jwt_bearer, oauth2_client_credentials, ssh_public_key. If a field in that set is populated, all other fields in the set will automatically be cleared.

#user_password=

def user_password=(value) -> ::Google::Cloud::Connectors::V1::AuthConfig::UserPassword
Parameter
  • value (::Google::Cloud::Connectors::V1::AuthConfig::UserPassword) — UserPassword.

    Note: The following fields are mutually exclusive: user_password, oauth2_jwt_bearer, oauth2_client_credentials, ssh_public_key. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Connectors::V1::AuthConfig::UserPassword) — UserPassword.

    Note: The following fields are mutually exclusive: user_password, oauth2_jwt_bearer, oauth2_client_credentials, ssh_public_key. If a field in that set is populated, all other fields in the set will automatically be cleared.