[BindServiceMethod(typeof(CatalogService), "BindService")]
public abstract class CatalogServiceBaseBase class for server-side implementations of CatalogService
Inheritance
System.Object > CatalogService.CatalogServiceBaseNamespace
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 |
ListCatalogsRequestThe request received from the client. |
context |
Grpc.Core.ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
UpdateCatalogRequestThe request received from the client. |
context |
Grpc.Core.ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Catalog> |
The response to send back to the client (wrapped by a task). |