pulumi-gcp 8.40.0a1754636117__py3-none-any.whl → 8.40.0a1754951145__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. pulumi_gcp/__init__.py +128 -0
  2. pulumi_gcp/accesscontextmanager/_inputs.py +24 -4
  3. pulumi_gcp/accesscontextmanager/outputs.py +15 -3
  4. pulumi_gcp/apigee/__init__.py +2 -0
  5. pulumi_gcp/apigee/_inputs.py +1435 -0
  6. pulumi_gcp/apigee/api_product.py +1698 -0
  7. pulumi_gcp/apigee/outputs.py +1081 -0
  8. pulumi_gcp/apigee/security_action.py +1010 -0
  9. pulumi_gcp/artifactregistry/__init__.py +1 -0
  10. pulumi_gcp/artifactregistry/get_docker_images.py +164 -0
  11. pulumi_gcp/artifactregistry/outputs.py +109 -2
  12. pulumi_gcp/artifactregistry/repository.py +6 -6
  13. pulumi_gcp/backupdisasterrecovery/backup_vault.py +56 -0
  14. pulumi_gcp/backupdisasterrecovery/get_backup_vault.py +12 -1
  15. pulumi_gcp/bigquery/_inputs.py +6 -0
  16. pulumi_gcp/bigquery/get_table.py +23 -1
  17. pulumi_gcp/bigquery/outputs.py +4 -0
  18. pulumi_gcp/bigquery/table.py +62 -0
  19. pulumi_gcp/bigqueryanalyticshub/_inputs.py +180 -0
  20. pulumi_gcp/bigqueryanalyticshub/data_exchange.py +80 -0
  21. pulumi_gcp/bigqueryanalyticshub/listing.py +322 -2
  22. pulumi_gcp/bigqueryanalyticshub/listing_subscription.py +32 -0
  23. pulumi_gcp/bigqueryanalyticshub/outputs.py +159 -0
  24. pulumi_gcp/bigtable/__init__.py +1 -0
  25. pulumi_gcp/bigtable/_inputs.py +33 -0
  26. pulumi_gcp/bigtable/outputs.py +36 -0
  27. pulumi_gcp/bigtable/schema_bundle.py +568 -0
  28. pulumi_gcp/cloudfunctions/_inputs.py +48 -0
  29. pulumi_gcp/cloudfunctions/function.py +94 -0
  30. pulumi_gcp/cloudfunctions/get_function.py +23 -1
  31. pulumi_gcp/cloudfunctions/outputs.py +70 -0
  32. pulumi_gcp/cloudrunv2/_inputs.py +20 -0
  33. pulumi_gcp/cloudrunv2/job.py +2 -0
  34. pulumi_gcp/cloudrunv2/outputs.py +25 -0
  35. pulumi_gcp/cloudrunv2/worker_pool.py +2 -0
  36. pulumi_gcp/compute/__init__.py +1 -0
  37. pulumi_gcp/compute/_inputs.py +713 -22
  38. pulumi_gcp/compute/firewall_policy_with_rules.py +66 -0
  39. pulumi_gcp/compute/forwarding_rule.py +0 -21
  40. pulumi_gcp/compute/get_router.py +12 -1
  41. pulumi_gcp/compute/outputs.py +562 -22
  42. pulumi_gcp/compute/preview_feature.py +396 -0
  43. pulumi_gcp/compute/region_url_map.py +392 -0
  44. pulumi_gcp/compute/reservation.py +4 -4
  45. pulumi_gcp/compute/router.py +54 -0
  46. pulumi_gcp/compute/storage_pool.py +154 -0
  47. pulumi_gcp/compute/subnetwork.py +54 -0
  48. pulumi_gcp/config/__init__.pyi +2 -0
  49. pulumi_gcp/config/vars.py +4 -0
  50. pulumi_gcp/container/_inputs.py +278 -8
  51. pulumi_gcp/container/cluster.py +61 -21
  52. pulumi_gcp/container/get_cluster.py +12 -1
  53. pulumi_gcp/container/outputs.py +352 -8
  54. pulumi_gcp/dataproc/_inputs.py +249 -14
  55. pulumi_gcp/dataproc/batch.py +6 -0
  56. pulumi_gcp/dataproc/cluster.py +2 -0
  57. pulumi_gcp/dataproc/outputs.py +215 -12
  58. pulumi_gcp/dataproc/session_template.py +14 -2
  59. pulumi_gcp/developerconnect/__init__.py +1 -0
  60. pulumi_gcp/developerconnect/_inputs.py +583 -0
  61. pulumi_gcp/developerconnect/insights_config.py +895 -0
  62. pulumi_gcp/developerconnect/outputs.py +442 -0
  63. pulumi_gcp/diagflow/__init__.py +1 -0
  64. pulumi_gcp/diagflow/_inputs.py +1165 -58
  65. pulumi_gcp/diagflow/cx_generator.py +636 -0
  66. pulumi_gcp/diagflow/cx_tool.py +2 -2
  67. pulumi_gcp/diagflow/cx_webhook.py +380 -36
  68. pulumi_gcp/diagflow/outputs.py +848 -25
  69. pulumi_gcp/discoveryengine/__init__.py +2 -0
  70. pulumi_gcp/discoveryengine/_inputs.py +465 -0
  71. pulumi_gcp/discoveryengine/cmek_config.py +707 -0
  72. pulumi_gcp/discoveryengine/outputs.py +412 -0
  73. pulumi_gcp/discoveryengine/recommendation_engine.py +813 -0
  74. pulumi_gcp/firestore/field.py +6 -6
  75. pulumi_gcp/gemini/gemini_gcp_enablement_setting.py +107 -9
  76. pulumi_gcp/gemini/gemini_gcp_enablement_setting_binding.py +2 -2
  77. pulumi_gcp/gkehub/membership_binding.py +6 -6
  78. pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
  79. pulumi_gcp/gkehub/namespace.py +4 -4
  80. pulumi_gcp/gkehub/scope_rbac_role_binding.py +8 -8
  81. pulumi_gcp/iam/__init__.py +4 -0
  82. pulumi_gcp/iam/_inputs.py +98 -0
  83. pulumi_gcp/iam/get_workforce_pool_iam_policy.py +161 -0
  84. pulumi_gcp/iam/outputs.py +56 -0
  85. pulumi_gcp/iam/workforce_pool_iam_binding.py +761 -0
  86. pulumi_gcp/iam/workforce_pool_iam_member.py +761 -0
  87. pulumi_gcp/iam/workforce_pool_iam_policy.py +600 -0
  88. pulumi_gcp/iap/tunnel_dest_group.py +2 -2
  89. pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
  90. pulumi_gcp/looker/instance.py +28 -7
  91. pulumi_gcp/managedkafka/_inputs.py +127 -0
  92. pulumi_gcp/managedkafka/cluster.py +131 -1
  93. pulumi_gcp/managedkafka/connect_cluster.py +4 -4
  94. pulumi_gcp/managedkafka/connector.py +4 -4
  95. pulumi_gcp/managedkafka/outputs.py +128 -0
  96. pulumi_gcp/memorystore/instance.py +8 -12
  97. pulumi_gcp/modelarmor/__init__.py +1 -0
  98. pulumi_gcp/modelarmor/_inputs.py +683 -0
  99. pulumi_gcp/modelarmor/floorsetting.py +736 -0
  100. pulumi_gcp/modelarmor/outputs.py +618 -0
  101. pulumi_gcp/networkconnectivity/_inputs.py +60 -0
  102. pulumi_gcp/networkconnectivity/internal_range.py +136 -0
  103. pulumi_gcp/networkconnectivity/outputs.py +55 -0
  104. pulumi_gcp/networkconnectivity/spoke.py +14 -14
  105. pulumi_gcp/oracledatabase/__init__.py +2 -0
  106. pulumi_gcp/oracledatabase/autonomous_database.py +262 -38
  107. pulumi_gcp/oracledatabase/cloud_vm_cluster.py +314 -50
  108. pulumi_gcp/oracledatabase/get_autonomous_database.py +23 -1
  109. pulumi_gcp/oracledatabase/get_cloud_vm_cluster.py +34 -1
  110. pulumi_gcp/oracledatabase/odb_network.py +721 -0
  111. pulumi_gcp/oracledatabase/odb_subnet.py +803 -0
  112. pulumi_gcp/oracledatabase/outputs.py +83 -0
  113. pulumi_gcp/orgpolicy/policy.py +2 -2
  114. pulumi_gcp/parametermanager/parameter_version.py +62 -0
  115. pulumi_gcp/parametermanager/regional_parameter_version.py +64 -0
  116. pulumi_gcp/provider.py +20 -0
  117. pulumi_gcp/pubsub/subscription.py +46 -6
  118. pulumi_gcp/pubsub/topic.py +36 -0
  119. pulumi_gcp/pulumi-plugin.json +1 -1
  120. pulumi_gcp/redis/cluster.py +70 -0
  121. pulumi_gcp/redis/get_cluster.py +12 -1
  122. pulumi_gcp/redis/instance.py +8 -12
  123. pulumi_gcp/secretmanager/get_regional_secret.py +12 -1
  124. pulumi_gcp/secretmanager/get_secret.py +12 -1
  125. pulumi_gcp/secretmanager/outputs.py +30 -0
  126. pulumi_gcp/secretmanager/regional_secret.py +61 -0
  127. pulumi_gcp/secretmanager/secret.py +61 -0
  128. pulumi_gcp/securesourcemanager/branch_rule.py +16 -8
  129. pulumi_gcp/securesourcemanager/instance.py +112 -4
  130. pulumi_gcp/securesourcemanager/repository.py +112 -8
  131. pulumi_gcp/serviceaccount/get_account_key.py +1 -0
  132. pulumi_gcp/sql/_inputs.py +6 -6
  133. pulumi_gcp/sql/database.py +0 -12
  134. pulumi_gcp/sql/outputs.py +4 -4
  135. pulumi_gcp/storage/__init__.py +2 -0
  136. pulumi_gcp/storage/_inputs.py +451 -0
  137. pulumi_gcp/storage/bucket.py +7 -7
  138. pulumi_gcp/storage/bucket_object.py +34 -0
  139. pulumi_gcp/storage/get_bucket_object.py +12 -1
  140. pulumi_gcp/storage/get_bucket_object_content.py +12 -1
  141. pulumi_gcp/storage/get_insights_dataset_config.py +363 -0
  142. pulumi_gcp/storage/insights_dataset_config.py +1280 -0
  143. pulumi_gcp/storage/outputs.py +619 -0
  144. pulumi_gcp/vertex/__init__.py +1 -0
  145. pulumi_gcp/vertex/_inputs.py +3646 -3
  146. pulumi_gcp/vertex/ai_endpoint.py +4 -4
  147. pulumi_gcp/vertex/ai_endpoint_with_model_garden_deployment.py +940 -0
  148. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
  149. pulumi_gcp/vertex/outputs.py +2609 -2
  150. pulumi_gcp/vmwareengine/network_peering.py +7 -7
  151. pulumi_gcp/workbench/_inputs.py +118 -0
  152. pulumi_gcp/workbench/instance.py +171 -2
  153. pulumi_gcp/workbench/outputs.py +91 -0
  154. {pulumi_gcp-8.40.0a1754636117.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/METADATA +1 -1
  155. {pulumi_gcp-8.40.0a1754636117.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/RECORD +157 -138
  156. {pulumi_gcp-8.40.0a1754636117.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/WHEEL +0 -0
  157. {pulumi_gcp-8.40.0a1754636117.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1280 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
18
+
19
+ __all__ = ['InsightsDatasetConfigArgs', 'InsightsDatasetConfig']
20
+
21
+ @pulumi.input_type
22
+ class InsightsDatasetConfigArgs:
23
+ def __init__(__self__, *,
24
+ dataset_config_id: pulumi.Input[_builtins.str],
25
+ identity: pulumi.Input['InsightsDatasetConfigIdentityArgs'],
26
+ location: pulumi.Input[_builtins.str],
27
+ retention_period_days: pulumi.Input[_builtins.int],
28
+ description: Optional[pulumi.Input[_builtins.str]] = None,
29
+ exclude_cloud_storage_buckets: Optional[pulumi.Input['InsightsDatasetConfigExcludeCloudStorageBucketsArgs']] = None,
30
+ exclude_cloud_storage_locations: Optional[pulumi.Input['InsightsDatasetConfigExcludeCloudStorageLocationsArgs']] = None,
31
+ include_cloud_storage_buckets: Optional[pulumi.Input['InsightsDatasetConfigIncludeCloudStorageBucketsArgs']] = None,
32
+ include_cloud_storage_locations: Optional[pulumi.Input['InsightsDatasetConfigIncludeCloudStorageLocationsArgs']] = None,
33
+ include_newly_created_buckets: Optional[pulumi.Input[_builtins.bool]] = None,
34
+ link_dataset: Optional[pulumi.Input[_builtins.bool]] = None,
35
+ organization_number: Optional[pulumi.Input[_builtins.str]] = None,
36
+ organization_scope: Optional[pulumi.Input[_builtins.bool]] = None,
37
+ project: Optional[pulumi.Input[_builtins.str]] = None,
38
+ source_folders: Optional[pulumi.Input['InsightsDatasetConfigSourceFoldersArgs']] = None,
39
+ source_projects: Optional[pulumi.Input['InsightsDatasetConfigSourceProjectsArgs']] = None):
40
+ """
41
+ The set of arguments for constructing a InsightsDatasetConfig resource.
42
+ :param pulumi.Input[_builtins.str] dataset_config_id: The user-defined ID of the DatasetConfig
43
+ :param pulumi.Input['InsightsDatasetConfigIdentityArgs'] identity: Identity used by DatasetConfig.
44
+ Structure is documented below.
45
+ :param pulumi.Input[_builtins.str] location: The location of the DatasetConfig.
46
+ :param pulumi.Input[_builtins.int] retention_period_days: Number of days of history that must be retained.
47
+ :param pulumi.Input[_builtins.str] description: An optional user-provided description for the dataset configuration with a maximum length of 256 characters.
48
+ :param pulumi.Input['InsightsDatasetConfigExcludeCloudStorageBucketsArgs'] exclude_cloud_storage_buckets: Defined the options for excluding cloud storage buckets for the DatasetConfig.
49
+ Structure is documented below.
50
+ :param pulumi.Input['InsightsDatasetConfigExcludeCloudStorageLocationsArgs'] exclude_cloud_storage_locations: Defines the options for excluding cloud storage locations for the DatasetConfig.
51
+ Structure is documented below.
52
+ :param pulumi.Input['InsightsDatasetConfigIncludeCloudStorageBucketsArgs'] include_cloud_storage_buckets: Defines the options for including cloud storage buckets for the DatasetConfig.
53
+ Structure is documented below.
54
+ :param pulumi.Input['InsightsDatasetConfigIncludeCloudStorageLocationsArgs'] include_cloud_storage_locations: Defines the options for including cloud storage locations for the DatasetConfig.
55
+ Structure is documented below.
56
+ :param pulumi.Input[_builtins.bool] include_newly_created_buckets: If set to true, the request includes all the newly created buckets in the dataset that meet the inclusion and exclusion rules.
57
+ :param pulumi.Input[_builtins.str] organization_number: Organization resource ID that the source projects should belong to.
58
+ Projects that do not belong to the provided organization are not considered when creating the dataset.
59
+ :param pulumi.Input[_builtins.bool] organization_scope: Defines the options for providing a source organization for the DatasetConfig.
60
+ :param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
61
+ If it is not provided, the provider project is used.
62
+ :param pulumi.Input['InsightsDatasetConfigSourceFoldersArgs'] source_folders: Defines the options for providing source folders for the DatasetConfig.
63
+ Structure is documented below.
64
+ :param pulumi.Input['InsightsDatasetConfigSourceProjectsArgs'] source_projects: Defines the options for providing source projects for the DatasetConfig.
65
+ Structure is documented below.
66
+ """
67
+ pulumi.set(__self__, "dataset_config_id", dataset_config_id)
68
+ pulumi.set(__self__, "identity", identity)
69
+ pulumi.set(__self__, "location", location)
70
+ pulumi.set(__self__, "retention_period_days", retention_period_days)
71
+ if description is not None:
72
+ pulumi.set(__self__, "description", description)
73
+ if exclude_cloud_storage_buckets is not None:
74
+ pulumi.set(__self__, "exclude_cloud_storage_buckets", exclude_cloud_storage_buckets)
75
+ if exclude_cloud_storage_locations is not None:
76
+ pulumi.set(__self__, "exclude_cloud_storage_locations", exclude_cloud_storage_locations)
77
+ if include_cloud_storage_buckets is not None:
78
+ pulumi.set(__self__, "include_cloud_storage_buckets", include_cloud_storage_buckets)
79
+ if include_cloud_storage_locations is not None:
80
+ pulumi.set(__self__, "include_cloud_storage_locations", include_cloud_storage_locations)
81
+ if include_newly_created_buckets is not None:
82
+ pulumi.set(__self__, "include_newly_created_buckets", include_newly_created_buckets)
83
+ if link_dataset is not None:
84
+ pulumi.set(__self__, "link_dataset", link_dataset)
85
+ if organization_number is not None:
86
+ pulumi.set(__self__, "organization_number", organization_number)
87
+ if organization_scope is not None:
88
+ pulumi.set(__self__, "organization_scope", organization_scope)
89
+ if project is not None:
90
+ pulumi.set(__self__, "project", project)
91
+ if source_folders is not None:
92
+ pulumi.set(__self__, "source_folders", source_folders)
93
+ if source_projects is not None:
94
+ pulumi.set(__self__, "source_projects", source_projects)
95
+
96
+ @_builtins.property
97
+ @pulumi.getter(name="datasetConfigId")
98
+ def dataset_config_id(self) -> pulumi.Input[_builtins.str]:
99
+ """
100
+ The user-defined ID of the DatasetConfig
101
+ """
102
+ return pulumi.get(self, "dataset_config_id")
103
+
104
+ @dataset_config_id.setter
105
+ def dataset_config_id(self, value: pulumi.Input[_builtins.str]):
106
+ pulumi.set(self, "dataset_config_id", value)
107
+
108
+ @_builtins.property
109
+ @pulumi.getter
110
+ def identity(self) -> pulumi.Input['InsightsDatasetConfigIdentityArgs']:
111
+ """
112
+ Identity used by DatasetConfig.
113
+ Structure is documented below.
114
+ """
115
+ return pulumi.get(self, "identity")
116
+
117
+ @identity.setter
118
+ def identity(self, value: pulumi.Input['InsightsDatasetConfigIdentityArgs']):
119
+ pulumi.set(self, "identity", value)
120
+
121
+ @_builtins.property
122
+ @pulumi.getter
123
+ def location(self) -> pulumi.Input[_builtins.str]:
124
+ """
125
+ The location of the DatasetConfig.
126
+ """
127
+ return pulumi.get(self, "location")
128
+
129
+ @location.setter
130
+ def location(self, value: pulumi.Input[_builtins.str]):
131
+ pulumi.set(self, "location", value)
132
+
133
+ @_builtins.property
134
+ @pulumi.getter(name="retentionPeriodDays")
135
+ def retention_period_days(self) -> pulumi.Input[_builtins.int]:
136
+ """
137
+ Number of days of history that must be retained.
138
+ """
139
+ return pulumi.get(self, "retention_period_days")
140
+
141
+ @retention_period_days.setter
142
+ def retention_period_days(self, value: pulumi.Input[_builtins.int]):
143
+ pulumi.set(self, "retention_period_days", value)
144
+
145
+ @_builtins.property
146
+ @pulumi.getter
147
+ def description(self) -> Optional[pulumi.Input[_builtins.str]]:
148
+ """
149
+ An optional user-provided description for the dataset configuration with a maximum length of 256 characters.
150
+ """
151
+ return pulumi.get(self, "description")
152
+
153
+ @description.setter
154
+ def description(self, value: Optional[pulumi.Input[_builtins.str]]):
155
+ pulumi.set(self, "description", value)
156
+
157
+ @_builtins.property
158
+ @pulumi.getter(name="excludeCloudStorageBuckets")
159
+ def exclude_cloud_storage_buckets(self) -> Optional[pulumi.Input['InsightsDatasetConfigExcludeCloudStorageBucketsArgs']]:
160
+ """
161
+ Defined the options for excluding cloud storage buckets for the DatasetConfig.
162
+ Structure is documented below.
163
+ """
164
+ return pulumi.get(self, "exclude_cloud_storage_buckets")
165
+
166
+ @exclude_cloud_storage_buckets.setter
167
+ def exclude_cloud_storage_buckets(self, value: Optional[pulumi.Input['InsightsDatasetConfigExcludeCloudStorageBucketsArgs']]):
168
+ pulumi.set(self, "exclude_cloud_storage_buckets", value)
169
+
170
+ @_builtins.property
171
+ @pulumi.getter(name="excludeCloudStorageLocations")
172
+ def exclude_cloud_storage_locations(self) -> Optional[pulumi.Input['InsightsDatasetConfigExcludeCloudStorageLocationsArgs']]:
173
+ """
174
+ Defines the options for excluding cloud storage locations for the DatasetConfig.
175
+ Structure is documented below.
176
+ """
177
+ return pulumi.get(self, "exclude_cloud_storage_locations")
178
+
179
+ @exclude_cloud_storage_locations.setter
180
+ def exclude_cloud_storage_locations(self, value: Optional[pulumi.Input['InsightsDatasetConfigExcludeCloudStorageLocationsArgs']]):
181
+ pulumi.set(self, "exclude_cloud_storage_locations", value)
182
+
183
+ @_builtins.property
184
+ @pulumi.getter(name="includeCloudStorageBuckets")
185
+ def include_cloud_storage_buckets(self) -> Optional[pulumi.Input['InsightsDatasetConfigIncludeCloudStorageBucketsArgs']]:
186
+ """
187
+ Defines the options for including cloud storage buckets for the DatasetConfig.
188
+ Structure is documented below.
189
+ """
190
+ return pulumi.get(self, "include_cloud_storage_buckets")
191
+
192
+ @include_cloud_storage_buckets.setter
193
+ def include_cloud_storage_buckets(self, value: Optional[pulumi.Input['InsightsDatasetConfigIncludeCloudStorageBucketsArgs']]):
194
+ pulumi.set(self, "include_cloud_storage_buckets", value)
195
+
196
+ @_builtins.property
197
+ @pulumi.getter(name="includeCloudStorageLocations")
198
+ def include_cloud_storage_locations(self) -> Optional[pulumi.Input['InsightsDatasetConfigIncludeCloudStorageLocationsArgs']]:
199
+ """
200
+ Defines the options for including cloud storage locations for the DatasetConfig.
201
+ Structure is documented below.
202
+ """
203
+ return pulumi.get(self, "include_cloud_storage_locations")
204
+
205
+ @include_cloud_storage_locations.setter
206
+ def include_cloud_storage_locations(self, value: Optional[pulumi.Input['InsightsDatasetConfigIncludeCloudStorageLocationsArgs']]):
207
+ pulumi.set(self, "include_cloud_storage_locations", value)
208
+
209
+ @_builtins.property
210
+ @pulumi.getter(name="includeNewlyCreatedBuckets")
211
+ def include_newly_created_buckets(self) -> Optional[pulumi.Input[_builtins.bool]]:
212
+ """
213
+ If set to true, the request includes all the newly created buckets in the dataset that meet the inclusion and exclusion rules.
214
+ """
215
+ return pulumi.get(self, "include_newly_created_buckets")
216
+
217
+ @include_newly_created_buckets.setter
218
+ def include_newly_created_buckets(self, value: Optional[pulumi.Input[_builtins.bool]]):
219
+ pulumi.set(self, "include_newly_created_buckets", value)
220
+
221
+ @_builtins.property
222
+ @pulumi.getter(name="linkDataset")
223
+ def link_dataset(self) -> Optional[pulumi.Input[_builtins.bool]]:
224
+ return pulumi.get(self, "link_dataset")
225
+
226
+ @link_dataset.setter
227
+ def link_dataset(self, value: Optional[pulumi.Input[_builtins.bool]]):
228
+ pulumi.set(self, "link_dataset", value)
229
+
230
+ @_builtins.property
231
+ @pulumi.getter(name="organizationNumber")
232
+ def organization_number(self) -> Optional[pulumi.Input[_builtins.str]]:
233
+ """
234
+ Organization resource ID that the source projects should belong to.
235
+ Projects that do not belong to the provided organization are not considered when creating the dataset.
236
+ """
237
+ return pulumi.get(self, "organization_number")
238
+
239
+ @organization_number.setter
240
+ def organization_number(self, value: Optional[pulumi.Input[_builtins.str]]):
241
+ pulumi.set(self, "organization_number", value)
242
+
243
+ @_builtins.property
244
+ @pulumi.getter(name="organizationScope")
245
+ def organization_scope(self) -> Optional[pulumi.Input[_builtins.bool]]:
246
+ """
247
+ Defines the options for providing a source organization for the DatasetConfig.
248
+ """
249
+ return pulumi.get(self, "organization_scope")
250
+
251
+ @organization_scope.setter
252
+ def organization_scope(self, value: Optional[pulumi.Input[_builtins.bool]]):
253
+ pulumi.set(self, "organization_scope", value)
254
+
255
+ @_builtins.property
256
+ @pulumi.getter
257
+ def project(self) -> Optional[pulumi.Input[_builtins.str]]:
258
+ """
259
+ The ID of the project in which the resource belongs.
260
+ If it is not provided, the provider project is used.
261
+ """
262
+ return pulumi.get(self, "project")
263
+
264
+ @project.setter
265
+ def project(self, value: Optional[pulumi.Input[_builtins.str]]):
266
+ pulumi.set(self, "project", value)
267
+
268
+ @_builtins.property
269
+ @pulumi.getter(name="sourceFolders")
270
+ def source_folders(self) -> Optional[pulumi.Input['InsightsDatasetConfigSourceFoldersArgs']]:
271
+ """
272
+ Defines the options for providing source folders for the DatasetConfig.
273
+ Structure is documented below.
274
+ """
275
+ return pulumi.get(self, "source_folders")
276
+
277
+ @source_folders.setter
278
+ def source_folders(self, value: Optional[pulumi.Input['InsightsDatasetConfigSourceFoldersArgs']]):
279
+ pulumi.set(self, "source_folders", value)
280
+
281
+ @_builtins.property
282
+ @pulumi.getter(name="sourceProjects")
283
+ def source_projects(self) -> Optional[pulumi.Input['InsightsDatasetConfigSourceProjectsArgs']]:
284
+ """
285
+ Defines the options for providing source projects for the DatasetConfig.
286
+ Structure is documented below.
287
+ """
288
+ return pulumi.get(self, "source_projects")
289
+
290
+ @source_projects.setter
291
+ def source_projects(self, value: Optional[pulumi.Input['InsightsDatasetConfigSourceProjectsArgs']]):
292
+ pulumi.set(self, "source_projects", value)
293
+
294
+
295
+ @pulumi.input_type
296
+ class _InsightsDatasetConfigState:
297
+ def __init__(__self__, *,
298
+ create_time: Optional[pulumi.Input[_builtins.str]] = None,
299
+ dataset_config_id: Optional[pulumi.Input[_builtins.str]] = None,
300
+ dataset_config_state: Optional[pulumi.Input[_builtins.str]] = None,
301
+ description: Optional[pulumi.Input[_builtins.str]] = None,
302
+ exclude_cloud_storage_buckets: Optional[pulumi.Input['InsightsDatasetConfigExcludeCloudStorageBucketsArgs']] = None,
303
+ exclude_cloud_storage_locations: Optional[pulumi.Input['InsightsDatasetConfigExcludeCloudStorageLocationsArgs']] = None,
304
+ identity: Optional[pulumi.Input['InsightsDatasetConfigIdentityArgs']] = None,
305
+ include_cloud_storage_buckets: Optional[pulumi.Input['InsightsDatasetConfigIncludeCloudStorageBucketsArgs']] = None,
306
+ include_cloud_storage_locations: Optional[pulumi.Input['InsightsDatasetConfigIncludeCloudStorageLocationsArgs']] = None,
307
+ include_newly_created_buckets: Optional[pulumi.Input[_builtins.bool]] = None,
308
+ link_dataset: Optional[pulumi.Input[_builtins.bool]] = None,
309
+ links: Optional[pulumi.Input[Sequence[pulumi.Input['InsightsDatasetConfigLinkArgs']]]] = None,
310
+ location: Optional[pulumi.Input[_builtins.str]] = None,
311
+ name: Optional[pulumi.Input[_builtins.str]] = None,
312
+ organization_number: Optional[pulumi.Input[_builtins.str]] = None,
313
+ organization_scope: Optional[pulumi.Input[_builtins.bool]] = None,
314
+ project: Optional[pulumi.Input[_builtins.str]] = None,
315
+ retention_period_days: Optional[pulumi.Input[_builtins.int]] = None,
316
+ source_folders: Optional[pulumi.Input['InsightsDatasetConfigSourceFoldersArgs']] = None,
317
+ source_projects: Optional[pulumi.Input['InsightsDatasetConfigSourceProjectsArgs']] = None,
318
+ uid: Optional[pulumi.Input[_builtins.str]] = None,
319
+ update_time: Optional[pulumi.Input[_builtins.str]] = None):
320
+ """
321
+ Input properties used for looking up and filtering InsightsDatasetConfig resources.
322
+ :param pulumi.Input[_builtins.str] create_time: The UTC time at which the DatasetConfig was created. This is auto-populated.
323
+ :param pulumi.Input[_builtins.str] dataset_config_id: The user-defined ID of the DatasetConfig
324
+ :param pulumi.Input[_builtins.str] dataset_config_state: State of the DatasetConfig.
325
+ :param pulumi.Input[_builtins.str] description: An optional user-provided description for the dataset configuration with a maximum length of 256 characters.
326
+ :param pulumi.Input['InsightsDatasetConfigExcludeCloudStorageBucketsArgs'] exclude_cloud_storage_buckets: Defined the options for excluding cloud storage buckets for the DatasetConfig.
327
+ Structure is documented below.
328
+ :param pulumi.Input['InsightsDatasetConfigExcludeCloudStorageLocationsArgs'] exclude_cloud_storage_locations: Defines the options for excluding cloud storage locations for the DatasetConfig.
329
+ Structure is documented below.
330
+ :param pulumi.Input['InsightsDatasetConfigIdentityArgs'] identity: Identity used by DatasetConfig.
331
+ Structure is documented below.
332
+ :param pulumi.Input['InsightsDatasetConfigIncludeCloudStorageBucketsArgs'] include_cloud_storage_buckets: Defines the options for including cloud storage buckets for the DatasetConfig.
333
+ Structure is documented below.
334
+ :param pulumi.Input['InsightsDatasetConfigIncludeCloudStorageLocationsArgs'] include_cloud_storage_locations: Defines the options for including cloud storage locations for the DatasetConfig.
335
+ Structure is documented below.
336
+ :param pulumi.Input[_builtins.bool] include_newly_created_buckets: If set to true, the request includes all the newly created buckets in the dataset that meet the inclusion and exclusion rules.
337
+ :param pulumi.Input[Sequence[pulumi.Input['InsightsDatasetConfigLinkArgs']]] links: Details of the linked DatasetConfig.
338
+ Structure is documented below.
339
+ :param pulumi.Input[_builtins.str] location: The location of the DatasetConfig.
340
+ :param pulumi.Input[_builtins.str] name: The full canonical resource name of the DatasetConfig (e.g., projects/P/locations/L/datasetConfigs/ID).
341
+ :param pulumi.Input[_builtins.str] organization_number: Organization resource ID that the source projects should belong to.
342
+ Projects that do not belong to the provided organization are not considered when creating the dataset.
343
+ :param pulumi.Input[_builtins.bool] organization_scope: Defines the options for providing a source organization for the DatasetConfig.
344
+ :param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
345
+ If it is not provided, the provider project is used.
346
+ :param pulumi.Input[_builtins.int] retention_period_days: Number of days of history that must be retained.
347
+ :param pulumi.Input['InsightsDatasetConfigSourceFoldersArgs'] source_folders: Defines the options for providing source folders for the DatasetConfig.
348
+ Structure is documented below.
349
+ :param pulumi.Input['InsightsDatasetConfigSourceProjectsArgs'] source_projects: Defines the options for providing source projects for the DatasetConfig.
350
+ Structure is documented below.
351
+ :param pulumi.Input[_builtins.str] uid: System generated unique identifier for the resource.
352
+ :param pulumi.Input[_builtins.str] update_time: The UTC time at which the DatasetConfig was updated. This is auto-populated.
353
+ """
354
+ if create_time is not None:
355
+ pulumi.set(__self__, "create_time", create_time)
356
+ if dataset_config_id is not None:
357
+ pulumi.set(__self__, "dataset_config_id", dataset_config_id)
358
+ if dataset_config_state is not None:
359
+ pulumi.set(__self__, "dataset_config_state", dataset_config_state)
360
+ if description is not None:
361
+ pulumi.set(__self__, "description", description)
362
+ if exclude_cloud_storage_buckets is not None:
363
+ pulumi.set(__self__, "exclude_cloud_storage_buckets", exclude_cloud_storage_buckets)
364
+ if exclude_cloud_storage_locations is not None:
365
+ pulumi.set(__self__, "exclude_cloud_storage_locations", exclude_cloud_storage_locations)
366
+ if identity is not None:
367
+ pulumi.set(__self__, "identity", identity)
368
+ if include_cloud_storage_buckets is not None:
369
+ pulumi.set(__self__, "include_cloud_storage_buckets", include_cloud_storage_buckets)
370
+ if include_cloud_storage_locations is not None:
371
+ pulumi.set(__self__, "include_cloud_storage_locations", include_cloud_storage_locations)
372
+ if include_newly_created_buckets is not None:
373
+ pulumi.set(__self__, "include_newly_created_buckets", include_newly_created_buckets)
374
+ if link_dataset is not None:
375
+ pulumi.set(__self__, "link_dataset", link_dataset)
376
+ if links is not None:
377
+ pulumi.set(__self__, "links", links)
378
+ if location is not None:
379
+ pulumi.set(__self__, "location", location)
380
+ if name is not None:
381
+ pulumi.set(__self__, "name", name)
382
+ if organization_number is not None:
383
+ pulumi.set(__self__, "organization_number", organization_number)
384
+ if organization_scope is not None:
385
+ pulumi.set(__self__, "organization_scope", organization_scope)
386
+ if project is not None:
387
+ pulumi.set(__self__, "project", project)
388
+ if retention_period_days is not None:
389
+ pulumi.set(__self__, "retention_period_days", retention_period_days)
390
+ if source_folders is not None:
391
+ pulumi.set(__self__, "source_folders", source_folders)
392
+ if source_projects is not None:
393
+ pulumi.set(__self__, "source_projects", source_projects)
394
+ if uid is not None:
395
+ pulumi.set(__self__, "uid", uid)
396
+ if update_time is not None:
397
+ pulumi.set(__self__, "update_time", update_time)
398
+
399
+ @_builtins.property
400
+ @pulumi.getter(name="createTime")
401
+ def create_time(self) -> Optional[pulumi.Input[_builtins.str]]:
402
+ """
403
+ The UTC time at which the DatasetConfig was created. This is auto-populated.
404
+ """
405
+ return pulumi.get(self, "create_time")
406
+
407
+ @create_time.setter
408
+ def create_time(self, value: Optional[pulumi.Input[_builtins.str]]):
409
+ pulumi.set(self, "create_time", value)
410
+
411
+ @_builtins.property
412
+ @pulumi.getter(name="datasetConfigId")
413
+ def dataset_config_id(self) -> Optional[pulumi.Input[_builtins.str]]:
414
+ """
415
+ The user-defined ID of the DatasetConfig
416
+ """
417
+ return pulumi.get(self, "dataset_config_id")
418
+
419
+ @dataset_config_id.setter
420
+ def dataset_config_id(self, value: Optional[pulumi.Input[_builtins.str]]):
421
+ pulumi.set(self, "dataset_config_id", value)
422
+
423
+ @_builtins.property
424
+ @pulumi.getter(name="datasetConfigState")
425
+ def dataset_config_state(self) -> Optional[pulumi.Input[_builtins.str]]:
426
+ """
427
+ State of the DatasetConfig.
428
+ """
429
+ return pulumi.get(self, "dataset_config_state")
430
+
431
+ @dataset_config_state.setter
432
+ def dataset_config_state(self, value: Optional[pulumi.Input[_builtins.str]]):
433
+ pulumi.set(self, "dataset_config_state", value)
434
+
435
+ @_builtins.property
436
+ @pulumi.getter
437
+ def description(self) -> Optional[pulumi.Input[_builtins.str]]:
438
+ """
439
+ An optional user-provided description for the dataset configuration with a maximum length of 256 characters.
440
+ """
441
+ return pulumi.get(self, "description")
442
+
443
+ @description.setter
444
+ def description(self, value: Optional[pulumi.Input[_builtins.str]]):
445
+ pulumi.set(self, "description", value)
446
+
447
+ @_builtins.property
448
+ @pulumi.getter(name="excludeCloudStorageBuckets")
449
+ def exclude_cloud_storage_buckets(self) -> Optional[pulumi.Input['InsightsDatasetConfigExcludeCloudStorageBucketsArgs']]:
450
+ """
451
+ Defined the options for excluding cloud storage buckets for the DatasetConfig.
452
+ Structure is documented below.
453
+ """
454
+ return pulumi.get(self, "exclude_cloud_storage_buckets")
455
+
456
+ @exclude_cloud_storage_buckets.setter
457
+ def exclude_cloud_storage_buckets(self, value: Optional[pulumi.Input['InsightsDatasetConfigExcludeCloudStorageBucketsArgs']]):
458
+ pulumi.set(self, "exclude_cloud_storage_buckets", value)
459
+
460
+ @_builtins.property
461
+ @pulumi.getter(name="excludeCloudStorageLocations")
462
+ def exclude_cloud_storage_locations(self) -> Optional[pulumi.Input['InsightsDatasetConfigExcludeCloudStorageLocationsArgs']]:
463
+ """
464
+ Defines the options for excluding cloud storage locations for the DatasetConfig.
465
+ Structure is documented below.
466
+ """
467
+ return pulumi.get(self, "exclude_cloud_storage_locations")
468
+
469
+ @exclude_cloud_storage_locations.setter
470
+ def exclude_cloud_storage_locations(self, value: Optional[pulumi.Input['InsightsDatasetConfigExcludeCloudStorageLocationsArgs']]):
471
+ pulumi.set(self, "exclude_cloud_storage_locations", value)
472
+
473
+ @_builtins.property
474
+ @pulumi.getter
475
+ def identity(self) -> Optional[pulumi.Input['InsightsDatasetConfigIdentityArgs']]:
476
+ """
477
+ Identity used by DatasetConfig.
478
+ Structure is documented below.
479
+ """
480
+ return pulumi.get(self, "identity")
481
+
482
+ @identity.setter
483
+ def identity(self, value: Optional[pulumi.Input['InsightsDatasetConfigIdentityArgs']]):
484
+ pulumi.set(self, "identity", value)
485
+
486
+ @_builtins.property
487
+ @pulumi.getter(name="includeCloudStorageBuckets")
488
+ def include_cloud_storage_buckets(self) -> Optional[pulumi.Input['InsightsDatasetConfigIncludeCloudStorageBucketsArgs']]:
489
+ """
490
+ Defines the options for including cloud storage buckets for the DatasetConfig.
491
+ Structure is documented below.
492
+ """
493
+ return pulumi.get(self, "include_cloud_storage_buckets")
494
+
495
+ @include_cloud_storage_buckets.setter
496
+ def include_cloud_storage_buckets(self, value: Optional[pulumi.Input['InsightsDatasetConfigIncludeCloudStorageBucketsArgs']]):
497
+ pulumi.set(self, "include_cloud_storage_buckets", value)
498
+
499
+ @_builtins.property
500
+ @pulumi.getter(name="includeCloudStorageLocations")
501
+ def include_cloud_storage_locations(self) -> Optional[pulumi.Input['InsightsDatasetConfigIncludeCloudStorageLocationsArgs']]:
502
+ """
503
+ Defines the options for including cloud storage locations for the DatasetConfig.
504
+ Structure is documented below.
505
+ """
506
+ return pulumi.get(self, "include_cloud_storage_locations")
507
+
508
+ @include_cloud_storage_locations.setter
509
+ def include_cloud_storage_locations(self, value: Optional[pulumi.Input['InsightsDatasetConfigIncludeCloudStorageLocationsArgs']]):
510
+ pulumi.set(self, "include_cloud_storage_locations", value)
511
+
512
+ @_builtins.property
513
+ @pulumi.getter(name="includeNewlyCreatedBuckets")
514
+ def include_newly_created_buckets(self) -> Optional[pulumi.Input[_builtins.bool]]:
515
+ """
516
+ If set to true, the request includes all the newly created buckets in the dataset that meet the inclusion and exclusion rules.
517
+ """
518
+ return pulumi.get(self, "include_newly_created_buckets")
519
+
520
+ @include_newly_created_buckets.setter
521
+ def include_newly_created_buckets(self, value: Optional[pulumi.Input[_builtins.bool]]):
522
+ pulumi.set(self, "include_newly_created_buckets", value)
523
+
524
+ @_builtins.property
525
+ @pulumi.getter(name="linkDataset")
526
+ def link_dataset(self) -> Optional[pulumi.Input[_builtins.bool]]:
527
+ return pulumi.get(self, "link_dataset")
528
+
529
+ @link_dataset.setter
530
+ def link_dataset(self, value: Optional[pulumi.Input[_builtins.bool]]):
531
+ pulumi.set(self, "link_dataset", value)
532
+
533
+ @_builtins.property
534
+ @pulumi.getter
535
+ def links(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InsightsDatasetConfigLinkArgs']]]]:
536
+ """
537
+ Details of the linked DatasetConfig.
538
+ Structure is documented below.
539
+ """
540
+ return pulumi.get(self, "links")
541
+
542
+ @links.setter
543
+ def links(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InsightsDatasetConfigLinkArgs']]]]):
544
+ pulumi.set(self, "links", value)
545
+
546
+ @_builtins.property
547
+ @pulumi.getter
548
+ def location(self) -> Optional[pulumi.Input[_builtins.str]]:
549
+ """
550
+ The location of the DatasetConfig.
551
+ """
552
+ return pulumi.get(self, "location")
553
+
554
+ @location.setter
555
+ def location(self, value: Optional[pulumi.Input[_builtins.str]]):
556
+ pulumi.set(self, "location", value)
557
+
558
+ @_builtins.property
559
+ @pulumi.getter
560
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
561
+ """
562
+ The full canonical resource name of the DatasetConfig (e.g., projects/P/locations/L/datasetConfigs/ID).
563
+ """
564
+ return pulumi.get(self, "name")
565
+
566
+ @name.setter
567
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
568
+ pulumi.set(self, "name", value)
569
+
570
+ @_builtins.property
571
+ @pulumi.getter(name="organizationNumber")
572
+ def organization_number(self) -> Optional[pulumi.Input[_builtins.str]]:
573
+ """
574
+ Organization resource ID that the source projects should belong to.
575
+ Projects that do not belong to the provided organization are not considered when creating the dataset.
576
+ """
577
+ return pulumi.get(self, "organization_number")
578
+
579
+ @organization_number.setter
580
+ def organization_number(self, value: Optional[pulumi.Input[_builtins.str]]):
581
+ pulumi.set(self, "organization_number", value)
582
+
583
+ @_builtins.property
584
+ @pulumi.getter(name="organizationScope")
585
+ def organization_scope(self) -> Optional[pulumi.Input[_builtins.bool]]:
586
+ """
587
+ Defines the options for providing a source organization for the DatasetConfig.
588
+ """
589
+ return pulumi.get(self, "organization_scope")
590
+
591
+ @organization_scope.setter
592
+ def organization_scope(self, value: Optional[pulumi.Input[_builtins.bool]]):
593
+ pulumi.set(self, "organization_scope", value)
594
+
595
+ @_builtins.property
596
+ @pulumi.getter
597
+ def project(self) -> Optional[pulumi.Input[_builtins.str]]:
598
+ """
599
+ The ID of the project in which the resource belongs.
600
+ If it is not provided, the provider project is used.
601
+ """
602
+ return pulumi.get(self, "project")
603
+
604
+ @project.setter
605
+ def project(self, value: Optional[pulumi.Input[_builtins.str]]):
606
+ pulumi.set(self, "project", value)
607
+
608
+ @_builtins.property
609
+ @pulumi.getter(name="retentionPeriodDays")
610
+ def retention_period_days(self) -> Optional[pulumi.Input[_builtins.int]]:
611
+ """
612
+ Number of days of history that must be retained.
613
+ """
614
+ return pulumi.get(self, "retention_period_days")
615
+
616
+ @retention_period_days.setter
617
+ def retention_period_days(self, value: Optional[pulumi.Input[_builtins.int]]):
618
+ pulumi.set(self, "retention_period_days", value)
619
+
620
+ @_builtins.property
621
+ @pulumi.getter(name="sourceFolders")
622
+ def source_folders(self) -> Optional[pulumi.Input['InsightsDatasetConfigSourceFoldersArgs']]:
623
+ """
624
+ Defines the options for providing source folders for the DatasetConfig.
625
+ Structure is documented below.
626
+ """
627
+ return pulumi.get(self, "source_folders")
628
+
629
+ @source_folders.setter
630
+ def source_folders(self, value: Optional[pulumi.Input['InsightsDatasetConfigSourceFoldersArgs']]):
631
+ pulumi.set(self, "source_folders", value)
632
+
633
+ @_builtins.property
634
+ @pulumi.getter(name="sourceProjects")
635
+ def source_projects(self) -> Optional[pulumi.Input['InsightsDatasetConfigSourceProjectsArgs']]:
636
+ """
637
+ Defines the options for providing source projects for the DatasetConfig.
638
+ Structure is documented below.
639
+ """
640
+ return pulumi.get(self, "source_projects")
641
+
642
+ @source_projects.setter
643
+ def source_projects(self, value: Optional[pulumi.Input['InsightsDatasetConfigSourceProjectsArgs']]):
644
+ pulumi.set(self, "source_projects", value)
645
+
646
+ @_builtins.property
647
+ @pulumi.getter
648
+ def uid(self) -> Optional[pulumi.Input[_builtins.str]]:
649
+ """
650
+ System generated unique identifier for the resource.
651
+ """
652
+ return pulumi.get(self, "uid")
653
+
654
+ @uid.setter
655
+ def uid(self, value: Optional[pulumi.Input[_builtins.str]]):
656
+ pulumi.set(self, "uid", value)
657
+
658
+ @_builtins.property
659
+ @pulumi.getter(name="updateTime")
660
+ def update_time(self) -> Optional[pulumi.Input[_builtins.str]]:
661
+ """
662
+ The UTC time at which the DatasetConfig was updated. This is auto-populated.
663
+ """
664
+ return pulumi.get(self, "update_time")
665
+
666
+ @update_time.setter
667
+ def update_time(self, value: Optional[pulumi.Input[_builtins.str]]):
668
+ pulumi.set(self, "update_time", value)
669
+
670
+
671
+ @pulumi.type_token("gcp:storage/insightsDatasetConfig:InsightsDatasetConfig")
672
+ class InsightsDatasetConfig(pulumi.CustomResource):
673
+ @overload
674
+ def __init__(__self__,
675
+ resource_name: str,
676
+ opts: Optional[pulumi.ResourceOptions] = None,
677
+ dataset_config_id: Optional[pulumi.Input[_builtins.str]] = None,
678
+ description: Optional[pulumi.Input[_builtins.str]] = None,
679
+ exclude_cloud_storage_buckets: Optional[pulumi.Input[Union['InsightsDatasetConfigExcludeCloudStorageBucketsArgs', 'InsightsDatasetConfigExcludeCloudStorageBucketsArgsDict']]] = None,
680
+ exclude_cloud_storage_locations: Optional[pulumi.Input[Union['InsightsDatasetConfigExcludeCloudStorageLocationsArgs', 'InsightsDatasetConfigExcludeCloudStorageLocationsArgsDict']]] = None,
681
+ identity: Optional[pulumi.Input[Union['InsightsDatasetConfigIdentityArgs', 'InsightsDatasetConfigIdentityArgsDict']]] = None,
682
+ include_cloud_storage_buckets: Optional[pulumi.Input[Union['InsightsDatasetConfigIncludeCloudStorageBucketsArgs', 'InsightsDatasetConfigIncludeCloudStorageBucketsArgsDict']]] = None,
683
+ include_cloud_storage_locations: Optional[pulumi.Input[Union['InsightsDatasetConfigIncludeCloudStorageLocationsArgs', 'InsightsDatasetConfigIncludeCloudStorageLocationsArgsDict']]] = None,
684
+ include_newly_created_buckets: Optional[pulumi.Input[_builtins.bool]] = None,
685
+ link_dataset: Optional[pulumi.Input[_builtins.bool]] = None,
686
+ location: Optional[pulumi.Input[_builtins.str]] = None,
687
+ organization_number: Optional[pulumi.Input[_builtins.str]] = None,
688
+ organization_scope: Optional[pulumi.Input[_builtins.bool]] = None,
689
+ project: Optional[pulumi.Input[_builtins.str]] = None,
690
+ retention_period_days: Optional[pulumi.Input[_builtins.int]] = None,
691
+ source_folders: Optional[pulumi.Input[Union['InsightsDatasetConfigSourceFoldersArgs', 'InsightsDatasetConfigSourceFoldersArgsDict']]] = None,
692
+ source_projects: Optional[pulumi.Input[Union['InsightsDatasetConfigSourceProjectsArgs', 'InsightsDatasetConfigSourceProjectsArgsDict']]] = None,
693
+ __props__=None):
694
+ """
695
+ Represents a Storage Insights DatasetConfig.
696
+
697
+ To get more information about DatasetConfig, see:
698
+
699
+ * [API documentation](https://cloud.google.com/storage/docs/insights/reference/rest/v1/projects.locations.datasetConfigs)
700
+ * How-to Guides
701
+ * [Official Documentation](https://cloud.google.com/storage/docs/insights/datasets)
702
+
703
+ ## Example Usage
704
+
705
+ ### Storage Insights Dataset Config Includes
706
+
707
+ ```python
708
+ import pulumi
709
+ import pulumi_gcp as gcp
710
+
711
+ config_includes = gcp.storage.InsightsDatasetConfig("config_includes",
712
+ location="us-central1",
713
+ dataset_config_id="my_config_includes",
714
+ retention_period_days=1,
715
+ source_projects={
716
+ "project_numbers": [
717
+ "123",
718
+ "456",
719
+ "789",
720
+ ],
721
+ },
722
+ identity={
723
+ "type": "IDENTITY_TYPE_PER_CONFIG",
724
+ },
725
+ description="Sample Description",
726
+ link_dataset=False,
727
+ include_newly_created_buckets=True,
728
+ include_cloud_storage_locations={
729
+ "locations": ["us-east1"],
730
+ },
731
+ include_cloud_storage_buckets={
732
+ "cloud_storage_buckets": [
733
+ {
734
+ "bucket_name": "sample-bucket",
735
+ },
736
+ {
737
+ "bucket_name": "sample-regex",
738
+ },
739
+ ],
740
+ })
741
+ ```
742
+ ### Storage Insights Dataset Config Excludes
743
+
744
+ ```python
745
+ import pulumi
746
+ import pulumi_gcp as gcp
747
+
748
+ config_excludes = gcp.storage.InsightsDatasetConfig("config_excludes",
749
+ location="us-central1",
750
+ dataset_config_id="my_config_excludes",
751
+ retention_period_days=1,
752
+ organization_scope=True,
753
+ identity={
754
+ "type": "IDENTITY_TYPE_PER_PROJECT",
755
+ },
756
+ exclude_cloud_storage_locations={
757
+ "locations": ["us-east1"],
758
+ },
759
+ exclude_cloud_storage_buckets={
760
+ "cloud_storage_buckets": [
761
+ {
762
+ "bucket_name": "sample-bucket",
763
+ },
764
+ {
765
+ "bucket_name": "sample-regex",
766
+ },
767
+ ],
768
+ })
769
+ ```
770
+
771
+ ## Import
772
+
773
+ DatasetConfig can be imported using any of these accepted formats:
774
+
775
+ * `projects/{{project}}/locations/{{location}}/datasetConfigs/{{dataset_config_id}}`
776
+
777
+ * `{{project}}/{{location}}/{{dataset_config_id}}`
778
+
779
+ * `{{location}}/{{dataset_config_id}}`
780
+
781
+ When using the `pulumi import` command, DatasetConfig can be imported using one of the formats above. For example:
782
+
783
+ ```sh
784
+ $ pulumi import gcp:storage/insightsDatasetConfig:InsightsDatasetConfig default projects/{{project}}/locations/{{location}}/datasetConfigs/{{dataset_config_id}}
785
+ ```
786
+
787
+ ```sh
788
+ $ pulumi import gcp:storage/insightsDatasetConfig:InsightsDatasetConfig default {{project}}/{{location}}/{{dataset_config_id}}
789
+ ```
790
+
791
+ ```sh
792
+ $ pulumi import gcp:storage/insightsDatasetConfig:InsightsDatasetConfig default {{location}}/{{dataset_config_id}}
793
+ ```
794
+
795
+ :param str resource_name: The name of the resource.
796
+ :param pulumi.ResourceOptions opts: Options for the resource.
797
+ :param pulumi.Input[_builtins.str] dataset_config_id: The user-defined ID of the DatasetConfig
798
+ :param pulumi.Input[_builtins.str] description: An optional user-provided description for the dataset configuration with a maximum length of 256 characters.
799
+ :param pulumi.Input[Union['InsightsDatasetConfigExcludeCloudStorageBucketsArgs', 'InsightsDatasetConfigExcludeCloudStorageBucketsArgsDict']] exclude_cloud_storage_buckets: Defined the options for excluding cloud storage buckets for the DatasetConfig.
800
+ Structure is documented below.
801
+ :param pulumi.Input[Union['InsightsDatasetConfigExcludeCloudStorageLocationsArgs', 'InsightsDatasetConfigExcludeCloudStorageLocationsArgsDict']] exclude_cloud_storage_locations: Defines the options for excluding cloud storage locations for the DatasetConfig.
802
+ Structure is documented below.
803
+ :param pulumi.Input[Union['InsightsDatasetConfigIdentityArgs', 'InsightsDatasetConfigIdentityArgsDict']] identity: Identity used by DatasetConfig.
804
+ Structure is documented below.
805
+ :param pulumi.Input[Union['InsightsDatasetConfigIncludeCloudStorageBucketsArgs', 'InsightsDatasetConfigIncludeCloudStorageBucketsArgsDict']] include_cloud_storage_buckets: Defines the options for including cloud storage buckets for the DatasetConfig.
806
+ Structure is documented below.
807
+ :param pulumi.Input[Union['InsightsDatasetConfigIncludeCloudStorageLocationsArgs', 'InsightsDatasetConfigIncludeCloudStorageLocationsArgsDict']] include_cloud_storage_locations: Defines the options for including cloud storage locations for the DatasetConfig.
808
+ Structure is documented below.
809
+ :param pulumi.Input[_builtins.bool] include_newly_created_buckets: If set to true, the request includes all the newly created buckets in the dataset that meet the inclusion and exclusion rules.
810
+ :param pulumi.Input[_builtins.str] location: The location of the DatasetConfig.
811
+ :param pulumi.Input[_builtins.str] organization_number: Organization resource ID that the source projects should belong to.
812
+ Projects that do not belong to the provided organization are not considered when creating the dataset.
813
+ :param pulumi.Input[_builtins.bool] organization_scope: Defines the options for providing a source organization for the DatasetConfig.
814
+ :param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
815
+ If it is not provided, the provider project is used.
816
+ :param pulumi.Input[_builtins.int] retention_period_days: Number of days of history that must be retained.
817
+ :param pulumi.Input[Union['InsightsDatasetConfigSourceFoldersArgs', 'InsightsDatasetConfigSourceFoldersArgsDict']] source_folders: Defines the options for providing source folders for the DatasetConfig.
818
+ Structure is documented below.
819
+ :param pulumi.Input[Union['InsightsDatasetConfigSourceProjectsArgs', 'InsightsDatasetConfigSourceProjectsArgsDict']] source_projects: Defines the options for providing source projects for the DatasetConfig.
820
+ Structure is documented below.
821
+ """
822
+ ...
823
+ @overload
824
+ def __init__(__self__,
825
+ resource_name: str,
826
+ args: InsightsDatasetConfigArgs,
827
+ opts: Optional[pulumi.ResourceOptions] = None):
828
+ """
829
+ Represents a Storage Insights DatasetConfig.
830
+
831
+ To get more information about DatasetConfig, see:
832
+
833
+ * [API documentation](https://cloud.google.com/storage/docs/insights/reference/rest/v1/projects.locations.datasetConfigs)
834
+ * How-to Guides
835
+ * [Official Documentation](https://cloud.google.com/storage/docs/insights/datasets)
836
+
837
+ ## Example Usage
838
+
839
+ ### Storage Insights Dataset Config Includes
840
+
841
+ ```python
842
+ import pulumi
843
+ import pulumi_gcp as gcp
844
+
845
+ config_includes = gcp.storage.InsightsDatasetConfig("config_includes",
846
+ location="us-central1",
847
+ dataset_config_id="my_config_includes",
848
+ retention_period_days=1,
849
+ source_projects={
850
+ "project_numbers": [
851
+ "123",
852
+ "456",
853
+ "789",
854
+ ],
855
+ },
856
+ identity={
857
+ "type": "IDENTITY_TYPE_PER_CONFIG",
858
+ },
859
+ description="Sample Description",
860
+ link_dataset=False,
861
+ include_newly_created_buckets=True,
862
+ include_cloud_storage_locations={
863
+ "locations": ["us-east1"],
864
+ },
865
+ include_cloud_storage_buckets={
866
+ "cloud_storage_buckets": [
867
+ {
868
+ "bucket_name": "sample-bucket",
869
+ },
870
+ {
871
+ "bucket_name": "sample-regex",
872
+ },
873
+ ],
874
+ })
875
+ ```
876
+ ### Storage Insights Dataset Config Excludes
877
+
878
+ ```python
879
+ import pulumi
880
+ import pulumi_gcp as gcp
881
+
882
+ config_excludes = gcp.storage.InsightsDatasetConfig("config_excludes",
883
+ location="us-central1",
884
+ dataset_config_id="my_config_excludes",
885
+ retention_period_days=1,
886
+ organization_scope=True,
887
+ identity={
888
+ "type": "IDENTITY_TYPE_PER_PROJECT",
889
+ },
890
+ exclude_cloud_storage_locations={
891
+ "locations": ["us-east1"],
892
+ },
893
+ exclude_cloud_storage_buckets={
894
+ "cloud_storage_buckets": [
895
+ {
896
+ "bucket_name": "sample-bucket",
897
+ },
898
+ {
899
+ "bucket_name": "sample-regex",
900
+ },
901
+ ],
902
+ })
903
+ ```
904
+
905
+ ## Import
906
+
907
+ DatasetConfig can be imported using any of these accepted formats:
908
+
909
+ * `projects/{{project}}/locations/{{location}}/datasetConfigs/{{dataset_config_id}}`
910
+
911
+ * `{{project}}/{{location}}/{{dataset_config_id}}`
912
+
913
+ * `{{location}}/{{dataset_config_id}}`
914
+
915
+ When using the `pulumi import` command, DatasetConfig can be imported using one of the formats above. For example:
916
+
917
+ ```sh
918
+ $ pulumi import gcp:storage/insightsDatasetConfig:InsightsDatasetConfig default projects/{{project}}/locations/{{location}}/datasetConfigs/{{dataset_config_id}}
919
+ ```
920
+
921
+ ```sh
922
+ $ pulumi import gcp:storage/insightsDatasetConfig:InsightsDatasetConfig default {{project}}/{{location}}/{{dataset_config_id}}
923
+ ```
924
+
925
+ ```sh
926
+ $ pulumi import gcp:storage/insightsDatasetConfig:InsightsDatasetConfig default {{location}}/{{dataset_config_id}}
927
+ ```
928
+
929
+ :param str resource_name: The name of the resource.
930
+ :param InsightsDatasetConfigArgs args: The arguments to use to populate this resource's properties.
931
+ :param pulumi.ResourceOptions opts: Options for the resource.
932
+ """
933
+ ...
934
+ def __init__(__self__, resource_name: str, *args, **kwargs):
935
+ resource_args, opts = _utilities.get_resource_args_opts(InsightsDatasetConfigArgs, pulumi.ResourceOptions, *args, **kwargs)
936
+ if resource_args is not None:
937
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
938
+ else:
939
+ __self__._internal_init(resource_name, *args, **kwargs)
940
+
941
+ def _internal_init(__self__,
942
+ resource_name: str,
943
+ opts: Optional[pulumi.ResourceOptions] = None,
944
+ dataset_config_id: Optional[pulumi.Input[_builtins.str]] = None,
945
+ description: Optional[pulumi.Input[_builtins.str]] = None,
946
+ exclude_cloud_storage_buckets: Optional[pulumi.Input[Union['InsightsDatasetConfigExcludeCloudStorageBucketsArgs', 'InsightsDatasetConfigExcludeCloudStorageBucketsArgsDict']]] = None,
947
+ exclude_cloud_storage_locations: Optional[pulumi.Input[Union['InsightsDatasetConfigExcludeCloudStorageLocationsArgs', 'InsightsDatasetConfigExcludeCloudStorageLocationsArgsDict']]] = None,
948
+ identity: Optional[pulumi.Input[Union['InsightsDatasetConfigIdentityArgs', 'InsightsDatasetConfigIdentityArgsDict']]] = None,
949
+ include_cloud_storage_buckets: Optional[pulumi.Input[Union['InsightsDatasetConfigIncludeCloudStorageBucketsArgs', 'InsightsDatasetConfigIncludeCloudStorageBucketsArgsDict']]] = None,
950
+ include_cloud_storage_locations: Optional[pulumi.Input[Union['InsightsDatasetConfigIncludeCloudStorageLocationsArgs', 'InsightsDatasetConfigIncludeCloudStorageLocationsArgsDict']]] = None,
951
+ include_newly_created_buckets: Optional[pulumi.Input[_builtins.bool]] = None,
952
+ link_dataset: Optional[pulumi.Input[_builtins.bool]] = None,
953
+ location: Optional[pulumi.Input[_builtins.str]] = None,
954
+ organization_number: Optional[pulumi.Input[_builtins.str]] = None,
955
+ organization_scope: Optional[pulumi.Input[_builtins.bool]] = None,
956
+ project: Optional[pulumi.Input[_builtins.str]] = None,
957
+ retention_period_days: Optional[pulumi.Input[_builtins.int]] = None,
958
+ source_folders: Optional[pulumi.Input[Union['InsightsDatasetConfigSourceFoldersArgs', 'InsightsDatasetConfigSourceFoldersArgsDict']]] = None,
959
+ source_projects: Optional[pulumi.Input[Union['InsightsDatasetConfigSourceProjectsArgs', 'InsightsDatasetConfigSourceProjectsArgsDict']]] = None,
960
+ __props__=None):
961
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
962
+ if not isinstance(opts, pulumi.ResourceOptions):
963
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
964
+ if opts.id is None:
965
+ if __props__ is not None:
966
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
967
+ __props__ = InsightsDatasetConfigArgs.__new__(InsightsDatasetConfigArgs)
968
+
969
+ if dataset_config_id is None and not opts.urn:
970
+ raise TypeError("Missing required property 'dataset_config_id'")
971
+ __props__.__dict__["dataset_config_id"] = dataset_config_id
972
+ __props__.__dict__["description"] = description
973
+ __props__.__dict__["exclude_cloud_storage_buckets"] = exclude_cloud_storage_buckets
974
+ __props__.__dict__["exclude_cloud_storage_locations"] = exclude_cloud_storage_locations
975
+ if identity is None and not opts.urn:
976
+ raise TypeError("Missing required property 'identity'")
977
+ __props__.__dict__["identity"] = identity
978
+ __props__.__dict__["include_cloud_storage_buckets"] = include_cloud_storage_buckets
979
+ __props__.__dict__["include_cloud_storage_locations"] = include_cloud_storage_locations
980
+ __props__.__dict__["include_newly_created_buckets"] = include_newly_created_buckets
981
+ __props__.__dict__["link_dataset"] = link_dataset
982
+ if location is None and not opts.urn:
983
+ raise TypeError("Missing required property 'location'")
984
+ __props__.__dict__["location"] = location
985
+ __props__.__dict__["organization_number"] = organization_number
986
+ __props__.__dict__["organization_scope"] = organization_scope
987
+ __props__.__dict__["project"] = project
988
+ if retention_period_days is None and not opts.urn:
989
+ raise TypeError("Missing required property 'retention_period_days'")
990
+ __props__.__dict__["retention_period_days"] = retention_period_days
991
+ __props__.__dict__["source_folders"] = source_folders
992
+ __props__.__dict__["source_projects"] = source_projects
993
+ __props__.__dict__["create_time"] = None
994
+ __props__.__dict__["dataset_config_state"] = None
995
+ __props__.__dict__["links"] = None
996
+ __props__.__dict__["name"] = None
997
+ __props__.__dict__["uid"] = None
998
+ __props__.__dict__["update_time"] = None
999
+ super(InsightsDatasetConfig, __self__).__init__(
1000
+ 'gcp:storage/insightsDatasetConfig:InsightsDatasetConfig',
1001
+ resource_name,
1002
+ __props__,
1003
+ opts)
1004
+
1005
+ @staticmethod
1006
+ def get(resource_name: str,
1007
+ id: pulumi.Input[str],
1008
+ opts: Optional[pulumi.ResourceOptions] = None,
1009
+ create_time: Optional[pulumi.Input[_builtins.str]] = None,
1010
+ dataset_config_id: Optional[pulumi.Input[_builtins.str]] = None,
1011
+ dataset_config_state: Optional[pulumi.Input[_builtins.str]] = None,
1012
+ description: Optional[pulumi.Input[_builtins.str]] = None,
1013
+ exclude_cloud_storage_buckets: Optional[pulumi.Input[Union['InsightsDatasetConfigExcludeCloudStorageBucketsArgs', 'InsightsDatasetConfigExcludeCloudStorageBucketsArgsDict']]] = None,
1014
+ exclude_cloud_storage_locations: Optional[pulumi.Input[Union['InsightsDatasetConfigExcludeCloudStorageLocationsArgs', 'InsightsDatasetConfigExcludeCloudStorageLocationsArgsDict']]] = None,
1015
+ identity: Optional[pulumi.Input[Union['InsightsDatasetConfigIdentityArgs', 'InsightsDatasetConfigIdentityArgsDict']]] = None,
1016
+ include_cloud_storage_buckets: Optional[pulumi.Input[Union['InsightsDatasetConfigIncludeCloudStorageBucketsArgs', 'InsightsDatasetConfigIncludeCloudStorageBucketsArgsDict']]] = None,
1017
+ include_cloud_storage_locations: Optional[pulumi.Input[Union['InsightsDatasetConfigIncludeCloudStorageLocationsArgs', 'InsightsDatasetConfigIncludeCloudStorageLocationsArgsDict']]] = None,
1018
+ include_newly_created_buckets: Optional[pulumi.Input[_builtins.bool]] = None,
1019
+ link_dataset: Optional[pulumi.Input[_builtins.bool]] = None,
1020
+ links: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InsightsDatasetConfigLinkArgs', 'InsightsDatasetConfigLinkArgsDict']]]]] = None,
1021
+ location: Optional[pulumi.Input[_builtins.str]] = None,
1022
+ name: Optional[pulumi.Input[_builtins.str]] = None,
1023
+ organization_number: Optional[pulumi.Input[_builtins.str]] = None,
1024
+ organization_scope: Optional[pulumi.Input[_builtins.bool]] = None,
1025
+ project: Optional[pulumi.Input[_builtins.str]] = None,
1026
+ retention_period_days: Optional[pulumi.Input[_builtins.int]] = None,
1027
+ source_folders: Optional[pulumi.Input[Union['InsightsDatasetConfigSourceFoldersArgs', 'InsightsDatasetConfigSourceFoldersArgsDict']]] = None,
1028
+ source_projects: Optional[pulumi.Input[Union['InsightsDatasetConfigSourceProjectsArgs', 'InsightsDatasetConfigSourceProjectsArgsDict']]] = None,
1029
+ uid: Optional[pulumi.Input[_builtins.str]] = None,
1030
+ update_time: Optional[pulumi.Input[_builtins.str]] = None) -> 'InsightsDatasetConfig':
1031
+ """
1032
+ Get an existing InsightsDatasetConfig resource's state with the given name, id, and optional extra
1033
+ properties used to qualify the lookup.
1034
+
1035
+ :param str resource_name: The unique name of the resulting resource.
1036
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
1037
+ :param pulumi.ResourceOptions opts: Options for the resource.
1038
+ :param pulumi.Input[_builtins.str] create_time: The UTC time at which the DatasetConfig was created. This is auto-populated.
1039
+ :param pulumi.Input[_builtins.str] dataset_config_id: The user-defined ID of the DatasetConfig
1040
+ :param pulumi.Input[_builtins.str] dataset_config_state: State of the DatasetConfig.
1041
+ :param pulumi.Input[_builtins.str] description: An optional user-provided description for the dataset configuration with a maximum length of 256 characters.
1042
+ :param pulumi.Input[Union['InsightsDatasetConfigExcludeCloudStorageBucketsArgs', 'InsightsDatasetConfigExcludeCloudStorageBucketsArgsDict']] exclude_cloud_storage_buckets: Defined the options for excluding cloud storage buckets for the DatasetConfig.
1043
+ Structure is documented below.
1044
+ :param pulumi.Input[Union['InsightsDatasetConfigExcludeCloudStorageLocationsArgs', 'InsightsDatasetConfigExcludeCloudStorageLocationsArgsDict']] exclude_cloud_storage_locations: Defines the options for excluding cloud storage locations for the DatasetConfig.
1045
+ Structure is documented below.
1046
+ :param pulumi.Input[Union['InsightsDatasetConfigIdentityArgs', 'InsightsDatasetConfigIdentityArgsDict']] identity: Identity used by DatasetConfig.
1047
+ Structure is documented below.
1048
+ :param pulumi.Input[Union['InsightsDatasetConfigIncludeCloudStorageBucketsArgs', 'InsightsDatasetConfigIncludeCloudStorageBucketsArgsDict']] include_cloud_storage_buckets: Defines the options for including cloud storage buckets for the DatasetConfig.
1049
+ Structure is documented below.
1050
+ :param pulumi.Input[Union['InsightsDatasetConfigIncludeCloudStorageLocationsArgs', 'InsightsDatasetConfigIncludeCloudStorageLocationsArgsDict']] include_cloud_storage_locations: Defines the options for including cloud storage locations for the DatasetConfig.
1051
+ Structure is documented below.
1052
+ :param pulumi.Input[_builtins.bool] include_newly_created_buckets: If set to true, the request includes all the newly created buckets in the dataset that meet the inclusion and exclusion rules.
1053
+ :param pulumi.Input[Sequence[pulumi.Input[Union['InsightsDatasetConfigLinkArgs', 'InsightsDatasetConfigLinkArgsDict']]]] links: Details of the linked DatasetConfig.
1054
+ Structure is documented below.
1055
+ :param pulumi.Input[_builtins.str] location: The location of the DatasetConfig.
1056
+ :param pulumi.Input[_builtins.str] name: The full canonical resource name of the DatasetConfig (e.g., projects/P/locations/L/datasetConfigs/ID).
1057
+ :param pulumi.Input[_builtins.str] organization_number: Organization resource ID that the source projects should belong to.
1058
+ Projects that do not belong to the provided organization are not considered when creating the dataset.
1059
+ :param pulumi.Input[_builtins.bool] organization_scope: Defines the options for providing a source organization for the DatasetConfig.
1060
+ :param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
1061
+ If it is not provided, the provider project is used.
1062
+ :param pulumi.Input[_builtins.int] retention_period_days: Number of days of history that must be retained.
1063
+ :param pulumi.Input[Union['InsightsDatasetConfigSourceFoldersArgs', 'InsightsDatasetConfigSourceFoldersArgsDict']] source_folders: Defines the options for providing source folders for the DatasetConfig.
1064
+ Structure is documented below.
1065
+ :param pulumi.Input[Union['InsightsDatasetConfigSourceProjectsArgs', 'InsightsDatasetConfigSourceProjectsArgsDict']] source_projects: Defines the options for providing source projects for the DatasetConfig.
1066
+ Structure is documented below.
1067
+ :param pulumi.Input[_builtins.str] uid: System generated unique identifier for the resource.
1068
+ :param pulumi.Input[_builtins.str] update_time: The UTC time at which the DatasetConfig was updated. This is auto-populated.
1069
+ """
1070
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
1071
+
1072
+ __props__ = _InsightsDatasetConfigState.__new__(_InsightsDatasetConfigState)
1073
+
1074
+ __props__.__dict__["create_time"] = create_time
1075
+ __props__.__dict__["dataset_config_id"] = dataset_config_id
1076
+ __props__.__dict__["dataset_config_state"] = dataset_config_state
1077
+ __props__.__dict__["description"] = description
1078
+ __props__.__dict__["exclude_cloud_storage_buckets"] = exclude_cloud_storage_buckets
1079
+ __props__.__dict__["exclude_cloud_storage_locations"] = exclude_cloud_storage_locations
1080
+ __props__.__dict__["identity"] = identity
1081
+ __props__.__dict__["include_cloud_storage_buckets"] = include_cloud_storage_buckets
1082
+ __props__.__dict__["include_cloud_storage_locations"] = include_cloud_storage_locations
1083
+ __props__.__dict__["include_newly_created_buckets"] = include_newly_created_buckets
1084
+ __props__.__dict__["link_dataset"] = link_dataset
1085
+ __props__.__dict__["links"] = links
1086
+ __props__.__dict__["location"] = location
1087
+ __props__.__dict__["name"] = name
1088
+ __props__.__dict__["organization_number"] = organization_number
1089
+ __props__.__dict__["organization_scope"] = organization_scope
1090
+ __props__.__dict__["project"] = project
1091
+ __props__.__dict__["retention_period_days"] = retention_period_days
1092
+ __props__.__dict__["source_folders"] = source_folders
1093
+ __props__.__dict__["source_projects"] = source_projects
1094
+ __props__.__dict__["uid"] = uid
1095
+ __props__.__dict__["update_time"] = update_time
1096
+ return InsightsDatasetConfig(resource_name, opts=opts, __props__=__props__)
1097
+
1098
+ @_builtins.property
1099
+ @pulumi.getter(name="createTime")
1100
+ def create_time(self) -> pulumi.Output[_builtins.str]:
1101
+ """
1102
+ The UTC time at which the DatasetConfig was created. This is auto-populated.
1103
+ """
1104
+ return pulumi.get(self, "create_time")
1105
+
1106
+ @_builtins.property
1107
+ @pulumi.getter(name="datasetConfigId")
1108
+ def dataset_config_id(self) -> pulumi.Output[_builtins.str]:
1109
+ """
1110
+ The user-defined ID of the DatasetConfig
1111
+ """
1112
+ return pulumi.get(self, "dataset_config_id")
1113
+
1114
+ @_builtins.property
1115
+ @pulumi.getter(name="datasetConfigState")
1116
+ def dataset_config_state(self) -> pulumi.Output[_builtins.str]:
1117
+ """
1118
+ State of the DatasetConfig.
1119
+ """
1120
+ return pulumi.get(self, "dataset_config_state")
1121
+
1122
+ @_builtins.property
1123
+ @pulumi.getter
1124
+ def description(self) -> pulumi.Output[Optional[_builtins.str]]:
1125
+ """
1126
+ An optional user-provided description for the dataset configuration with a maximum length of 256 characters.
1127
+ """
1128
+ return pulumi.get(self, "description")
1129
+
1130
+ @_builtins.property
1131
+ @pulumi.getter(name="excludeCloudStorageBuckets")
1132
+ def exclude_cloud_storage_buckets(self) -> pulumi.Output[Optional['outputs.InsightsDatasetConfigExcludeCloudStorageBuckets']]:
1133
+ """
1134
+ Defined the options for excluding cloud storage buckets for the DatasetConfig.
1135
+ Structure is documented below.
1136
+ """
1137
+ return pulumi.get(self, "exclude_cloud_storage_buckets")
1138
+
1139
+ @_builtins.property
1140
+ @pulumi.getter(name="excludeCloudStorageLocations")
1141
+ def exclude_cloud_storage_locations(self) -> pulumi.Output[Optional['outputs.InsightsDatasetConfigExcludeCloudStorageLocations']]:
1142
+ """
1143
+ Defines the options for excluding cloud storage locations for the DatasetConfig.
1144
+ Structure is documented below.
1145
+ """
1146
+ return pulumi.get(self, "exclude_cloud_storage_locations")
1147
+
1148
+ @_builtins.property
1149
+ @pulumi.getter
1150
+ def identity(self) -> pulumi.Output['outputs.InsightsDatasetConfigIdentity']:
1151
+ """
1152
+ Identity used by DatasetConfig.
1153
+ Structure is documented below.
1154
+ """
1155
+ return pulumi.get(self, "identity")
1156
+
1157
+ @_builtins.property
1158
+ @pulumi.getter(name="includeCloudStorageBuckets")
1159
+ def include_cloud_storage_buckets(self) -> pulumi.Output[Optional['outputs.InsightsDatasetConfigIncludeCloudStorageBuckets']]:
1160
+ """
1161
+ Defines the options for including cloud storage buckets for the DatasetConfig.
1162
+ Structure is documented below.
1163
+ """
1164
+ return pulumi.get(self, "include_cloud_storage_buckets")
1165
+
1166
+ @_builtins.property
1167
+ @pulumi.getter(name="includeCloudStorageLocations")
1168
+ def include_cloud_storage_locations(self) -> pulumi.Output[Optional['outputs.InsightsDatasetConfigIncludeCloudStorageLocations']]:
1169
+ """
1170
+ Defines the options for including cloud storage locations for the DatasetConfig.
1171
+ Structure is documented below.
1172
+ """
1173
+ return pulumi.get(self, "include_cloud_storage_locations")
1174
+
1175
+ @_builtins.property
1176
+ @pulumi.getter(name="includeNewlyCreatedBuckets")
1177
+ def include_newly_created_buckets(self) -> pulumi.Output[Optional[_builtins.bool]]:
1178
+ """
1179
+ If set to true, the request includes all the newly created buckets in the dataset that meet the inclusion and exclusion rules.
1180
+ """
1181
+ return pulumi.get(self, "include_newly_created_buckets")
1182
+
1183
+ @_builtins.property
1184
+ @pulumi.getter(name="linkDataset")
1185
+ def link_dataset(self) -> pulumi.Output[Optional[_builtins.bool]]:
1186
+ return pulumi.get(self, "link_dataset")
1187
+
1188
+ @_builtins.property
1189
+ @pulumi.getter
1190
+ def links(self) -> pulumi.Output[Sequence['outputs.InsightsDatasetConfigLink']]:
1191
+ """
1192
+ Details of the linked DatasetConfig.
1193
+ Structure is documented below.
1194
+ """
1195
+ return pulumi.get(self, "links")
1196
+
1197
+ @_builtins.property
1198
+ @pulumi.getter
1199
+ def location(self) -> pulumi.Output[_builtins.str]:
1200
+ """
1201
+ The location of the DatasetConfig.
1202
+ """
1203
+ return pulumi.get(self, "location")
1204
+
1205
+ @_builtins.property
1206
+ @pulumi.getter
1207
+ def name(self) -> pulumi.Output[_builtins.str]:
1208
+ """
1209
+ The full canonical resource name of the DatasetConfig (e.g., projects/P/locations/L/datasetConfigs/ID).
1210
+ """
1211
+ return pulumi.get(self, "name")
1212
+
1213
+ @_builtins.property
1214
+ @pulumi.getter(name="organizationNumber")
1215
+ def organization_number(self) -> pulumi.Output[_builtins.str]:
1216
+ """
1217
+ Organization resource ID that the source projects should belong to.
1218
+ Projects that do not belong to the provided organization are not considered when creating the dataset.
1219
+ """
1220
+ return pulumi.get(self, "organization_number")
1221
+
1222
+ @_builtins.property
1223
+ @pulumi.getter(name="organizationScope")
1224
+ def organization_scope(self) -> pulumi.Output[Optional[_builtins.bool]]:
1225
+ """
1226
+ Defines the options for providing a source organization for the DatasetConfig.
1227
+ """
1228
+ return pulumi.get(self, "organization_scope")
1229
+
1230
+ @_builtins.property
1231
+ @pulumi.getter
1232
+ def project(self) -> pulumi.Output[_builtins.str]:
1233
+ """
1234
+ The ID of the project in which the resource belongs.
1235
+ If it is not provided, the provider project is used.
1236
+ """
1237
+ return pulumi.get(self, "project")
1238
+
1239
+ @_builtins.property
1240
+ @pulumi.getter(name="retentionPeriodDays")
1241
+ def retention_period_days(self) -> pulumi.Output[_builtins.int]:
1242
+ """
1243
+ Number of days of history that must be retained.
1244
+ """
1245
+ return pulumi.get(self, "retention_period_days")
1246
+
1247
+ @_builtins.property
1248
+ @pulumi.getter(name="sourceFolders")
1249
+ def source_folders(self) -> pulumi.Output[Optional['outputs.InsightsDatasetConfigSourceFolders']]:
1250
+ """
1251
+ Defines the options for providing source folders for the DatasetConfig.
1252
+ Structure is documented below.
1253
+ """
1254
+ return pulumi.get(self, "source_folders")
1255
+
1256
+ @_builtins.property
1257
+ @pulumi.getter(name="sourceProjects")
1258
+ def source_projects(self) -> pulumi.Output[Optional['outputs.InsightsDatasetConfigSourceProjects']]:
1259
+ """
1260
+ Defines the options for providing source projects for the DatasetConfig.
1261
+ Structure is documented below.
1262
+ """
1263
+ return pulumi.get(self, "source_projects")
1264
+
1265
+ @_builtins.property
1266
+ @pulumi.getter
1267
+ def uid(self) -> pulumi.Output[_builtins.str]:
1268
+ """
1269
+ System generated unique identifier for the resource.
1270
+ """
1271
+ return pulumi.get(self, "uid")
1272
+
1273
+ @_builtins.property
1274
+ @pulumi.getter(name="updateTime")
1275
+ def update_time(self) -> pulumi.Output[_builtins.str]:
1276
+ """
1277
+ The UTC time at which the DatasetConfig was updated. This is auto-populated.
1278
+ """
1279
+ return pulumi.get(self, "update_time")
1280
+