[BindServiceMethod(typeof(CatalogService), "BindService")]
public abstract class CatalogServiceBase
Base class for server-side implementations of CatalogService
Namespace
Google.Cloud.Retail.V2Assembly
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 | |
---|---|
Name | Description |
request | ListCatalogsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateCatalogRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Catalog> | The response to send back to the client (wrapped by a task). |