1.6.1 (latest) 1.6.0 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.3.0 0.2.0 0.1.1 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**

- (::Array\<[::Google::Cloud::Connectors::V1::ConfigVariable](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-ConfigVariable)\>) --- List containing additional auth configs.

### #additional_variables=

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

**Parameter**

- **value** (::Array\<[::Google::Cloud::Connectors::V1::ConfigVariable](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-ConfigVariable)\>) --- List containing additional auth configs.
**Returns**

- (::Array\<[::Google::Cloud::Connectors::V1::ConfigVariable](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-ConfigVariable)\>) --- List containing additional auth configs.

### #auth_type

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

**Returns**

- ([::Google::Cloud::Connectors::V1::AuthType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-AuthType)) --- The type of authentication configured.

### #auth_type=

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

**Parameter**

- **value** ([::Google::Cloud::Connectors::V1::AuthType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-AuthType)) --- The type of authentication configured.
**Returns**

- ([::Google::Cloud::Connectors::V1::AuthType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-AuthType)) --- The type of authentication configured.

### #oauth2_client_credentials

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

**Returns**

- ([::Google::Cloud::Connectors::V1::AuthConfig::Oauth2ClientCredentials](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-AuthConfig-Oauth2ClientCredentials)) --- Oauth2ClientCredentials.


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

### #oauth2_client_credentials=

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

**Parameter**

- **value** ([::Google::Cloud::Connectors::V1::AuthConfig::Oauth2ClientCredentials](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-AuthConfig-Oauth2ClientCredentials)) --- Oauth2ClientCredentials.


  Note: The following fields are mutually exclusive: `oauth2_client_credentials`, `user_password`, `oauth2_jwt_bearer`, `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::Oauth2ClientCredentials](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-AuthConfig-Oauth2ClientCredentials)) --- Oauth2ClientCredentials.


  Note: The following fields are mutually exclusive: `oauth2_client_credentials`, `user_password`, `oauth2_jwt_bearer`, `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() -> ::Google::Cloud::Connectors::V1::AuthConfig::Oauth2JwtBearer

**Returns**

- ([::Google::Cloud::Connectors::V1::AuthConfig::Oauth2JwtBearer](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/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.