Google Cloud Shell V1 Client - Class AddPublicKeyResponse (2.0.1)

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
Name Description
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
Type Description
string

setKey

Key that was added to the environment.

Parameter
Name Description
var string
Returns
Type Description
$this