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

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

Request message for RealmsService.UpdateRealm.

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

Namespace

Google \ Cloud \ Gaming \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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

getRealm

Required. The realm to be updated.

Only fields specified in update_mask are updated.

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

hasRealm

clearRealm

setRealm

Required. The realm to be updated.

Only fields specified in update_mask are updated.

Parameter
NameDescription
var Google\Cloud\Gaming\V1\Realm
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
realm Google\Cloud\Gaming\V1\Realm

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

updateMask 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

Returns
TypeDescription
Google\Cloud\Gaming\V1\UpdateRealmRequest