Class CatalogService.CatalogServiceBase
Base class for server-side implementations of CatalogService
Inheritance
System.Object
CatalogService.CatalogServiceBase
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.Retail.V2
Assembly: Google.Cloud.Retail.V2.dll
Syntax
[BindServiceMethod(typeof(CatalogService), "BindService")]
public abstract class CatalogServiceBase
Methods
ListCatalogs(ListCatalogsRequest, ServerCallContext)
Lists all the [Catalog][google.cloud.retail.v2.Catalog]s associated with the project.
Declaration
public virtual Task<ListCatalogsResponse> ListCatalogs(ListCatalogsRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
ListCatalogsRequest | request | The request received from the client. |
ServerCallContext | context | The 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)
Updates the [Catalog][google.cloud.retail.v2.Catalog]s.
Declaration
public virtual Task<Catalog> UpdateCatalog(UpdateCatalogRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
UpdateCatalogRequest | request | The request received from the client. |
ServerCallContext | context | The 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). |