completeQuery
public DiscoveryEngine.Projects.Locations.DataStores.CompletionConfig.CompleteQuery completeQuery(String completionConfig,
GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest content)
throws IOException
Completes the user input with advanced keyword suggestions.
Create a request for the method "completionConfig.completeQuery".
This request holds the parameters needed by the discoveryengine server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote
operation.
- Parameters:
completionConfig - Required. The completion_config of the parent dataStore or engine resource name for which the
completion is performed, such as
`projects/locations/global/collections/default_collection/dataStores/completionConfig`
`projects/locations/global/collections/default_collection/engines/completionConfig`.
content - the GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest
- Returns:
- the request
- Throws:
IOException