public class DiscoveryEngine.Projects.Locations.DataStores.UserEvents extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
DiscoveryEngine.Projects.Locations.DataStores.UserEvents.Collect |
class |
DiscoveryEngine.Projects.Locations.DataStores.UserEvents.DiscoveryEngineImport |
class |
DiscoveryEngine.Projects.Locations.DataStores.UserEvents.Purge |
class |
DiscoveryEngine.Projects.Locations.DataStores.UserEvents.Write |
| Constructor and Description |
|---|
UserEvents() |
| Modifier and Type | Method and Description |
|---|---|
DiscoveryEngine.Projects.Locations.DataStores.UserEvents.Collect |
collect(String parent)
Writes a single user event from the browser.
|
DiscoveryEngine.Projects.Locations.DataStores.UserEvents.DiscoveryEngineImport |
discoveryengineImport(String parent,
GoogleCloudDiscoveryengineV1ImportUserEventsRequest content)
Bulk import of user events.
|
DiscoveryEngine.Projects.Locations.DataStores.UserEvents.Purge |
purge(String parent,
GoogleCloudDiscoveryengineV1PurgeUserEventsRequest content)
Deletes permanently all user events specified by the filter provided.
|
DiscoveryEngine.Projects.Locations.DataStores.UserEvents.Write |
write(String parent,
GoogleCloudDiscoveryengineV1UserEvent content)
Writes a single user event.
|
public DiscoveryEngine.Projects.Locations.DataStores.UserEvents.Collect collect(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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}`.IOExceptionpublic DiscoveryEngine.Projects.Locations.DataStores.UserEvents.DiscoveryEngineImport discoveryengineImport(String parent, GoogleCloudDiscoveryengineV1ImportUserEventsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.parent - Required. Parent DataStore resource name, of the form
`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`content - the GoogleCloudDiscoveryengineV1ImportUserEventsRequestIOExceptionpublic DiscoveryEngine.Projects.Locations.DataStores.UserEvents.Purge purge(String parent, GoogleCloudDiscoveryengineV1PurgeUserEventsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The resource name of the catalog under which the events are created. The format is
`projects/{project}/locations/global/collections/{collection}/dataStores/{dataStore}`.content - the GoogleCloudDiscoveryengineV1PurgeUserEventsRequestIOExceptionpublic DiscoveryEngine.Projects.Locations.DataStores.UserEvents.Write write(String parent, GoogleCloudDiscoveryengineV1UserEvent content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The parent resource name. If the write user event action is applied in DataStore level,
the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStore
s/{data_store}`. If the write user event action is applied in Location level, for example,
the event with Document across multiple DataStore, the format is:
`projects/{project}/locations/{location}`.content - the GoogleCloudDiscoveryengineV1UserEventIOExceptionCopyright © 2011–2026 Google. All rights reserved.