Google Cloud Bare Metal Solution V2 Client - Class DeleteSSHKeyRequest (0.5.2)

Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class DeleteSSHKeyRequest.

Message for deleting an SSH key from a project.

Generated from protobuf message google.cloud.baremetalsolution.v2.DeleteSSHKeyRequest

Namespace

Google \ Cloud \ BareMetalSolution \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the SSH key to delete. Currently, the only valid value for the location is "global".

getName

Required. The name of the SSH key to delete.

Currently, the only valid value for the location is "global".

Returns
TypeDescription
string

setName

Required. The name of the SSH key to delete.

Currently, the only valid value for the location is "global".

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The name of the SSH key to delete. Currently, the only valid value for the location is "global". Please see Google\Cloud\BareMetalSolution\V2\BareMetalSolutionClient::sshKeyName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\BareMetalSolution\V2\DeleteSSHKeyRequest