Method: projects.locations.taxonomies.export

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 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 taxonomies.export.

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

JSON representation
{
  "taxonomies": [
    {
      object (SerializedTaxonomy)
    }
  ]
}
Fields
taxonomies[]

object (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.