public sealed class CatalogServiceClientImpl : CatalogServiceClientCatalogService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.RecommendationEngine.V1Beta1Assembly
Google.Cloud.RecommendationEngine.V1Beta1.dll
Remarks
Service for ingesting catalog information of the customer's website.
Constructors
CatalogServiceClientImpl(CatalogService.CatalogServiceClient, CatalogServiceSettings)
public CatalogServiceClientImpl(CatalogService.CatalogServiceClient grpcClient, CatalogServiceSettings settings)Constructs a client wrapper for the CatalogService service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
CatalogService.CatalogServiceClientThe underlying gRPC client. |
settings |
CatalogServiceSettingsThe base CatalogServiceSettings used within this client. |
Properties
GrpcClient
public override CatalogService.CatalogServiceClient GrpcClient { get; }The underlying gRPC CatalogService client
| Property Value | |
|---|---|
| Type | Description |
CatalogService.CatalogServiceClient |
|
ImportCatalogItemsOperationsClient
public override OperationsClient ImportCatalogItemsOperationsClient { get; }The long-running operations client for ImportCatalogItems.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
CreateCatalogItem(CreateCatalogItemRequest, CallSettings)
public override CatalogItem CreateCatalogItem(CreateCatalogItemRequest request, CallSettings callSettings = null)Creates a catalog item.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateCatalogItemRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CatalogItem |
The RPC response. |
CreateCatalogItemAsync(CreateCatalogItemRequest, CallSettings)
public override Task<CatalogItem> CreateCatalogItemAsync(CreateCatalogItemRequest request, CallSettings callSettings = null)Creates a catalog item.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateCatalogItemRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<CatalogItem> |
A Task containing the RPC response. |
DeleteCatalogItem(DeleteCatalogItemRequest, CallSettings)
public override void DeleteCatalogItem(DeleteCatalogItemRequest request, CallSettings callSettings = null)Deletes a catalog item.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteCatalogItemRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteCatalogItemAsync(DeleteCatalogItemRequest, CallSettings)
public override Task DeleteCatalogItemAsync(DeleteCatalogItemRequest request, CallSettings callSettings = null)Deletes a catalog item.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteCatalogItemRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
GetCatalogItem(GetCatalogItemRequest, CallSettings)
public override CatalogItem GetCatalogItem(GetCatalogItemRequest request, CallSettings callSettings = null)Gets a specific catalog item.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCatalogItemRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CatalogItem |
The RPC response. |
GetCatalogItemAsync(GetCatalogItemRequest, CallSettings)
public override Task<CatalogItem> GetCatalogItemAsync(GetCatalogItemRequest request, CallSettings callSettings = null)Gets a specific catalog item.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCatalogItemRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<CatalogItem> |
A Task containing the RPC response. |
ImportCatalogItems(ImportCatalogItemsRequest, CallSettings)
public override Operation<ImportCatalogItemsResponse, ImportMetadata> ImportCatalogItems(ImportCatalogItemsRequest request, CallSettings callSettings = null)Bulk import of multiple catalog items. Request processing may be synchronous. No partial updating supported. Non-existing items will be created.
Operation.response is of type ImportResponse. Note that it is possible for a subset of the items to be successfully updated.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportCatalogItemsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<ImportCatalogItemsResponse, ImportMetadata> |
The RPC response. |
ImportCatalogItemsAsync(ImportCatalogItemsRequest, CallSettings)
public override Task<Operation<ImportCatalogItemsResponse, ImportMetadata>> ImportCatalogItemsAsync(ImportCatalogItemsRequest request, CallSettings callSettings = null)Bulk import of multiple catalog items. Request processing may be synchronous. No partial updating supported. Non-existing items will be created.
Operation.response is of type ImportResponse. Note that it is possible for a subset of the items to be successfully updated.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportCatalogItemsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<ImportCatalogItemsResponse, ImportMetadata>> |
A Task containing the RPC response. |
ListCatalogItems(ListCatalogItemsRequest, CallSettings)
public override PagedEnumerable<ListCatalogItemsResponse, CatalogItem> ListCatalogItems(ListCatalogItemsRequest request, CallSettings callSettings = null)Gets a list of catalog items.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCatalogItemsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<ListCatalogItemsResponse, CatalogItem> |
A pageable sequence of CatalogItem resources. |
ListCatalogItemsAsync(ListCatalogItemsRequest, CallSettings)
public override PagedAsyncEnumerable<ListCatalogItemsResponse, CatalogItem> ListCatalogItemsAsync(ListCatalogItemsRequest request, CallSettings callSettings = null)Gets a list of catalog items.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCatalogItemsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<ListCatalogItemsResponse, CatalogItem> |
A pageable asynchronous sequence of CatalogItem resources. |
UpdateCatalogItem(UpdateCatalogItemRequest, CallSettings)
public override CatalogItem UpdateCatalogItem(UpdateCatalogItemRequest request, CallSettings callSettings = null)Updates a catalog item. Partial updating is supported. Non-existing items will be created.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateCatalogItemRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CatalogItem |
The RPC response. |
UpdateCatalogItemAsync(UpdateCatalogItemRequest, CallSettings)
public override Task<CatalogItem> UpdateCatalogItemAsync(UpdateCatalogItemRequest request, CallSettings callSettings = null)Updates a catalog item. Partial updating is supported. Non-existing items will be created.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateCatalogItemRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<CatalogItem> |
A Task containing the RPC response. |