Retail v2 API - Class AnalyticsServiceClientImpl (2.8.0)

public sealed class AnalyticsServiceClientImpl : AnalyticsServiceClient

Reference documentation and code samples for the Retail v2 API class AnalyticsServiceClientImpl.

AnalyticsService client wrapper implementation, for convenient use.

Inheritance

object > AnalyticsServiceClient > AnalyticsServiceClientImpl

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Remarks

Service for managing & accessing retail search business metric. Retail recommendation business metric is currently not available.

Constructors

AnalyticsServiceClientImpl(AnalyticsServiceClient, AnalyticsServiceSettings, ILogger)

public AnalyticsServiceClientImpl(AnalyticsService.AnalyticsServiceClient grpcClient, AnalyticsServiceSettings settings, ILogger logger)

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

Parameters
NameDescription
grpcClientAnalyticsServiceAnalyticsServiceClient

The underlying gRPC client.

settingsAnalyticsServiceSettings

The base AnalyticsServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

ExportAnalyticsMetricsOperationsClient

public override OperationsClient ExportAnalyticsMetricsOperationsClient { get; }

The long-running operations client for ExportAnalyticsMetrics.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override AnalyticsService.AnalyticsServiceClient GrpcClient { get; }

The underlying gRPC AnalyticsService client

Property Value
TypeDescription
AnalyticsServiceAnalyticsServiceClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient
Overrides

Methods

ExportAnalyticsMetrics(ExportAnalyticsMetricsRequest, CallSettings)

public override Operation<ExportAnalyticsMetricsResponse, ExportMetadata> ExportAnalyticsMetrics(ExportAnalyticsMetricsRequest request, CallSettings callSettings = null)

Exports analytics metrics.

Operation.response is of type ExportAnalyticsMetricsResponse. Operation.metadata is of type ExportMetadata.

Parameters
NameDescription
requestExportAnalyticsMetricsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationExportAnalyticsMetricsResponseExportMetadata

The RPC response.

Overrides

ExportAnalyticsMetricsAsync(ExportAnalyticsMetricsRequest, CallSettings)

public override Task<Operation<ExportAnalyticsMetricsResponse, ExportMetadata>> ExportAnalyticsMetricsAsync(ExportAnalyticsMetricsRequest request, CallSettings callSettings = null)

Exports analytics metrics.

Operation.response is of type ExportAnalyticsMetricsResponse. Operation.metadata is of type ExportMetadata.

Parameters
NameDescription
requestExportAnalyticsMetricsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationExportAnalyticsMetricsResponseExportMetadata

A Task containing the RPC response.

Overrides