Exports user events.
Operation.response
is of type ExportResponse
. Operation.metadata
is of type ExportMetadata
.
HTTP request
POST https://retail.googleapis.com/v2beta/{parent=projects/*/locations/*/catalogs/*}/userEvents:export
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Resource name of a |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"outputConfig": {
object ( |
Fields | |
---|---|
output |
Required. The output location of the data. |
filter |
A filtering expression to specify restrictions on returned events. The expression is a sequence of terms. Each term applies a restriction to the returned user events. Use this expression to restrict results to a specific time range or to filter events by eventType. For example, We expect only three types of fields:
Some examples of valid filters expressions:
|
Response body
If successful, the response body contains an instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.