Google Cloud Game Servers V1 Client - Class OperationStatus (1.1.1)

Reference documentation and code samples for the Google Cloud Game Servers V1 Client class OperationStatus.

Generated from protobuf message google.cloud.gaming.v1.OperationStatus

Namespace

Google \ Cloud \ Gaming \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ done bool

Output only. Whether the operation is done or still in progress.

↳ error_code int

The error code in case of failures.

↳ error_message string

The human-readable error message.

getDone

Output only. Whether the operation is done or still in progress.

Returns
TypeDescription
bool

setDone

Output only. Whether the operation is done or still in progress.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getErrorCode

The error code in case of failures.

Returns
TypeDescription
int

setErrorCode

The error code in case of failures.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getErrorMessage

The human-readable error message.

Returns
TypeDescription
string

setErrorMessage

The human-readable error message.

Parameter
NameDescription
var string
Returns
TypeDescription
$this