TemplateReference(mapping=None, *, ignore_unknown_fields=False, **kwargs)A rule that constructs a SQL statement to evaluate using a rule template and parameter values. If the constructed statement returns any rows, this rule fails
Attributes |
|
|---|---|
| Name | Description |
name |
str
Required. The template entry name. Entry must be of EntryType projects/dataplex-types/locations/global/entryTypes/data-quality-rule-template
and contains top-level aspect of AspectType
projects/dataplex-types/locations/global/aspectTypes/data-quality-rule-template.
The format is:
projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}
|
values |
MutableMapping[str, google.cloud.dataplex_v1.types.DataQualityRule.TemplateReference.ParameterValue]
Optional. Provides the map of parameter name and value. The maximum size of the field is 120KB (encoded as UTF-8). |
resolved_sql |
str
Output only. The resolved SQL statement generated from the template with parameters substituted. It is only populated in the result. |
rule_template |
google.cloud.dataplex_v1.types.DataQualityRuleTemplate
Output only. The rule template used to resolve the rule. It is only populated in the result. |
Classes
ParameterValue
ParameterValue(mapping=None, *, ignore_unknown_fields=False, **kwargs)Represents a parameter value.
ValuesEntry
ValuesEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)The abstract base class for a message.
| Parameters | |
|---|---|
| Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |