Reference documentation and code samples for the Google Cloud Game Servers V1 Client class GkeClusterReference.
A reference to a GKE cluster.
Generated from protobuf message google.cloud.gaming.v1.GkeClusterReference
Namespace
Google \ Cloud \ Gaming \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ cluster
string
The full or partial name of a GKE cluster, using one of the following forms: * projects/{project}/locations/{location}/clusters/{cluster} * locations/{location}/clusters/{cluster} * {cluster} If project and location are not specified, the project and location of the GameServerCluster resource are used to generate the full name of the GKE cluster.
getCluster
The full or partial name of a GKE cluster, using one of the following
forms:
{cluster}
If project and location are not specified, the project and location of the
GameServerCluster resource are used to generate the full name of the
GKE cluster.
Returns
Type
Description
string
setCluster
The full or partial name of a GKE cluster, using one of the following
forms:
{cluster}
If project and location are not specified, the project and location of the
GameServerCluster resource are used to generate the full name of the
GKE cluster.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Game Servers V1 Client - Class GkeClusterReference (1.2.6)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.6 (latest)](/php/docs/reference/cloud-game-servers/latest/V1.GkeClusterReference)\n- [1.2.5](/php/docs/reference/cloud-game-servers/1.2.5/V1.GkeClusterReference)\n- [1.1.1](/php/docs/reference/cloud-game-servers/1.1.1/V1.GkeClusterReference)\n- [1.0.5](/php/docs/reference/cloud-game-servers/1.0.5/V1.GkeClusterReference) \nReference documentation and code samples for the Google Cloud Game Servers V1 Client class GkeClusterReference.\n\nA reference to a GKE cluster.\n\nGenerated from protobuf message `google.cloud.gaming.v1.GkeClusterReference`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Gaming \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getCluster\n\nThe full or partial name of a GKE cluster, using one of the following\nforms:\n\n- `projects/{project}/locations/{location}/clusters/{cluster}`\n- `locations/{location}/clusters/{cluster}`\n- `{cluster}` If project and location are not specified, the project and location of the GameServerCluster resource are used to generate the full name of the GKE cluster.\n\n### setCluster\n\nThe full or partial name of a GKE cluster, using one of the following\nforms:\n\n- `projects/{project}/locations/{location}/clusters/{cluster}`\n- `locations/{location}/clusters/{cluster}`\n- `{cluster}` If project and location are not specified, the project and location of the GameServerCluster resource are used to generate the full name of the GKE cluster."]]