Google Cloud Game Servers V1 Client - Class PreviewRealmUpdateResponse (1.2.5)

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

Response message for RealmsService.PreviewRealmUpdate.

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

Namespace

Google \ Cloud \ Gaming \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ etag string

ETag of the realm.

↳ target_state Google\Cloud\Gaming\V1\TargetState

The target state.

getEtag

ETag of the realm.

Returns
Type Description
string

setEtag

ETag of the realm.

Parameter
Name Description
var string
Returns
Type Description
$this

getTargetState

The target state.

Returns
Type Description
Google\Cloud\Gaming\V1\TargetState|null

hasTargetState

clearTargetState

setTargetState

The target state.

Parameter
Name Description
var Google\Cloud\Gaming\V1\TargetState
Returns
Type Description
$this