Reference documentation and code samples for the Google Cloud Game Servers V1 Client class GameServerConfig.
A game server config resource.
Generated from protobuf messagegoogle.cloud.gaming.v1.GameServerConfig
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 config, in the following form:projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}. For example,projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config.
The resource name of the game server config, in the following form:projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}.
For example,projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config.
Returns
Type
Description
string
setName
The resource name of the game server config, in the following form:projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}.
For example,projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config.
[[["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 GameServerConfig (1.2.6)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.6 (latest)](/php/docs/reference/cloud-game-servers/latest/V1.GameServerConfig)\n- [1.2.5](/php/docs/reference/cloud-game-servers/1.2.5/V1.GameServerConfig)\n- [1.1.1](/php/docs/reference/cloud-game-servers/1.1.1/V1.GameServerConfig)\n- [1.0.5](/php/docs/reference/cloud-game-servers/1.0.5/V1.GameServerConfig) \nReference documentation and code samples for the Google Cloud Game Servers V1 Client class GameServerConfig.\n\nA game server config resource.\n\nGenerated from protobuf message `google.cloud.gaming.v1.GameServerConfig`\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 config, in the following form:\n`projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}`.\n\nFor example,\n`projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config`.\n\n### setName\n\nThe resource name of the game server config, in the following form:\n`projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}`.\n\nFor example,\n`projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config`.\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 config. Each label is a\nkey-value pair.\n\n### setLabels\n\nThe labels associated with this game server config. Each label is a\nkey-value pair.\n\n### getFleetConfigs\n\nFleetConfig contains a list of Agones fleet specs. Only one FleetConfig\nis allowed.\n\n### setFleetConfigs\n\nFleetConfig contains a list of Agones fleet specs. Only one FleetConfig\nis allowed.\n\n### getScalingConfigs\n\nThe autoscaling settings.\n\n### setScalingConfigs\n\nThe autoscaling settings.\n\n### getDescription\n\nThe description of the game server config.\n\n### setDescription\n\nThe description of the game server config."]]