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
Namespace
Google \ Cloud \ Gaming \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ fleet_spec |
string
Agones fleet spec. Example spec: |
↳ name |
string
The name of the FleetConfig. |
getFleetSpec
Agones fleet spec. Example spec:
https://agones.dev/site/docs/reference/fleet/
.
Returns | |
---|---|
Type | Description |
string |
setFleetSpec
Agones fleet spec. Example spec:
https://agones.dev/site/docs/reference/fleet/
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getName
The name of the FleetConfig.
Returns | |
---|---|
Type | Description |
string |
setName
The name of the FleetConfig.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |