[BindServiceMethod(typeof(GkeHub), "BindService")]
public abstract class GkeHub.GkeHubBaseReference documentation and code samples for the GKE Hub v1 API class GkeHub.GkeHubBase.
Base class for server-side implementations of GkeHub
Namespace
Google.Cloud.GkeHub.V1Assembly
Google.Cloud.GkeHub.V1.dll
Methods
CreateFeature(CreateFeatureRequest, ServerCallContext)
public virtual Task<Operation> CreateFeature(CreateFeatureRequest request, ServerCallContext context)Adds a new Feature.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateFeatureRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
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 | |
|---|---|
| Name | Description |
request |
CreateMembershipRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
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 | |
|---|---|
| Name | Description |
request |
DeleteFeatureRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
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 | |
|---|---|
| Name | Description |
request |
DeleteMembershipRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
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 | |
|---|---|
| Name | Description |
request |
GenerateConnectManifestRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateConnectManifestResponse |
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 | |
|---|---|
| Name | Description |
request |
GetFeatureRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskFeature |
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 | |
|---|---|
| Name | Description |
request |
GetMembershipRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskMembership |
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 | |
|---|---|
| Name | Description |
request |
ListFeaturesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListFeaturesResponse |
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 | |
|---|---|
| Name | Description |
request |
ListMembershipsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListMembershipsResponse |
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 | |
|---|---|
| Name | Description |
request |
UpdateFeatureRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
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 | |
|---|---|
| Name | Description |
request |
UpdateMembershipRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |