Google Cloud Game Servers V1 Client - Class SpecSource (1.2.5)

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

Encapsulates Agones fleet spec and Agones autoscaler spec sources.

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

Namespace

Google \ Cloud \ Gaming \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ game_server_config_name string

The game server config resource. Uses the form: projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}/configs/{config_id}.

↳ name string

The name of the Agones leet config or Agones scaling config used to derive the Agones fleet or Agones autoscaler spec.

getGameServerConfigName

The game server config resource. Uses the form: projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}/configs/{config_id}.

Returns
Type Description
string

setGameServerConfigName

The game server config resource. Uses the form: projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}/configs/{config_id}.

Parameter
Name Description
var string
Returns
Type Description
$this

getName

The name of the Agones leet config or Agones scaling config used to derive the Agones fleet or Agones autoscaler spec.

Returns
Type Description
string

setName

The name of the Agones leet config or Agones scaling config used to derive the Agones fleet or Agones autoscaler spec.

Parameter
Name Description
var string
Returns
Type Description
$this