Class: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1AuthConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/representations.rb

Overview

AuthConfig defines details of a authentication type.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudConnectorsV1AuthConfig

Returns a new instance of GoogleCloudConnectorsV1AuthConfig.



4979
4980
4981
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4979

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#additional_variablesArray<Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1ConfigVariable>

List containing additional auth configs. Corresponds to the JSON property additionalVariables



4949
4950
4951
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4949

def additional_variables
  @additional_variables
end

#auth_typeString

The type of authentication configured. Corresponds to the JSON property authType

Returns:

  • (String)


4954
4955
4956
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4954

def auth_type
  @auth_type
end

#oauth2_client_credentialsGoogle::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials

Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details. Corresponds to the JSON property oauth2ClientCredentials



4960
4961
4962
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4960

def oauth2_client_credentials
  @oauth2_client_credentials
end

#oauth2_jwt_bearerGoogle::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer

Parameters to support JSON Web Token (JWT) Profile for Oauth 2.0 Authorization Grant based authentication. See https://tools.ietf.org/html/rfc7523 for more details. Corresponds to the JSON property oauth2JwtBearer



4967
4968
4969
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4967

def oauth2_jwt_bearer
  @oauth2_jwt_bearer
end

#ssh_public_keyGoogle::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1AuthConfigSshPublicKey

Parameters to support Ssh public key Authentication. Corresponds to the JSON property sshPublicKey



4972
4973
4974
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4972

def ssh_public_key
  @ssh_public_key
end

#user_passwordGoogle::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1AuthConfigUserPassword

Parameters to support Username and Password Authentication. Corresponds to the JSON property userPassword



4977
4978
4979
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4977

def user_password
  @user_password
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4984
4985
4986
4987
4988
4989
4990
4991
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4984

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)
  @ssh_public_key = args[:ssh_public_key] if args.key?(:ssh_public_key)
  @user_password = args[:user_password] if args.key?(:user_password)
end