Reference documentation and code samples for the Google Cloud OsLogin V1 Client class DeleteSshPublicKeyRequest.
A request message for deleting an SSH public key.
Generated from protobuf message google.cloud.oslogin.v1.DeleteSshPublicKeyRequest
Namespace
Google \ Cloud \ OsLogin \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The fingerprint of the public key to update. Public keys are identified by their SHA-256 fingerprint. The fingerprint of the public key is in format users/{user}/sshPublicKeys/{fingerprint}.
getName
Required. The fingerprint of the public key to update. 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 update. 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 update. Public keys are
identified by their SHA-256 fingerprint. The fingerprint of the public key
is in format users/{user}/sshPublicKeys/{fingerprint}. Please see
OsLoginServiceClient::sshPublicKeyName() for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud OsLogin V1 Client - Class DeleteSshPublicKeyRequest (2.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.5 (latest)](/php/docs/reference/cloud-oslogin/latest/V1.DeleteSshPublicKeyRequest)\n- [2.0.4](/php/docs/reference/cloud-oslogin/2.0.4/V1.DeleteSshPublicKeyRequest)\n- [1.9.6](/php/docs/reference/cloud-oslogin/1.9.6/V1.DeleteSshPublicKeyRequest)\n- [1.8.0](/php/docs/reference/cloud-oslogin/1.8.0/V1.DeleteSshPublicKeyRequest)\n- [1.7.0](/php/docs/reference/cloud-oslogin/1.7.0/V1.DeleteSshPublicKeyRequest)\n- [1.6.0](/php/docs/reference/cloud-oslogin/1.6.0/V1.DeleteSshPublicKeyRequest)\n- [1.5.2](/php/docs/reference/cloud-oslogin/1.5.2/V1.DeleteSshPublicKeyRequest)\n- [1.4.6](/php/docs/reference/cloud-oslogin/1.4.6/V1.DeleteSshPublicKeyRequest) \nReference documentation and code samples for the Google Cloud OsLogin V1 Client class DeleteSshPublicKeyRequest.\n\nA request message for deleting an SSH public key.\n\nGenerated from protobuf message `google.cloud.oslogin.v1.DeleteSshPublicKeyRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ OsLogin \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The fingerprint of the public key to update. Public keys are\nidentified by their SHA-256 fingerprint. The fingerprint of the public key\nis in format `users/{user}/sshPublicKeys/{fingerprint}`.\n\n### setName\n\nRequired. The fingerprint of the public key to update. Public keys are\nidentified by their SHA-256 fingerprint. The fingerprint of the public key\nis in format `users/{user}/sshPublicKeys/{fingerprint}`.\n\n### static::build"]]