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.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.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 DataStore resource name, such as
`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`
.IOExceptionpublic 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–2024 Google. All rights reserved.