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

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

Request message for GameServerDeploymentsService.GetGameServerDeployment.

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

Namespace

Google \ Cloud \ Gaming \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the game server delpoyment to retrieve, in the following form: projects/{project}/locations/{location}/gameServerDeployments/{deployment}.

getName

Required. The name of the game server delpoyment to retrieve, in the following form: projects/{project}/locations/{location}/gameServerDeployments/{deployment}.

Returns
TypeDescription
string

setName

Required. The name of the game server delpoyment to retrieve, in the following form: projects/{project}/locations/{location}/gameServerDeployments/{deployment}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The name of the game server delpoyment to retrieve, in the following form: projects/{project}/locations/{location}/gameServerDeployments/{deployment}. Please see Google\Cloud\Gaming\V1\GameServerDeploymentsServiceClient::gameServerDeploymentName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Gaming\V1\GetGameServerDeploymentRequest