class ProjectsLocationsCatalogsCompletionData extends Resource (View source)

The "completionData" collection of methods.

Typical usage is:

 $retailService = new Google\Service\CloudRetail(...);
 $completionData = $retailService->projects_locations_catalogs_completionData;

Methods

import(string $parent, GoogleCloudRetailV2ImportCompletionDataRequest $postBody, array $optParams = [])

Bulk import of processed completion dataset. Request processing is asynchronous. Partial updating is not supported. The operation is successfully finished only after the imported suggestions are indexed successfully and ready for serving. The process takes hours. This feature is only available for users who have Retail Search enabled. Enable Retail Search on Cloud Console before using this feature. (completionData.import)

Details

GoogleLongrunningOperation import(string $parent, GoogleCloudRetailV2ImportCompletionDataRequest $postBody, array $optParams = [])

Bulk import of processed completion dataset. Request processing is asynchronous. Partial updating is not supported. The operation is successfully finished only after the imported suggestions are indexed successfully and ready for serving. The process takes hours. This feature is only available for users who have Retail Search enabled. Enable Retail Search on Cloud Console before using this feature. (completionData.import)

Parameters

string $parent

Required. The catalog which the suggestions dataset belongs to. Format: projects/1234/locations/global/catalogs/default_catalog.

GoogleCloudRetailV2ImportCompletionDataRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception