Class: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1AuthConfig
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1AuthConfig
- 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
-
#additional_variables ⇒ Array<Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1ConfigVariable>
List containing additional auth configs.
-
#auth_type ⇒ String
The type of authentication configured.
-
#oauth2_client_credentials ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials
Parameters to support Oauth 2.0 Client Credentials Grant Authentication.
-
#oauth2_jwt_bearer ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer
Parameters to support JSON Web Token (JWT) Profile for Oauth 2.0 Authorization Grant based authentication.
-
#ssh_public_key ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1AuthConfigSshPublicKey
Parameters to support Ssh public key Authentication.
-
#user_password ⇒ Google::Apis::IntegrationsV1alpha::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.
4928 4929 4930 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4928 def initialize(**args) update!(**args) end |
Instance Attribute Details
#additional_variables ⇒ Array<Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1ConfigVariable>
List containing additional auth configs.
Corresponds to the JSON property additionalVariables
4898 4899 4900 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4898 def additional_variables @additional_variables end |
#auth_type ⇒ String
The type of authentication configured.
Corresponds to the JSON property authType
4903 4904 4905 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4903 def auth_type @auth_type end |
#oauth2_client_credentials ⇒ Google::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
4909 4910 4911 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4909 def oauth2_client_credentials @oauth2_client_credentials end |
#oauth2_jwt_bearer ⇒ Google::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
4916 4917 4918 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4916 def oauth2_jwt_bearer @oauth2_jwt_bearer end |
#ssh_public_key ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1AuthConfigSshPublicKey
Parameters to support Ssh public key Authentication.
Corresponds to the JSON property sshPublicKey
4921 4922 4923 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4921 def ssh_public_key @ssh_public_key end |
#user_password ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1AuthConfigUserPassword
Parameters to support Username and Password Authentication.
Corresponds to the JSON property userPassword
4926 4927 4928 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4926 def user_password @user_password end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4933 4934 4935 4936 4937 4938 4939 4940 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4933 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 |