UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

867 lines 192 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, _x, _y, _z, _0; Object.defineProperty(exports, "__esModule", { value: true }); exports.DataGoogleCloudfunctions2Function = exports.DataGoogleCloudfunctions2FunctionServiceConfigList = exports.DataGoogleCloudfunctions2FunctionServiceConfigOutputReference = exports.dataGoogleCloudfunctions2FunctionServiceConfigToHclTerraform = exports.dataGoogleCloudfunctions2FunctionServiceConfigToTerraform = exports.DataGoogleCloudfunctions2FunctionServiceConfigSecretVolumesList = exports.DataGoogleCloudfunctions2FunctionServiceConfigSecretVolumesOutputReference = exports.dataGoogleCloudfunctions2FunctionServiceConfigSecretVolumesToHclTerraform = exports.dataGoogleCloudfunctions2FunctionServiceConfigSecretVolumesToTerraform = exports.DataGoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsList = exports.DataGoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference = exports.dataGoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsToHclTerraform = exports.dataGoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsToTerraform = exports.DataGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList = exports.DataGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference = exports.dataGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesToHclTerraform = exports.dataGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesToTerraform = exports.DataGoogleCloudfunctions2FunctionEventTriggerList = exports.DataGoogleCloudfunctions2FunctionEventTriggerOutputReference = exports.dataGoogleCloudfunctions2FunctionEventTriggerToHclTerraform = exports.dataGoogleCloudfunctions2FunctionEventTriggerToTerraform = exports.DataGoogleCloudfunctions2FunctionEventTriggerEventFiltersList = exports.DataGoogleCloudfunctions2FunctionEventTriggerEventFiltersOutputReference = exports.dataGoogleCloudfunctions2FunctionEventTriggerEventFiltersToHclTerraform = exports.dataGoogleCloudfunctions2FunctionEventTriggerEventFiltersToTerraform = exports.DataGoogleCloudfunctions2FunctionBuildConfigList = exports.DataGoogleCloudfunctions2FunctionBuildConfigOutputReference = exports.dataGoogleCloudfunctions2FunctionBuildConfigToHclTerraform = exports.dataGoogleCloudfunctions2FunctionBuildConfigToTerraform = exports.DataGoogleCloudfunctions2FunctionBuildConfigSourceList = exports.DataGoogleCloudfunctions2FunctionBuildConfigSourceOutputReference = exports.dataGoogleCloudfunctions2FunctionBuildConfigSourceToHclTerraform = exports.dataGoogleCloudfunctions2FunctionBuildConfigSourceToTerraform = exports.DataGoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceList = exports.DataGoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference = exports.dataGoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceToHclTerraform = exports.dataGoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceToTerraform = exports.DataGoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceList = exports.DataGoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference = exports.dataGoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceToHclTerraform = exports.dataGoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceToTerraform = exports.DataGoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyList = exports.DataGoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference = exports.dataGoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyToHclTerraform = exports.dataGoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyToTerraform = exports.DataGoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyList = exports.DataGoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference = exports.dataGoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyToHclTerraform = exports.dataGoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyToTerraform = void 0; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataGoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyToTerraform(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 {}; } exports.dataGoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyToTerraform = dataGoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyToTerraform; function dataGoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyToHclTerraform(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; } exports.dataGoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyToHclTerraform = dataGoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyToHclTerraform; class DataGoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference 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.DataGoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference = DataGoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference; _a = JSII_RTTI_SYMBOL_1; DataGoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference[_a] = { fqn: "@cdktf/provider-google.dataGoogleCloudfunctions2Function.DataGoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference", version: "14.12.0" }; class DataGoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyList 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 DataGoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyList = DataGoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyList; _b = JSII_RTTI_SYMBOL_1; DataGoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyList[_b] = { fqn: "@cdktf/provider-google.dataGoogleCloudfunctions2Function.DataGoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyList", version: "14.12.0" }; function dataGoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyToTerraform(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 {}; } exports.dataGoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyToTerraform = dataGoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyToTerraform; function dataGoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyToHclTerraform(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; } exports.dataGoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyToHclTerraform = dataGoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyToHclTerraform; class DataGoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference 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; } } // runtime_version - computed: true, optional: false, required: false get runtimeVersion() { return this.getStringAttribute('runtime_version'); } } exports.DataGoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference = DataGoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference; _c = JSII_RTTI_SYMBOL_1; DataGoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference[_c] = { fqn: "@cdktf/provider-google.dataGoogleCloudfunctions2Function.DataGoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference", version: "14.12.0" }; class DataGoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyList 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 DataGoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyList = DataGoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyList; _d = JSII_RTTI_SYMBOL_1; DataGoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyList[_d] = { fqn: "@cdktf/provider-google.dataGoogleCloudfunctions2Function.DataGoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyList", version: "14.12.0" }; function dataGoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceToTerraform(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 {}; } exports.dataGoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceToTerraform = dataGoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceToTerraform; function dataGoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceToHclTerraform(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; } exports.dataGoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceToHclTerraform = dataGoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceToHclTerraform; class DataGoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference 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; } } // branch_name - computed: true, optional: false, required: false get branchName() { return this.getStringAttribute('branch_name'); } // commit_sha - computed: true, optional: false, required: false get commitSha() { return this.getStringAttribute('commit_sha'); } // dir - computed: true, optional: false, required: false get dir() { return this.getStringAttribute('dir'); } // invert_regex - computed: true, optional: false, required: false get invertRegex() { return this.getBooleanAttribute('invert_regex'); } // project_id - computed: true, optional: false, required: false get projectId() { return this.getStringAttribute('project_id'); } // repo_name - computed: true, optional: false, required: false get repoName() { return this.getStringAttribute('repo_name'); } // tag_name - computed: true, optional: false, required: false get tagName() { return this.getStringAttribute('tag_name'); } } exports.DataGoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference = DataGoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference; _e = JSII_RTTI_SYMBOL_1; DataGoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference[_e] = { fqn: "@cdktf/provider-google.dataGoogleCloudfunctions2Function.DataGoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference", version: "14.12.0" }; class DataGoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceList 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 DataGoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceList = DataGoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceList; _f = JSII_RTTI_SYMBOL_1; DataGoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceList[_f] = { fqn: "@cdktf/provider-google.dataGoogleCloudfunctions2Function.DataGoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceList", version: "14.12.0" }; function dataGoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceToTerraform(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 {}; } exports.dataGoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceToTerraform = dataGoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceToTerraform; function dataGoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceToHclTerraform(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; } exports.dataGoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceToHclTerraform = dataGoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceToHclTerraform; class DataGoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference 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; } } // bucket - computed: true, optional: false, required: false get bucket() { return this.getStringAttribute('bucket'); } // generation - computed: true, optional: false, required: false get generation() { return this.getNumberAttribute('generation'); } // object - computed: true, optional: false, required: false get object() { return this.getStringAttribute('object'); } } exports.DataGoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference = DataGoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference; _g = JSII_RTTI_SYMBOL_1; DataGoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference[_g] = { fqn: "@cdktf/provider-google.dataGoogleCloudfunctions2Function.DataGoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference", version: "14.12.0" }; class DataGoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceList 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 DataGoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceList = DataGoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceList; _h = JSII_RTTI_SYMBOL_1; DataGoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceList[_h] = { fqn: "@cdktf/provider-google.dataGoogleCloudfunctions2Function.DataGoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceList", version: "14.12.0" }; function dataGoogleCloudfunctions2FunctionBuildConfigSourceToTerraform(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 {}; } exports.dataGoogleCloudfunctions2FunctionBuildConfigSourceToTerraform = dataGoogleCloudfunctions2FunctionBuildConfigSourceToTerraform; function dataGoogleCloudfunctions2FunctionBuildConfigSourceToHclTerraform(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; } exports.dataGoogleCloudfunctions2FunctionBuildConfigSourceToHclTerraform = dataGoogleCloudfunctions2FunctionBuildConfigSourceToHclTerraform; class DataGoogleCloudfunctions2FunctionBuildConfigSourceOutputReference 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; // repo_source - computed: true, optional: false, required: false this._repoSource = new DataGoogleCloudfunctions2FunctionBuildConfigSourceRepoSourceList(this, "repo_source", false); // storage_source - computed: true, optional: false, required: false this._storageSource = new DataGoogleCloudfunctions2FunctionBuildConfigSourceStorageSourceList(this, "storage_source", 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 repoSource() { return this._repoSource; } get storageSource() { return this._storageSource; } } exports.DataGoogleCloudfunctions2FunctionBuildConfigSourceOutputReference = DataGoogleCloudfunctions2FunctionBuildConfigSourceOutputReference; _j = JSII_RTTI_SYMBOL_1; DataGoogleCloudfunctions2FunctionBuildConfigSourceOutputReference[_j] = { fqn: "@cdktf/provider-google.dataGoogleCloudfunctions2Function.DataGoogleCloudfunctions2FunctionBuildConfigSourceOutputReference", version: "14.12.0" }; class DataGoogleCloudfunctions2FunctionBuildConfigSourceList 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 DataGoogleCloudfunctions2FunctionBuildConfigSourceOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleCloudfunctions2FunctionBuildConfigSourceList = DataGoogleCloudfunctions2FunctionBuildConfigSourceList; _k = JSII_RTTI_SYMBOL_1; DataGoogleCloudfunctions2FunctionBuildConfigSourceList[_k] = { fqn: "@cdktf/provider-google.dataGoogleCloudfunctions2Function.DataGoogleCloudfunctions2FunctionBuildConfigSourceList", version: "14.12.0" }; function dataGoogleCloudfunctions2FunctionBuildConfigToTerraform(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 {}; } exports.dataGoogleCloudfunctions2FunctionBuildConfigToTerraform = dataGoogleCloudfunctions2FunctionBuildConfigToTerraform; function dataGoogleCloudfunctions2FunctionBuildConfigToHclTerraform(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; } exports.dataGoogleCloudfunctions2FunctionBuildConfigToHclTerraform = dataGoogleCloudfunctions2FunctionBuildConfigToHclTerraform; class DataGoogleCloudfunctions2FunctionBuildConfigOutputReference 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; // automatic_update_policy - computed: true, optional: false, required: false this._automaticUpdatePolicy = new DataGoogleCloudfunctions2FunctionBuildConfigAutomaticUpdatePolicyList(this, "automatic_update_policy", false); // environment_variables - computed: true, optional: false, required: false this._environmentVariables = new cdktf.StringMap(this, "environment_variables"); // on_deploy_update_policy - computed: true, optional: false, required: false this._onDeployUpdatePolicy = new DataGoogleCloudfunctions2FunctionBuildConfigOnDeployUpdatePolicyList(this, "on_deploy_update_policy", false); // source - computed: true, optional: false, required: false this._source = new DataGoogleCloudfunctions2FunctionBuildConfigSourceList(this, "source", 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 automaticUpdatePolicy() { return this._automaticUpdatePolicy; } // build - computed: true, optional: false, required: false get buildAttribute() { return this.getStringAttribute('build'); } // docker_repository - computed: true, optional: false, required: false get dockerRepository() { return this.getStringAttribute('docker_repository'); } // entry_point - computed: true, optional: false, required: false get entryPoint() { return this.getStringAttribute('entry_point'); } get environmentVariables() { return this._environmentVariables; } get onDeployUpdatePolicy() { return this._onDeployUpdatePolicy; } // runtime - computed: true, optional: false, required: false get runtime() { return this.getStringAttribute('runtime'); } // service_account - computed: true, optional: false, required: false get serviceAccount() { return this.getStringAttribute('service_account'); } get source() { return this._source; } // worker_pool - computed: true, optional: false, required: false get workerPool() { return this.getStringAttribute('worker_pool'); } } exports.DataGoogleCloudfunctions2FunctionBuildConfigOutputReference = DataGoogleCloudfunctions2FunctionBuildConfigOutputReference; _l = JSII_RTTI_SYMBOL_1; DataGoogleCloudfunctions2FunctionBuildConfigOutputReference[_l] = { fqn: "@cdktf/provider-google.dataGoogleCloudfunctions2Function.DataGoogleCloudfunctions2FunctionBuildConfigOutputReference", version: "14.12.0" }; class DataGoogleCloudfunctions2FunctionBuildConfigList 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 DataGoogleCloudfunctions2FunctionBuildConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleCloudfunctions2FunctionBuildConfigList = DataGoogleCloudfunctions2FunctionBuildConfigList; _m = JSII_RTTI_SYMBOL_1; DataGoogleCloudfunctions2FunctionBuildConfigList[_m] = { fqn: "@cdktf/provider-google.dataGoogleCloudfunctions2Function.DataGoogleCloudfunctions2FunctionBuildConfigList", version: "14.12.0" }; function dataGoogleCloudfunctions2FunctionEventTriggerEventFiltersToTerraform(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 {}; } exports.dataGoogleCloudfunctions2FunctionEventTriggerEventFiltersToTerraform = dataGoogleCloudfunctions2FunctionEventTriggerEventFiltersToTerraform; function dataGoogleCloudfunctions2FunctionEventTriggerEventFiltersToHclTerraform(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; } exports.dataGoogleCloudfunctions2FunctionEventTriggerEventFiltersToHclTerraform = dataGoogleCloudfunctions2FunctionEventTriggerEventFiltersToHclTerraform; class DataGoogleCloudfunctions2FunctionEventTriggerEventFiltersOutputReference 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; } } // attribute - computed: true, optional: false, required: false get attribute() { return this.getStringAttribute('attribute'); } // operator - computed: true, optional: false, required: false get operator() { return this.getStringAttribute('operator'); } // value - computed: true, optional: false, required: false get value() { return this.getStringAttribute('value'); } } exports.DataGoogleCloudfunctions2FunctionEventTriggerEventFiltersOutputReference = DataGoogleCloudfunctions2FunctionEventTriggerEventFiltersOutputReference; _o = JSII_RTTI_SYMBOL_1; DataGoogleCloudfunctions2FunctionEventTriggerEventFiltersOutputReference[_o] = { fqn: "@cdktf/provider-google.dataGoogleCloudfunctions2Function.DataGoogleCloudfunctions2FunctionEventTriggerEventFiltersOutputReference", version: "14.12.0" }; class DataGoogleCloudfunctions2FunctionEventTriggerEventFiltersList 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 DataGoogleCloudfunctions2FunctionEventTriggerEventFiltersOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleCloudfunctions2FunctionEventTriggerEventFiltersList = DataGoogleCloudfunctions2FunctionEventTriggerEventFiltersList; _p = JSII_RTTI_SYMBOL_1; DataGoogleCloudfunctions2FunctionEventTriggerEventFiltersList[_p] = { fqn: "@cdktf/provider-google.dataGoogleCloudfunctions2Function.DataGoogleCloudfunctions2FunctionEventTriggerEventFiltersList", version: "14.12.0" }; function dataGoogleCloudfunctions2FunctionEventTriggerToTerraform(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 {}; } exports.dataGoogleCloudfunctions2FunctionEventTriggerToTerraform = dataGoogleCloudfunctions2FunctionEventTriggerToTerraform; function dataGoogleCloudfunctions2FunctionEventTriggerToHclTerraform(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; } exports.dataGoogleCloudfunctions2FunctionEventTriggerToHclTerraform = dataGoogleCloudfunctions2FunctionEventTriggerToHclTerraform; class DataGoogleCloudfunctions2FunctionEventTriggerOutputReference 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; // event_filters - computed: true, optional: false, required: false this._eventFilters = new DataGoogleCloudfunctions2FunctionEventTriggerEventFiltersList(this, "event_filters", true); } 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 eventFilters() { return this._eventFilters; } // event_type - computed: true, optional: false, required: false get eventType() { return this.getStringAttribute('event_type'); } // pubsub_topic - computed: true, optional: false, required: false get pubsubTopic() { return this.getStringAttribute('pubsub_topic'); } // retry_policy - computed: true, optional: false, required: false get retryPolicy() { return this.getStringAttribute('retry_policy'); } // service_account_email - computed: true, optional: false, required: false get serviceAccountEmail() { return this.getStringAttribute('service_account_email'); } // trigger - computed: true, optional: false, required: false get trigger() { return this.getStringAttribute('trigger'); } // trigger_region - computed: true, optional: false, required: false get triggerRegion() { return this.getStringAttribute('trigger_region'); } } exports.DataGoogleCloudfunctions2FunctionEventTriggerOutputReference = DataGoogleCloudfunctions2FunctionEventTriggerOutputReference; _q = JSII_RTTI_SYMBOL_1; DataGoogleCloudfunctions2FunctionEventTriggerOutputReference[_q] = { fqn: "@cdktf/provider-google.dataGoogleCloudfunctions2Function.DataGoogleCloudfunctions2FunctionEventTriggerOutputReference", version: "14.12.0" }; class DataGoogleCloudfunctions2FunctionEventTriggerList 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 DataGoogleCloudfunctions2FunctionEventTriggerOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleCloudfunctions2FunctionEventTriggerList = DataGoogleCloudfunctions2FunctionEventTriggerList; _r = JSII_RTTI_SYMBOL_1; DataGoogleCloudfunctions2FunctionEventTriggerList[_r] = { fqn: "@cdktf/provider-google.dataGoogleCloudfunctions2Function.DataGoogleCloudfunctions2FunctionEventTriggerList", version: "14.12.0" }; function dataGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesToTerraform(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 {}; } exports.dataGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesToTerraform = dataGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesToTerraform; function dataGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesToHclTerraform(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; } exports.dataGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesToHclTerraform = dataGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesToHclTerraform; class DataGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference 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; } } // key - computed: true, optional: false, required: false get key() { return this.getStringAttribute('key'); } // project_id - computed: true, optional: false, required: false get projectId() { return this.getStringAttribute('project_id'); } // secret - computed: true, optional: false, required: false get secret() { return this.getStringAttribute('secret'); } // version - computed: true, optional: false, required: false get version() { return this.getStringAttribute('version'); } } exports.DataGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference = DataGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference; _s = JSII_RTTI_SYMBOL_1; DataGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference[_s] = { fqn: "@cdktf/provider-google.dataGoogleCloudfunctions2Function.DataGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference", version: "14.12.0" }; class DataGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList 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 DataGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList = DataGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList; _t = JSII_RTTI_SYMBOL_1; DataGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList[_t] = { fqn: "@cdktf/provider-google.dataGoogleCloudfunctions2Function.DataGoogleCloudfunctions2FunctionServiceConfigSecretEnvironmentVariablesList", version: "14.12.0" }; function dataGoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsToTerraform(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 {}; } exports.dataGoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsToTerraform = dataGoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsToTerraform; function dataGoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsToHclTerraform(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; } exports.dataGoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsToHclTerraform = dataGoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsToHclTerraform; class DataGoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference 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; } } // path - computed: true, optional: false, required: false get path() { return this.getStringAttribute('path'); } // version - computed: true, optional: false, required: false get version() { return this.getStringAttribute('version'); } } exports.DataGoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference = DataGoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference; _u = JSII_RTTI_SYMBOL_1; DataGoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference[_u] = { fqn: "@cdktf/provider-google.dataGoogleCloudfunctions2Function.DataGoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsOutputReference", version: "14.12.0" }; class DataGoogleCloudfunctions2FunctionServiceConfigSecretVolumesVersionsList 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.ter