Google Cloud Dms V1 Client - Class MappingRuleFilter (2.0.0)

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
Name Description
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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getEntityNamePrefix

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

Returns
Type Description
string

setEntityNamePrefix

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

Parameter
Name Description
var string
Returns
Type Description
$this

getEntityNameSuffix

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

Returns
Type Description
string

setEntityNameSuffix

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

Parameter
Name Description
var string
Returns
Type Description
$this

getEntityNameContains

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

Returns
Type Description
string

setEntityNameContains

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

Parameter
Name Description
var string
Returns
Type Description
$this

getEntities

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setEntities

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

Parameter
Name Description
var string[]
Returns
Type Description
$this