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

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
NameDescription
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
TypeDescription
string

setGameServerConfigName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getName

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

Returns
TypeDescription
string

setName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this