Bare Metal Solution v2 API - Class CreateSSHKeyRequest (1.7.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
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