Class ProductService
Service for ingesting [Product][google.cloud.retail.v2.Product] information of the customer's website.
Inheritance
System.Object
ProductService
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
public static class ProductService
Methods
BindService(ProductService.ProductServiceBase)
Creates service definition that can be registered with a server
Declaration
public static ServerServiceDefinition BindService(ProductService.ProductServiceBase serviceImpl)
Parameters
Type | Name | Description |
---|---|---|
ProductService.ProductServiceBase | serviceImpl | An object implementing the server-side handling logic. |
Returns
Type | Description |
---|---|
ServerServiceDefinition |
BindService(ServiceBinderBase, ProductService.ProductServiceBase)
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.
Declaration
public static void BindService(ServiceBinderBase serviceBinder, ProductService.ProductServiceBase serviceImpl)
Parameters
Type | Name | Description |
---|---|---|
ServiceBinderBase | serviceBinder | Service methods will be bound by calling |
ProductService.ProductServiceBase | serviceImpl | An object implementing the server-side handling logic. |