Class: Google::Cloud::BareMetalSolution::V2::SSHKey

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/baremetalsolution/v2/ssh_key.rb

Overview

An SSH key, used for authorizing with the interactive serial console feature.

Instance Attribute Summary collapse

Instance Attribute Details

#name::String (readonly)

Returns Output only. The name of this SSH key. Currently, the only valid value for the location is "global".

Returns:

  • (::String)

    Output only. The name of this SSH key. Currently, the only valid value for the location is "global".



32
33
34
35
# File 'proto_docs/google/cloud/baremetalsolution/v2/ssh_key.rb', line 32

class SSHKey
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#public_key::String

Returns The public SSH key. This must be in OpenSSH .authorized_keys format.

Returns:

  • (::String)

    The public SSH key. This must be in OpenSSH .authorized_keys format.



32
33
34
35
# File 'proto_docs/google/cloud/baremetalsolution/v2/ssh_key.rb', line 32

class SSHKey
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end