# Google Cloud Data Catalog V1 Client - Class UpdateTaxonomyRequest (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 UpdateTaxonomyRequest.

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

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

## Namespace

Google \\ Cloud \\ DataCatalog \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ taxonomy` | `https://docs.cloud.google.com/php/docs/reference/cloud-data-catalog/latest/V1.Taxonomy` The taxonomy to update. You can update only its description, display name, and activated policy types. |
| `↳ update_mask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Specifies fields to update. If not set, defaults to all fields you can update. For more information, see [FieldMask](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask). |

### getTaxonomy

The taxonomy to update. You can update only its description, display name,
and activated policy types.

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

### hasTaxonomy

### clearTaxonomy

### setTaxonomy

The taxonomy to update. You can update only its description, display name,
and activated policy types.

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

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

### getUpdateMask

Specifies fields to update. If not set, defaults to all fields you can
update.

For more information, see [FieldMask](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask|null` |   |

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

Specifies fields to update. If not set, defaults to all fields you can
update.

For more information, see [FieldMask](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` |

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `taxonomy` | `https://docs.cloud.google.com/php/docs/reference/cloud-data-catalog/latest/V1.Taxonomy` The taxonomy to update. You can update only its description, display name, and activated policy types. |

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