public class DiscoveryEngine.Projects.Locations.DataStores.Branches.Documents.Delete extends DiscoveryEngineRequest<GoogleProtobufEmpty>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Delete(String name)
Deletes a Document.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Delete(String name)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
DiscoveryEngine.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must
be called to initialize this instance immediately after invoking the constructor.
name - Required. Full resource name of Document, such as `projects/{project}/locations/{location}/collectio
ns/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`. If the
caller does not have permission to delete the Document, regardless of whether or not it
exists, a `PERMISSION_DENIED` error is returned. If the Document to delete does not exist,
a `NOT_FOUND` error is returned.public DiscoveryEngine.Projects.Locations.DataStores.Branches.Documents.Delete set$Xgafv(String $Xgafv)
DiscoveryEngineRequestset$Xgafv in class DiscoveryEngineRequest<GoogleProtobufEmpty>public DiscoveryEngine.Projects.Locations.DataStores.Branches.Documents.Delete setAccessToken(String accessToken)
DiscoveryEngineRequestsetAccessToken in class DiscoveryEngineRequest<GoogleProtobufEmpty>public DiscoveryEngine.Projects.Locations.DataStores.Branches.Documents.Delete setAlt(String alt)
DiscoveryEngineRequestsetAlt in class DiscoveryEngineRequest<GoogleProtobufEmpty>public DiscoveryEngine.Projects.Locations.DataStores.Branches.Documents.Delete setCallback(String callback)
DiscoveryEngineRequestsetCallback in class DiscoveryEngineRequest<GoogleProtobufEmpty>public DiscoveryEngine.Projects.Locations.DataStores.Branches.Documents.Delete setFields(String fields)
DiscoveryEngineRequestsetFields in class DiscoveryEngineRequest<GoogleProtobufEmpty>public DiscoveryEngine.Projects.Locations.DataStores.Branches.Documents.Delete setKey(String key)
DiscoveryEngineRequestsetKey in class DiscoveryEngineRequest<GoogleProtobufEmpty>public DiscoveryEngine.Projects.Locations.DataStores.Branches.Documents.Delete setOauthToken(String oauthToken)
DiscoveryEngineRequestsetOauthToken in class DiscoveryEngineRequest<GoogleProtobufEmpty>public DiscoveryEngine.Projects.Locations.DataStores.Branches.Documents.Delete setPrettyPrint(Boolean prettyPrint)
DiscoveryEngineRequestsetPrettyPrint in class DiscoveryEngineRequest<GoogleProtobufEmpty>public DiscoveryEngine.Projects.Locations.DataStores.Branches.Documents.Delete setQuotaUser(String quotaUser)
DiscoveryEngineRequestsetQuotaUser in class DiscoveryEngineRequest<GoogleProtobufEmpty>public DiscoveryEngine.Projects.Locations.DataStores.Branches.Documents.Delete setUploadType(String uploadType)
DiscoveryEngineRequestsetUploadType in class DiscoveryEngineRequest<GoogleProtobufEmpty>public DiscoveryEngine.Projects.Locations.DataStores.Branches.Documents.Delete setUploadProtocol(String uploadProtocol)
DiscoveryEngineRequestsetUploadProtocol in class DiscoveryEngineRequest<GoogleProtobufEmpty>public String getName()
public DiscoveryEngine.Projects.Locations.DataStores.Branches.Documents.Delete setName(String name)
public DiscoveryEngine.Projects.Locations.DataStores.Branches.Documents.Delete set(String parameterName, Object value)
set in class DiscoveryEngineRequest<GoogleProtobufEmpty>Copyright © 2011–2026 Google. All rights reserved.