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

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

Request message for GameServerDeploymentsService.CreateGameServerDeployment.

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

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}.

↳ deployment_id string

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

↳ game_server_deployment Google\Cloud\Gaming\V1\GameServerDeployment

Required. The game server delpoyment resource to be created.

getParent

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

Returns
TypeDescription
string

setParent

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDeploymentId

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

Returns
TypeDescription
string

setDeploymentId

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getGameServerDeployment

Required. The game server delpoyment resource to be created.

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

hasGameServerDeployment

clearGameServerDeployment

setGameServerDeployment

Required. The game server delpoyment resource to be created.

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