Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class GKEWorkload.
GKEWorkload represents the Google Kubernetes Engine runtime.
Generated from protobuf messagegoogle.cloud.developerconnect.v1.GKEWorkload
Namespace
Google \ Cloud \ DeveloperConnect \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ cluster
string
Required. Immutable. The name of the GKE cluster. Format:projects/{project}/locations/{location}/clusters/{cluster}.
↳ deployment
string
Output only. The name of the GKE deployment. Format:projects/{project}/locations/{location}/clusters/{cluster}/namespaces/{namespace}/deployments/{deployment}.
[[["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 Developer Connect V1 Client - Class GKEWorkload (0.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.1 (latest)](/php/docs/reference/cloud-developerconnect/latest/V1.GKEWorkload)\n- [0.4.0](/php/docs/reference/cloud-developerconnect/0.4.0/V1.GKEWorkload)\n- [0.3.0](/php/docs/reference/cloud-developerconnect/0.3.0/V1.GKEWorkload)\n- [0.2.2](/php/docs/reference/cloud-developerconnect/0.2.2/V1.GKEWorkload)\n- [0.1.2](/php/docs/reference/cloud-developerconnect/0.1.2/V1.GKEWorkload) \nReference documentation and code samples for the Google Cloud Developer Connect V1 Client class GKEWorkload.\n\nGKEWorkload represents the Google Kubernetes Engine runtime.\n\nGenerated from protobuf message `google.cloud.developerconnect.v1.GKEWorkload`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DeveloperConnect \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getCluster\n\nRequired. Immutable. The name of the GKE cluster.\n\nFormat:\n`projects/{project}/locations/{location}/clusters/{cluster}`.\n\n### setCluster\n\nRequired. Immutable. The name of the GKE cluster.\n\nFormat:\n`projects/{project}/locations/{location}/clusters/{cluster}`.\n\n### getDeployment\n\nOutput only. The name of the GKE deployment.\n\nFormat:\n`projects/{project}/locations/{location}/clusters/{cluster}/namespaces/{namespace}/deployments/{deployment}`.\n\n### setDeployment\n\nOutput only. The name of the GKE deployment.\n\nFormat:\n`projects/{project}/locations/{location}/clusters/{cluster}/namespaces/{namespace}/deployments/{deployment}`."]]