API hub v1 API - Class ApiHubCollectClientImpl (1.1.0)

public sealed class ApiHubCollectClientImpl : ApiHubCollectClient

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

ApiHubCollect client wrapper implementation, for convenient use.

Inheritance

object > ApiHubCollectClient > ApiHubCollectClientImpl

Namespace

Google.Cloud.ApiHub.V1

Assembly

Google.Cloud.ApiHub.V1.dll

Remarks

This service exposes methods used for collecting various types of data from different first party and third party sources and push it to Hub's collect layer.

Constructors

ApiHubCollectClientImpl(ApiHubCollectClient, ApiHubCollectSettings, ILogger)

public ApiHubCollectClientImpl(ApiHubCollect.ApiHubCollectClient grpcClient, ApiHubCollectSettings settings, ILogger logger)

Constructs a client wrapper for the ApiHubCollect service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient ApiHubCollectApiHubCollectClient

The underlying gRPC client.

settings ApiHubCollectSettings

The base ApiHubCollectSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

CollectApiDataOperationsClient

public override OperationsClient CollectApiDataOperationsClient { get; }

The long-running operations client for CollectApiData.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override ApiHubCollect.ApiHubCollectClient GrpcClient { get; }

The underlying gRPC ApiHubCollect client

Property Value
Type Description
ApiHubCollectApiHubCollectClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

Methods

CollectApiData(CollectApiDataRequest, CallSettings)

public override Operation<CollectApiDataResponse, OperationMetadata> CollectApiData(CollectApiDataRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request CollectApiDataRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationCollectApiDataResponseOperationMetadata

The RPC response.

Overrides

CollectApiDataAsync(CollectApiDataRequest, CallSettings)

public override Task<Operation<CollectApiDataResponse, OperationMetadata>> CollectApiDataAsync(CollectApiDataRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request CollectApiDataRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationCollectApiDataResponseOperationMetadata

A Task containing the RPC response.

Overrides