Google Cloud Shell V1 Client - Class CloudShellErrorDetails (1.1.1)

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

Cloud-shell specific information that will be included as details in failure responses.

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

Namespace

Google \ Cloud \ Shell \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ code int

Code indicating the specific error the occurred.

getCode

Code indicating the specific error the occurred.

Returns
TypeDescription
int

setCode

Code indicating the specific error the occurred.

Parameter
NameDescription
var int
Returns
TypeDescription
$this