UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

896 lines 146 kB
"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w; Object.defineProperty(exports, "__esModule", { value: true }); exports.DataGoogleDataplexDataQualityRules = exports.DataGoogleDataplexDataQualityRulesRulesList = exports.DataGoogleDataplexDataQualityRulesRulesOutputReference = exports.DataGoogleDataplexDataQualityRulesRulesUniquenessExpectationList = exports.DataGoogleDataplexDataQualityRulesRulesUniquenessExpectationOutputReference = exports.DataGoogleDataplexDataQualityRulesRulesTableConditionExpectationList = exports.DataGoogleDataplexDataQualityRulesRulesTableConditionExpectationOutputReference = exports.DataGoogleDataplexDataQualityRulesRulesStatisticRangeExpectationList = exports.DataGoogleDataplexDataQualityRulesRulesStatisticRangeExpectationOutputReference = exports.DataGoogleDataplexDataQualityRulesRulesSqlAssertionList = exports.DataGoogleDataplexDataQualityRulesRulesSqlAssertionOutputReference = exports.DataGoogleDataplexDataQualityRulesRulesSetExpectationList = exports.DataGoogleDataplexDataQualityRulesRulesSetExpectationOutputReference = exports.DataGoogleDataplexDataQualityRulesRulesRowConditionExpectationList = exports.DataGoogleDataplexDataQualityRulesRulesRowConditionExpectationOutputReference = exports.DataGoogleDataplexDataQualityRulesRulesRegexExpectationList = exports.DataGoogleDataplexDataQualityRulesRulesRegexExpectationOutputReference = exports.DataGoogleDataplexDataQualityRulesRulesRangeExpectationList = exports.DataGoogleDataplexDataQualityRulesRulesRangeExpectationOutputReference = exports.DataGoogleDataplexDataQualityRulesRulesNonNullExpectationList = exports.DataGoogleDataplexDataQualityRulesRulesNonNullExpectationOutputReference = void 0; exports.dataGoogleDataplexDataQualityRulesRulesNonNullExpectationToTerraform = dataGoogleDataplexDataQualityRulesRulesNonNullExpectationToTerraform; exports.dataGoogleDataplexDataQualityRulesRulesNonNullExpectationToHclTerraform = dataGoogleDataplexDataQualityRulesRulesNonNullExpectationToHclTerraform; exports.dataGoogleDataplexDataQualityRulesRulesRangeExpectationToTerraform = dataGoogleDataplexDataQualityRulesRulesRangeExpectationToTerraform; exports.dataGoogleDataplexDataQualityRulesRulesRangeExpectationToHclTerraform = dataGoogleDataplexDataQualityRulesRulesRangeExpectationToHclTerraform; exports.dataGoogleDataplexDataQualityRulesRulesRegexExpectationToTerraform = dataGoogleDataplexDataQualityRulesRulesRegexExpectationToTerraform; exports.dataGoogleDataplexDataQualityRulesRulesRegexExpectationToHclTerraform = dataGoogleDataplexDataQualityRulesRulesRegexExpectationToHclTerraform; exports.dataGoogleDataplexDataQualityRulesRulesRowConditionExpectationToTerraform = dataGoogleDataplexDataQualityRulesRulesRowConditionExpectationToTerraform; exports.dataGoogleDataplexDataQualityRulesRulesRowConditionExpectationToHclTerraform = dataGoogleDataplexDataQualityRulesRulesRowConditionExpectationToHclTerraform; exports.dataGoogleDataplexDataQualityRulesRulesSetExpectationToTerraform = dataGoogleDataplexDataQualityRulesRulesSetExpectationToTerraform; exports.dataGoogleDataplexDataQualityRulesRulesSetExpectationToHclTerraform = dataGoogleDataplexDataQualityRulesRulesSetExpectationToHclTerraform; exports.dataGoogleDataplexDataQualityRulesRulesSqlAssertionToTerraform = dataGoogleDataplexDataQualityRulesRulesSqlAssertionToTerraform; exports.dataGoogleDataplexDataQualityRulesRulesSqlAssertionToHclTerraform = dataGoogleDataplexDataQualityRulesRulesSqlAssertionToHclTerraform; exports.dataGoogleDataplexDataQualityRulesRulesStatisticRangeExpectationToTerraform = dataGoogleDataplexDataQualityRulesRulesStatisticRangeExpectationToTerraform; exports.dataGoogleDataplexDataQualityRulesRulesStatisticRangeExpectationToHclTerraform = dataGoogleDataplexDataQualityRulesRulesStatisticRangeExpectationToHclTerraform; exports.dataGoogleDataplexDataQualityRulesRulesTableConditionExpectationToTerraform = dataGoogleDataplexDataQualityRulesRulesTableConditionExpectationToTerraform; exports.dataGoogleDataplexDataQualityRulesRulesTableConditionExpectationToHclTerraform = dataGoogleDataplexDataQualityRulesRulesTableConditionExpectationToHclTerraform; exports.dataGoogleDataplexDataQualityRulesRulesUniquenessExpectationToTerraform = dataGoogleDataplexDataQualityRulesRulesUniquenessExpectationToTerraform; exports.dataGoogleDataplexDataQualityRulesRulesUniquenessExpectationToHclTerraform = dataGoogleDataplexDataQualityRulesRulesUniquenessExpectationToHclTerraform; exports.dataGoogleDataplexDataQualityRulesRulesToTerraform = dataGoogleDataplexDataQualityRulesRulesToTerraform; exports.dataGoogleDataplexDataQualityRulesRulesToHclTerraform = dataGoogleDataplexDataQualityRulesRulesToHclTerraform; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataGoogleDataplexDataQualityRulesRulesNonNullExpectationToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataGoogleDataplexDataQualityRulesRulesNonNullExpectationToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } class DataGoogleDataplexDataQualityRulesRulesNonNullExpectationOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } } exports.DataGoogleDataplexDataQualityRulesRulesNonNullExpectationOutputReference = DataGoogleDataplexDataQualityRulesRulesNonNullExpectationOutputReference; _a = JSII_RTTI_SYMBOL_1; DataGoogleDataplexDataQualityRulesRulesNonNullExpectationOutputReference[_a] = { fqn: "@cdktf/provider-google.dataGoogleDataplexDataQualityRules.DataGoogleDataplexDataQualityRulesRulesNonNullExpectationOutputReference", version: "16.3.0" }; class DataGoogleDataplexDataQualityRulesRulesNonNullExpectationList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataGoogleDataplexDataQualityRulesRulesNonNullExpectationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleDataplexDataQualityRulesRulesNonNullExpectationList = DataGoogleDataplexDataQualityRulesRulesNonNullExpectationList; _b = JSII_RTTI_SYMBOL_1; DataGoogleDataplexDataQualityRulesRulesNonNullExpectationList[_b] = { fqn: "@cdktf/provider-google.dataGoogleDataplexDataQualityRules.DataGoogleDataplexDataQualityRulesRulesNonNullExpectationList", version: "16.3.0" }; function dataGoogleDataplexDataQualityRulesRulesRangeExpectationToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataGoogleDataplexDataQualityRulesRulesRangeExpectationToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } class DataGoogleDataplexDataQualityRulesRulesRangeExpectationOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // max_value - computed: true, optional: false, required: false get maxValue() { return this.getStringAttribute('max_value'); } // min_value - computed: true, optional: false, required: false get minValue() { return this.getStringAttribute('min_value'); } // strict_max_enabled - computed: true, optional: false, required: false get strictMaxEnabled() { return this.getBooleanAttribute('strict_max_enabled'); } // strict_min_enabled - computed: true, optional: false, required: false get strictMinEnabled() { return this.getBooleanAttribute('strict_min_enabled'); } } exports.DataGoogleDataplexDataQualityRulesRulesRangeExpectationOutputReference = DataGoogleDataplexDataQualityRulesRulesRangeExpectationOutputReference; _c = JSII_RTTI_SYMBOL_1; DataGoogleDataplexDataQualityRulesRulesRangeExpectationOutputReference[_c] = { fqn: "@cdktf/provider-google.dataGoogleDataplexDataQualityRules.DataGoogleDataplexDataQualityRulesRulesRangeExpectationOutputReference", version: "16.3.0" }; class DataGoogleDataplexDataQualityRulesRulesRangeExpectationList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataGoogleDataplexDataQualityRulesRulesRangeExpectationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleDataplexDataQualityRulesRulesRangeExpectationList = DataGoogleDataplexDataQualityRulesRulesRangeExpectationList; _d = JSII_RTTI_SYMBOL_1; DataGoogleDataplexDataQualityRulesRulesRangeExpectationList[_d] = { fqn: "@cdktf/provider-google.dataGoogleDataplexDataQualityRules.DataGoogleDataplexDataQualityRulesRulesRangeExpectationList", version: "16.3.0" }; function dataGoogleDataplexDataQualityRulesRulesRegexExpectationToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataGoogleDataplexDataQualityRulesRulesRegexExpectationToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } class DataGoogleDataplexDataQualityRulesRulesRegexExpectationOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // regex - computed: true, optional: false, required: false get regex() { return this.getStringAttribute('regex'); } } exports.DataGoogleDataplexDataQualityRulesRulesRegexExpectationOutputReference = DataGoogleDataplexDataQualityRulesRulesRegexExpectationOutputReference; _e = JSII_RTTI_SYMBOL_1; DataGoogleDataplexDataQualityRulesRulesRegexExpectationOutputReference[_e] = { fqn: "@cdktf/provider-google.dataGoogleDataplexDataQualityRules.DataGoogleDataplexDataQualityRulesRulesRegexExpectationOutputReference", version: "16.3.0" }; class DataGoogleDataplexDataQualityRulesRulesRegexExpectationList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataGoogleDataplexDataQualityRulesRulesRegexExpectationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleDataplexDataQualityRulesRulesRegexExpectationList = DataGoogleDataplexDataQualityRulesRulesRegexExpectationList; _f = JSII_RTTI_SYMBOL_1; DataGoogleDataplexDataQualityRulesRulesRegexExpectationList[_f] = { fqn: "@cdktf/provider-google.dataGoogleDataplexDataQualityRules.DataGoogleDataplexDataQualityRulesRulesRegexExpectationList", version: "16.3.0" }; function dataGoogleDataplexDataQualityRulesRulesRowConditionExpectationToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataGoogleDataplexDataQualityRulesRulesRowConditionExpectationToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } class DataGoogleDataplexDataQualityRulesRulesRowConditionExpectationOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // sql_expression - computed: true, optional: false, required: false get sqlExpression() { return this.getStringAttribute('sql_expression'); } } exports.DataGoogleDataplexDataQualityRulesRulesRowConditionExpectationOutputReference = DataGoogleDataplexDataQualityRulesRulesRowConditionExpectationOutputReference; _g = JSII_RTTI_SYMBOL_1; DataGoogleDataplexDataQualityRulesRulesRowConditionExpectationOutputReference[_g] = { fqn: "@cdktf/provider-google.dataGoogleDataplexDataQualityRules.DataGoogleDataplexDataQualityRulesRulesRowConditionExpectationOutputReference", version: "16.3.0" }; class DataGoogleDataplexDataQualityRulesRulesRowConditionExpectationList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataGoogleDataplexDataQualityRulesRulesRowConditionExpectationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleDataplexDataQualityRulesRulesRowConditionExpectationList = DataGoogleDataplexDataQualityRulesRulesRowConditionExpectationList; _h = JSII_RTTI_SYMBOL_1; DataGoogleDataplexDataQualityRulesRulesRowConditionExpectationList[_h] = { fqn: "@cdktf/provider-google.dataGoogleDataplexDataQualityRules.DataGoogleDataplexDataQualityRulesRulesRowConditionExpectationList", version: "16.3.0" }; function dataGoogleDataplexDataQualityRulesRulesSetExpectationToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataGoogleDataplexDataQualityRulesRulesSetExpectationToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } class DataGoogleDataplexDataQualityRulesRulesSetExpectationOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // values - computed: true, optional: false, required: false get values() { return this.getListAttribute('values'); } } exports.DataGoogleDataplexDataQualityRulesRulesSetExpectationOutputReference = DataGoogleDataplexDataQualityRulesRulesSetExpectationOutputReference; _j = JSII_RTTI_SYMBOL_1; DataGoogleDataplexDataQualityRulesRulesSetExpectationOutputReference[_j] = { fqn: "@cdktf/provider-google.dataGoogleDataplexDataQualityRules.DataGoogleDataplexDataQualityRulesRulesSetExpectationOutputReference", version: "16.3.0" }; class DataGoogleDataplexDataQualityRulesRulesSetExpectationList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataGoogleDataplexDataQualityRulesRulesSetExpectationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleDataplexDataQualityRulesRulesSetExpectationList = DataGoogleDataplexDataQualityRulesRulesSetExpectationList; _k = JSII_RTTI_SYMBOL_1; DataGoogleDataplexDataQualityRulesRulesSetExpectationList[_k] = { fqn: "@cdktf/provider-google.dataGoogleDataplexDataQualityRules.DataGoogleDataplexDataQualityRulesRulesSetExpectationList", version: "16.3.0" }; function dataGoogleDataplexDataQualityRulesRulesSqlAssertionToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataGoogleDataplexDataQualityRulesRulesSqlAssertionToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } class DataGoogleDataplexDataQualityRulesRulesSqlAssertionOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // sql_statement - computed: true, optional: false, required: false get sqlStatement() { return this.getStringAttribute('sql_statement'); } } exports.DataGoogleDataplexDataQualityRulesRulesSqlAssertionOutputReference = DataGoogleDataplexDataQualityRulesRulesSqlAssertionOutputReference; _l = JSII_RTTI_SYMBOL_1; DataGoogleDataplexDataQualityRulesRulesSqlAssertionOutputReference[_l] = { fqn: "@cdktf/provider-google.dataGoogleDataplexDataQualityRules.DataGoogleDataplexDataQualityRulesRulesSqlAssertionOutputReference", version: "16.3.0" }; class DataGoogleDataplexDataQualityRulesRulesSqlAssertionList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataGoogleDataplexDataQualityRulesRulesSqlAssertionOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleDataplexDataQualityRulesRulesSqlAssertionList = DataGoogleDataplexDataQualityRulesRulesSqlAssertionList; _m = JSII_RTTI_SYMBOL_1; DataGoogleDataplexDataQualityRulesRulesSqlAssertionList[_m] = { fqn: "@cdktf/provider-google.dataGoogleDataplexDataQualityRules.DataGoogleDataplexDataQualityRulesRulesSqlAssertionList", version: "16.3.0" }; function dataGoogleDataplexDataQualityRulesRulesStatisticRangeExpectationToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataGoogleDataplexDataQualityRulesRulesStatisticRangeExpectationToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } class DataGoogleDataplexDataQualityRulesRulesStatisticRangeExpectationOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // max_value - computed: true, optional: false, required: false get maxValue() { return this.getStringAttribute('max_value'); } // min_value - computed: true, optional: false, required: false get minValue() { return this.getStringAttribute('min_value'); } // statistic - computed: true, optional: false, required: false get statistic() { return this.getStringAttribute('statistic'); } // strict_max_enabled - computed: true, optional: false, required: false get strictMaxEnabled() { return this.getBooleanAttribute('strict_max_enabled'); } // strict_min_enabled - computed: true, optional: false, required: false get strictMinEnabled() { return this.getBooleanAttribute('strict_min_enabled'); } } exports.DataGoogleDataplexDataQualityRulesRulesStatisticRangeExpectationOutputReference = DataGoogleDataplexDataQualityRulesRulesStatisticRangeExpectationOutputReference; _o = JSII_RTTI_SYMBOL_1; DataGoogleDataplexDataQualityRulesRulesStatisticRangeExpectationOutputReference[_o] = { fqn: "@cdktf/provider-google.dataGoogleDataplexDataQualityRules.DataGoogleDataplexDataQualityRulesRulesStatisticRangeExpectationOutputReference", version: "16.3.0" }; class DataGoogleDataplexDataQualityRulesRulesStatisticRangeExpectationList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataGoogleDataplexDataQualityRulesRulesStatisticRangeExpectationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleDataplexDataQualityRulesRulesStatisticRangeExpectationList = DataGoogleDataplexDataQualityRulesRulesStatisticRangeExpectationList; _p = JSII_RTTI_SYMBOL_1; DataGoogleDataplexDataQualityRulesRulesStatisticRangeExpectationList[_p] = { fqn: "@cdktf/provider-google.dataGoogleDataplexDataQualityRules.DataGoogleDataplexDataQualityRulesRulesStatisticRangeExpectationList", version: "16.3.0" }; function dataGoogleDataplexDataQualityRulesRulesTableConditionExpectationToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataGoogleDataplexDataQualityRulesRulesTableConditionExpectationToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } class DataGoogleDataplexDataQualityRulesRulesTableConditionExpectationOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // sql_expression - computed: true, optional: false, required: false get sqlExpression() { return this.getStringAttribute('sql_expression'); } } exports.DataGoogleDataplexDataQualityRulesRulesTableConditionExpectationOutputReference = DataGoogleDataplexDataQualityRulesRulesTableConditionExpectationOutputReference; _q = JSII_RTTI_SYMBOL_1; DataGoogleDataplexDataQualityRulesRulesTableConditionExpectationOutputReference[_q] = { fqn: "@cdktf/provider-google.dataGoogleDataplexDataQualityRules.DataGoogleDataplexDataQualityRulesRulesTableConditionExpectationOutputReference", version: "16.3.0" }; class DataGoogleDataplexDataQualityRulesRulesTableConditionExpectationList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataGoogleDataplexDataQualityRulesRulesTableConditionExpectationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleDataplexDataQualityRulesRulesTableConditionExpectationList = DataGoogleDataplexDataQualityRulesRulesTableConditionExpectationList; _r = JSII_RTTI_SYMBOL_1; DataGoogleDataplexDataQualityRulesRulesTableConditionExpectationList[_r] = { fqn: "@cdktf/provider-google.dataGoogleDataplexDataQualityRules.DataGoogleDataplexDataQualityRulesRulesTableConditionExpectationList", version: "16.3.0" }; function dataGoogleDataplexDataQualityRulesRulesUniquenessExpectationToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataGoogleDataplexDataQualityRulesRulesUniquenessExpectationToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } class DataGoogleDataplexDataQualityRulesRulesUniquenessExpectationOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } } exports.DataGoogleDataplexDataQualityRulesRulesUniquenessExpectationOutputReference = DataGoogleDataplexDataQualityRulesRulesUniquenessExpectationOutputReference; _s = JSII_RTTI_SYMBOL_1; DataGoogleDataplexDataQualityRulesRulesUniquenessExpectationOutputReference[_s] = { fqn: "@cdktf/provider-google.dataGoogleDataplexDataQualityRules.DataGoogleDataplexDataQualityRulesRulesUniquenessExpectationOutputReference", version: "16.3.0" }; class DataGoogleDataplexDataQualityRulesRulesUniquenessExpectationList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataGoogleDataplexDataQualityRulesRulesUniquenessExpectationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleDataplexDataQualityRulesRulesUniquenessExpectationList = DataGoogleDataplexDataQualityRulesRulesUniquenessExpectationList; _t = JSII_RTTI_SYMBOL_1; DataGoogleDataplexDataQualityRulesRulesUniquenessExpectationList[_t] = { fqn: "@cdktf/provider-google.dataGoogleDataplexDataQualityRules.DataGoogleDataplexDataQualityRulesRulesUniquenessExpectationList", version: "16.3.0" }; function dataGoogleDataplexDataQualityRulesRulesToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataGoogleDataplexDataQualityRulesRulesToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } class DataGoogleDataplexDataQualityRulesRulesOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; // non_null_expectation - computed: true, optional: false, required: false this._nonNullExpectation = new DataGoogleDataplexDataQualityRulesRulesNonNullExpectationList(this, "non_null_expectation", false); // range_expectation - computed: true, optional: false, required: false this._rangeExpectation = new DataGoogleDataplexDataQualityRulesRulesRangeExpectationList(this, "range_expectation", false); // regex_expectation - computed: true, optional: false, required: false this._regexExpectation = new DataGoogleDataplexDataQualityRulesRulesRegexExpectationList(this, "regex_expectation", false); // row_condition_expectation - computed: true, optional: false, required: false this._rowConditionExpectation = new DataGoogleDataplexDataQualityRulesRulesRowConditionExpectationList(this, "row_condition_expectation", false); // set_expectation - computed: true, optional: false, required: false this._setExpectation = new DataGoogleDataplexDataQualityRulesRulesSetExpectationList(this, "set_expectation", false); // sql_assertion - computed: true, optional: false, required: false this._sqlAssertion = new DataGoogleDataplexDataQualityRulesRulesSqlAssertionList(this, "sql_assertion", false); // statistic_range_expectation - computed: true, optional: false, required: false this._statisticRangeExpectation = new DataGoogleDataplexDataQualityRulesRulesStatisticRangeExpectationList(this, "statistic_range_expectation", false); // table_condition_expectation - computed: true, optional: false, required: false this._tableConditionExpectation = new DataGoogleDataplexDataQualityRulesRulesTableConditionExpectationList(this, "table_condition_expectation", false); // uniqueness_expectation - computed: true, optional: false, required: false this._uniquenessExpectation = new DataGoogleDataplexDataQualityRulesRulesUniquenessExpectationList(this, "uniqueness_expectation", false); } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // column - computed: true, optional: false, required: false get column() { return this.getStringAttribute('column'); } // description - computed: true, optional: false, required: false get description() { return this.getStringAttribute('description'); } // dimension - computed: true, optional: false, required: false get dimension() { return this.getStringAttribute('dimension'); } // ignore_null - computed: true, optional: false, required: false get ignoreNull() { return this.getBooleanAttribute('ignore_null'); } // name - computed: true, optional: false, required: false get name() { return this.getStringAttribute('name'); } get nonNullExpectation() { return this._nonNullExpectation; } get rangeExpectation() { return this._rangeExpectation; } get regexExpectation() { return this._regexExpectation; } get rowConditionExpectation() { return this._rowConditionExpectation; } get setExpectation() { return this._setExpectation; } get sqlAssertion() { return this._sqlAssertion; } get statisticRangeExpectation() { return this._statisticRangeExpectation; } // suspended - computed: true, optional: false, required: false get suspended() { return this.getBooleanAttribute('suspended'); } get tableConditionExpectation() { return this._tableConditionExpectation; } // threshold - computed: true, optional: false, required: false get threshold() { return this.getNumberAttribute('threshold'); } get uniquenessExpectation() { return this._uniquenessExpectation; } } exports.DataGoogleDataplexDataQualityRulesRulesOutputReference = DataGoogleDataplexDataQualityRulesRulesOutputReference; _u = JSII_RTTI_SYMBOL_1; DataGoogleDataplexDataQualityRulesRulesOutputReference[_u] = { fqn: "@cdktf/provider-google.dataGoogleDataplexDataQualityRules.DataGoogleDataplexDataQualityRulesRulesOutputReference", version: "16.3.0" }; class DataGoogleDataplexDataQualityRulesRulesList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataGoogleDataplexDataQualityRulesRulesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleDataplexDataQualityRulesRulesList = DataGoogleDataplexDataQualityRulesRulesList; _v = JSII_RTTI_SYMBOL_1; DataGoogleDataplexDataQualityRulesRulesList[_v] = { fqn: "@cdktf/provider-google.dataGoogleDataplexDataQualityRules.DataGoogleDataplexDataQualityRulesRulesList", version: "16.3.0" }; /** * Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.41.0/docs/data-sources/dataplex_data_quality_rules google_dataplex_data_quality_rules} */ class DataGoogleDataplexDataQualityRules extends cdktf.TerraformDataSource { // ============== // STATIC Methods // ============== /** * Generates CDKTF code for importing a DataGoogleDataplexDataQualityRules resource upon running "cdktf plan <stack-name>" * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the DataGoogleDataplexDataQualityRules to import * @param importFromId The id of the existing DataGoogleDataplexDataQualityRules that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.41.0/docs/data-sources/dataplex_data_quality_rules#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataGoogleDataplexDataQualityRules to import is found */ static generateConfigForImport(scope, importToId, importFromId, provider) { return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "google_dataplex_data_quality_rules", importId: importFromId, provider }); } // =========== // INITIALIZER // =========== /** * Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.41.0/docs/data-sources/dataplex_data_quality_rules google_dataplex_data_quality_rules} Data Source * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options DataGoogleDataplexDataQualityRulesConfig */ constructor(scope, id, config) { super(scope, id, { terraformResourceType: 'google_dataplex_data_quality_rules', terraformGeneratorMetadata: { providerName: 'google', providerVersion: '6.41.0', providerVersionConstraint: '~> 6.0' }, provider: config.provider, dependsOn: config.dependsOn, count: config.count, lifecycle: config.lifecycle, provisioners: config.provisioners, connection: config.connection, forEach: config.forEach }); // rules - computed: true, optional: false, required: false this._rules = new DataGoogleDataplexDataQualityRulesRulesList(this, "rules", false); this._dataScanId = config.dataScanId; this._id = config.id; this._location = config.location; this._project = config.project; } get d