# Google Cloud Dms V1 Client - Class SingleEntityRename (2.1.3)

2.1.3 (latest) 2.1.2 2.0.6 1.5.5 1.4.2 1.3.0 1.2.1 1.1.0 1.0.5 Reference documentation and code samples for the Google Cloud Dms V1 Client class SingleEntityRename.

Options to configure rule type SingleEntityRename.

The rule is used to rename an entity.
The rule filter field can refer to only one entity.
The rule scope can be one of: Database, Schema, Table, Column, Constraint,
Index, View, Function, Stored Procedure, Materialized View, Sequence, UDT,
Synonym

Generated from protobuf message `google.cloud.clouddms.v1.SingleEntityRename`

## Namespace

Google \\ Cloud \\ CloudDms \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ new_name` | `string` Required. The new name of the destination entity |

### getNewName

Required. The new name of the destination entity

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

### setNewName

Required. The new name of the destination entity

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

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