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.
Implements
IMessageCreateSSHKeyRequest, IEquatableCreateSSHKeyRequest, IDeepCloneableCreateSSHKeyRequest, IBufferMessage, IMessageNamespace
Google.Cloud.BareMetalSolution.V2Assembly
Google.Cloud.BareMetalSolution.V2.dll
Constructors
CreateSSHKeyRequest()
public CreateSSHKeyRequest()
CreateSSHKeyRequest(CreateSSHKeyRequest)
public CreateSSHKeyRequest(CreateSSHKeyRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateSSHKeyRequest |
Properties
Parent
public string Parent { get; set; }
Required. The parent containing the SSH keys.
Property Value | |
---|---|
Type | Description |
string |
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }
LocationName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
LocationName |
SshKey
public SSHKey SshKey { get; set; }
Required. The SSH key to register.
Property Value | |
---|---|
Type | Description |
SSHKey |
SshKeyId
public string SshKeyId { get; set; }
Required. The ID to use for the key, which will become the final component of the key's resource name.
This value must match the regex: [a-zA-Z0-9@.-_]{1,64}
Property Value | |
---|---|
Type | Description |
string |