- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- ExportRequest
- DateRange
- Try it!
Submit a data export job to be processed in the background. If the request is successful, the API returns a 201 status, a URI that can be used to retrieve the status of the export job, and the state
value of "enqueued".
HTTP request
POST https://apigee.googleapis.com/v1/{parent=organizations/*/environments/*}/analytics/exports
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Names of the parent organization and environment. Must be of the form Authorization requires the following IAM permission on the specified resource
|
Request body
The request body contains an instance of ExportRequest
.
Response body
If successful, the response body contains a newly created instance of Export
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
ExportRequest
Request body for [CreateExportRequest]
JSON representation |
---|
{
"name": string,
"description": string,
"dateRange": {
object ( |
Fields | |
---|---|
name |
Required. Display name of the export job. |
description |
Optional. Description of the export job. |
date |
Required. Date range of the data to export. |
output |
Optional. Output format of the export. Valid values include: |
csv |
Optional. Delimiter used in the CSV file, if |
datastore |
Required. Name of the preconfigured datastore. |
DateRange
Date range of the data to export.
JSON representation |
---|
{ "start": string, "end": string } |
Fields | |
---|---|
start |
Required. Start date of the data to export in the format |
end |
Required. End date (exclusive) of the data to export in the format |