# GKE Hub V1 API - Module Google::Cloud::GkeHub::V1::GkeHub (v2.6.0)

2.6.0 (latest) 2.5.0 2.4.1 2.3.0 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.10.0 0.9.0 0.8.2 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.2 Reference documentation and code samples for the GKE Hub V1 API module Google::Cloud::GkeHub::V1::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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1/latest/Google-Cloud-GkeHub-V1-Membership "Google::Cloud::GkeHub::V1::Membership (class)")
- [Feature](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1/latest/Google-Cloud-GkeHub-V1-Feature "Google::Cloud::GkeHub::V1::Feature (class)")

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.

To load this service and instantiate a REST client:

    require "google/cloud/gke_hub/v1/gke_hub/rest"
    client = ::Google::Cloud::GkeHub::V1::GkeHub::Rest::Client.new