public sealed class DeleteSshPublicKeyRequest : IMessage<DeleteSshPublicKeyRequest>, IEquatable<DeleteSshPublicKeyRequest>, IDeepCloneable<DeleteSshPublicKeyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud OS Login v1 API class DeleteSshPublicKeyRequest.
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}.
[[["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."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eDeleteSshPublicKeyRequest\u003c/code\u003e class within the Google Cloud OS Login v1 API, detailing its usage for deleting SSH public keys.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteSshPublicKeyRequest\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.OsLogin.V1\u003c/code\u003e namespace and is available in versions from 2.2.0 up to the latest 3.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteSshPublicKeyRequest\u003c/code\u003e requires a \u003ccode\u003eName\u003c/code\u003e property, which is the unique identifier of the SSH public key you are deleting, formatted as \u003ccode\u003eusers/{user}/sshPublicKeys/{fingerprint}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and also inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors one with no parameters, and one that takes another instance of itself, to help with the creating of a \u003ccode\u003eDeleteSshPublicKeyRequest\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# Google Cloud OS Login v1 API - Class DeleteSshPublicKeyRequest (3.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.OsLogin.V1/latest/Google.Cloud.OsLogin.V1.DeleteSshPublicKeyRequest)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.OsLogin.V1/3.4.0/Google.Cloud.OsLogin.V1.DeleteSshPublicKeyRequest)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.OsLogin.V1/3.3.0/Google.Cloud.OsLogin.V1.DeleteSshPublicKeyRequest)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.OsLogin.V1/3.2.0/Google.Cloud.OsLogin.V1.DeleteSshPublicKeyRequest)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.OsLogin.V1/3.1.0/Google.Cloud.OsLogin.V1.DeleteSshPublicKeyRequest)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.OsLogin.V1/3.0.0/Google.Cloud.OsLogin.V1.DeleteSshPublicKeyRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.OsLogin.V1/2.3.0/Google.Cloud.OsLogin.V1.DeleteSshPublicKeyRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.OsLogin.V1/2.2.0/Google.Cloud.OsLogin.V1.DeleteSshPublicKeyRequest) \n\n public sealed class DeleteSshPublicKeyRequest : IMessage\u003cDeleteSshPublicKeyRequest\u003e, IEquatable\u003cDeleteSshPublicKeyRequest\u003e, IDeepCloneable\u003cDeleteSshPublicKeyRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud OS Login v1 API class DeleteSshPublicKeyRequest.\n\nA request message for deleting an SSH public key. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DeleteSshPublicKeyRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DeleteSshPublicKeyRequest](/dotnet/docs/reference/Google.Cloud.OsLogin.V1/latest/Google.Cloud.OsLogin.V1.DeleteSshPublicKeyRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeleteSshPublicKeyRequest](/dotnet/docs/reference/Google.Cloud.OsLogin.V1/latest/Google.Cloud.OsLogin.V1.DeleteSshPublicKeyRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DeleteSshPublicKeyRequest](/dotnet/docs/reference/Google.Cloud.OsLogin.V1/latest/Google.Cloud.OsLogin.V1.DeleteSshPublicKeyRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.OsLogin.V1](/dotnet/docs/reference/Google.Cloud.OsLogin.V1/latest/Google.Cloud.OsLogin.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.OsLogin.V1.dll\n\nConstructors\n------------\n\n### DeleteSshPublicKeyRequest()\n\n public DeleteSshPublicKeyRequest()\n\n### DeleteSshPublicKeyRequest(DeleteSshPublicKeyRequest)\n\n public DeleteSshPublicKeyRequest(DeleteSshPublicKeyRequest other)\n\nProperties\n----------\n\n### Name\n\n public string Name { get; set; }\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### SshPublicKeyName\n\n public SshPublicKeyName SshPublicKeyName { get; set; }\n\n[SshPublicKeyName](https://github.com/googleapis/google-cloud-dotnet/blob/fabcd3fcb58c76146b4e09ef3bb416d9a36db288/apis/Google.Cloud.OsLogin.Common/Google.Cloud.OsLogin.Common/CommonResourceNames.g.cs)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.OsLogin.V1/latest/Google.Cloud.OsLogin.V1.DeleteSshPublicKeyRequest#Google_Cloud_OsLogin_V1_DeleteSshPublicKeyRequest_Name) resource name property."]]