Class CatalogService.CatalogServiceBase (1.0.0)

[BindServiceMethod(typeof(CatalogService), "BindService")]
public abstract class CatalogServiceBase

Base class for server-side implementations of CatalogService

Inheritance

System.Object > CatalogService.CatalogServiceBase

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Methods

ListCatalogs(ListCatalogsRequest, ServerCallContext)

public virtual Task<ListCatalogsResponse> ListCatalogs(ListCatalogsRequest request, ServerCallContext context)

Lists all the [Catalog][google.cloud.retail.v2.Catalog]s associated with the project.

Parameters
NameDescription
requestListCatalogsRequest

The request received from the client.

contextGrpc.Core.ServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
System.Threading.Tasks.Task<ListCatalogsResponse>

The response to send back to the client (wrapped by a task).

UpdateCatalog(UpdateCatalogRequest, ServerCallContext)

public virtual Task<Catalog> UpdateCatalog(UpdateCatalogRequest request, ServerCallContext context)

Updates the [Catalog][google.cloud.retail.v2.Catalog]s.

Parameters
NameDescription
requestUpdateCatalogRequest

The request received from the client.

contextGrpc.Core.ServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
System.Threading.Tasks.Task<Catalog>

The response to send back to the client (wrapped by a task).