Reference documentation and code samples for the Google Cloud Game Servers V1 Client class GameServerConfig.
A game server config resource.
Generated from protobuf message google.cloud.gaming.v1.GameServerConfig
Namespace
Google \ Cloud \ Gaming \ V1Methods
__construct
Constructor.
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
.
↳ create_time
↳ update_time
↳ labels
array| Google\Protobuf\Internal\MapField
The labels associated with this game server config. Each label is a key-value pair.
↳ fleet_configs
array< Google\Cloud\Gaming\V1\FleetConfig
>
FleetConfig contains a list of Agones fleet specs. Only one FleetConfig is allowed.
↳ scaling_configs
↳ description
string
The description of the game server config.
getName
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
.
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
.
var
string
$this
getCreateTime
Output only. The creation time.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The creation time.
$this
getUpdateTime
Output only. The last-modified time.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The last-modified time.
$this
getLabels
The labels associated with this game server config. Each label is a key-value pair.
setLabels
The labels associated with this game server config. Each label is a key-value pair.
$this
getFleetConfigs
FleetConfig contains a list of Agones fleet specs. Only one FleetConfig is allowed.
setFleetConfigs
FleetConfig contains a list of Agones fleet specs. Only one FleetConfig is allowed.
$this
getScalingConfigs
The autoscaling settings.
setScalingConfigs
The autoscaling settings.
$this
getDescription
The description of the game server config.
string
setDescription
The description of the game server config.
var
string
$this