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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation is for the \u003ccode\u003eCreateSSHKeyRequest\u003c/code\u003e class within the Google Cloud Bare Metal Solution v2 API, specifically version 1.3.0, and it provides details on the class's functionality for registering public SSH keys.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateSSHKeyRequest\u003c/code\u003e 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 it inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eParentAsLocationName\u003c/code\u003e, \u003ccode\u003eSshKey\u003c/code\u003e, and \u003ccode\u003eSshKeyId\u003c/code\u003e, which are used to specify the parent location, the SSH key details, and the desired ID for the new SSH key, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThere are 8 different versions of the API available for the \u003ccode\u003eCreateSSHKeyRequest\u003c/code\u003e class, ranging from version 1.0.0 up to the latest version, 1.7.0, as shown in the provided version links.\u003c/p\u003e\n"],["\u003cp\u003eIt contains two constructors: \u003ccode\u003eCreateSSHKeyRequest()\u003c/code\u003e and \u003ccode\u003eCreateSSHKeyRequest(CreateSSHKeyRequest other)\u003c/code\u003e, allowing for the creation of a new instance or a copy of an existing instance of the \u003ccode\u003eCreateSSHKeyRequest\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]