Database Migration v1 API - Class MultiEntityRename (2.3.0)

public sealed class MultiEntityRename : IMessage<MultiEntityRename>, IEquatable<MultiEntityRename>, IDeepCloneable<MultiEntityRename>, IBufferMessage, IMessage

Reference documentation and code samples for the Database Migration v1 API class MultiEntityRename.

Options to configure rule type MultiEntityRename. The rule is used to rename multiple entities.

The rule filter field can refer to one or more entities.

The rule scope can be one of: Database, Schema, Table, Column, Constraint, Index, View, Function, Stored Procedure, Materialized View, Sequence, UDT

Inheritance

object > MultiEntityRename

Namespace

Google.Cloud.CloudDms.V1

Assembly

Google.Cloud.CloudDms.V1.dll

Constructors

MultiEntityRename()

public MultiEntityRename()

MultiEntityRename(MultiEntityRename)

public MultiEntityRename(MultiEntityRename other)
Parameter
NameDescription
otherMultiEntityRename

Properties

NewNamePattern

public string NewNamePattern { get; set; }

Optional. The pattern used to generate the new entity's name. This pattern must include the characters '{name}', which will be replaced with the name of the original entity. For example, the pattern 't_{name}' for an entity name jobs would be converted to 't_jobs'.

If unspecified, the default value for this field is '{name}'

Property Value
TypeDescription
string

SourceNameTransformation

public EntityNameTransformation SourceNameTransformation { get; set; }

Optional. Additional transformation that can be done on the source entity name before it is being used by the new_name_pattern, for example lower case. If no transformation is desired, use NO_TRANSFORMATION

Property Value
TypeDescription
EntityNameTransformation