Reference documentation and code samples for the Google Cloud Game Servers V1 Client class GameServerDeployment.
A game server deployment resource.
Generated from protobuf messagegoogle.cloud.gaming.v1.GameServerDeployment
Namespace
Google \ Cloud \ Gaming \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
The resource name of the game server deployment, in the following form:projects/{project}/locations/{location}/gameServerDeployments/{deployment}. For example,projects/my-project/locations/global/gameServerDeployments/my-deployment.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Game Servers V1 Client - Class GameServerDeployment (1.2.6)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.6 (latest)](/php/docs/reference/cloud-game-servers/latest/V1.GameServerDeployment)\n- [1.2.5](/php/docs/reference/cloud-game-servers/1.2.5/V1.GameServerDeployment)\n- [1.1.1](/php/docs/reference/cloud-game-servers/1.1.1/V1.GameServerDeployment)\n- [1.0.5](/php/docs/reference/cloud-game-servers/1.0.5/V1.GameServerDeployment) \nReference documentation and code samples for the Google Cloud Game Servers V1 Client class GameServerDeployment.\n\nA game server deployment resource.\n\nGenerated from protobuf message `google.cloud.gaming.v1.GameServerDeployment`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Gaming \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nThe resource name of the game server deployment, in the following form:\n`projects/{project}/locations/{location}/gameServerDeployments/{deployment}`.\n\nFor example,\n`projects/my-project/locations/global/gameServerDeployments/my-deployment`.\n\n### setName\n\nThe resource name of the game server deployment, in the following form:\n`projects/{project}/locations/{location}/gameServerDeployments/{deployment}`.\n\nFor example,\n`projects/my-project/locations/global/gameServerDeployments/my-deployment`.\n\n### getCreateTime\n\nOutput only. The creation time.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. The creation time.\n\n### getUpdateTime\n\nOutput only. The last-modified time.\n\n### hasUpdateTime\n\n### clearUpdateTime\n\n### setUpdateTime\n\nOutput only. The last-modified time.\n\n### getLabels\n\nThe labels associated with this game server deployment. Each label is a\nkey-value pair.\n\n### setLabels\n\nThe labels associated with this game server deployment. Each label is a\nkey-value pair.\n\n### getEtag\n\nETag of the resource.\n\n### setEtag\n\nETag of the resource.\n\n### getDescription\n\nHuman readable description of the game server delpoyment.\n\n### setDescription\n\nHuman readable description of the game server delpoyment."]]