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

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

Request message for GameServerConfigsService.CreateGameServerConfig.

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

Namespace

Google \ Cloud \ Gaming \ V1

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}/gameServerDeployments/{deployment}/.

↳ config_id string

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

↳ game_server_config Google\Cloud\Gaming\V1\GameServerConfig

Required. The game server config resource to be created.

getParent

Required. The parent resource name, in the following form: projects/{project}/locations/{location}/gameServerDeployments/{deployment}/.

Returns
TypeDescription
string

setParent

Required. The parent resource name, in the following form: projects/{project}/locations/{location}/gameServerDeployments/{deployment}/.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getConfigId

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

Returns
TypeDescription
string

setConfigId

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getGameServerConfig

Required. The game server config resource to be created.

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

hasGameServerConfig

clearGameServerConfig

setGameServerConfig

Required. The game server config resource to be created.

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

static::build

Parameters
NameDescription
parent string

Required. The parent resource name, in the following form: projects/{project}/locations/{location}/gameServerDeployments/{deployment}/. Please see Google\Cloud\Gaming\V1\GameServerConfigsServiceClient::gameServerDeploymentName() for help formatting this field.

gameServerConfig Google\Cloud\Gaming\V1\GameServerConfig

Required. The game server config resource to be created.

Returns
TypeDescription
Google\Cloud\Gaming\V1\CreateGameServerConfigRequest