public class DiscoveryEngine.Projects.Locations.Collections.DataStores.SiteSearchEngine.TargetSites extends Object
| Constructor and Description |
|---|
TargetSites() |
public DiscoveryEngine.Projects.Locations.Collections.DataStores.SiteSearchEngine.TargetSites.BatchCreate batchCreate(String parent, GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.parent - Required. The parent resource shared by all TargetSites being created. `projects/{project}/locations
/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. The parent
field in the CreateBookRequest messages must either be empty or match this field.content - the GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequestIOExceptionpublic DiscoveryEngine.Projects.Locations.Collections.DataStores.SiteSearchEngine.TargetSites.Create create(String parent, GoogleCloudDiscoveryengineV1TargetSite content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. Parent resource name of TargetSite, such as `projects/{project}/locations/{location}/colle
ctions/{collection}/dataStores/{data_store}/siteSearchEngine`.content - the GoogleCloudDiscoveryengineV1TargetSiteIOExceptionpublic DiscoveryEngine.Projects.Locations.Collections.DataStores.SiteSearchEngine.TargetSites.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Full resource name of TargetSite, such as `projects/{project}/locations/{location}/collect
ions/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}`. If
the caller does not have permission to access the TargetSite, regardless of whether or not
it exists, a PERMISSION_DENIED error is returned. If the requested TargetSite does not
exist, a NOT_FOUND error is returned.IOExceptionpublic DiscoveryEngine.Projects.Locations.Collections.DataStores.SiteSearchEngine.TargetSites.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Full resource name of TargetSite, such as `projects/{project}/locations/{location}/collect
ions/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}`. If
the caller does not have permission to access the TargetSite, regardless of whether or not
it exists, a PERMISSION_DENIED error is returned. If the requested TargetSite does not
exist, a NOT_FOUND error is returned.IOExceptionpublic DiscoveryEngine.Projects.Locations.Collections.DataStores.SiteSearchEngine.TargetSites.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The parent site search engine resource name, such as `projects/{project}/locations/{locati
on}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. If the caller does
not have permission to list TargetSites under this site search engine, regardless of
whether or not this branch exists, a PERMISSION_DENIED error is returned.IOExceptionpublic DiscoveryEngine.Projects.Locations.Collections.DataStores.SiteSearchEngine.TargetSites.Patch patch(String name, GoogleCloudDiscoveryengineV1TargetSite content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Output only. The fully qualified resource name of the target site. `projects/{project}/locations/{lo
cation}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{tar
get_site}` The `target_site_id` is system-generated.content - the GoogleCloudDiscoveryengineV1TargetSiteIOExceptionpublic DiscoveryEngine.Projects.Locations.Collections.DataStores.SiteSearchEngine.TargetSites.Operations operations()
The typical use is:
DiscoveryEngine discoveryengine = new DiscoveryEngine(...);DiscoveryEngine.Operations.List request = discoveryengine.operations().list(parameters ...)
Copyright © 2011–2026 Google. All rights reserved.