Retail v2 API - Class AnalyticsService (2.8.0)

public static class AnalyticsService

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

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

Inheritance

object > AnalyticsService

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Methods

BindService(AnalyticsServiceBase)

public static ServerServiceDefinition BindService(AnalyticsService.AnalyticsServiceBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
NameDescription
serviceImplAnalyticsServiceAnalyticsServiceBase

An object implementing the server-side handling logic.

Returns
TypeDescription
ServerServiceDefinition

BindService(ServiceBinderBase, AnalyticsServiceBase)

public static void BindService(ServiceBinderBase serviceBinder, AnalyticsService.AnalyticsServiceBase serviceImpl)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.

Parameters
NameDescription
serviceBinderServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImplAnalyticsServiceAnalyticsServiceBase

An object implementing the server-side handling logic.