Google Cloud Shell V1 Client - Class CloudShellErrorDetails (1.0.4)

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

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