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

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

setDone

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

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

getErrorCode

The error code in case of failures.

Returns
Type
Description
int

setErrorCode

The error code in case of failures.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getErrorMessage

The human-readable error message.

Returns
Type
Description
string

setErrorMessage

The human-readable error message.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: