Google Cloud Shell V1 Client - Class AddPublicKeyResponse (1.2.2)

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

Response message for AddPublicKey.

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

Namespace

Google \ Cloud \ Shell \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ key string

Key that was added to the environment.

getKey

Key that was added to the environment.

Returns
TypeDescription
string

setKey

Key that was added to the environment.

Parameter
NameDescription
var string
Returns
TypeDescription
$this