Class: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfig
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/representations.rb
Overview
AuthConfig defines details of a authentication type.
Instance Attribute Summary collapse
-
#additional_variables ⇒ Array<Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1ConfigVariable>
List containing additional auth configs.
-
#auth_key ⇒ String
Identifier key for auth config Corresponds to the JSON property
authKey
. -
#auth_type ⇒ String
The type of authentication configured.
-
#oauth2_auth_code_flow ⇒ Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow
Parameters to support Oauth 2.0 Auth Code Grant Authentication.
-
#oauth2_auth_code_flow_google_managed ⇒ Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlowGoogleManaged
Parameters to support Oauth 2.0 Auth Code Grant Authentication using Google Provided OAuth Client.
-
#oauth2_client_credentials ⇒ Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials
Parameters to support Oauth 2.0 Client Credentials Grant Authentication.
-
#oauth2_jwt_bearer ⇒ Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer
Parameters to support JSON Web Token (JWT) Profile for Oauth 2.0 Authorization Grant based authentication.
-
#ssh_public_key ⇒ Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfigSshPublicKey
Parameters to support Ssh public key Authentication.
-
#user_password ⇒ Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfigUserPassword
Parameters to support Username and Password Authentication.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudConnectorsV1AuthConfig
constructor
A new instance of GoogleCloudConnectorsV1AuthConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudConnectorsV1AuthConfig
Returns a new instance of GoogleCloudConnectorsV1AuthConfig.
5108 5109 5110 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5108 def initialize(**args) update!(**args) end |
Instance Attribute Details
#additional_variables ⇒ Array<Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1ConfigVariable>
List containing additional auth configs.
Corresponds to the JSON property additionalVariables
5060 5061 5062 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5060 def additional_variables @additional_variables end |
#auth_key ⇒ String
Identifier key for auth config
Corresponds to the JSON property authKey
5065 5066 5067 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5065 def auth_key @auth_key end |
#auth_type ⇒ String
The type of authentication configured.
Corresponds to the JSON property authType
5070 5071 5072 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5070 def auth_type @auth_type end |
#oauth2_auth_code_flow ⇒ Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow
Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://
www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.
Corresponds to the JSON property oauth2AuthCodeFlow
5076 5077 5078 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5076 def oauth2_auth_code_flow @oauth2_auth_code_flow end |
#oauth2_auth_code_flow_google_managed ⇒ Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlowGoogleManaged
Parameters to support Oauth 2.0 Auth Code Grant Authentication using Google
Provided OAuth Client. See https://tools.ietf.org/html/rfc6749#section-1.3.1
for more details.
Corresponds to the JSON property oauth2AuthCodeFlowGoogleManaged
5083 5084 5085 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5083 def oauth2_auth_code_flow_google_managed @oauth2_auth_code_flow_google_managed end |
#oauth2_client_credentials ⇒ Google::Apis::IntegrationsV1::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
5089 5090 5091 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5089 def oauth2_client_credentials @oauth2_client_credentials end |
#oauth2_jwt_bearer ⇒ Google::Apis::IntegrationsV1::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
5096 5097 5098 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5096 def oauth2_jwt_bearer @oauth2_jwt_bearer end |
#ssh_public_key ⇒ Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfigSshPublicKey
Parameters to support Ssh public key Authentication.
Corresponds to the JSON property sshPublicKey
5101 5102 5103 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5101 def ssh_public_key @ssh_public_key end |
#user_password ⇒ Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfigUserPassword
Parameters to support Username and Password Authentication.
Corresponds to the JSON property userPassword
5106 5107 5108 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5106 def user_password @user_password end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5113 def update!(**args) @additional_variables = args[:additional_variables] if args.key?(:additional_variables) @auth_key = args[:auth_key] if args.key?(:auth_key) @auth_type = args[:auth_type] if args.key?(:auth_type) @oauth2_auth_code_flow = args[:oauth2_auth_code_flow] if args.key?(:oauth2_auth_code_flow) @oauth2_auth_code_flow_google_managed = args[:oauth2_auth_code_flow_google_managed] if args.key?(:oauth2_auth_code_flow_google_managed) @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 |