Google Cloud Dms V1 Client - Class MappingRuleFilter (1.4.2)

Reference documentation and code samples for the Google Cloud Dms V1 Client 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.

Generated from protobuf message google.cloud.clouddms.v1.MappingRuleFilter

Namespace

Google \ Cloud \ CloudDms \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent_entity string

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)

↳ entity_name_prefix string

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

↳ entity_name_suffix string

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

↳ entity_name_contains string

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

↳ entities array

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

getParentEntity

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)

Returns
TypeDescription
string

setParentEntity

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)

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEntityNamePrefix

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

Returns
TypeDescription
string

setEntityNamePrefix

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEntityNameSuffix

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

Returns
TypeDescription
string

setEntityNameSuffix

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEntityNameContains

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

Returns
TypeDescription
string

setEntityNameContains

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEntities

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setEntities

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

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this