This preview documentation is deprecated as of October 27, 2023. For GA documentation, go to the Vertex AI Search documentation.
Changes in GA:
Name:Discovery for Media is renamed to Vertex AI Search for media. Vertex AI Search includes media recommendations and media search.
Google Cloud Console page: Use the Agent Builder page in the console. The Discovery Engine console page is deprecated.
API reference: Continue to use the discoveryengine.googleapis.com service. The API remains the same but the documentation has moved. Go to the up-to-date, GA version of the Discovery Engine API reference in the Vertex AI Search documentation.
Required. The parent DataStore resource name, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}.
Query parameters
Parameters
userEvent
string
Required. URL encoded UserEvent proto with a length limit of 2,000,000 characters.
uri
string
The URL including cgi-parameters but excluding the hash fragment with a length limit of 5,000 characters. This is often more useful than the referer URL, because many browsers only send the domain for third-party requests.
The event timestamp in milliseconds. This prevents browser caching of otherwise identical get requests. The name is abbreviated to reduce the payload bytes.
Request body
The request body must be empty.
Response body
If successful, the response is a generic HTTP response whose format is defined by the method.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-02-13 UTC."],[[["This API uses a GET request to write a single user event from the browser, specifically designed for the Discovery Engine API JavaScript pixel and Google Tag Manager."],["The required `parent` path parameter specifies the DataStore resource location, following the format `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`."],["The `userEvent` query parameter, a required field, should contain a URL-encoded UserEvent proto limited to 2,000,000 characters."],["The `uri` and `ets` query parameters are also utilized for sending the URL (excluding hash fragments) and the event timestamp, respectively, with defined length limits."],["The request body for this API call must be empty, and a successful request will result in a standard HTTP response."]]],[]]