public class DiscoveryEngine.Projects.Locations.Collections.DataStores extends Object
| Constructor and Description |
|---|
DataStores() |
public DiscoveryEngine.Projects.Locations.Collections.DataStores.CompleteQuery completeQuery(String dataStore) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.dataStore - Required. The parent data store resource name for which the completion is performed, such as
`projects/locations/global/collections/default_collection/dataStores/default_data_store`.IOExceptionpublic DiscoveryEngine.Projects.Locations.Collections.DataStores.Create create(String parent, GoogleCloudDiscoveryengineV1DataStore content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The parent resource name, such as
`projects/{project}/locations/{location}/collections/{collection}`.content - the GoogleCloudDiscoveryengineV1DataStoreIOExceptionpublic DiscoveryEngine.Projects.Locations.Collections.DataStores.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Full resource name of DataStore, such as
`projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_stor
e_id}`. If the caller does not have permission to delete the DataStore, regardless of
whether or not it exists, a PERMISSION_DENIED error is returned. If the DataStore to
delete does not exist, a NOT_FOUND error is returned.IOExceptionpublic DiscoveryEngine.Projects.Locations.Collections.DataStores.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Full resource name of DataStore, such as
`projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_stor
e_id}`. If the caller does not have permission to access the DataStore, regardless of
whether or not it exists, a PERMISSION_DENIED error is returned. If the requested
DataStore does not exist, a NOT_FOUND error is returned.IOExceptionpublic DiscoveryEngine.Projects.Locations.Collections.DataStores.GetSiteSearchEngine getSiteSearchEngine(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.name - Required. Resource name of SiteSearchEngine, such as `projects/{project}/locations/{location}/collec
tions/{collection}/dataStores/{data_store}/siteSearchEngine`. If the caller does not have
permission to access the [SiteSearchEngine], regardless of whether or not it exists, a
PERMISSION_DENIED error is returned.IOExceptionpublic DiscoveryEngine.Projects.Locations.Collections.DataStores.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The parent branch resource name, such as
`projects/{project}/locations/{location}/collections/{collection_id}`. If the caller does
not have permission to list DataStores under this location, regardless of whether or not
this data store exists, a PERMISSION_DENIED error is returned.IOExceptionpublic DiscoveryEngine.Projects.Locations.Collections.DataStores.Patch patch(String name, GoogleCloudDiscoveryengineV1DataStore content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Immutable. Identifier. The full resource name of the data store. Format:
`projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_stor
e_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.content - the GoogleCloudDiscoveryengineV1DataStoreIOExceptionpublic DiscoveryEngine.Projects.Locations.Collections.DataStores.TrainCustomModel trainCustomModel(String dataStore, GoogleCloudDiscoveryengineV1TrainCustomModelRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.dataStore - Required. The resource name of the Data Store, such as
`projects/locations/global/collections/default_collection/dataStores/default_data_store`.
This field is used to identify the data store where to train the models.content - the GoogleCloudDiscoveryengineV1TrainCustomModelRequestIOExceptionpublic DiscoveryEngine.Projects.Locations.Collections.DataStores.Branches branches()
The typical use is:
DiscoveryEngine discoveryengine = new DiscoveryEngine(...);DiscoveryEngine.Branches.List request = discoveryengine.branches().list(parameters ...)
public DiscoveryEngine.Projects.Locations.Collections.DataStores.CompletionConfig completionConfig()
The typical use is:
DiscoveryEngine discoveryengine = new DiscoveryEngine(...);DiscoveryEngine.CompletionConfig.List request = discoveryengine.completionConfig().list(parameters ...)
public DiscoveryEngine.Projects.Locations.Collections.DataStores.CompletionSuggestions completionSuggestions()
The typical use is:
DiscoveryEngine discoveryengine = new DiscoveryEngine(...);DiscoveryEngine.CompletionSuggestions.List request = discoveryengine.completionSuggestions().list(parameters ...)
public DiscoveryEngine.Projects.Locations.Collections.DataStores.Controls controls()
The typical use is:
DiscoveryEngine discoveryengine = new DiscoveryEngine(...);DiscoveryEngine.Controls.List request = discoveryengine.controls().list(parameters ...)
public DiscoveryEngine.Projects.Locations.Collections.DataStores.Conversations conversations()
The typical use is:
DiscoveryEngine discoveryengine = new DiscoveryEngine(...);DiscoveryEngine.Conversations.List request = discoveryengine.conversations().list(parameters ...)
public DiscoveryEngine.Projects.Locations.Collections.DataStores.CustomModels customModels()
The typical use is:
DiscoveryEngine discoveryengine = new DiscoveryEngine(...);DiscoveryEngine.CustomModels.List request = discoveryengine.customModels().list(parameters ...)
public DiscoveryEngine.Projects.Locations.Collections.DataStores.Models models()
The typical use is:
DiscoveryEngine discoveryengine = new DiscoveryEngine(...);DiscoveryEngine.Models.List request = discoveryengine.models().list(parameters ...)
public DiscoveryEngine.Projects.Locations.Collections.DataStores.Operations operations()
The typical use is:
DiscoveryEngine discoveryengine = new DiscoveryEngine(...);DiscoveryEngine.Operations.List request = discoveryengine.operations().list(parameters ...)
public DiscoveryEngine.Projects.Locations.Collections.DataStores.Schemas schemas()
The typical use is:
DiscoveryEngine discoveryengine = new DiscoveryEngine(...);DiscoveryEngine.Schemas.List request = discoveryengine.schemas().list(parameters ...)
public DiscoveryEngine.Projects.Locations.Collections.DataStores.ServingConfigs servingConfigs()
The typical use is:
DiscoveryEngine discoveryengine = new DiscoveryEngine(...);DiscoveryEngine.ServingConfigs.List request = discoveryengine.servingConfigs().list(parameters ...)
public DiscoveryEngine.Projects.Locations.Collections.DataStores.Sessions sessions()
The typical use is:
DiscoveryEngine discoveryengine = new DiscoveryEngine(...);DiscoveryEngine.Sessions.List request = discoveryengine.sessions().list(parameters ...)
public DiscoveryEngine.Projects.Locations.Collections.DataStores.SiteSearchEngine siteSearchEngine()
The typical use is:
DiscoveryEngine discoveryengine = new DiscoveryEngine(...);DiscoveryEngine.SiteSearchEngine.List request = discoveryengine.siteSearchEngine().list(parameters ...)
public DiscoveryEngine.Projects.Locations.Collections.DataStores.SuggestionDenyListEntries suggestionDenyListEntries()
The typical use is:
DiscoveryEngine discoveryengine = new DiscoveryEngine(...);DiscoveryEngine.SuggestionDenyListEntries.List request = discoveryengine.suggestionDenyListEntries().list(parameters ...)
public DiscoveryEngine.Projects.Locations.Collections.DataStores.UserEvents userEvents()
The typical use is:
DiscoveryEngine discoveryengine = new DiscoveryEngine(...);DiscoveryEngine.UserEvents.List request = discoveryengine.userEvents().list(parameters ...)
public DiscoveryEngine.Projects.Locations.Collections.DataStores.WidgetConfigs widgetConfigs()
The typical use is:
DiscoveryEngine discoveryengine = new DiscoveryEngine(...);DiscoveryEngine.WidgetConfigs.List request = discoveryengine.widgetConfigs().list(parameters ...)
Copyright © 2011–2026 Google. All rights reserved.