# Google Cloud Data Catalog V1 Client - Class ReplaceTaxonomyRequest (2.4.2)

2.4.2 (latest) 2.4.1 2.3.2 2.2.4 2.1.0 2.0.2 1.10.3 1.9.1 1.8.2 1.7.1 1.6.0 1.5.1 1.4.2 1.3.9 Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class ReplaceTaxonomyRequest.

Request message for
[ReplaceTaxonomy](https://docs.cloud.google.com/php/docs/reference/cloud-data-catalog/latest/V1.Client.PolicyTagManagerSerializationClient#_Google_Cloud_DataCatalog_V1_Client_PolicyTagManagerSerializationClient__replaceTaxonomy__).

Generated from protobuf message `google.cloud.datacatalog.v1.ReplaceTaxonomyRequest`

## Namespace

Google \\ Cloud \\ DataCatalog \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. Resource name of the taxonomy to update. |
| `↳ serialized_taxonomy` | `https://docs.cloud.google.com/php/docs/reference/cloud-data-catalog/latest/V1.SerializedTaxonomy` Required. Taxonomy to update along with its child policy tags. |

### getName

Required. Resource name of the taxonomy to update.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Required. Resource name of the taxonomy to update.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSerializedTaxonomy

Required. Taxonomy to update along with its child policy tags.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-data-catalog/latest/V1.SerializedTaxonomy|null` |   |

### hasSerializedTaxonomy

### clearSerializedTaxonomy

### setSerializedTaxonomy

Required. Taxonomy to update along with its child policy tags.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-data-catalog/latest/V1.SerializedTaxonomy` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |