Reference documentation and code samples for the Google Cloud Game Servers V1 Client class TargetFleetAutoscaler.
Target Agones autoscaler policy reference.
Generated from protobuf message google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler
Namespace
Google \ Cloud \ Gaming \ V1 \ TargetDetails \ TargetFleetDetailsMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
The name of the Agones autoscaler. |
↳ spec_source |
Google\Cloud\Gaming\V1\SpecSource
Encapsulates the source of the Agones fleet spec. Details about the Agones autoscaler spec. |
getName
The name of the Agones autoscaler.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
The name of the Agones autoscaler.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSpecSource
Encapsulates the source of the Agones fleet spec.
Details about the Agones autoscaler spec.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\Gaming\V1\SpecSource|null |
|
hasSpecSource
clearSpecSource
setSpecSource
Encapsulates the source of the Agones fleet spec.
Details about the Agones autoscaler spec.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\Gaming\V1\SpecSource
|
| Returns | |
|---|---|
| Type | Description |
$this |
|