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.
Implements
IMessageMappingRuleFilter, IEquatableMappingRuleFilter, IDeepCloneableMappingRuleFilter, IBufferMessage, IMessageNamespace
Google.Cloud.CloudDms.V1Assembly
Google.Cloud.CloudDms.V1.dll
Constructors
MappingRuleFilter()
public MappingRuleFilter()
MappingRuleFilter(MappingRuleFilter)
public MappingRuleFilter(MappingRuleFilter other)
Parameter | |
---|---|
Name | Description |
other |
MappingRuleFilter |
Properties
Entities
public RepeatedField<string> Entities { get; }
Optional. The rule should be applied to specific entities defined by their fully qualified names.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |