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

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

Request message for GameServerClustersService.UpdateGameServerCluster.

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

Namespace

Google \ Cloud \ Gaming \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ game_server_cluster Google\Cloud\Gaming\V1\GameServerCluster

Required. The game server cluster to be updated. Only fields specified in update_mask are updated.

↳ update_mask Google\Protobuf\FieldMask

Required. Mask of fields to update. At least one path must be supplied in this field. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

getGameServerCluster

Required. The game server cluster to be updated.

Only fields specified in update_mask are updated.

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

hasGameServerCluster

clearGameServerCluster

setGameServerCluster

Required. The game server cluster to be updated.

Only fields specified in update_mask are updated.

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

getUpdateMask

Required. Mask of fields to update. At least one path must be supplied in this field. 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. Mask of fields to update. At least one path must be supplied in this field. 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
gameServerCluster Google\Cloud\Gaming\V1\GameServerCluster

Required. The game server cluster to be updated. Only fields specified in update_mask are updated.

updateMask Google\Protobuf\FieldMask

Required. Mask of fields to update. At least one path must be supplied in this field. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

Returns
TypeDescription
Google\Cloud\Gaming\V1\UpdateGameServerClusterRequest