Class CatalogServiceClientImpl (1.0.0-beta03)

public sealed class CatalogServiceClientImpl : CatalogServiceClient

CatalogService client wrapper implementation, for convenient use.

Inheritance

Object > CatalogServiceClient > CatalogServiceClientImpl

Namespace

Google.Cloud.RecommendationEngine.V1Beta1

Assembly

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
NameDescription
grpcClientCatalogService.CatalogServiceClient

The underlying gRPC client.

settingsCatalogServiceSettings

The base CatalogServiceSettings used within this client.

Properties

GrpcClient

public override CatalogService.CatalogServiceClient GrpcClient { get; }

The underlying gRPC CatalogService client

Property Value
TypeDescription
CatalogService.CatalogServiceClient
Overrides

ImportCatalogItemsOperationsClient

public override OperationsClient ImportCatalogItemsOperationsClient { get; }

The long-running operations client for ImportCatalogItems.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

CreateCatalogItem(CreateCatalogItemRequest, CallSettings)

public override CatalogItem CreateCatalogItem(CreateCatalogItemRequest request, CallSettings callSettings = null)

Creates a catalog item.

Parameters
NameDescription
requestCreateCatalogItemRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
CatalogItem

The RPC response.

Overrides

CreateCatalogItemAsync(CreateCatalogItemRequest, CallSettings)

public override Task<CatalogItem> CreateCatalogItemAsync(CreateCatalogItemRequest request, CallSettings callSettings = null)

Creates a catalog item.

Parameters
NameDescription
requestCreateCatalogItemRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<CatalogItem>

A Task containing the RPC response.

Overrides

DeleteCatalogItem(DeleteCatalogItemRequest, CallSettings)

public override void DeleteCatalogItem(DeleteCatalogItemRequest request, CallSettings callSettings = null)

Deletes a catalog item.

Parameters
NameDescription
requestDeleteCatalogItemRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteCatalogItemAsync(DeleteCatalogItemRequest, CallSettings)

public override Task DeleteCatalogItemAsync(DeleteCatalogItemRequest request, CallSettings callSettings = null)

Deletes a catalog item.

Parameters
NameDescription
requestDeleteCatalogItemRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Overrides

GetCatalogItem(GetCatalogItemRequest, CallSettings)

public override CatalogItem GetCatalogItem(GetCatalogItemRequest request, CallSettings callSettings = null)

Gets a specific catalog item.

Parameters
NameDescription
requestGetCatalogItemRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
CatalogItem

The RPC response.

Overrides

GetCatalogItemAsync(GetCatalogItemRequest, CallSettings)

public override Task<CatalogItem> GetCatalogItemAsync(GetCatalogItemRequest request, CallSettings callSettings = null)

Gets a specific catalog item.

Parameters
NameDescription
requestGetCatalogItemRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<CatalogItem>

A Task containing the RPC response.

Overrides

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
NameDescription
requestImportCatalogItemsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<ImportCatalogItemsResponse, ImportMetadata>

The RPC response.

Overrides

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
NameDescription
requestImportCatalogItemsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<ImportCatalogItemsResponse, ImportMetadata>>

A Task containing the RPC response.

Overrides

ListCatalogItems(ListCatalogItemsRequest, CallSettings)

public override PagedEnumerable<ListCatalogItemsResponse, CatalogItem> ListCatalogItems(ListCatalogItemsRequest request, CallSettings callSettings = null)

Gets a list of catalog items.

Parameters
NameDescription
requestListCatalogItemsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListCatalogItemsResponse, CatalogItem>

A pageable sequence of CatalogItem resources.

Overrides

ListCatalogItemsAsync(ListCatalogItemsRequest, CallSettings)

public override PagedAsyncEnumerable<ListCatalogItemsResponse, CatalogItem> ListCatalogItemsAsync(ListCatalogItemsRequest request, CallSettings callSettings = null)

Gets a list of catalog items.

Parameters
NameDescription
requestListCatalogItemsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListCatalogItemsResponse, CatalogItem>

A pageable asynchronous sequence of CatalogItem resources.

Overrides

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
NameDescription
requestUpdateCatalogItemRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
CatalogItem

The RPC response.

Overrides

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
NameDescription
requestUpdateCatalogItemRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<CatalogItem>

A Task containing the RPC response.

Overrides