Google Cloud Game Servers V1 Client - Class GameServerClusterConnectionInfo (1.2.3)

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

The game server cluster connection information.

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

Namespace

Google \ Cloud \ Gaming \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ gke_cluster_reference Google\Cloud\Gaming\V1\GkeClusterReference

Reference to the GKE cluster where the game servers are installed.

↳ namespace string

Namespace designated on the game server cluster where the Agones game server instances will be created. Existence of the namespace will be validated during creation.

getGkeClusterReference

Reference to the GKE cluster where the game servers are installed.

Returns
TypeDescription
Google\Cloud\Gaming\V1\GkeClusterReference|null

hasGkeClusterReference

setGkeClusterReference

Reference to the GKE cluster where the game servers are installed.

Parameter
NameDescription
var Google\Cloud\Gaming\V1\GkeClusterReference
Returns
TypeDescription
$this

getNamespace

Namespace designated on the game server cluster where the Agones game server instances will be created. Existence of the namespace will be validated during creation.

Returns
TypeDescription
string

setNamespace

Namespace designated on the game server cluster where the Agones game server instances will be created. Existence of the namespace will be validated during creation.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getClusterReference

Returns
TypeDescription
string