AI-generated Key Takeaways
-
The
projects.video:export
method initiates a batch process to compute and export a video to various destinations using a POST HTTP request. -
The request URL uses gRPC Transcoding syntax and requires the project ID or number with the
earthengine.exports.create
IAM permission. -
The request body includes details such as the video expression, description, video options, file export options, and optional parameters like
requestId
,workloadTag
, andpriority
. -
The
VideoFileExportOptions
specify the output file format (currently only MP4) and the destination, which can be Google Drive or Google Cloud Storage. -
Successful requests return an
Operation
instance in the response body and require specific OAuth scopes for authorization.
Initiates a batch process that computes a video and writes the result to one of several destinations.
HTTP request
POST https://earthengine.googleapis.com/v1/{project=projects/*}/video:export
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
project |
The project id or project number of the Google Cloud Platform project that should be treated as the service consumer for this request. Format is Authorization requires the following IAM permission on the specified resource
|
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "expression": { object ( |
Fields | |
---|---|
expression |
An expression that evaluates to the video to compute and export, represented as an image collection. |
description |
A human-readable name of the task. |
videoOptions |
Basic options describing the video to generate. |
fileExportOptions |
Options for where and in what form to export the video. |
requestId |
A unique string used to detect duplicated requests. If more than one request is made by the same user with the same non-empty |
workloadTag |
User supplied label to track this computation. |
priority |
Optional. The priority of the export task within the project. Higher priority tasks are scheduled sooner. Must be an integer between 0 and 9999. Defaults to 100 if not set. |
Response body
If successful, the response body contains an instance of Operation
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/earthengine
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/devstorage.full_control
For more information, see the OAuth 2.0 Overview.
VideoFileExportOptions
Options for exporting videos as files outside Earth Engine.
JSON representation |
---|
{ "fileFormat": enum ( |
Fields | |
---|---|
fileFormat |
The file format in which to export the video(s). Currently only MP4 is supported. |
Union field destination . Where to write the results. destination can be only one of the following: |
|
driveDestination |
If specified, configures export to Google Drive. |
cloudStorageDestination |
If specified, configures export to Google Cloud Storage. |