Google Cloud Shell V1 Client - Class RemovePublicKeyRequest (1.0.4)

Reference documentation and code samples for the Google Cloud Shell V1 Client class RemovePublicKeyRequest.

Request message for RemovePublicKey.

Generated from protobuf message google.cloud.shell.v1.RemovePublicKeyRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ environment string

Environment this key should be removed from, e.g. users/me/environments/default.

↳ key string

Key that should be removed from the environment.

getEnvironment

Environment this key should be removed from, e.g.

users/me/environments/default.

Returns
TypeDescription
string

setEnvironment

Environment this key should be removed from, e.g.

users/me/environments/default.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getKey

Key that should be removed from the environment.

Returns
TypeDescription
string

setKey

Key that should be removed from the environment.

Parameter
NameDescription
var string
Returns
TypeDescription
$this