Database Migration v1 API - Class MappingRuleFilter (2.3.0)

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

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

A filter defining the entities that a mapping rule should be applied to. When more than one field is specified, the rule is applied only to entities which match all the fields.

Inheritance

object > MappingRuleFilter

Namespace

Google.Cloud.CloudDms.V1

Assembly

Google.Cloud.CloudDms.V1.dll

Constructors

MappingRuleFilter()

public MappingRuleFilter()

MappingRuleFilter(MappingRuleFilter)

public MappingRuleFilter(MappingRuleFilter other)
Parameter
NameDescription
otherMappingRuleFilter

Properties

Entities

public RepeatedField<string> Entities { get; }

Optional. The rule should be applied to specific entities defined by their fully qualified names.

Property Value
TypeDescription
RepeatedFieldstring

EntityNameContains

public string EntityNameContains { get; set; }

Optional. The rule should be applied to entities whose non-qualified name contains the given string.

Property Value
TypeDescription
string

EntityNamePrefix

public string EntityNamePrefix { get; set; }

Optional. The rule should be applied to entities whose non-qualified name starts with the given prefix.

Property Value
TypeDescription
string

EntityNameSuffix

public string EntityNameSuffix { get; set; }

Optional. The rule should be applied to entities whose non-qualified name ends with the given suffix.

Property Value
TypeDescription
string

ParentEntity

public string ParentEntity { get; set; }

Optional. The rule should be applied to entities whose parent entity (fully qualified name) matches the given value. For example, if the rule applies to a table entity, the expected value should be a schema (schema). If the rule applies to a column or index entity, the expected value can be either a schema (schema) or a table (schema.table)

Property Value
TypeDescription
string