[BindServiceMethod(typeof(Provisioning), "BindService")]
public abstract class Provisioning.ProvisioningBaseReference documentation and code samples for the API hub v1 API class Provisioning.ProvisioningBase.
Base class for server-side implementations of Provisioning
Namespace
Google.Cloud.ApiHub.V1Assembly
Google.Cloud.ApiHub.V1.dll
Methods
CreateApiHubInstance(CreateApiHubInstanceRequest, ServerCallContext)
public virtual Task<Operation> CreateApiHubInstance(CreateApiHubInstanceRequest request, ServerCallContext context)Provisions instance resources for the API Hub.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateApiHubInstanceRequestThe 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). |
DeleteApiHubInstance(DeleteApiHubInstanceRequest, ServerCallContext)
public virtual Task<Operation> DeleteApiHubInstance(DeleteApiHubInstanceRequest request, ServerCallContext context)Deletes the API hub instance.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteApiHubInstanceRequestThe 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). |
GetApiHubInstance(GetApiHubInstanceRequest, ServerCallContext)
public virtual Task<ApiHubInstance> GetApiHubInstance(GetApiHubInstanceRequest request, ServerCallContext context)Gets details of a single API Hub instance.
| Parameters | |
|---|---|
| Name | Description |
request |
GetApiHubInstanceRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskApiHubInstance |
The response to send back to the client (wrapped by a task). |
LookupApiHubInstance(LookupApiHubInstanceRequest, ServerCallContext)
public virtual Task<LookupApiHubInstanceResponse> LookupApiHubInstance(LookupApiHubInstanceRequest request, ServerCallContext context)Looks up an Api Hub instance in a given GCP project. There will always be only one Api Hub instance for a GCP project across all locations.
| Parameters | |
|---|---|
| Name | Description |
request |
LookupApiHubInstanceRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskLookupApiHubInstanceResponse |
The response to send back to the client (wrapped by a task). |