# Data Catalog V1 API - Class Google::Cloud::DataCatalog::V1::SerializedTaxonomy (v2.8.0)

2.8.0 (latest) 2.7.0 2.6.0 2.5.1 2.4.0 2.3.1 2.2.2 2.1.1 2.0.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.23.0 0.22.0 0.21.2 0.20.1 0.19.0 0.18.1 0.17.0 0.16.1 0.15.0 0.14.0 0.13.0 0.12.1 0.11.0 0.10.0 0.9.1 Reference documentation and code samples for the Data Catalog V1 API class Google::Cloud::DataCatalog::V1::SerializedTaxonomy.

A nested protocol buffer that represents a taxonomy and the hierarchy of its
policy tags. Used for taxonomy replacement, import, and
export.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #activated_policy_types

    def activated_policy_types() -> ::Array<::Google::Cloud::DataCatalog::V1::Taxonomy::PolicyType>

**Returns**

- (::Array\<[::Google::Cloud::DataCatalog::V1::Taxonomy::PolicyType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-v1/latest/Google-Cloud-DataCatalog-V1-Taxonomy-PolicyType)\>) --- A list of policy types that are activated per taxonomy.

### #activated_policy_types=

    def activated_policy_types=(value) -> ::Array<::Google::Cloud::DataCatalog::V1::Taxonomy::PolicyType>

**Parameter**

- **value** (::Array\<[::Google::Cloud::DataCatalog::V1::Taxonomy::PolicyType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-v1/latest/Google-Cloud-DataCatalog-V1-Taxonomy-PolicyType)\>) --- A list of policy types that are activated per taxonomy.
**Returns**

- (::Array\<[::Google::Cloud::DataCatalog::V1::Taxonomy::PolicyType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-v1/latest/Google-Cloud-DataCatalog-V1-Taxonomy-PolicyType)\>) --- A list of policy types that are activated per taxonomy.

### #description

    def description() -> ::String

**Returns**

- (::String) --- Description of the serialized taxonomy. At most 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- Description of the serialized taxonomy. At most 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description.
**Returns**

- (::String) --- Description of the serialized taxonomy. At most 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description.

### #display_name

    def display_name() -> ::String

**Returns**

- (::String) --- Required. Display name of the taxonomy. At most 200 bytes when encoded in UTF-8.

### #display_name=

    def display_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Display name of the taxonomy. At most 200 bytes when encoded in UTF-8.
**Returns**

- (::String) --- Required. Display name of the taxonomy. At most 200 bytes when encoded in UTF-8.

### #policy_tags

    def policy_tags() -> ::Array<::Google::Cloud::DataCatalog::V1::SerializedPolicyTag>

**Returns**

- (::Array\<[::Google::Cloud::DataCatalog::V1::SerializedPolicyTag](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-v1/latest/Google-Cloud-DataCatalog-V1-SerializedPolicyTag)\>) --- Top level policy tags associated with the taxonomy, if any.

### #policy_tags=

    def policy_tags=(value) -> ::Array<::Google::Cloud::DataCatalog::V1::SerializedPolicyTag>

**Parameter**

- **value** (::Array\<[::Google::Cloud::DataCatalog::V1::SerializedPolicyTag](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-v1/latest/Google-Cloud-DataCatalog-V1-SerializedPolicyTag)\>) --- Top level policy tags associated with the taxonomy, if any.
**Returns**

- (::Array\<[::Google::Cloud::DataCatalog::V1::SerializedPolicyTag](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-v1/latest/Google-Cloud-DataCatalog-V1-SerializedPolicyTag)\>) --- Top level policy tags associated with the taxonomy, if any.