public sealed class CreateSSHKeyRequest : IMessage<CreateSSHKeyRequest>, IEquatable<CreateSSHKeyRequest>, IDeepCloneable<CreateSSHKeyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Bare Metal Solution v2 API class CreateSSHKeyRequest.
Message for registering a public SSH key in a project.
[[["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-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eCreateSSHKeyRequest\u003c/code\u003e class within the Google Cloud Bare Metal Solution v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateSSHKeyRequest\u003c/code\u003e class is used to register a public SSH key in a project and it is a message type that implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThere are currently 8 versions of the \u003ccode\u003eCreateSSHKeyRequest\u003c/code\u003e documented, ranging from version 1.0.0 to the latest version, 1.7.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties like \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eParentAsLocationName\u003c/code\u003e, \u003ccode\u003eSshKey\u003c/code\u003e, and \u003ccode\u003eSshKeyId\u003c/code\u003e, allowing you to set the location, the SSH key itself, and an ID for the SSH key.\u003c/p\u003e\n"],["\u003cp\u003eThe assembly for this class is \u003ccode\u003eGoogle.Cloud.BareMetalSolution.V2.dll\u003c/code\u003e, and its namespace is \u003ccode\u003eGoogle.Cloud.BareMetalSolution.V2\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]