Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class SSHKey.
An SSH key, used for authorizing with the interactive serial console feature.
Generated from protobuf message google.cloud.baremetalsolution.v2.SSHKey
Namespace
Google \ Cloud \ BareMetalSolution \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The name of this SSH key. Currently, the only valid value for the location is "global".
↳ public_key
string
The public SSH key. This must be in OpenSSH .authorized_keys format.
getName
Output only. The name of this SSH key.
Currently, the only valid value for the location is "global".
string
setName
Output only. The name of this SSH key.
Currently, the only valid value for the location is "global".
var
string
$this
getPublicKey
The public SSH key. This must be in OpenSSH .authorized_keys format.
string
setPublicKey
The public SSH key. This must be in OpenSSH .authorized_keys format.
var
string
$this