Method: projects.locations.apps.exportApp

Exports the specified app.

HTTP request

POST https://ces.googleapis.com/v1beta/{name=projects/*/locations/*/apps/*}:exportApp

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The resource name of the app to export.

Request body

The request body contains data with the following structure:

JSON representation
{
  "exportFormat": enum (ExportAppRequest.ExportFormat),
  "gcsUri": string
}
Fields
exportFormat

enum (ExportAppRequest.ExportFormat)

Required. The format to export the app in.

gcsUri

string

Optional. The Google Cloud Storage URI to which to export the app. The format of this URI must be gs://<bucket-name>/<object-name>. The exported app archive will be written directly to the specified GCS object.

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.

IAM Permissions

Requires the following IAM permission on the name resource:

  • ces.apps.export

For more information, see the IAM documentation.

ExportAppRequest.ExportFormat

Export format for the app.

Enums
EXPORT_FORMAT_UNSPECIFIED The export format is unspecified.
JSON The export format is JSON.
YAML The export format is YAML.