Bare Metal Solution V2 API - Class Google::Cloud::BareMetalSolution::V2::SSHKey (v0.8.0)

Reference documentation and code samples for the Bare Metal Solution V2 API class Google::Cloud::BareMetalSolution::V2::SSHKey.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) — Output only. The name of this SSH key. Currently, the only valid value for the location is "global".

#public_key

def public_key() -> ::String
Returns
  • (::String) — The public SSH key. This must be in OpenSSH .authorized_keys format.

#public_key=

def public_key=(value) -> ::String
Parameter
  • value (::String) — 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.