# Class DataQualityRuleTemplate (2.20.0)

2.20.0 (latest) 2.19.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.2 2.9.0 2.8.0 2.7.1 2.6.0 2.5.0 2.4.0 2.3.1 2.2.2 2.1.0 2.0.1 1.13.0 1.12.3 1.11.0 1.10.0 1.9.0 1.8.1 1.7.0 1.6.2 1.5.1 1.4.3 1.3.0 1.2.0 1.1.3 1.0.1 0.2.1 0.1.0

    DataQualityRuleTemplate(mapping=None, *, ignore_unknown_fields=False, **kwargs)

DataQualityRuleTemplate represents a template which can be
reused across multiple data quality rules.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Output only. The name of the rule template in the format: `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}` |
| `dimension` | `str` Output only. The dimension a rule template belongs to. Rule level results are also aggregated at the dimension level. |
| `sql_collection` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DataQualityRuleTemplate.Sql]` Output only. Collection of SQLs for data quality rules. Currently only one SQL is supported. |
| `input_parameters` | `MutableMapping[str, https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DataQualityRuleTemplate.ParameterDescription]` Output only. Description for input parameters |
| `capabilities` | `MutableSequence[str]` Output only. A list of features or properties supported by this rule template. |

## Classes

### InputParametersEntry

    InputParametersEntry(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, `.Message`]`` 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 `mapping` is a mapping type or there are keyword parameters. |

### ParameterDescription

    ParameterDescription(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Description of the input parameter. It can include the
type(s) supported by the parameter and intended usage. It is for
information purposes only and does not affect the behavior of
the rule template.

### Sql

    Sql(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Templatized SQL query for data quality rules. It can have
parameters that can be substituted with values when a rule is
created using this template.