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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
Google\Cloud\Gaming\V1\GkeClusterReference|null |
hasGkeClusterReference
setGkeClusterReference
Reference to the GKE cluster where the game servers are installed.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Gaming\V1\GkeClusterReference
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getClusterReference
Returns | |
---|---|
Type | Description |
string |