Class: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1AuthConfigSshPublicKey

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

Parameters to support Ssh public key Authentication.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudConnectorsV1AuthConfigSshPublicKey

Returns a new instance of GoogleCloudConnectorsV1AuthConfigSshPublicKey.



5056
5057
5058
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5056

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

Instance Attribute Details

#cert_typeString

Format of SSH Client cert. Corresponds to the JSON property certType

Returns:

  • (String)


5034
5035
5036
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5034

def cert_type
  @cert_type
end

#passwordGoogle::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1Secret

Secret provides a reference to entries in Secret Manager. Corresponds to the JSON property password



5039
5040
5041
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5039

def password
  @password
end

#ssh_client_certGoogle::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1Secret

Secret provides a reference to entries in Secret Manager. Corresponds to the JSON property sshClientCert



5044
5045
5046
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5044

def ssh_client_cert
  @ssh_client_cert
end

#ssh_client_cert_passGoogle::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1Secret

Secret provides a reference to entries in Secret Manager. Corresponds to the JSON property sshClientCertPass



5049
5050
5051
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5049

def ssh_client_cert_pass
  @ssh_client_cert_pass
end

#usernameString

The user account used to authenticate. Corresponds to the JSON property username

Returns:

  • (String)


5054
5055
5056
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5054

def username
  @username
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5061
5062
5063
5064
5065
5066
5067
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5061

def update!(**args)
  @cert_type = args[:cert_type] if args.key?(:cert_type)
  @password = args[:password] if args.key?(:password)
  @ssh_client_cert = args[:ssh_client_cert] if args.key?(:ssh_client_cert)
  @ssh_client_cert_pass = args[:ssh_client_cert_pass] if args.key?(:ssh_client_cert_pass)
  @username = args[:username] if args.key?(:username)
end