A fully managed and highly scalable data discovery and metadata management service.

- [REST Resource: v1beta1.projects.locations.taxonomies](https://docs.cloud.google.com/data-catalog/docs/reference/rest.md.txt#v1beta1.projects.locations.taxonomies)
- [REST Resource: v1beta1.projects.locations.taxonomies.policyTags](https://docs.cloud.google.com/data-catalog/docs/reference/rest.md.txt#v1beta1.projects.locations.taxonomies.policyTags)
- [REST Resource: v1.projects.locations.taxonomies](https://docs.cloud.google.com/data-catalog/docs/reference/rest.md.txt#v1.projects.locations.taxonomies)
- [REST Resource: v1.projects.locations.taxonomies.policyTags](https://docs.cloud.google.com/data-catalog/docs/reference/rest.md.txt#v1.projects.locations.taxonomies.policyTags)

## Service: datacatalog.googleapis.com

To call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

### Discovery document

A [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery documents:

- <https://datacatalog.googleapis.com/$discovery/rest?version=v1>
- <https://datacatalog.googleapis.com/$discovery/rest?version=v1beta1>

### Service endpoint

A [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

- `https://datacatalog.googleapis.com`

## REST Resource: [v1beta1.projects.locations.taxonomies](https://docs.cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.taxonomies.md.txt)

| Methods ||
|---|---|
| `create` | `POST /v1beta1/{parent}/taxonomies` Creates a taxonomy in the specified project. |
| `delete` | `DELETE /v1beta1/{name}` Deletes a taxonomy. |
| `export` | `GET /v1beta1/{parent}/taxonomies:export` Exports all taxonomies and their policy tags in a project. |
| `get` | `GET /v1beta1/{name}` Gets a taxonomy. |
| `getIamPolicy` | `POST /v1beta1/{resource}:getIamPolicy` Gets the IAM policy for a taxonomy or a policy tag. |
| `import` | `POST /v1beta1/{parent}/taxonomies:import` Imports all taxonomies and their policy tags to a project as new taxonomies. |
| `list` | `GET /v1beta1/{parent}/taxonomies` Lists all taxonomies in a project in a particular location that the caller has permission to view. |
| `patch` | `PATCH /v1beta1/{taxonomy.name}` Updates a taxonomy. |
| `setIamPolicy` | `POST /v1beta1/{resource}:setIamPolicy` Sets the IAM policy for a taxonomy or a policy tag. |
| `testIamPermissions` | `POST /v1beta1/{resource}:testIamPermissions` Returns the permissions that a caller has on the specified taxonomy or policy tag. |

## REST Resource: [v1beta1.projects.locations.taxonomies.policyTags](https://docs.cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.taxonomies.policyTags.md.txt)

| Methods ||
|---|---|
| `create` | `POST /v1beta1/{parent}/policyTags` Creates a policy tag in the specified taxonomy. |
| `delete` | `DELETE /v1beta1/{name}` Deletes a policy tag. |
| `get` | `GET /v1beta1/{name}` Gets a policy tag. |
| `getIamPolicy` | `POST /v1beta1/{resource}:getIamPolicy` Gets the IAM policy for a taxonomy or a policy tag. |
| `list` | `GET /v1beta1/{parent}/policyTags` Lists all policy tags in a taxonomy. |
| `patch` | `PATCH /v1beta1/{policyTag.name}` Updates a policy tag. |
| `setIamPolicy` | `POST /v1beta1/{resource}:setIamPolicy` Sets the IAM policy for a taxonomy or a policy tag. |
| `testIamPermissions` | `POST /v1beta1/{resource}:testIamPermissions` Returns the permissions that a caller has on the specified taxonomy or policy tag. |

## REST Resource: [v1.projects.locations.taxonomies](https://docs.cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.taxonomies.md.txt)

| Methods ||
|---|---|
| `create` | `POST /v1/{parent}/taxonomies` Creates a taxonomy in a specified project. |
| `delete` | `DELETE /v1/{name}` Deletes a taxonomy, including all policy tags in this taxonomy, their associated policies, and the policy tags references from BigQuery columns. |
| `export` | `GET /v1/{parent}/taxonomies:export` Exports taxonomies in the requested type and returns them, including their policy tags. |
| `get` | `GET /v1/{name}` Gets a taxonomy. |
| `getIamPolicy` | `POST /v1/{resource}:getIamPolicy` Gets the IAM policy for a policy tag or a taxonomy. |
| `import` | `POST /v1/{parent}/taxonomies:import` Creates new taxonomies (including their policy tags) in a given project by importing from inlined or cross-regional sources. |
| `list` | `GET /v1/{parent}/taxonomies` Lists all taxonomies in a project in a particular location that you have a permission to view. |
| `patch` | `PATCH /v1/{taxonomy.name}` Updates a taxonomy, including its display name, description, and activated policy types. |
| `replace` | `POST /v1/{name}:replace` Replaces (updates) a taxonomy and all its policy tags. |
| `setIamPolicy` | `POST /v1/{resource}:setIamPolicy` Sets the IAM policy for a policy tag or a taxonomy. |
| `testIamPermissions` | `POST /v1/{resource}:testIamPermissions` Returns your permissions on a specified policy tag or taxonomy. |

## REST Resource: [v1.projects.locations.taxonomies.policyTags](https://docs.cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.taxonomies.policyTags.md.txt)

| Methods ||
|---|---|
| `create` | `POST /v1/{parent}/policyTags` Creates a policy tag in a taxonomy. |
| `delete` | `DELETE /v1/{name}` Deletes a policy tag together with the following: - All of its descendant policy tags, if any - Policies associated with the policy tag and its descendants - References from BigQuery table schema of the policy tag and its descendants |
| `get` | `GET /v1/{name}` Gets a policy tag. |
| `getIamPolicy` | `POST /v1/{resource}:getIamPolicy` Gets the IAM policy for a policy tag or a taxonomy. |
| `list` | `GET /v1/{parent}/policyTags` Lists all policy tags in a taxonomy. |
| `patch` | `PATCH /v1/{policyTag.name}` Updates a policy tag, including its display name, description, and parent policy tag. |
| `setIamPolicy` | `POST /v1/{resource}:setIamPolicy` Sets the IAM policy for a policy tag or a taxonomy. |
| `testIamPermissions` | `POST /v1/{resource}:testIamPermissions` Returns your permissions on a specified policy tag or taxonomy. |