GKE Hub v1 API - Class GkeHub (2.5.0)

public static class GkeHub

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.

Inheritance

object > GkeHub

Namespace

Google.Cloud.GkeHub.V1

Assembly

Google.Cloud.GkeHub.V1.dll

Methods

BindService(GkeHubBase)

public static ServerServiceDefinition BindService(GkeHub.GkeHubBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
Name Description
serviceImpl GkeHubGkeHubBase

An object implementing the server-side handling logic.

Returns
Type Description
ServerServiceDefinition

BindService(ServiceBinderBase, GkeHubBase)

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.

Parameters
Name Description
serviceBinder ServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImpl GkeHubGkeHubBase

An object implementing the server-side handling logic.