Class: Google::Apis::ConnectorsV1::SshPublicKey
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::SshPublicKey
- 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
-
#cert_type ⇒ String
Format of SSH Client cert.
-
#password ⇒ Google::Apis::ConnectorsV1::Secret
Secret provides a reference to entries in Secret Manager.
-
#ssh_client_cert ⇒ Google::Apis::ConnectorsV1::Secret
Secret provides a reference to entries in Secret Manager.
-
#ssh_client_cert_pass ⇒ Google::Apis::ConnectorsV1::Secret
Secret provides a reference to entries in Secret Manager.
-
#username ⇒ String
The user account used to authenticate.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SshPublicKey
constructor
A new instance of SshPublicKey.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SshPublicKey
Returns a new instance of SshPublicKey.
2069 2070 2071 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2069 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cert_type ⇒ String
Format of SSH Client cert.
Corresponds to the JSON property certType
2047 2048 2049 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2047 def cert_type @cert_type end |
#password ⇒ Google::Apis::ConnectorsV1::Secret
Secret provides a reference to entries in Secret Manager.
Corresponds to the JSON property password
2052 2053 2054 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2052 def password @password end |
#ssh_client_cert ⇒ Google::Apis::ConnectorsV1::Secret
Secret provides a reference to entries in Secret Manager.
Corresponds to the JSON property sshClientCert
2057 2058 2059 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2057 def ssh_client_cert @ssh_client_cert end |
#ssh_client_cert_pass ⇒ Google::Apis::ConnectorsV1::Secret
Secret provides a reference to entries in Secret Manager.
Corresponds to the JSON property sshClientCertPass
2062 2063 2064 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2062 def ssh_client_cert_pass @ssh_client_cert_pass end |
#username ⇒ String
The user account used to authenticate.
Corresponds to the JSON property username
2067 2068 2069 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2067 def username @username end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2074 2075 2076 2077 2078 2079 2080 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2074 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 |