Reference documentation and code samples for the GKE Hub v1 API class GkeHub.
The GKE Hub service handles the registration of many Kubernetes clusters to
Google Cloud, and the management of multi-cluster features over those
clusters.
The GKE Hub service operates on the following resources:
[Membership][google.cloud.gkehub.v1.Membership]
[Feature][google.cloud.gkehub.v1.Feature]
GKE Hub is currently available in the global region and all regions in
https://cloud.google.com/compute/docs/regions-zones. Feature is only
available in global region while membership is global region and all the
regions.
Membership management may be non-trivial: it is recommended to use one
of the Google-provided client libraries or tools where possible when working
with Membership resources.
public static void BindService(ServiceBinderBase serviceBinder, GkeHub.GkeHubBase serviceImpl)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation pertains to version 2.4.0 of the GKE Hub v1 API class \u003ccode\u003eGkeHub\u003c/code\u003e, with version 2.5.0 being the latest available version.\u003c/p\u003e\n"],["\u003cp\u003eThe GKE Hub service manages the registration of multiple Kubernetes clusters to Google Cloud and multi-cluster features, operating on Membership and Feature resources.\u003c/p\u003e\n"],["\u003cp\u003eGKE Hub's Feature functionality is available globally, while Membership functionality is available both globally and in all supported Google Cloud regions.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provides methods to bind the \u003ccode\u003eGkeHub\u003c/code\u003e service to a server, including \u003ccode\u003eBindService(GkeHubBase)\u003c/code\u003e and \u003ccode\u003eBindService(ServiceBinderBase, GkeHubBase)\u003c/code\u003e, for creating and registering the service definition.\u003c/p\u003e\n"],["\u003cp\u003eMembership management is highlighted as potentially complex, advising users to leverage Google-provided tools or client libraries when interacting with Membership resources.\u003c/p\u003e\n"]]],[],null,[]]