Google Cloud Game Servers V1 Client - Class TargetDetails (1.1.1)

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 \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ game_server_cluster_name string

The game server cluster name. Uses the form: projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}.

↳ game_server_deployment_name string

The game server deployment name. Uses the form: projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}.

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

setGameServerClusterName

The game server cluster name. Uses the form: projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getGameServerDeploymentName

The game server deployment name. Uses the form: projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}.

Returns
TypeDescription
string

setGameServerDeploymentName

The game server deployment name. Uses the form: projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFleetDetails

Agones fleet details for game server clusters and game server deployments.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFleetDetails

Agones fleet details for game server clusters and game server deployments.

Parameter
NameDescription
var array<Google\Cloud\Gaming\V1\TargetDetails\TargetFleetDetails>
Returns
TypeDescription
$this