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>) — 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>) — List containing additional auth configs.
Returns
- (::Array<::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) — The type of authentication configured.
#auth_type=
def auth_type=(value) -> ::Google::Cloud::Connectors::V1::AuthType
Parameter
- value (::Google::Cloud::Connectors::V1::AuthType) — The type of authentication configured.
Returns
- (::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) — Oauth2ClientCredentials.
#oauth2_client_credentials=
def oauth2_client_credentials=(value) -> ::Google::Cloud::Connectors::V1::AuthConfig::Oauth2ClientCredentials
Parameter
- value (::Google::Cloud::Connectors::V1::AuthConfig::Oauth2ClientCredentials) — Oauth2ClientCredentials.
Returns
- (::Google::Cloud::Connectors::V1::AuthConfig::Oauth2ClientCredentials) — Oauth2ClientCredentials.
#oauth2_jwt_bearer
def oauth2_jwt_bearer() -> ::Google::Cloud::Connectors::V1::AuthConfig::Oauth2JwtBearer
Returns
- (::Google::Cloud::Connectors::V1::AuthConfig::Oauth2JwtBearer) — Oauth2JwtBearer.
#oauth2_jwt_bearer=
def oauth2_jwt_bearer=(value) -> ::Google::Cloud::Connectors::V1::AuthConfig::Oauth2JwtBearer
Parameter
- value (::Google::Cloud::Connectors::V1::AuthConfig::Oauth2JwtBearer) — Oauth2JwtBearer.
Returns
- (::Google::Cloud::Connectors::V1::AuthConfig::Oauth2JwtBearer) — Oauth2JwtBearer.
#ssh_public_key
def ssh_public_key() -> ::Google::Cloud::Connectors::V1::AuthConfig::SshPublicKey
Returns
- (::Google::Cloud::Connectors::V1::AuthConfig::SshPublicKey) — SSH Public Key.
#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.
Returns
- (::Google::Cloud::Connectors::V1::AuthConfig::SshPublicKey) — SSH Public Key.
#user_password
def user_password() -> ::Google::Cloud::Connectors::V1::AuthConfig::UserPassword
Returns
- (::Google::Cloud::Connectors::V1::AuthConfig::UserPassword) — UserPassword.
#user_password=
def user_password=(value) -> ::Google::Cloud::Connectors::V1::AuthConfig::UserPassword
Parameter
- value (::Google::Cloud::Connectors::V1::AuthConfig::UserPassword) — UserPassword.
Returns
- (::Google::Cloud::Connectors::V1::AuthConfig::UserPassword) — UserPassword.