# Method: projects.locations.taxonomies.export

- [HTTP request](https://docs.cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.taxonomies/export#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.taxonomies/export#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.taxonomies/export#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.taxonomies/export#body.request_body)
- [Response body](https://docs.cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.taxonomies/export#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.taxonomies/export#body.ExportTaxonomiesResponse.SCHEMA_REPRESENTATION)
- [Authorization scopes](https://docs.cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.taxonomies/export#body.aspect)
- [Try it!](https://docs.cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.taxonomies/export#try-it)

Exports taxonomies in the requested type and returns them, including their policy tags. The requested taxonomies must belong to the same project.

This method generates `SerializedTaxonomy` protocol buffers with nested policy tags that can be used as input for `taxonomies.import` calls.

### HTTP request

`GET https://datacatalog.googleapis.com/v1/{parent}/taxonomies:export`

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. Resource name of the project that the exported taxonomies belong to. It takes the form `projects/{project}/locations/{location}`. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `parent`: - `datacatalog.taxonomies.get` |

### Query parameters

| Parameters ||
|---|---|
| `taxonomies[]` | `string` Required. Resource names of the taxonomies to export. |
| Union parameter `destination`. Required. Export destination for taxonomies. `destination` can be only one of the following: ||
| `serializedTaxonomies` | `boolean` Serialized export taxonomies that contain all the policy tags as nested protocol buffers. |

### Request body

The request body must be empty.

### Response body

Response message for `https://docs.cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.taxonomies/export#google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ExportTaxonomies`.

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

| JSON representation |
|---|
| ``` { "taxonomies": [ { object (`https://docs.cloud.google.com/data-catalog/docs/reference/rest/v1/SerializedTaxonomy`) } ] } ``` |

| Fields ||
|---|---|
| `taxonomies[]` | ``object (`https://docs.cloud.google.com/data-catalog/docs/reference/rest/v1/SerializedTaxonomy`)`` List of taxonomies and policy tags as nested protocol buffers. |

### 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).