Reference documentation and code samples for the Dataplex V1 API class Google::Cloud::Dataplex::V1::DataQualityRule::TemplateReference.
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
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
Returns
-
(::String) — Required. The template entry name. Entry must be of EntryType
projects/dataplex-types/locations/global/entryTypes/data-quality-rule-templateand contains top-level aspect of AspectTypeprojects/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}
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. The template entry name. Entry must be of EntryType
projects/dataplex-types/locations/global/entryTypes/data-quality-rule-templateand contains top-level aspect of AspectTypeprojects/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}
Returns
-
(::String) — Required. The template entry name. Entry must be of EntryType
projects/dataplex-types/locations/global/entryTypes/data-quality-rule-templateand contains top-level aspect of AspectTypeprojects/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}
#resolved_sql
def resolved_sql() -> ::String
Returns
- (::String) — Output only. The resolved SQL statement generated from the template with parameters substituted. It is only populated in the result.
#rule_template
def rule_template() -> ::Google::Cloud::Dataplex::V1::DataQualityRuleTemplate
Returns
- (::Google::Cloud::Dataplex::V1::DataQualityRuleTemplate) — Output only. The rule template used to resolve the rule. It is only populated in the result.
#values
def values() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Dataplex::V1::DataQualityRule::TemplateReference::ParameterValue}
Returns
- (::Google::Protobuf::Map{::String => ::Google::Cloud::Dataplex::V1::DataQualityRule::TemplateReference::ParameterValue}) — Optional. Provides the map of parameter name and value. The maximum size of the field is 120KB (encoded as UTF-8).
#values=
def values=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Dataplex::V1::DataQualityRule::TemplateReference::ParameterValue}
Parameter
- value (::Google::Protobuf::Map{::String => ::Google::Cloud::Dataplex::V1::DataQualityRule::TemplateReference::ParameterValue}) — Optional. Provides the map of parameter name and value. The maximum size of the field is 120KB (encoded as UTF-8).
Returns
- (::Google::Protobuf::Map{::String => ::Google::Cloud::Dataplex::V1::DataQualityRule::TemplateReference::ParameterValue}) — Optional. Provides the map of parameter name and value. The maximum size of the field is 120KB (encoded as UTF-8).