public class DiscoveryEngine.Projects.Locations.UserEvents extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
DiscoveryEngine.Projects.Locations.UserEvents.Collect |
class |
DiscoveryEngine.Projects.Locations.UserEvents.DiscoveryEngineImport |
class |
DiscoveryEngine.Projects.Locations.UserEvents.Write |
| Constructor and Description |
|---|
UserEvents() |
| Modifier and Type | Method and Description |
|---|---|
DiscoveryEngine.Projects.Locations.UserEvents.Collect |
collect(String parent)
Writes a single user event from the browser.
|
DiscoveryEngine.Projects.Locations.UserEvents.DiscoveryEngineImport |
discoveryengineImport(String parent,
GoogleCloudDiscoveryengineV1ImportUserEventsRequest content)
Bulk import of user events.
|
DiscoveryEngine.Projects.Locations.UserEvents.Write |
write(String parent,
GoogleCloudDiscoveryengineV1UserEvent content)
Writes a single user event.
|
public DiscoveryEngine.Projects.Locations.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.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.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.