[BindServiceMethod(typeof(GkeHub), "BindService")]
public abstract class GkeHub.GkeHubBase
Reference 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 |
CreateFeatureRequest The request received from the client. |
context |
ServerCallContext The 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 |
CreateMembershipRequest The request received from the client. |
context |
ServerCallContext The 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 |
DeleteFeatureRequest The request received from the client. |
context |
ServerCallContext The 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 |
DeleteMembershipRequest The request received from the client. |
context |
ServerCallContext The 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 |
GenerateConnectManifestRequest The request received from the client. |
context |
ServerCallContext The 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 |
GetFeatureRequest The request received from the client. |
context |
ServerCallContext The 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 |
GetMembershipRequest The request received from the client. |
context |
ServerCallContext The 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 |
ListFeaturesRequest The request received from the client. |
context |
ServerCallContext The 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 |
ListMembershipsRequest The request received from the client. |
context |
ServerCallContext The 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 |
UpdateFeatureRequest The request received from the client. |
context |
ServerCallContext The 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 |
UpdateMembershipRequest The request received from the client. |
context |
ServerCallContext The 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). |