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

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

Request message for RealmsService.PreviewRealmUpdate.

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

Namespace

Google \ Cloud \ Gaming \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ realm Google\Cloud\Gaming\V1\Realm

Required. The realm to be updated. Only fields specified in update_mask are updated.

↳ update_mask Google\Protobuf\FieldMask

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

↳ preview_time Google\Protobuf\Timestamp

Optional. The target timestamp to compute the preview.

getRealm

Required. The realm to be updated.

Only fields specified in update_mask are updated.

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

hasRealm

clearRealm

setRealm

Required. The realm to be updated.

Only fields specified in update_mask are updated.

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

getUpdateMask

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

getPreviewTime

Optional. The target timestamp to compute the preview.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasPreviewTime

clearPreviewTime

setPreviewTime

Optional. The target timestamp to compute the preview.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this