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.



4922
4923
4924
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4922

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

Instance Attribute Details

#cert_typeString

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

Returns:

  • (String)


4905
4906
4907
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4905

def cert_type
  @cert_type
end

#ssh_client_certGoogle::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1Secret

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



4910
4911
4912
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4910

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



4915
4916
4917
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4915

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)


4920
4921
4922
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4920

def username
  @username
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4927
4928
4929
4930
4931
4932
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4927

def update!(**args)
  @cert_type = args[:cert_type] if args.key?(:cert_type)
  @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