Bare Metal Solution v2 API - Class CreateSSHKeyRequest (1.2.0)

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.

Inheritance

object > CreateSSHKeyRequest

Namespace

Google.Cloud.BareMetalSolution.V2

Assembly

Google.Cloud.BareMetalSolution.V2.dll

Constructors

CreateSSHKeyRequest()

public CreateSSHKeyRequest()

CreateSSHKeyRequest(CreateSSHKeyRequest)

public CreateSSHKeyRequest(CreateSSHKeyRequest other)
Parameter
NameDescription
otherCreateSSHKeyRequest

Properties

Parent

public string Parent { get; set; }

Required. The parent containing the SSH keys.

Property Value
TypeDescription
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName

SshKey

public SSHKey SshKey { get; set; }

Required. The SSH key to register.

Property Value
TypeDescription
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
TypeDescription
string