Method: projects.locations.taxonomies.export

Exports taxonomies as the requested type and returns the taxonomies including their policy tags. The requested taxonomies must belong to one project.

SerializedTaxonomy protos with nested policy tags that are generated by this method can be used as input for future 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 be exported.

serializedTaxonomies

boolean

Export taxonomies as serialized taxonomies, which contain all the policy tags as nested protos.

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 as nested protos.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.