class ProjectsLocationsCollectionsDataStoresCompletionSuggestions extends Resource (View source)

The "completionSuggestions" collection of methods.

Typical usage is:

 $discoveryengineService = new Google\Service\DiscoveryEngine(...);
 $completionSuggestions = $discoveryengineService->projects_locations_collections_dataStores_completionSuggestions;

Methods

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

Imports CompletionSuggestions for a DataStore. (completionSuggestions.import)

purge(string $parent, GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsRequest $postBody, array $optParams = [])

Permanently deletes all CompletionSuggestions for a DataStore.

Details

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

Imports CompletionSuggestions for a DataStore. (completionSuggestions.import)

Parameters

string $parent

Required. The parent data store resource name for which to import customer autocomplete suggestions. Follows pattern projects/locations/collections/dataStores

GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleLongrunningOperation purge(string $parent, GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsRequest $postBody, array $optParams = [])

Permanently deletes all CompletionSuggestions for a DataStore.

(completionSuggestions.purge)

Parameters

string $parent

Required. The parent data store resource name for which to purge completion suggestions. Follows pattern projects/locations/collections/dataStores.

GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception