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

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
NameDescription
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
TypeDescription
string

setEtag

ETag of the realm.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTargetState

The target state.

Returns
TypeDescription
Google\Cloud\Gaming\V1\TargetState|null

hasTargetState

clearTargetState

setTargetState

The target state.

Parameter
NameDescription
var Google\Cloud\Gaming\V1\TargetState
Returns
TypeDescription
$this