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

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

Methods

__construct

Constructor.

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

setParent

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getGameServerClusterId

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

Returns
TypeDescription
string

setGameServerClusterId

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getGameServerCluster

Required. The game server cluster resource to be created.

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

hasGameServerCluster

clearGameServerCluster

setGameServerCluster

Required. The game server cluster resource to be created.

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