UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

992 lines 139 kB
"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u; Object.defineProperty(exports, "__esModule", { value: true }); exports.DataGoogleBigqueryDataset = exports.DataGoogleBigqueryDatasetExternalDatasetReferenceList = exports.DataGoogleBigqueryDatasetExternalDatasetReferenceOutputReference = exports.DataGoogleBigqueryDatasetExternalCatalogDatasetOptionsList = exports.DataGoogleBigqueryDatasetExternalCatalogDatasetOptionsOutputReference = exports.DataGoogleBigqueryDatasetDefaultEncryptionConfigurationList = exports.DataGoogleBigqueryDatasetDefaultEncryptionConfigurationOutputReference = exports.DataGoogleBigqueryDatasetAccessList = exports.DataGoogleBigqueryDatasetAccessOutputReference = exports.DataGoogleBigqueryDatasetAccessViewList = exports.DataGoogleBigqueryDatasetAccessViewOutputReference = exports.DataGoogleBigqueryDatasetAccessRoutineList = exports.DataGoogleBigqueryDatasetAccessRoutineOutputReference = exports.DataGoogleBigqueryDatasetAccessDatasetList = exports.DataGoogleBigqueryDatasetAccessDatasetOutputReference = exports.DataGoogleBigqueryDatasetAccessDatasetDatasetList = exports.DataGoogleBigqueryDatasetAccessDatasetDatasetOutputReference = exports.DataGoogleBigqueryDatasetAccessConditionList = exports.DataGoogleBigqueryDatasetAccessConditionOutputReference = void 0; exports.dataGoogleBigqueryDatasetAccessConditionToTerraform = dataGoogleBigqueryDatasetAccessConditionToTerraform; exports.dataGoogleBigqueryDatasetAccessConditionToHclTerraform = dataGoogleBigqueryDatasetAccessConditionToHclTerraform; exports.dataGoogleBigqueryDatasetAccessDatasetDatasetToTerraform = dataGoogleBigqueryDatasetAccessDatasetDatasetToTerraform; exports.dataGoogleBigqueryDatasetAccessDatasetDatasetToHclTerraform = dataGoogleBigqueryDatasetAccessDatasetDatasetToHclTerraform; exports.dataGoogleBigqueryDatasetAccessDatasetToTerraform = dataGoogleBigqueryDatasetAccessDatasetToTerraform; exports.dataGoogleBigqueryDatasetAccessDatasetToHclTerraform = dataGoogleBigqueryDatasetAccessDatasetToHclTerraform; exports.dataGoogleBigqueryDatasetAccessRoutineToTerraform = dataGoogleBigqueryDatasetAccessRoutineToTerraform; exports.dataGoogleBigqueryDatasetAccessRoutineToHclTerraform = dataGoogleBigqueryDatasetAccessRoutineToHclTerraform; exports.dataGoogleBigqueryDatasetAccessViewToTerraform = dataGoogleBigqueryDatasetAccessViewToTerraform; exports.dataGoogleBigqueryDatasetAccessViewToHclTerraform = dataGoogleBigqueryDatasetAccessViewToHclTerraform; exports.dataGoogleBigqueryDatasetAccessToTerraform = dataGoogleBigqueryDatasetAccessToTerraform; exports.dataGoogleBigqueryDatasetAccessToHclTerraform = dataGoogleBigqueryDatasetAccessToHclTerraform; exports.dataGoogleBigqueryDatasetDefaultEncryptionConfigurationToTerraform = dataGoogleBigqueryDatasetDefaultEncryptionConfigurationToTerraform; exports.dataGoogleBigqueryDatasetDefaultEncryptionConfigurationToHclTerraform = dataGoogleBigqueryDatasetDefaultEncryptionConfigurationToHclTerraform; exports.dataGoogleBigqueryDatasetExternalCatalogDatasetOptionsToTerraform = dataGoogleBigqueryDatasetExternalCatalogDatasetOptionsToTerraform; exports.dataGoogleBigqueryDatasetExternalCatalogDatasetOptionsToHclTerraform = dataGoogleBigqueryDatasetExternalCatalogDatasetOptionsToHclTerraform; exports.dataGoogleBigqueryDatasetExternalDatasetReferenceToTerraform = dataGoogleBigqueryDatasetExternalDatasetReferenceToTerraform; exports.dataGoogleBigqueryDatasetExternalDatasetReferenceToHclTerraform = dataGoogleBigqueryDatasetExternalDatasetReferenceToHclTerraform; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataGoogleBigqueryDatasetAccessConditionToTerraform(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 dataGoogleBigqueryDatasetAccessConditionToHclTerraform(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 DataGoogleBigqueryDatasetAccessConditionOutputReference 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; } } // description - computed: true, optional: false, required: false get description() { return this.getStringAttribute('description'); } // expression - computed: true, optional: false, required: false get expression() { return this.getStringAttribute('expression'); } // location - computed: true, optional: false, required: false get location() { return this.getStringAttribute('location'); } // title - computed: true, optional: false, required: false get title() { return this.getStringAttribute('title'); } } exports.DataGoogleBigqueryDatasetAccessConditionOutputReference = DataGoogleBigqueryDatasetAccessConditionOutputReference; _a = JSII_RTTI_SYMBOL_1; DataGoogleBigqueryDatasetAccessConditionOutputReference[_a] = { fqn: "@cdktf/provider-google.dataGoogleBigqueryDataset.DataGoogleBigqueryDatasetAccessConditionOutputReference", version: "14.35.1" }; class DataGoogleBigqueryDatasetAccessConditionList 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 DataGoogleBigqueryDatasetAccessConditionOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleBigqueryDatasetAccessConditionList = DataGoogleBigqueryDatasetAccessConditionList; _b = JSII_RTTI_SYMBOL_1; DataGoogleBigqueryDatasetAccessConditionList[_b] = { fqn: "@cdktf/provider-google.dataGoogleBigqueryDataset.DataGoogleBigqueryDatasetAccessConditionList", version: "14.35.1" }; function dataGoogleBigqueryDatasetAccessDatasetDatasetToTerraform(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 dataGoogleBigqueryDatasetAccessDatasetDatasetToHclTerraform(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 DataGoogleBigqueryDatasetAccessDatasetDatasetOutputReference 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; } } // dataset_id - computed: true, optional: false, required: false get datasetId() { return this.getStringAttribute('dataset_id'); } // project_id - computed: true, optional: false, required: false get projectId() { return this.getStringAttribute('project_id'); } } exports.DataGoogleBigqueryDatasetAccessDatasetDatasetOutputReference = DataGoogleBigqueryDatasetAccessDatasetDatasetOutputReference; _c = JSII_RTTI_SYMBOL_1; DataGoogleBigqueryDatasetAccessDatasetDatasetOutputReference[_c] = { fqn: "@cdktf/provider-google.dataGoogleBigqueryDataset.DataGoogleBigqueryDatasetAccessDatasetDatasetOutputReference", version: "14.35.1" }; class DataGoogleBigqueryDatasetAccessDatasetDatasetList 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 DataGoogleBigqueryDatasetAccessDatasetDatasetOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleBigqueryDatasetAccessDatasetDatasetList = DataGoogleBigqueryDatasetAccessDatasetDatasetList; _d = JSII_RTTI_SYMBOL_1; DataGoogleBigqueryDatasetAccessDatasetDatasetList[_d] = { fqn: "@cdktf/provider-google.dataGoogleBigqueryDataset.DataGoogleBigqueryDatasetAccessDatasetDatasetList", version: "14.35.1" }; function dataGoogleBigqueryDatasetAccessDatasetToTerraform(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 dataGoogleBigqueryDatasetAccessDatasetToHclTerraform(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 DataGoogleBigqueryDatasetAccessDatasetOutputReference 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; // dataset - computed: true, optional: false, required: false this._dataset = new DataGoogleBigqueryDatasetAccessDatasetDatasetList(this, "dataset", 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; } } get dataset() { return this._dataset; } // target_types - computed: true, optional: false, required: false get targetTypes() { return this.getListAttribute('target_types'); } } exports.DataGoogleBigqueryDatasetAccessDatasetOutputReference = DataGoogleBigqueryDatasetAccessDatasetOutputReference; _e = JSII_RTTI_SYMBOL_1; DataGoogleBigqueryDatasetAccessDatasetOutputReference[_e] = { fqn: "@cdktf/provider-google.dataGoogleBigqueryDataset.DataGoogleBigqueryDatasetAccessDatasetOutputReference", version: "14.35.1" }; class DataGoogleBigqueryDatasetAccessDatasetList 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 DataGoogleBigqueryDatasetAccessDatasetOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleBigqueryDatasetAccessDatasetList = DataGoogleBigqueryDatasetAccessDatasetList; _f = JSII_RTTI_SYMBOL_1; DataGoogleBigqueryDatasetAccessDatasetList[_f] = { fqn: "@cdktf/provider-google.dataGoogleBigqueryDataset.DataGoogleBigqueryDatasetAccessDatasetList", version: "14.35.1" }; function dataGoogleBigqueryDatasetAccessRoutineToTerraform(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 dataGoogleBigqueryDatasetAccessRoutineToHclTerraform(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 DataGoogleBigqueryDatasetAccessRoutineOutputReference 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; } } // dataset_id - computed: true, optional: false, required: false get datasetId() { return this.getStringAttribute('dataset_id'); } // project_id - computed: true, optional: false, required: false get projectId() { return this.getStringAttribute('project_id'); } // routine_id - computed: true, optional: false, required: false get routineId() { return this.getStringAttribute('routine_id'); } } exports.DataGoogleBigqueryDatasetAccessRoutineOutputReference = DataGoogleBigqueryDatasetAccessRoutineOutputReference; _g = JSII_RTTI_SYMBOL_1; DataGoogleBigqueryDatasetAccessRoutineOutputReference[_g] = { fqn: "@cdktf/provider-google.dataGoogleBigqueryDataset.DataGoogleBigqueryDatasetAccessRoutineOutputReference", version: "14.35.1" }; class DataGoogleBigqueryDatasetAccessRoutineList 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 DataGoogleBigqueryDatasetAccessRoutineOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleBigqueryDatasetAccessRoutineList = DataGoogleBigqueryDatasetAccessRoutineList; _h = JSII_RTTI_SYMBOL_1; DataGoogleBigqueryDatasetAccessRoutineList[_h] = { fqn: "@cdktf/provider-google.dataGoogleBigqueryDataset.DataGoogleBigqueryDatasetAccessRoutineList", version: "14.35.1" }; function dataGoogleBigqueryDatasetAccessViewToTerraform(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 dataGoogleBigqueryDatasetAccessViewToHclTerraform(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 DataGoogleBigqueryDatasetAccessViewOutputReference 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; } } // dataset_id - computed: true, optional: false, required: false get datasetId() { return this.getStringAttribute('dataset_id'); } // project_id - computed: true, optional: false, required: false get projectId() { return this.getStringAttribute('project_id'); } // table_id - computed: true, optional: false, required: false get tableId() { return this.getStringAttribute('table_id'); } } exports.DataGoogleBigqueryDatasetAccessViewOutputReference = DataGoogleBigqueryDatasetAccessViewOutputReference; _j = JSII_RTTI_SYMBOL_1; DataGoogleBigqueryDatasetAccessViewOutputReference[_j] = { fqn: "@cdktf/provider-google.dataGoogleBigqueryDataset.DataGoogleBigqueryDatasetAccessViewOutputReference", version: "14.35.1" }; class DataGoogleBigqueryDatasetAccessViewList 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 DataGoogleBigqueryDatasetAccessViewOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleBigqueryDatasetAccessViewList = DataGoogleBigqueryDatasetAccessViewList; _k = JSII_RTTI_SYMBOL_1; DataGoogleBigqueryDatasetAccessViewList[_k] = { fqn: "@cdktf/provider-google.dataGoogleBigqueryDataset.DataGoogleBigqueryDatasetAccessViewList", version: "14.35.1" }; function dataGoogleBigqueryDatasetAccessToTerraform(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 dataGoogleBigqueryDatasetAccessToHclTerraform(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 DataGoogleBigqueryDatasetAccessOutputReference 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; // condition - computed: true, optional: false, required: false this._condition = new DataGoogleBigqueryDatasetAccessConditionList(this, "condition", false); // dataset - computed: true, optional: false, required: false this._dataset = new DataGoogleBigqueryDatasetAccessDatasetList(this, "dataset", false); // routine - computed: true, optional: false, required: false this._routine = new DataGoogleBigqueryDatasetAccessRoutineList(this, "routine", false); // view - computed: true, optional: false, required: false this._view = new DataGoogleBigqueryDatasetAccessViewList(this, "view", 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; } } get condition() { return this._condition; } get dataset() { return this._dataset; } // domain - computed: true, optional: false, required: false get domain() { return this.getStringAttribute('domain'); } // group_by_email - computed: true, optional: false, required: false get groupByEmail() { return this.getStringAttribute('group_by_email'); } // iam_member - computed: true, optional: false, required: false get iamMember() { return this.getStringAttribute('iam_member'); } // role - computed: true, optional: false, required: false get role() { return this.getStringAttribute('role'); } get routine() { return this._routine; } // special_group - computed: true, optional: false, required: false get specialGroup() { return this.getStringAttribute('special_group'); } // user_by_email - computed: true, optional: false, required: false get userByEmail() { return this.getStringAttribute('user_by_email'); } get view() { return this._view; } } exports.DataGoogleBigqueryDatasetAccessOutputReference = DataGoogleBigqueryDatasetAccessOutputReference; _l = JSII_RTTI_SYMBOL_1; DataGoogleBigqueryDatasetAccessOutputReference[_l] = { fqn: "@cdktf/provider-google.dataGoogleBigqueryDataset.DataGoogleBigqueryDatasetAccessOutputReference", version: "14.35.1" }; class DataGoogleBigqueryDatasetAccessList 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 DataGoogleBigqueryDatasetAccessOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleBigqueryDatasetAccessList = DataGoogleBigqueryDatasetAccessList; _m = JSII_RTTI_SYMBOL_1; DataGoogleBigqueryDatasetAccessList[_m] = { fqn: "@cdktf/provider-google.dataGoogleBigqueryDataset.DataGoogleBigqueryDatasetAccessList", version: "14.35.1" }; function dataGoogleBigqueryDatasetDefaultEncryptionConfigurationToTerraform(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 dataGoogleBigqueryDatasetDefaultEncryptionConfigurationToHclTerraform(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 DataGoogleBigqueryDatasetDefaultEncryptionConfigurationOutputReference 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; } } // kms_key_name - computed: true, optional: false, required: false get kmsKeyName() { return this.getStringAttribute('kms_key_name'); } } exports.DataGoogleBigqueryDatasetDefaultEncryptionConfigurationOutputReference = DataGoogleBigqueryDatasetDefaultEncryptionConfigurationOutputReference; _o = JSII_RTTI_SYMBOL_1; DataGoogleBigqueryDatasetDefaultEncryptionConfigurationOutputReference[_o] = { fqn: "@cdktf/provider-google.dataGoogleBigqueryDataset.DataGoogleBigqueryDatasetDefaultEncryptionConfigurationOutputReference", version: "14.35.1" }; class DataGoogleBigqueryDatasetDefaultEncryptionConfigurationList 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 DataGoogleBigqueryDatasetDefaultEncryptionConfigurationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleBigqueryDatasetDefaultEncryptionConfigurationList = DataGoogleBigqueryDatasetDefaultEncryptionConfigurationList; _p = JSII_RTTI_SYMBOL_1; DataGoogleBigqueryDatasetDefaultEncryptionConfigurationList[_p] = { fqn: "@cdktf/provider-google.dataGoogleBigqueryDataset.DataGoogleBigqueryDatasetDefaultEncryptionConfigurationList", version: "14.35.1" }; function dataGoogleBigqueryDatasetExternalCatalogDatasetOptionsToTerraform(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 dataGoogleBigqueryDatasetExternalCatalogDatasetOptionsToHclTerraform(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 DataGoogleBigqueryDatasetExternalCatalogDatasetOptionsOutputReference 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; // parameters - computed: true, optional: false, required: false this._parameters = new cdktf.StringMap(this, "parameters"); } 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; } } // default_storage_location_uri - computed: true, optional: false, required: false get defaultStorageLocationUri() { return this.getStringAttribute('default_storage_location_uri'); } get parameters() { return this._parameters; } } exports.DataGoogleBigqueryDatasetExternalCatalogDatasetOptionsOutputReference = DataGoogleBigqueryDatasetExternalCatalogDatasetOptionsOutputReference; _q = JSII_RTTI_SYMBOL_1; DataGoogleBigqueryDatasetExternalCatalogDatasetOptionsOutputReference[_q] = { fqn: "@cdktf/provider-google.dataGoogleBigqueryDataset.DataGoogleBigqueryDatasetExternalCatalogDatasetOptionsOutputReference", version: "14.35.1" }; class DataGoogleBigqueryDatasetExternalCatalogDatasetOptionsList 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 DataGoogleBigqueryDatasetExternalCatalogDatasetOptionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleBigqueryDatasetExternalCatalogDatasetOptionsList = DataGoogleBigqueryDatasetExternalCatalogDatasetOptionsList; _r = JSII_RTTI_SYMBOL_1; DataGoogleBigqueryDatasetExternalCatalogDatasetOptionsList[_r] = { fqn: "@cdktf/provider-google.dataGoogleBigqueryDataset.DataGoogleBigqueryDatasetExternalCatalogDatasetOptionsList", version: "14.35.1" }; function dataGoogleBigqueryDatasetExternalDatasetReferenceToTerraform(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 dataGoogleBigqueryDatasetExternalDatasetReferenceToHclTerraform(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 DataGoogleBigqueryDatasetExternalDatasetReferenceOutputReference 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; } } // connection - computed: true, optional: false, required: false get connection() { return this.getStringAttribute('connection'); } // external_source - computed: true, optional: false, required: false get externalSource() { return this.getStringAttribute('external_source'); } } exports.DataGoogleBigqueryDatasetExternalDatasetReferenceOutputReference = DataGoogleBigqueryDatasetExternalDatasetReferenceOutputReference; _s = JSII_RTTI_SYMBOL_1; DataGoogleBigqueryDatasetExternalDatasetReferenceOutputReference[_s] = { fqn: "@cdktf/provider-google.dataGoogleBigqueryDataset.DataGoogleBigqueryDatasetExternalDatasetReferenceOutputReference", version: "14.35.1" }; class DataGoogleBigqueryDatasetExternalDatasetReferenceList 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 DataGoogleBigqueryDatasetExternalDatasetReferenceOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleBigqueryDatasetExternalDatasetReferenceList = DataGoogleBigqueryDatasetExternalDatasetReferenceList; _t = JSII_RTTI_SYMBOL_1; DataGoogleBigqueryDatasetExternalDatasetReferenceList[_t] = { fqn: "@cdktf/provider-google.dataGoogleBigqueryDataset.DataGoogleBigqueryDatasetExternalDatasetReferenceList", version: "14.35.1" }; /** * Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/data-sources/bigquery_dataset google_bigquery_dataset} */ class DataGoogleBigqueryDataset extends cdktf.TerraformDataSource { // ============== // STATIC Methods // ============== /** * Generates CDKTF code for importing a DataGoogleBigqueryDataset 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 DataGoogleBigqueryDataset to import * @param importFromId The id of the existing DataGoogleBigqueryDataset that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/data-sources/bigquery_dataset#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataGoogleBigqueryDataset to import is found */ static generateConfigForImport(scope, importToId, importFromId, provider) { return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "google_bigquery_dataset", importId: importFromId, provider }); } // =========== // INITIALIZER // =========== /** * Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/data-sources/bigquery_dataset google_bigquery_dataset} 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 DataGoogleBigqueryDatasetConfig */ constructor(scope, id, config) { super(scope, id, { terraformResourceType: 'google_bigquery_dataset', terraformGeneratorMetadata: { providerName: 'google', providerVersion: '6.36.1', providerVersionConstraint: '~> 6.0' }, provider: config.provider, dependsOn: config.dependsOn, count: config.count, lifecycle: config.lifecycle, provisioners: config.provisioners, connection: config.connection, forEach: config.forEach }); // ========== // ATTRIBUTES // ========== // access - computed: true, optional: false, required: false this._access = new DataGoogleBigqueryDatasetAccessList(this, "access", true); // default_encryption_configuration - computed: true, optional: false, required: false this._defaultEncryptionConfiguration = new DataGoogleBigqueryDatasetDefaultEncryptionConfigurationList(this, "default_encryption_configuration", false); // effective_labels - computed: true, optional: false, required: false this._effectiveLabels = new cdktf.StringMap(this, "effective_labels"); // external_catalog_dataset_options - computed: true, optional: false, required: false this._externalCatalogDatasetOptions = new DataGoogleBigqueryDatasetExternalCatalogDatasetOptionsList(this, "external_catalog_dataset_options", false); // external_dataset_reference - computed: true, optional: false, required: false this._externalDatasetReference = new DataGoogleBigqueryDatasetExternalDatasetReferenceList(this, "external_dataset_reference", false); // labels - computed: true, optional: false, required: false this._labels = new cdktf.StringMap(this, "labels"); // resource_tags - computed: true, optional: false, required: false this._resourceTags = new cdktf.StringMap(this, "resource_tags"); // terraform_labels - computed: true, optional: false, required: false this._terraformLabels = new cdktf.StringMap(this, "terraform_labels"); this._datasetId = config.datasetId; this._id = config.id; this._project = config.project; } get access() { return this._access; } // creation_time - computed: true, optional: false, required: false get creationTime() { return this.getNumberAttribute('creation_time'); } get datasetId() { return this.getStringAttribute('dataset_id'); } set datasetId(value) { this._datasetId = value; } // Temporarily expose input value. Use with caution. get datasetIdInput() { return this._datasetId; } // default_collation - computed: true, optional: false, required: false get defaultCollation() { return this.getStringAttribute('default_collation'); } get defaultEncryptionConfiguration() { return this._defaultEncryptionConfiguration; } // default_partition_expiration_ms - computed: true, optional: false, required: false get defaultPartitionExpirationMs() { return this.getNumberAttribute('default_partition_expiration_ms'); } // default_table_expiration_ms - computed: true, optional: false, required: false get defaultTableExpirationMs() { return this.getNumberAttribute('default_table_expiration_ms'); } // delete_contents_on_destroy - computed: true, optional: false, required: false get deleteContentsOnDestroy() { return this.getBooleanAttribute('delete_contents_on_destroy'); } // description - computed: true, optional: false, required: false get description() { return this.getStringAttribute('description'); } get effectiveLabels() { return this._effectiveLabels; } // etag - computed: true, optional: false, required: false get etag() { return this.getStringAttribute('etag'); } get externalCatalogDatasetOptions() { return this._externalCatalogDatasetOptions; } get externalDatasetReference() { return this._externalDatasetReference; } // friendly_name - computed: true, optional: false, required: false get friendlyName() { return this.getStringAttribute('friendly_name'); } get id() { return this.getStringAttribute('id'); } set id(value) { this._id = value; } resetId() { this._id = undefined; } // Temporarily expose input value. Use with caution. get idInput() { return this._id; } // is_case_insensitive - computed: true, optional: false, required: false get isCaseInsensitive() { return this.getBooleanAttribute('is_case_insensitive'); } get labels() { return this._labels; } // last_modified_time - computed: true, optional: false, required: false get lastModifiedTime() { return this.getNumberAttribute('last_modified_time'); } // location - computed: true, optional: false, required: false get location() { return this.getStringAttribute('location'); } // max_time_travel_hours - computed: true, optional: false, required: false get maxTimeTravelHours() { return this.getStringAttribute('max_time_travel_hours'); } get project() { return this.getStringAttribute('project'); } set project(value) { this._project = value; } resetProject() { this._project = undefined; } // Temporarily expose input value. Use with caution. get projectInput() { return this._project; } get resourceTags() { return this._resourceTags; } // self_link - computed: true, optional: false, required: false get selfLink() { return this.getStringAttribute('self_link'); } // storage_billing_model - computed: true, optional: false, required: false get storageBillingModel() { return this.getStringAttribute('storage_billing_model'); } get terraformLabels() { return this._terraformLabels; } // ========= // SYNTHESIS // ========= synthesizeAttributes() { return { dataset_id: cdktf.stringToTerraform(this._datasetId), id: cdktf.stringToTerraform(this._id), project: cdktf.stringToTerraform(this._project), }; } synthesizeHclAttributes() { const attrs = { dataset_id: { value: cdktf.stringToHclTerraform(this._datasetId), isBlock: false, type: "simple", storageClassType: "string", }, id: { value: cdktf.stringToHclTerraform(this._id), isBlock: false, type: "simple", storageClassType: "string", }, project: { value: cdktf.stringToHclTerraform(this._project), isBlock: false, type: "simple", storageClassType: "string", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } } exports.DataGoogleBigqueryDataset = DataGoogleBigqueryDataset; _u = JSII_RTTI_SYMBOL_1; DataGoogleBigqueryDataset[_u] = { fqn: "@cdktf/provider-google.dataGoogleBigqueryDataset.DataGoogleBigqueryDataset", version: "14.35.1" }; // ================= // STATIC PROPERTIES // ================= DataGoogleBigqueryDataset.tfResourceType = "google_bigquery_dataset"; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvZGF0YS1nb29nbGUtYmlncXVlcnktZGF0YXNldC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBcUNBLGtIQU9DO0FBR0Qsd0hBUUM7QUF3RUQsNEhBT0M7QUFHRCxrSUFRQztBQThERCw4R0FPQztBQUdELG9IQVFDO0FBK0RELDhHQU9DO0FBR0Qsb0hBUUM7QUFtRUQsd0dBT0M7QUFHRCw4R0FRQztBQW1FRCxnR0FPQztBQUdELHNHQVFDO0FBMEdELGdKQU9DO0FBR0Qsc0pBUUM7QUF5REQsOElBT0M7QUFHRCxvSkFRQztBQStERCxvSUFPQztBQUdELDBJQVFDOztBQTN1QkQsK0JBQStCO0FBNEIvQixTQUFnQixtREFBbUQsQ0FBQyxNQUFpRDtJQUNuSCxJQUFJLENBQUMsS0FBSyxDQUFDLFVBQVUsQ0FBQyxNQUFNLENBQUMsSUFBSSxLQUFLLENBQUMsWUFBWSxDQUFDLFlBQVksQ0FBQyxNQUFNLENBQUMsRUFBRSxDQUFDO1FBQUMsT0FBTyxNQUFNLENBQUM7SUFBQyxDQUFDO0lBQzVGLElBQUksS0FBSyxDQUFDLGdCQUFnQixDQUFDLE1BQU0sQ0FBQyxFQUFFLENBQUM7UUFDbkMsTUFBTSxJQUFJLEtBQUssQ0FBQyxvSEFBb0gsQ0FBQyxDQUFDO0lBQ3hJLENBQUM7SUFDRCxPQUFPLEVBQ04sQ0FBQTtBQUNILENBQUM7QUFHRCxTQUFnQixzREFBc0QsQ0FBQyxNQUFpRDtJQUN0SCxJQUFJLENBQUMsS0FBSyxDQUFDLFVBQVUsQ0FBQyxNQUFNLENBQUMs