public class DiscoveryEngine.Projects.Locations.Collections.DataStores.UserEvents.Collect extends DiscoveryEngineRequest<GoogleApiHttpBody>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Collect(String parent)
Writes a single user event from the browser.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, 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 Collect(String parent)
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.
parent - Required. The parent resource name. If the collect user event action is applied in DataStore level,
the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStore
s/{data_store}`. If the collect user event action is applied in Location level, for
example, the event with Document across multiple DataStore, the format is:
`projects/{project}/locations/{location}`.public com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<GoogleApiHttpBody>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<GoogleApiHttpBody>IOExceptionpublic DiscoveryEngine.Projects.Locations.Collections.DataStores.UserEvents.Collect set$Xgafv(String $Xgafv)
DiscoveryEngineRequestset$Xgafv in class DiscoveryEngineRequest<GoogleApiHttpBody>public DiscoveryEngine.Projects.Locations.Collections.DataStores.UserEvents.Collect setAccessToken(String accessToken)
DiscoveryEngineRequestsetAccessToken in class DiscoveryEngineRequest<GoogleApiHttpBody>public DiscoveryEngine.Projects.Locations.Collections.DataStores.UserEvents.Collect setAlt(String alt)
DiscoveryEngineRequestsetAlt in class DiscoveryEngineRequest<GoogleApiHttpBody>public DiscoveryEngine.Projects.Locations.Collections.DataStores.UserEvents.Collect setCallback(String callback)
DiscoveryEngineRequestsetCallback in class DiscoveryEngineRequest<GoogleApiHttpBody>public DiscoveryEngine.Projects.Locations.Collections.DataStores.UserEvents.Collect setFields(String fields)
DiscoveryEngineRequestsetFields in class DiscoveryEngineRequest<GoogleApiHttpBody>public DiscoveryEngine.Projects.Locations.Collections.DataStores.UserEvents.Collect setKey(String key)
DiscoveryEngineRequestsetKey in class DiscoveryEngineRequest<GoogleApiHttpBody>public DiscoveryEngine.Projects.Locations.Collections.DataStores.UserEvents.Collect setOauthToken(String oauthToken)
DiscoveryEngineRequestsetOauthToken in class DiscoveryEngineRequest<GoogleApiHttpBody>public DiscoveryEngine.Projects.Locations.Collections.DataStores.UserEvents.Collect setPrettyPrint(Boolean prettyPrint)
DiscoveryEngineRequestsetPrettyPrint in class DiscoveryEngineRequest<GoogleApiHttpBody>public DiscoveryEngine.Projects.Locations.Collections.DataStores.UserEvents.Collect setQuotaUser(String quotaUser)
DiscoveryEngineRequestsetQuotaUser in class DiscoveryEngineRequest<GoogleApiHttpBody>public DiscoveryEngine.Projects.Locations.Collections.DataStores.UserEvents.Collect setUploadType(String uploadType)
DiscoveryEngineRequestsetUploadType in class DiscoveryEngineRequest<GoogleApiHttpBody>public DiscoveryEngine.Projects.Locations.Collections.DataStores.UserEvents.Collect setUploadProtocol(String uploadProtocol)
DiscoveryEngineRequestsetUploadProtocol in class DiscoveryEngineRequest<GoogleApiHttpBody>public String getParent()
public DiscoveryEngine.Projects.Locations.Collections.DataStores.UserEvents.Collect setParent(String parent)
public Long getEts()
public DiscoveryEngine.Projects.Locations.Collections.DataStores.UserEvents.Collect setEts(Long ets)
public String getUri()
public DiscoveryEngine.Projects.Locations.Collections.DataStores.UserEvents.Collect setUri(String uri)
public String getUserEvent()
public DiscoveryEngine.Projects.Locations.Collections.DataStores.UserEvents.Collect setUserEvent(String userEvent)
public DiscoveryEngine.Projects.Locations.Collections.DataStores.UserEvents.Collect set(String parameterName, Object value)
set in class DiscoveryEngineRequest<GoogleApiHttpBody>Copyright © 2011–2026 Google. All rights reserved.