GKE Hub v1beta1 API - Class GkeHubMembershipService (2.0.0-beta05)

public static class GkeHubMembershipService

Reference documentation and code samples for the GKE Hub v1beta1 API class GkeHubMembershipService.

The GKE Hub MembershipService handles the registration of many Kubernetes clusters to Google Cloud, represented with the [Membership][google.cloud.gkehub.v1beta1.Membership] resource.

GKE Hub is currently available in the global region and all regions in https://cloud.google.com/compute/docs/regions-zones.

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 > GkeHubMembershipService

Namespace

Google.Cloud.GkeHub.V1Beta1

Assembly

Google.Cloud.GkeHub.V1Beta1.dll

Methods

BindService(GkeHubMembershipServiceBase)

public static ServerServiceDefinition BindService(GkeHubMembershipService.GkeHubMembershipServiceBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
NameDescription
serviceImplGkeHubMembershipServiceGkeHubMembershipServiceBase

An object implementing the server-side handling logic.

Returns
TypeDescription
ServerServiceDefinition

BindService(ServiceBinderBase, GkeHubMembershipServiceBase)

public static void BindService(ServiceBinderBase serviceBinder, GkeHubMembershipService.GkeHubMembershipServiceBase 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
NameDescription
serviceBinderServiceBinderBase

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

serviceImplGkeHubMembershipServiceGkeHubMembershipServiceBase

An object implementing the server-side handling logic.