Google Cloud Game Servers V1 Client - Class CreateGameServerClusterRequest (1.2.6)

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

Request message for GameServerClustersService.CreateGameServerCluster.

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

Namespace

Google \ Cloud \ Gaming \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource name, in the following form: projects/{project}/locations/{location}/realms/{realm-id}.

↳ game_server_cluster_id string

Required. The ID of the game server cluster resource to be created.

↳ game_server_cluster Google\Cloud\Gaming\V1\GameServerCluster

Required. The game server cluster resource to be created.

getParent

Required. The parent resource name, in the following form: projects/{project}/locations/{location}/realms/{realm-id}.

Returns
Type Description
string

setParent

Required. The parent resource name, in the following form: projects/{project}/locations/{location}/realms/{realm-id}.

Parameter
Name Description
var string
Returns
Type Description
$this

getGameServerClusterId

Required. The ID of the game server cluster resource to be created.

Returns
Type Description
string

setGameServerClusterId

Required. The ID of the game server cluster resource to be created.

Parameter
Name Description
var string
Returns
Type Description
$this

getGameServerCluster

Required. The game server cluster resource to be created.

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

hasGameServerCluster

clearGameServerCluster

setGameServerCluster

Required. The game server cluster resource to be created.

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

static::build

Parameters
Name Description
parent string

Required. The parent resource name, in the following form: projects/{project}/locations/{location}/realms/{realm-id}. Please see Google\Cloud\Gaming\V1\GameServerClustersServiceClient::realmName() for help formatting this field.

gameServerCluster Google\Cloud\Gaming\V1\GameServerCluster

Required. The game server cluster resource to be created.

gameServerClusterId string

Required. The ID of the game server cluster resource to be created.

Returns
Type Description
Google\Cloud\Gaming\V1\CreateGameServerClusterRequest