class Google::Apis::ConnectorsV1::AuthConfig

AuthConfig defines details of a authentication type.

Attributes

additional_variables[RW]

List containing additional auth configs. Corresponds to the JSON property ‘additionalVariables` @return [Array<Google::Apis::ConnectorsV1::ConfigVariable>]

auth_type[RW]

The type of authentication configured. Corresponds to the JSON property ‘authType` @return [String]

oauth2_client_credentials[RW]

Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See tools.ietf.org/html/rfc6749#section-1.3.4 for more details. Corresponds to the JSON property ‘oauth2ClientCredentials` @return [Google::Apis::ConnectorsV1::Oauth2ClientCredentials]

oauth2_jwt_bearer[RW]

Parameters to support JSON Web Token (JWT) Profile for Oauth 2.0 Authorization Grant based authentication. See tools.ietf.org/html/rfc7523 for more details. Corresponds to the JSON property ‘oauth2JwtBearer` @return [Google::Apis::ConnectorsV1::Oauth2JwtBearer]

user_password[RW]

Parameters to support Username and Password Authentication. Corresponds to the JSON property ‘userPassword` @return [Google::Apis::ConnectorsV1::UserPassword]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/connectors_v1/classes.rb, line 128
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/connectors_v1/classes.rb, line 133
def update!(**args)
  @additional_variables = args[:additional_variables] if args.key?(:additional_variables)
  @auth_type = args[:auth_type] if args.key?(:auth_type)
  @oauth2_client_credentials = args[:oauth2_client_credentials] if args.key?(:oauth2_client_credentials)
  @oauth2_jwt_bearer = args[:oauth2_jwt_bearer] if args.key?(:oauth2_jwt_bearer)
  @user_password = args[:user_password] if args.key?(:user_password)
end