API hub v1 API - Class Provisioning.ProvisioningBase (1.0.0-beta02)

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

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 GCP project. There will always be only one Api Hub instance for a GCP 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).