Reference documentation and code samples for the Google Cloud OsLogin V1 Client class CreateSshPublicKeyRequest.
A request message for creating an SSH public key.
Generated from protobuf message google.cloud.oslogin.v1.CreateSshPublicKeyRequest
Namespace
Google \ Cloud \ OsLogin \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The unique ID for the user in format users/{user}
.
↳ ssh_public_key
getParent
Required. The unique ID for the user in format users/{user}
.
string
setParent
Required. The unique ID for the user in format users/{user}
.
var
string
$this
getSshPublicKey
Required. The SSH public key and expiration time.
hasSshPublicKey
clearSshPublicKey
setSshPublicKey
Required. The SSH public key and expiration time.
$this
static::build
parent
string
Required. The unique ID for the user in format users/{user}
. Please see OsLoginServiceClient::userName()
for help formatting this field.
sshPublicKey

