Class: Google::Apis::ConnectorsV1::EndUserAuthenticationConfigSshPublicKey

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

Overview

Parameters to support Ssh public key Authentication.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EndUserAuthenticationConfigSshPublicKey

Returns a new instance of EndUserAuthenticationConfigSshPublicKey.



2626
2627
2628
# File 'lib/google/apis/connectors_v1/classes.rb', line 2626

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

Instance Attribute Details

#cert_typeString

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

Returns:

  • (String)


2609
2610
2611
# File 'lib/google/apis/connectors_v1/classes.rb', line 2609

def cert_type
  @cert_type
end

#ssh_client_certGoogle::Apis::ConnectorsV1::EuaSecret

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



2614
2615
2616
# File 'lib/google/apis/connectors_v1/classes.rb', line 2614

def ssh_client_cert
  @ssh_client_cert
end

#ssh_client_cert_passGoogle::Apis::ConnectorsV1::EuaSecret

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



2619
2620
2621
# File 'lib/google/apis/connectors_v1/classes.rb', line 2619

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)


2624
2625
2626
# File 'lib/google/apis/connectors_v1/classes.rb', line 2624

def username
  @username
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2631
2632
2633
2634
2635
2636
# File 'lib/google/apis/connectors_v1/classes.rb', line 2631

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