Method: projects.locations.taxonomies.export

Exports all taxonomies and their policy tags in a project.

This method generates SerializedTaxonomy protos with nested policy tags that can be used as an input for future taxonomies.import calls.

HTTP request

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

Path parameters

Parameters
parent

string

Required. Resource name of the project that taxonomies to be exported will share. 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 be exported.

Union parameter destination. Required. Taxonomies export destination. destination can be only one of the following:
serializedTaxonomies

boolean

Export taxonomies as serialized taxonomies.

Request body

The request body must be empty.

Response body

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

Response message for taxonomies.export.

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

object (SerializedTaxonomy)

List of taxonomies and policy tags in a tree structure.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.