Class GkeHub.GkeHubBase (2.0.0)

Stay organized with collections Save and categorize content based on your preferences.
[BindServiceMethod(typeof(GkeHub), "BindService")]
public abstract class GkeHubBase

Base class for server-side implementations of GkeHub

Inheritance

Object > GkeHub.GkeHubBase

Namespace

Google.Cloud.GkeHub.V1

Assembly

Google.Cloud.GkeHub.V1.dll

Methods

CreateFeature(CreateFeatureRequest, ServerCallContext)

public virtual Task<Operation> CreateFeature(CreateFeatureRequest request, ServerCallContext context)

Adds a new Feature.

Parameters
NameDescription
requestCreateFeatureRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

CreateMembership(CreateMembershipRequest, ServerCallContext)

public virtual Task<Operation> CreateMembership(CreateMembershipRequest request, ServerCallContext context)

Creates a new Membership.

This is currently only supported for GKE clusters on Google Cloud. To register other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster.

Parameters
NameDescription
requestCreateMembershipRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

DeleteFeature(DeleteFeatureRequest, ServerCallContext)

public virtual Task<Operation> DeleteFeature(DeleteFeatureRequest request, ServerCallContext context)

Removes a Feature.

Parameters
NameDescription
requestDeleteFeatureRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

DeleteMembership(DeleteMembershipRequest, ServerCallContext)

public virtual Task<Operation> DeleteMembership(DeleteMembershipRequest request, ServerCallContext context)

Removes a Membership.

This is currently only supported for GKE clusters on Google Cloud. To unregister other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster.

Parameters
NameDescription
requestDeleteMembershipRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

GenerateConnectManifest(GenerateConnectManifestRequest, ServerCallContext)

public virtual Task<GenerateConnectManifestResponse> GenerateConnectManifest(GenerateConnectManifestRequest request, ServerCallContext context)

Generates the manifest for deployment of the GKE connect agent.

This method is used internally by Google-provided libraries. Most clients should not need to call this method directly.

Parameters
NameDescription
requestGenerateConnectManifestRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<GenerateConnectManifestResponse>

The response to send back to the client (wrapped by a task).

GetFeature(GetFeatureRequest, ServerCallContext)

public virtual Task<Feature> GetFeature(GetFeatureRequest request, ServerCallContext context)

Gets details of a single Feature.

Parameters
NameDescription
requestGetFeatureRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Feature>

The response to send back to the client (wrapped by a task).

GetMembership(GetMembershipRequest, ServerCallContext)

public virtual Task<Membership> GetMembership(GetMembershipRequest request, ServerCallContext context)

Gets the details of a Membership.

Parameters
NameDescription
requestGetMembershipRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Membership>

The response to send back to the client (wrapped by a task).

ListFeatures(ListFeaturesRequest, ServerCallContext)

public virtual Task<ListFeaturesResponse> ListFeatures(ListFeaturesRequest request, ServerCallContext context)

Lists Features in a given project and location.

Parameters
NameDescription
requestListFeaturesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListFeaturesResponse>

The response to send back to the client (wrapped by a task).

ListMemberships(ListMembershipsRequest, ServerCallContext)

public virtual Task<ListMembershipsResponse> ListMemberships(ListMembershipsRequest request, ServerCallContext context)

Lists Memberships in a given project and location.

Parameters
NameDescription
requestListMembershipsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListMembershipsResponse>

The response to send back to the client (wrapped by a task).

UpdateFeature(UpdateFeatureRequest, ServerCallContext)

public virtual Task<Operation> UpdateFeature(UpdateFeatureRequest request, ServerCallContext context)

Updates an existing Feature.

Parameters
NameDescription
requestUpdateFeatureRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

UpdateMembership(UpdateMembershipRequest, ServerCallContext)

public virtual Task<Operation> UpdateMembership(UpdateMembershipRequest request, ServerCallContext context)

Updates an existing Membership.

Parameters
NameDescription
requestUpdateMembershipRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).