Google Cloud Game Servers V1 Client - Class FleetConfig (1.0.5)

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

Fleet configs for Agones.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ fleet_spec string

Agones fleet spec. Example spec: https://agones.dev/site/docs/reference/fleet/.

↳ name string

The name of the FleetConfig.

getFleetSpec

Agones fleet spec. Example spec: https://agones.dev/site/docs/reference/fleet/.

Returns
TypeDescription
string

setFleetSpec

Agones fleet spec. Example spec: https://agones.dev/site/docs/reference/fleet/.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getName

The name of the FleetConfig.

Returns
TypeDescription
string

setName

The name of the FleetConfig.

Parameter
NameDescription
var string
Returns
TypeDescription
$this