public sealed class SingleEntityRename : IMessage<SingleEntityRename>, IEquatable<SingleEntityRename>, IDeepCloneable<SingleEntityRename>, IBufferMessage, IMessage
Reference documentation and code samples for the Database Migration v1 API 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
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eSingleEntityRename\u003c/code\u003e class in the Database Migration v1 API allows for renaming a single entity.\u003c/p\u003e\n"],["\u003cp\u003eThis rule type is configurable and can apply to various database elements, such as databases, schemas, tables, columns, constraints, indexes, views, functions, stored procedures, materialized views, sequences, UDTs, or synonyms.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API available for this class is 2.5.0, with older versions dating back to 1.0.0 also being accessible.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, \u003ccode\u003eIBufferMessage\u003c/code\u003e, and \u003ccode\u003eIMessage\u003c/code\u003e, and inherits members from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNewName\u003c/code\u003e is a required property of the class, representing the destination entity's new name.\u003c/p\u003e\n"]]],[],null,["# Database Migration v1 API - Class SingleEntityRename (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.SingleEntityRename)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.4.0/Google.Cloud.CloudDms.V1.SingleEntityRename)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.3.0/Google.Cloud.CloudDms.V1.SingleEntityRename)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.2.0/Google.Cloud.CloudDms.V1.SingleEntityRename)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.1.0/Google.Cloud.CloudDms.V1.SingleEntityRename)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.0.0/Google.Cloud.CloudDms.V1.SingleEntityRename)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.2.0/Google.Cloud.CloudDms.V1.SingleEntityRename)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.1.0/Google.Cloud.CloudDms.V1.SingleEntityRename)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.0.0/Google.Cloud.CloudDms.V1.SingleEntityRename) \n\n public sealed class SingleEntityRename : IMessage\u003cSingleEntityRename\u003e, IEquatable\u003cSingleEntityRename\u003e, IDeepCloneable\u003cSingleEntityRename\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Database Migration v1 API class SingleEntityRename.\n\nOptions to configure rule type SingleEntityRename.\nThe rule is used to rename an entity.\n\nThe rule filter field can refer to only one entity.\n\nThe rule scope can be one of: Database, Schema, Table, Column, Constraint,\nIndex, View, Function, Stored Procedure, Materialized View, Sequence, UDT,\nSynonym \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e SingleEntityRename \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SingleEntityRename](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.SingleEntityRename), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SingleEntityRename](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.SingleEntityRename), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SingleEntityRename](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.SingleEntityRename), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.CloudDms.V1](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.CloudDms.V1.dll\n\nConstructors\n------------\n\n### SingleEntityRename()\n\n public SingleEntityRename()\n\n### SingleEntityRename(SingleEntityRename)\n\n public SingleEntityRename(SingleEntityRename other)\n\nProperties\n----------\n\n### NewName\n\n public string NewName { get; set; }\n\nRequired. The new name of the destination entity"]]