[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. Deleting the API hub instance will also result in the removal of all associated runtime project attachments and the host project registration.
| 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 Google Cloud project. There will always be only one Api Hub instance for a Google Cloud 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). |
UpdateApiHubInstance(UpdateApiHubInstanceRequest, ServerCallContext)
public virtual Task<Operation> UpdateApiHubInstance(UpdateApiHubInstanceRequest request, ServerCallContext context)Update an Api Hub instance. The following fields in the [ApiHubInstance][google.cloud.apihub.v1.ApiHubInstance] can be updated:
- [disable_search][ApiHubInstance.config.disable_search]
- [vertex_location][ApiHubInstance.config.vertex_location]
- [agent_registry_sync_config][ApiHubInstance.config.agent_registry_sync_config]
The [update_mask][google.cloud.apihub.v1.UpdateApiHubInstanceRequest.update_mask] should be used to specify the fields being updated.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateApiHubInstanceRequestThe 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). |