# Method: projects.locations.previews.export

- [HTTP request](https://docs.cloud.google.com/infrastructure-manager/docs/reference/rest/v1/projects.locations.previews/export#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/infrastructure-manager/docs/reference/rest/v1/projects.locations.previews/export#body.PATH_PARAMETERS)
- [Request body](https://docs.cloud.google.com/infrastructure-manager/docs/reference/rest/v1/projects.locations.previews/export#body.request_body)
- [Response body](https://docs.cloud.google.com/infrastructure-manager/docs/reference/rest/v1/projects.locations.previews/export#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/infrastructure-manager/docs/reference/rest/v1/projects.locations.previews/export#body.ExportPreviewResultResponse.SCHEMA_REPRESENTATION)
- [Authorization scopes](https://docs.cloud.google.com/infrastructure-manager/docs/reference/rest/v1/projects.locations.previews/export#body.aspect)
- [IAM Permissions](https://docs.cloud.google.com/infrastructure-manager/docs/reference/rest/v1/projects.locations.previews/export#body.aspect_1)
- [PreviewResult](https://docs.cloud.google.com/infrastructure-manager/docs/reference/rest/v1/projects.locations.previews/export#PreviewResult)
  - [JSON representation](https://docs.cloud.google.com/infrastructure-manager/docs/reference/rest/v1/projects.locations.previews/export#PreviewResult.SCHEMA_REPRESENTATION)
- [Try it!](https://docs.cloud.google.com/infrastructure-manager/docs/reference/rest/v1/projects.locations.previews/export#try-it)

Export `https://docs.cloud.google.com/infrastructure-manager/docs/reference/rest/v1/projects.locations.previews#Preview` results.

### HTTP request

`POST https://config.googleapis.com/v1/{parent=projects/*/locations/*/previews/*}:export`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. The preview whose results should be exported. The preview value is in the format: 'projects/{projectId}/locations/{location}/previews/{preview}'. It takes the form `projects/{project}/locations/{location}/previews/{preview}`. |

### Request body

The request body must be empty.

### Response body

A response to `previews.export` call. Contains preview results.

If successful, the response body contains data with the following structure:

| JSON representation |
|---|
| ``` { "result": { object (`https://docs.cloud.google.com/infrastructure-manager/docs/reference/rest/v1/projects.locations.previews/export#PreviewResult`) } } ``` |

| Fields ||
|---|---|
| `result` | ``object (`https://docs.cloud.google.com/infrastructure-manager/docs/reference/rest/v1/projects.locations.previews/export#PreviewResult`)`` Output only. Signed URLs for accessing the plan files. |

### Authorization scopes

Requires the following OAuth scope:

- `https://www.googleapis.com/auth/cloud-platform`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).

### IAM Permissions

Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource:

- `config.googleapis.com/config.previews.export`

For more information, see the [IAM documentation](https://cloud.google.com/iam/docs).

## PreviewResult

Contains a signed Cloud Storage URLs.

| JSON representation |
|---|
| ``` { "binarySignedUri": string, "jsonSignedUri": string } ``` |

| Fields ||
|---|---|
| `binarySignedUri` | `string` Output only. Plan binary signed URL |
| `jsonSignedUri` | `string` Output only. Plan JSON signed URL |