1.2.0 (latest) 1.1.0 1.0.0

    [BindServiceMethod(typeof(ApiHubCollect), "BindService")]
    public abstract class ApiHubCollect.ApiHubCollectBase

Reference documentation and code samples for the API hub v1 API class ApiHubCollect.ApiHubCollectBase.

Base class for server-side implementations of ApiHubCollect

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ApiHubCollect.ApiHubCollectBase

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.ApiHub.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.md.txt)

## Assembly

Google.Cloud.ApiHub.V1.dll

## Methods

### CollectApiData(CollectApiDataRequest, ServerCallContext)

    public virtual Task<Operation> CollectApiData(CollectApiDataRequest request, ServerCallContext context)

Collect API data from a source and push it to Hub's collect layer.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CollectApiDataRequest` 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). |