Google Cloud Shell V1 Client - Class CloudShellErrorDetails (1.3.5)

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

setCode

Code indicating the specific error the occurred.

Parameter
Name Description
var int
Returns
Type Description
$this