API hub v1 API - Class Provisioning.ProvisioningBase (1.3.0)

[BindServiceMethod(typeof(Provisioning), "BindService")]
public abstract class Provisioning.ProvisioningBase

Reference documentation and code samples for the API hub v1 API class Provisioning.ProvisioningBase.

Base class for server-side implementations of Provisioning

Inheritance

object > Provisioning.ProvisioningBase

Namespace

Google.Cloud.ApiHub.V1

Assembly

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 CreateApiHubInstanceRequest

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).

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 DeleteApiHubInstanceRequest

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).

GetApiHubInstance(GetApiHubInstanceRequest, ServerCallContext)

public virtual Task<ApiHubInstance> GetApiHubInstance(GetApiHubInstanceRequest request, ServerCallContext context)

Gets details of a single API Hub instance.

Parameters
Name Description
request GetApiHubInstanceRequest

The request received from the client.

context ServerCallContext

The 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 LookupApiHubInstanceRequest

The request received from the client.

context ServerCallContext

The 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 UpdateApiHubInstanceRequest

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).