Reference documentation and code samples for the Google Cloud OsLogin V1 Client class GetSshPublicKeyRequest.
A request message for retrieving an SSH public key.
Generated from protobuf message google.cloud.oslogin.v1.GetSshPublicKeyRequest
Namespace
Google \ Cloud \ OsLogin \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The fingerprint of the public key to retrieve. Public keys are identified by their SHA-256 fingerprint. The fingerprint of the public key is in format |
getName
Required. The fingerprint of the public key to retrieve. Public keys are
identified by their SHA-256 fingerprint. The fingerprint of the public key
is in format users/{user}/sshPublicKeys/{fingerprint}
.
Returns | |
---|---|
Type | Description |
string |
setName
Required. The fingerprint of the public key to retrieve. Public keys are
identified by their SHA-256 fingerprint. The fingerprint of the public key
is in format users/{user}/sshPublicKeys/{fingerprint}
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameter | |
---|---|
Name | Description |
name |
string
Required. The fingerprint of the public key to retrieve. Public keys are
identified by their SHA-256 fingerprint. The fingerprint of the public key
is in format |
Returns | |
---|---|
Type | Description |
Google\Cloud\OsLogin\V1\GetSshPublicKeyRequest |