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\u003eThe \u003ccode\u003eCreateSSHKeyRequest\u003c/code\u003e class is part of the Bare Metal Solution v2 API, specifically version 1.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class is used to register a public SSH key within a Google Cloud project, as it is a message type for doing so.\u003c/p\u003e\n"],["\u003cp\u003eIt 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, making it compatible with Google Protocol Buffers and offering features such as deep cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe class requires properties such as \u003ccode\u003eParent\u003c/code\u003e (location), \u003ccode\u003eSshKey\u003c/code\u003e (the key to register), and \u003ccode\u003eSshKeyId\u003c/code\u003e (the key identifier) to be set when creating a request object, with specific requirements.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCreateSSHKeyRequest\u003c/code\u003e can be instantiated with a parameterless constructor or by copying an existing \u003ccode\u003eCreateSSHKeyRequest\u003c/code\u003e object, allowing for flexibility in object creation.\u003c/p\u003e\n"]]],[],null,[]]