Reference documentation and code samples for the Google Cloud Game Servers V1 Client class TargetDetails.
Details about the Agones resources.
Generated from protobuf message google.cloud.gaming.v1.TargetDetails
Namespace
Google \ Cloud \ Gaming \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ game_server_cluster_name |
string
The game server cluster name. Uses the form: |
↳ game_server_deployment_name |
string
The game server deployment name. Uses the form: |
↳ fleet_details |
array<Google\Cloud\Gaming\V1\TargetDetails\TargetFleetDetails>
Agones fleet details for game server clusters and game server deployments. |
getGameServerClusterName
The game server cluster name. Uses the form:
projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}.
| Returns | |
|---|---|
| Type | Description |
string |
|
setGameServerClusterName
The game server cluster name. Uses the form:
projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getGameServerDeploymentName
The game server deployment name. Uses the form:
projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}.
| Returns | |
|---|---|
| Type | Description |
string |
|
setGameServerDeploymentName
The game server deployment name. Uses the form:
projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFleetDetails
Agones fleet details for game server clusters and game server deployments.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setFleetDetails
Agones fleet details for game server clusters and game server deployments.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Cloud\Gaming\V1\TargetDetails\TargetFleetDetails>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|