pulumi-gcp 8.3.0a1727223968__py3-none-any.whl → 8.3.0a1727226164__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 (76) hide show
  1. pulumi_gcp/__init__.py +120 -0
  2. pulumi_gcp/alloydb/_inputs.py +20 -0
  3. pulumi_gcp/alloydb/instance.py +36 -0
  4. pulumi_gcp/alloydb/outputs.py +14 -0
  5. pulumi_gcp/compute/__init__.py +1 -0
  6. pulumi_gcp/compute/_inputs.py +1400 -0
  7. pulumi_gcp/compute/attached_disk.py +103 -0
  8. pulumi_gcp/compute/backend_service.py +29 -22
  9. pulumi_gcp/compute/firewall_policy_with_rules.py +769 -0
  10. pulumi_gcp/compute/outputs.py +1019 -0
  11. pulumi_gcp/compute/region_backend_service.py +29 -22
  12. pulumi_gcp/compute/router_nat.py +27 -66
  13. pulumi_gcp/config/__init__.pyi +2 -0
  14. pulumi_gcp/config/vars.py +4 -0
  15. pulumi_gcp/container/_inputs.py +72 -99
  16. pulumi_gcp/container/outputs.py +53 -70
  17. pulumi_gcp/databasemigrationservice/__init__.py +1 -0
  18. pulumi_gcp/databasemigrationservice/_inputs.py +362 -0
  19. pulumi_gcp/databasemigrationservice/migration_job.py +1739 -0
  20. pulumi_gcp/databasemigrationservice/outputs.py +268 -0
  21. pulumi_gcp/dataproc/get_metastore_service.py +11 -1
  22. pulumi_gcp/dataproc/metastore_service.py +93 -0
  23. pulumi_gcp/developerconnect/_inputs.py +42 -39
  24. pulumi_gcp/developerconnect/connection.py +86 -83
  25. pulumi_gcp/developerconnect/outputs.py +28 -26
  26. pulumi_gcp/discoveryengine/__init__.py +1 -0
  27. pulumi_gcp/discoveryengine/_inputs.py +131 -0
  28. pulumi_gcp/discoveryengine/outputs.py +131 -0
  29. pulumi_gcp/discoveryengine/target_site.py +870 -0
  30. pulumi_gcp/dns/managed_zone.py +1 -1
  31. pulumi_gcp/filestore/get_instance.py +21 -1
  32. pulumi_gcp/filestore/instance.py +94 -0
  33. pulumi_gcp/gkehub/feature_membership.py +140 -62
  34. pulumi_gcp/healthcare/__init__.py +1 -0
  35. pulumi_gcp/healthcare/_inputs.py +39 -0
  36. pulumi_gcp/healthcare/outputs.py +40 -0
  37. pulumi_gcp/healthcare/workspace.py +465 -0
  38. pulumi_gcp/looker/instance.py +81 -0
  39. pulumi_gcp/netapp/_inputs.py +63 -0
  40. pulumi_gcp/netapp/outputs.py +57 -0
  41. pulumi_gcp/netapp/storage_pool.py +54 -0
  42. pulumi_gcp/netapp/volume.py +82 -0
  43. pulumi_gcp/provider.py +20 -0
  44. pulumi_gcp/pubsub/subscription.py +43 -7
  45. pulumi_gcp/pulumi-plugin.json +1 -1
  46. pulumi_gcp/secretmanager/__init__.py +8 -0
  47. pulumi_gcp/secretmanager/_inputs.py +308 -0
  48. pulumi_gcp/secretmanager/get_regional_secret.py +279 -0
  49. pulumi_gcp/secretmanager/get_regional_secret_iam_policy.py +173 -0
  50. pulumi_gcp/secretmanager/get_regional_secret_version.py +241 -0
  51. pulumi_gcp/secretmanager/outputs.py +336 -0
  52. pulumi_gcp/secretmanager/regional_secret.py +1433 -0
  53. pulumi_gcp/secretmanager/regional_secret_iam_binding.py +1082 -0
  54. pulumi_gcp/secretmanager/regional_secret_iam_member.py +1082 -0
  55. pulumi_gcp/secretmanager/regional_secret_iam_policy.py +901 -0
  56. pulumi_gcp/secretmanager/regional_secret_version.py +753 -0
  57. pulumi_gcp/securitycenter/__init__.py +4 -0
  58. pulumi_gcp/securitycenter/folder_scc_big_query_export.py +795 -0
  59. pulumi_gcp/securitycenter/organization_scc_big_query_export.py +738 -0
  60. pulumi_gcp/securitycenter/project_scc_big_query_export.py +749 -0
  61. pulumi_gcp/securitycenter/v2_organization_scc_big_query_export.py +862 -0
  62. pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +6 -2
  63. pulumi_gcp/siteverification/__init__.py +3 -0
  64. pulumi_gcp/siteverification/_inputs.py +85 -0
  65. pulumi_gcp/siteverification/outputs.py +57 -0
  66. pulumi_gcp/siteverification/web_resource.py +398 -0
  67. pulumi_gcp/spanner/__init__.py +1 -0
  68. pulumi_gcp/spanner/_inputs.py +129 -0
  69. pulumi_gcp/spanner/backup_schedule.py +748 -0
  70. pulumi_gcp/spanner/get_instance.py +11 -1
  71. pulumi_gcp/spanner/instance.py +56 -0
  72. pulumi_gcp/spanner/outputs.py +93 -0
  73. {pulumi_gcp-8.3.0a1727223968.dist-info → pulumi_gcp-8.3.0a1727226164.dist-info}/METADATA +1 -1
  74. {pulumi_gcp-8.3.0a1727223968.dist-info → pulumi_gcp-8.3.0a1727226164.dist-info}/RECORD +76 -56
  75. {pulumi_gcp-8.3.0a1727223968.dist-info → pulumi_gcp-8.3.0a1727226164.dist-info}/WHEEL +0 -0
  76. {pulumi_gcp-8.3.0a1727223968.dist-info → pulumi_gcp-8.3.0a1727226164.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,795 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
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
+
17
+ __all__ = ['FolderSccBigQueryExportArgs', 'FolderSccBigQueryExport']
18
+
19
+ @pulumi.input_type
20
+ class FolderSccBigQueryExportArgs:
21
+ def __init__(__self__, *,
22
+ big_query_export_id: pulumi.Input[str],
23
+ dataset: pulumi.Input[str],
24
+ description: pulumi.Input[str],
25
+ filter: pulumi.Input[str],
26
+ folder: pulumi.Input[str]):
27
+ """
28
+ The set of arguments for constructing a FolderSccBigQueryExport resource.
29
+ :param pulumi.Input[str] big_query_export_id: This must be unique within the organization.
30
+
31
+
32
+ - - -
33
+ :param pulumi.Input[str] dataset: The dataset to write findings' updates to.
34
+ Its format is "projects/[projectId]/datasets/[bigquery_dataset_id]".
35
+ BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
36
+ :param pulumi.Input[str] description: The description of the export (max of 1024 characters).
37
+ :param pulumi.Input[str] filter: Expression that defines the filter to apply across create/update
38
+ events of findings. The
39
+ expression is a list of zero or more restrictions combined via
40
+ logical operators AND and OR. Parentheses are supported, and OR
41
+ has higher precedence than AND.
42
+ Restrictions have the form <field> <operator> <value> and may have
43
+ a - character in front of them to indicate negation. The fields
44
+ map to those defined in the corresponding resource.
45
+ The supported operators are:
46
+ * = for all value types.
47
+ * >, <, >=, <= for integer values.
48
+ * :, meaning substring matching, for strings.
49
+ The supported value types are:
50
+ * string literals in quotes.
51
+ * integer literals without quotes.
52
+ * boolean literals true and false without quotes.
53
+ See
54
+ [Filtering notifications](https://cloud.google.com/security-command-center/docs/how-to-api-filter-notifications)
55
+ for information on how to write a filter.
56
+ :param pulumi.Input[str] folder: The folder where Cloud Security Command Center Big Query Export
57
+ Config lives in.
58
+ """
59
+ pulumi.set(__self__, "big_query_export_id", big_query_export_id)
60
+ pulumi.set(__self__, "dataset", dataset)
61
+ pulumi.set(__self__, "description", description)
62
+ pulumi.set(__self__, "filter", filter)
63
+ pulumi.set(__self__, "folder", folder)
64
+
65
+ @property
66
+ @pulumi.getter(name="bigQueryExportId")
67
+ def big_query_export_id(self) -> pulumi.Input[str]:
68
+ """
69
+ This must be unique within the organization.
70
+
71
+
72
+ - - -
73
+ """
74
+ return pulumi.get(self, "big_query_export_id")
75
+
76
+ @big_query_export_id.setter
77
+ def big_query_export_id(self, value: pulumi.Input[str]):
78
+ pulumi.set(self, "big_query_export_id", value)
79
+
80
+ @property
81
+ @pulumi.getter
82
+ def dataset(self) -> pulumi.Input[str]:
83
+ """
84
+ The dataset to write findings' updates to.
85
+ Its format is "projects/[projectId]/datasets/[bigquery_dataset_id]".
86
+ BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
87
+ """
88
+ return pulumi.get(self, "dataset")
89
+
90
+ @dataset.setter
91
+ def dataset(self, value: pulumi.Input[str]):
92
+ pulumi.set(self, "dataset", value)
93
+
94
+ @property
95
+ @pulumi.getter
96
+ def description(self) -> pulumi.Input[str]:
97
+ """
98
+ The description of the export (max of 1024 characters).
99
+ """
100
+ return pulumi.get(self, "description")
101
+
102
+ @description.setter
103
+ def description(self, value: pulumi.Input[str]):
104
+ pulumi.set(self, "description", value)
105
+
106
+ @property
107
+ @pulumi.getter
108
+ def filter(self) -> pulumi.Input[str]:
109
+ """
110
+ Expression that defines the filter to apply across create/update
111
+ events of findings. The
112
+ expression is a list of zero or more restrictions combined via
113
+ logical operators AND and OR. Parentheses are supported, and OR
114
+ has higher precedence than AND.
115
+ Restrictions have the form <field> <operator> <value> and may have
116
+ a - character in front of them to indicate negation. The fields
117
+ map to those defined in the corresponding resource.
118
+ The supported operators are:
119
+ * = for all value types.
120
+ * >, <, >=, <= for integer values.
121
+ * :, meaning substring matching, for strings.
122
+ The supported value types are:
123
+ * string literals in quotes.
124
+ * integer literals without quotes.
125
+ * boolean literals true and false without quotes.
126
+ See
127
+ [Filtering notifications](https://cloud.google.com/security-command-center/docs/how-to-api-filter-notifications)
128
+ for information on how to write a filter.
129
+ """
130
+ return pulumi.get(self, "filter")
131
+
132
+ @filter.setter
133
+ def filter(self, value: pulumi.Input[str]):
134
+ pulumi.set(self, "filter", value)
135
+
136
+ @property
137
+ @pulumi.getter
138
+ def folder(self) -> pulumi.Input[str]:
139
+ """
140
+ The folder where Cloud Security Command Center Big Query Export
141
+ Config lives in.
142
+ """
143
+ return pulumi.get(self, "folder")
144
+
145
+ @folder.setter
146
+ def folder(self, value: pulumi.Input[str]):
147
+ pulumi.set(self, "folder", value)
148
+
149
+
150
+ @pulumi.input_type
151
+ class _FolderSccBigQueryExportState:
152
+ def __init__(__self__, *,
153
+ big_query_export_id: Optional[pulumi.Input[str]] = None,
154
+ create_time: Optional[pulumi.Input[str]] = None,
155
+ dataset: Optional[pulumi.Input[str]] = None,
156
+ description: Optional[pulumi.Input[str]] = None,
157
+ filter: Optional[pulumi.Input[str]] = None,
158
+ folder: Optional[pulumi.Input[str]] = None,
159
+ most_recent_editor: Optional[pulumi.Input[str]] = None,
160
+ name: Optional[pulumi.Input[str]] = None,
161
+ principal: Optional[pulumi.Input[str]] = None,
162
+ update_time: Optional[pulumi.Input[str]] = None):
163
+ """
164
+ Input properties used for looking up and filtering FolderSccBigQueryExport resources.
165
+ :param pulumi.Input[str] big_query_export_id: This must be unique within the organization.
166
+
167
+
168
+ - - -
169
+ :param pulumi.Input[str] create_time: The time at which the BigQuery export was created.
170
+ A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
171
+ Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
172
+ :param pulumi.Input[str] dataset: The dataset to write findings' updates to.
173
+ Its format is "projects/[projectId]/datasets/[bigquery_dataset_id]".
174
+ BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
175
+ :param pulumi.Input[str] description: The description of the export (max of 1024 characters).
176
+ :param pulumi.Input[str] filter: Expression that defines the filter to apply across create/update
177
+ events of findings. The
178
+ expression is a list of zero or more restrictions combined via
179
+ logical operators AND and OR. Parentheses are supported, and OR
180
+ has higher precedence than AND.
181
+ Restrictions have the form <field> <operator> <value> and may have
182
+ a - character in front of them to indicate negation. The fields
183
+ map to those defined in the corresponding resource.
184
+ The supported operators are:
185
+ * = for all value types.
186
+ * >, <, >=, <= for integer values.
187
+ * :, meaning substring matching, for strings.
188
+ The supported value types are:
189
+ * string literals in quotes.
190
+ * integer literals without quotes.
191
+ * boolean literals true and false without quotes.
192
+ See
193
+ [Filtering notifications](https://cloud.google.com/security-command-center/docs/how-to-api-filter-notifications)
194
+ for information on how to write a filter.
195
+ :param pulumi.Input[str] folder: The folder where Cloud Security Command Center Big Query Export
196
+ Config lives in.
197
+ :param pulumi.Input[str] most_recent_editor: Email address of the user who last edited the BigQuery export.
198
+ :param pulumi.Input[str] name: The resource name of this export, in the format
199
+ `projects/{{project}}/bigQueryExports/{{big_query_export_id}}`.
200
+ This field is provided in responses, and is ignored when provided in create requests.
201
+ :param pulumi.Input[str] principal: The service account that needs permission to create table and upload data to the BigQuery dataset.
202
+ :param pulumi.Input[str] update_time: The most recent time at which the BigQuery export was updated.
203
+ A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
204
+ Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
205
+ """
206
+ if big_query_export_id is not None:
207
+ pulumi.set(__self__, "big_query_export_id", big_query_export_id)
208
+ if create_time is not None:
209
+ pulumi.set(__self__, "create_time", create_time)
210
+ if dataset is not None:
211
+ pulumi.set(__self__, "dataset", dataset)
212
+ if description is not None:
213
+ pulumi.set(__self__, "description", description)
214
+ if filter is not None:
215
+ pulumi.set(__self__, "filter", filter)
216
+ if folder is not None:
217
+ pulumi.set(__self__, "folder", folder)
218
+ if most_recent_editor is not None:
219
+ pulumi.set(__self__, "most_recent_editor", most_recent_editor)
220
+ if name is not None:
221
+ pulumi.set(__self__, "name", name)
222
+ if principal is not None:
223
+ pulumi.set(__self__, "principal", principal)
224
+ if update_time is not None:
225
+ pulumi.set(__self__, "update_time", update_time)
226
+
227
+ @property
228
+ @pulumi.getter(name="bigQueryExportId")
229
+ def big_query_export_id(self) -> Optional[pulumi.Input[str]]:
230
+ """
231
+ This must be unique within the organization.
232
+
233
+
234
+ - - -
235
+ """
236
+ return pulumi.get(self, "big_query_export_id")
237
+
238
+ @big_query_export_id.setter
239
+ def big_query_export_id(self, value: Optional[pulumi.Input[str]]):
240
+ pulumi.set(self, "big_query_export_id", value)
241
+
242
+ @property
243
+ @pulumi.getter(name="createTime")
244
+ def create_time(self) -> Optional[pulumi.Input[str]]:
245
+ """
246
+ The time at which the BigQuery export was created.
247
+ A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
248
+ Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
249
+ """
250
+ return pulumi.get(self, "create_time")
251
+
252
+ @create_time.setter
253
+ def create_time(self, value: Optional[pulumi.Input[str]]):
254
+ pulumi.set(self, "create_time", value)
255
+
256
+ @property
257
+ @pulumi.getter
258
+ def dataset(self) -> Optional[pulumi.Input[str]]:
259
+ """
260
+ The dataset to write findings' updates to.
261
+ Its format is "projects/[projectId]/datasets/[bigquery_dataset_id]".
262
+ BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
263
+ """
264
+ return pulumi.get(self, "dataset")
265
+
266
+ @dataset.setter
267
+ def dataset(self, value: Optional[pulumi.Input[str]]):
268
+ pulumi.set(self, "dataset", value)
269
+
270
+ @property
271
+ @pulumi.getter
272
+ def description(self) -> Optional[pulumi.Input[str]]:
273
+ """
274
+ The description of the export (max of 1024 characters).
275
+ """
276
+ return pulumi.get(self, "description")
277
+
278
+ @description.setter
279
+ def description(self, value: Optional[pulumi.Input[str]]):
280
+ pulumi.set(self, "description", value)
281
+
282
+ @property
283
+ @pulumi.getter
284
+ def filter(self) -> Optional[pulumi.Input[str]]:
285
+ """
286
+ Expression that defines the filter to apply across create/update
287
+ events of findings. The
288
+ expression is a list of zero or more restrictions combined via
289
+ logical operators AND and OR. Parentheses are supported, and OR
290
+ has higher precedence than AND.
291
+ Restrictions have the form <field> <operator> <value> and may have
292
+ a - character in front of them to indicate negation. The fields
293
+ map to those defined in the corresponding resource.
294
+ The supported operators are:
295
+ * = for all value types.
296
+ * >, <, >=, <= for integer values.
297
+ * :, meaning substring matching, for strings.
298
+ The supported value types are:
299
+ * string literals in quotes.
300
+ * integer literals without quotes.
301
+ * boolean literals true and false without quotes.
302
+ See
303
+ [Filtering notifications](https://cloud.google.com/security-command-center/docs/how-to-api-filter-notifications)
304
+ for information on how to write a filter.
305
+ """
306
+ return pulumi.get(self, "filter")
307
+
308
+ @filter.setter
309
+ def filter(self, value: Optional[pulumi.Input[str]]):
310
+ pulumi.set(self, "filter", value)
311
+
312
+ @property
313
+ @pulumi.getter
314
+ def folder(self) -> Optional[pulumi.Input[str]]:
315
+ """
316
+ The folder where Cloud Security Command Center Big Query Export
317
+ Config lives in.
318
+ """
319
+ return pulumi.get(self, "folder")
320
+
321
+ @folder.setter
322
+ def folder(self, value: Optional[pulumi.Input[str]]):
323
+ pulumi.set(self, "folder", value)
324
+
325
+ @property
326
+ @pulumi.getter(name="mostRecentEditor")
327
+ def most_recent_editor(self) -> Optional[pulumi.Input[str]]:
328
+ """
329
+ Email address of the user who last edited the BigQuery export.
330
+ """
331
+ return pulumi.get(self, "most_recent_editor")
332
+
333
+ @most_recent_editor.setter
334
+ def most_recent_editor(self, value: Optional[pulumi.Input[str]]):
335
+ pulumi.set(self, "most_recent_editor", value)
336
+
337
+ @property
338
+ @pulumi.getter
339
+ def name(self) -> Optional[pulumi.Input[str]]:
340
+ """
341
+ The resource name of this export, in the format
342
+ `projects/{{project}}/bigQueryExports/{{big_query_export_id}}`.
343
+ This field is provided in responses, and is ignored when provided in create requests.
344
+ """
345
+ return pulumi.get(self, "name")
346
+
347
+ @name.setter
348
+ def name(self, value: Optional[pulumi.Input[str]]):
349
+ pulumi.set(self, "name", value)
350
+
351
+ @property
352
+ @pulumi.getter
353
+ def principal(self) -> Optional[pulumi.Input[str]]:
354
+ """
355
+ The service account that needs permission to create table and upload data to the BigQuery dataset.
356
+ """
357
+ return pulumi.get(self, "principal")
358
+
359
+ @principal.setter
360
+ def principal(self, value: Optional[pulumi.Input[str]]):
361
+ pulumi.set(self, "principal", value)
362
+
363
+ @property
364
+ @pulumi.getter(name="updateTime")
365
+ def update_time(self) -> Optional[pulumi.Input[str]]:
366
+ """
367
+ The most recent time at which the BigQuery export was updated.
368
+ A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
369
+ Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
370
+ """
371
+ return pulumi.get(self, "update_time")
372
+
373
+ @update_time.setter
374
+ def update_time(self, value: Optional[pulumi.Input[str]]):
375
+ pulumi.set(self, "update_time", value)
376
+
377
+
378
+ class FolderSccBigQueryExport(pulumi.CustomResource):
379
+ @overload
380
+ def __init__(__self__,
381
+ resource_name: str,
382
+ opts: Optional[pulumi.ResourceOptions] = None,
383
+ big_query_export_id: Optional[pulumi.Input[str]] = None,
384
+ dataset: Optional[pulumi.Input[str]] = None,
385
+ description: Optional[pulumi.Input[str]] = None,
386
+ filter: Optional[pulumi.Input[str]] = None,
387
+ folder: Optional[pulumi.Input[str]] = None,
388
+ __props__=None):
389
+ """
390
+ A Cloud Security Command Center (Cloud SCC) Big Query Export Config.
391
+ It represents exporting Security Command Center data, including assets, findings, and security marks
392
+ to a BigQuery instance.
393
+
394
+ > **Note:** In order to use Cloud SCC resources, your organization must be enrolled
395
+ in [SCC Standard/Premium](https://cloud.google.com/security-command-center/docs/quickstart-security-command-center).
396
+ Without doing so, you may run into errors during resource creation.
397
+
398
+ To get more information about FolderSccBigQueryExport, see:
399
+
400
+ * [API documentation](https://cloud.google.com/security-command-center/docs/reference/rest/v1/folders.bigQueryExports)
401
+ * How-to Guides
402
+ * [Official Documentation](https://cloud.google.com/security-command-center/docs/how-to-analyze-findings-in-big-query)
403
+
404
+ ## Example Usage
405
+
406
+ ### Scc Folder Big Query Export Config Basic
407
+
408
+ ```python
409
+ import pulumi
410
+ import pulumi_gcp as gcp
411
+
412
+ folder = gcp.organizations.Folder("folder",
413
+ parent="organizations/123456789",
414
+ display_name="folder-name",
415
+ deletion_protection=False)
416
+ default = gcp.bigquery.Dataset("default",
417
+ dataset_id="my_dataset_id",
418
+ friendly_name="test",
419
+ description="This is a test description",
420
+ location="US",
421
+ default_table_expiration_ms=3600000,
422
+ default_partition_expiration_ms=None,
423
+ labels={
424
+ "env": "default",
425
+ })
426
+ custom_big_query_export_config = gcp.securitycenter.FolderSccBigQueryExport("custom_big_query_export_config",
427
+ big_query_export_id="my-export",
428
+ folder=folder.folder_id,
429
+ dataset=default.id,
430
+ description="Cloud Security Command Center Findings Big Query Export Config",
431
+ filter="state=\\"ACTIVE\\" AND NOT mute=\\"MUTED\\"")
432
+ ```
433
+
434
+ ## Import
435
+
436
+ FolderSccBigQueryExport can be imported using any of these accepted formats:
437
+
438
+ * `folders/{{folder}}/bigQueryExports/{{big_query_export_id}}`
439
+
440
+ * `{{folder}}/{{big_query_export_id}}`
441
+
442
+ When using the `pulumi import` command, FolderSccBigQueryExport can be imported using one of the formats above. For example:
443
+
444
+ ```sh
445
+ $ pulumi import gcp:securitycenter/folderSccBigQueryExport:FolderSccBigQueryExport default folders/{{folder}}/bigQueryExports/{{big_query_export_id}}
446
+ ```
447
+
448
+ ```sh
449
+ $ pulumi import gcp:securitycenter/folderSccBigQueryExport:FolderSccBigQueryExport default {{folder}}/{{big_query_export_id}}
450
+ ```
451
+
452
+ :param str resource_name: The name of the resource.
453
+ :param pulumi.ResourceOptions opts: Options for the resource.
454
+ :param pulumi.Input[str] big_query_export_id: This must be unique within the organization.
455
+
456
+
457
+ - - -
458
+ :param pulumi.Input[str] dataset: The dataset to write findings' updates to.
459
+ Its format is "projects/[projectId]/datasets/[bigquery_dataset_id]".
460
+ BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
461
+ :param pulumi.Input[str] description: The description of the export (max of 1024 characters).
462
+ :param pulumi.Input[str] filter: Expression that defines the filter to apply across create/update
463
+ events of findings. The
464
+ expression is a list of zero or more restrictions combined via
465
+ logical operators AND and OR. Parentheses are supported, and OR
466
+ has higher precedence than AND.
467
+ Restrictions have the form <field> <operator> <value> and may have
468
+ a - character in front of them to indicate negation. The fields
469
+ map to those defined in the corresponding resource.
470
+ The supported operators are:
471
+ * = for all value types.
472
+ * >, <, >=, <= for integer values.
473
+ * :, meaning substring matching, for strings.
474
+ The supported value types are:
475
+ * string literals in quotes.
476
+ * integer literals without quotes.
477
+ * boolean literals true and false without quotes.
478
+ See
479
+ [Filtering notifications](https://cloud.google.com/security-command-center/docs/how-to-api-filter-notifications)
480
+ for information on how to write a filter.
481
+ :param pulumi.Input[str] folder: The folder where Cloud Security Command Center Big Query Export
482
+ Config lives in.
483
+ """
484
+ ...
485
+ @overload
486
+ def __init__(__self__,
487
+ resource_name: str,
488
+ args: FolderSccBigQueryExportArgs,
489
+ opts: Optional[pulumi.ResourceOptions] = None):
490
+ """
491
+ A Cloud Security Command Center (Cloud SCC) Big Query Export Config.
492
+ It represents exporting Security Command Center data, including assets, findings, and security marks
493
+ to a BigQuery instance.
494
+
495
+ > **Note:** In order to use Cloud SCC resources, your organization must be enrolled
496
+ in [SCC Standard/Premium](https://cloud.google.com/security-command-center/docs/quickstart-security-command-center).
497
+ Without doing so, you may run into errors during resource creation.
498
+
499
+ To get more information about FolderSccBigQueryExport, see:
500
+
501
+ * [API documentation](https://cloud.google.com/security-command-center/docs/reference/rest/v1/folders.bigQueryExports)
502
+ * How-to Guides
503
+ * [Official Documentation](https://cloud.google.com/security-command-center/docs/how-to-analyze-findings-in-big-query)
504
+
505
+ ## Example Usage
506
+
507
+ ### Scc Folder Big Query Export Config Basic
508
+
509
+ ```python
510
+ import pulumi
511
+ import pulumi_gcp as gcp
512
+
513
+ folder = gcp.organizations.Folder("folder",
514
+ parent="organizations/123456789",
515
+ display_name="folder-name",
516
+ deletion_protection=False)
517
+ default = gcp.bigquery.Dataset("default",
518
+ dataset_id="my_dataset_id",
519
+ friendly_name="test",
520
+ description="This is a test description",
521
+ location="US",
522
+ default_table_expiration_ms=3600000,
523
+ default_partition_expiration_ms=None,
524
+ labels={
525
+ "env": "default",
526
+ })
527
+ custom_big_query_export_config = gcp.securitycenter.FolderSccBigQueryExport("custom_big_query_export_config",
528
+ big_query_export_id="my-export",
529
+ folder=folder.folder_id,
530
+ dataset=default.id,
531
+ description="Cloud Security Command Center Findings Big Query Export Config",
532
+ filter="state=\\"ACTIVE\\" AND NOT mute=\\"MUTED\\"")
533
+ ```
534
+
535
+ ## Import
536
+
537
+ FolderSccBigQueryExport can be imported using any of these accepted formats:
538
+
539
+ * `folders/{{folder}}/bigQueryExports/{{big_query_export_id}}`
540
+
541
+ * `{{folder}}/{{big_query_export_id}}`
542
+
543
+ When using the `pulumi import` command, FolderSccBigQueryExport can be imported using one of the formats above. For example:
544
+
545
+ ```sh
546
+ $ pulumi import gcp:securitycenter/folderSccBigQueryExport:FolderSccBigQueryExport default folders/{{folder}}/bigQueryExports/{{big_query_export_id}}
547
+ ```
548
+
549
+ ```sh
550
+ $ pulumi import gcp:securitycenter/folderSccBigQueryExport:FolderSccBigQueryExport default {{folder}}/{{big_query_export_id}}
551
+ ```
552
+
553
+ :param str resource_name: The name of the resource.
554
+ :param FolderSccBigQueryExportArgs args: The arguments to use to populate this resource's properties.
555
+ :param pulumi.ResourceOptions opts: Options for the resource.
556
+ """
557
+ ...
558
+ def __init__(__self__, resource_name: str, *args, **kwargs):
559
+ resource_args, opts = _utilities.get_resource_args_opts(FolderSccBigQueryExportArgs, pulumi.ResourceOptions, *args, **kwargs)
560
+ if resource_args is not None:
561
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
562
+ else:
563
+ __self__._internal_init(resource_name, *args, **kwargs)
564
+
565
+ def _internal_init(__self__,
566
+ resource_name: str,
567
+ opts: Optional[pulumi.ResourceOptions] = None,
568
+ big_query_export_id: Optional[pulumi.Input[str]] = None,
569
+ dataset: Optional[pulumi.Input[str]] = None,
570
+ description: Optional[pulumi.Input[str]] = None,
571
+ filter: Optional[pulumi.Input[str]] = None,
572
+ folder: Optional[pulumi.Input[str]] = None,
573
+ __props__=None):
574
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
575
+ if not isinstance(opts, pulumi.ResourceOptions):
576
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
577
+ if opts.id is None:
578
+ if __props__ is not None:
579
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
580
+ __props__ = FolderSccBigQueryExportArgs.__new__(FolderSccBigQueryExportArgs)
581
+
582
+ if big_query_export_id is None and not opts.urn:
583
+ raise TypeError("Missing required property 'big_query_export_id'")
584
+ __props__.__dict__["big_query_export_id"] = big_query_export_id
585
+ if dataset is None and not opts.urn:
586
+ raise TypeError("Missing required property 'dataset'")
587
+ __props__.__dict__["dataset"] = dataset
588
+ if description is None and not opts.urn:
589
+ raise TypeError("Missing required property 'description'")
590
+ __props__.__dict__["description"] = description
591
+ if filter is None and not opts.urn:
592
+ raise TypeError("Missing required property 'filter'")
593
+ __props__.__dict__["filter"] = filter
594
+ if folder is None and not opts.urn:
595
+ raise TypeError("Missing required property 'folder'")
596
+ __props__.__dict__["folder"] = folder
597
+ __props__.__dict__["create_time"] = None
598
+ __props__.__dict__["most_recent_editor"] = None
599
+ __props__.__dict__["name"] = None
600
+ __props__.__dict__["principal"] = None
601
+ __props__.__dict__["update_time"] = None
602
+ super(FolderSccBigQueryExport, __self__).__init__(
603
+ 'gcp:securitycenter/folderSccBigQueryExport:FolderSccBigQueryExport',
604
+ resource_name,
605
+ __props__,
606
+ opts)
607
+
608
+ @staticmethod
609
+ def get(resource_name: str,
610
+ id: pulumi.Input[str],
611
+ opts: Optional[pulumi.ResourceOptions] = None,
612
+ big_query_export_id: Optional[pulumi.Input[str]] = None,
613
+ create_time: Optional[pulumi.Input[str]] = None,
614
+ dataset: Optional[pulumi.Input[str]] = None,
615
+ description: Optional[pulumi.Input[str]] = None,
616
+ filter: Optional[pulumi.Input[str]] = None,
617
+ folder: Optional[pulumi.Input[str]] = None,
618
+ most_recent_editor: Optional[pulumi.Input[str]] = None,
619
+ name: Optional[pulumi.Input[str]] = None,
620
+ principal: Optional[pulumi.Input[str]] = None,
621
+ update_time: Optional[pulumi.Input[str]] = None) -> 'FolderSccBigQueryExport':
622
+ """
623
+ Get an existing FolderSccBigQueryExport resource's state with the given name, id, and optional extra
624
+ properties used to qualify the lookup.
625
+
626
+ :param str resource_name: The unique name of the resulting resource.
627
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
628
+ :param pulumi.ResourceOptions opts: Options for the resource.
629
+ :param pulumi.Input[str] big_query_export_id: This must be unique within the organization.
630
+
631
+
632
+ - - -
633
+ :param pulumi.Input[str] create_time: The time at which the BigQuery export was created.
634
+ A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
635
+ Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
636
+ :param pulumi.Input[str] dataset: The dataset to write findings' updates to.
637
+ Its format is "projects/[projectId]/datasets/[bigquery_dataset_id]".
638
+ BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
639
+ :param pulumi.Input[str] description: The description of the export (max of 1024 characters).
640
+ :param pulumi.Input[str] filter: Expression that defines the filter to apply across create/update
641
+ events of findings. The
642
+ expression is a list of zero or more restrictions combined via
643
+ logical operators AND and OR. Parentheses are supported, and OR
644
+ has higher precedence than AND.
645
+ Restrictions have the form <field> <operator> <value> and may have
646
+ a - character in front of them to indicate negation. The fields
647
+ map to those defined in the corresponding resource.
648
+ The supported operators are:
649
+ * = for all value types.
650
+ * >, <, >=, <= for integer values.
651
+ * :, meaning substring matching, for strings.
652
+ The supported value types are:
653
+ * string literals in quotes.
654
+ * integer literals without quotes.
655
+ * boolean literals true and false without quotes.
656
+ See
657
+ [Filtering notifications](https://cloud.google.com/security-command-center/docs/how-to-api-filter-notifications)
658
+ for information on how to write a filter.
659
+ :param pulumi.Input[str] folder: The folder where Cloud Security Command Center Big Query Export
660
+ Config lives in.
661
+ :param pulumi.Input[str] most_recent_editor: Email address of the user who last edited the BigQuery export.
662
+ :param pulumi.Input[str] name: The resource name of this export, in the format
663
+ `projects/{{project}}/bigQueryExports/{{big_query_export_id}}`.
664
+ This field is provided in responses, and is ignored when provided in create requests.
665
+ :param pulumi.Input[str] principal: The service account that needs permission to create table and upload data to the BigQuery dataset.
666
+ :param pulumi.Input[str] update_time: The most recent time at which the BigQuery export was updated.
667
+ A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
668
+ Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
669
+ """
670
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
671
+
672
+ __props__ = _FolderSccBigQueryExportState.__new__(_FolderSccBigQueryExportState)
673
+
674
+ __props__.__dict__["big_query_export_id"] = big_query_export_id
675
+ __props__.__dict__["create_time"] = create_time
676
+ __props__.__dict__["dataset"] = dataset
677
+ __props__.__dict__["description"] = description
678
+ __props__.__dict__["filter"] = filter
679
+ __props__.__dict__["folder"] = folder
680
+ __props__.__dict__["most_recent_editor"] = most_recent_editor
681
+ __props__.__dict__["name"] = name
682
+ __props__.__dict__["principal"] = principal
683
+ __props__.__dict__["update_time"] = update_time
684
+ return FolderSccBigQueryExport(resource_name, opts=opts, __props__=__props__)
685
+
686
+ @property
687
+ @pulumi.getter(name="bigQueryExportId")
688
+ def big_query_export_id(self) -> pulumi.Output[str]:
689
+ """
690
+ This must be unique within the organization.
691
+
692
+
693
+ - - -
694
+ """
695
+ return pulumi.get(self, "big_query_export_id")
696
+
697
+ @property
698
+ @pulumi.getter(name="createTime")
699
+ def create_time(self) -> pulumi.Output[str]:
700
+ """
701
+ The time at which the BigQuery export was created.
702
+ A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
703
+ Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
704
+ """
705
+ return pulumi.get(self, "create_time")
706
+
707
+ @property
708
+ @pulumi.getter
709
+ def dataset(self) -> pulumi.Output[str]:
710
+ """
711
+ The dataset to write findings' updates to.
712
+ Its format is "projects/[projectId]/datasets/[bigquery_dataset_id]".
713
+ BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
714
+ """
715
+ return pulumi.get(self, "dataset")
716
+
717
+ @property
718
+ @pulumi.getter
719
+ def description(self) -> pulumi.Output[str]:
720
+ """
721
+ The description of the export (max of 1024 characters).
722
+ """
723
+ return pulumi.get(self, "description")
724
+
725
+ @property
726
+ @pulumi.getter
727
+ def filter(self) -> pulumi.Output[str]:
728
+ """
729
+ Expression that defines the filter to apply across create/update
730
+ events of findings. The
731
+ expression is a list of zero or more restrictions combined via
732
+ logical operators AND and OR. Parentheses are supported, and OR
733
+ has higher precedence than AND.
734
+ Restrictions have the form <field> <operator> <value> and may have
735
+ a - character in front of them to indicate negation. The fields
736
+ map to those defined in the corresponding resource.
737
+ The supported operators are:
738
+ * = for all value types.
739
+ * >, <, >=, <= for integer values.
740
+ * :, meaning substring matching, for strings.
741
+ The supported value types are:
742
+ * string literals in quotes.
743
+ * integer literals without quotes.
744
+ * boolean literals true and false without quotes.
745
+ See
746
+ [Filtering notifications](https://cloud.google.com/security-command-center/docs/how-to-api-filter-notifications)
747
+ for information on how to write a filter.
748
+ """
749
+ return pulumi.get(self, "filter")
750
+
751
+ @property
752
+ @pulumi.getter
753
+ def folder(self) -> pulumi.Output[str]:
754
+ """
755
+ The folder where Cloud Security Command Center Big Query Export
756
+ Config lives in.
757
+ """
758
+ return pulumi.get(self, "folder")
759
+
760
+ @property
761
+ @pulumi.getter(name="mostRecentEditor")
762
+ def most_recent_editor(self) -> pulumi.Output[str]:
763
+ """
764
+ Email address of the user who last edited the BigQuery export.
765
+ """
766
+ return pulumi.get(self, "most_recent_editor")
767
+
768
+ @property
769
+ @pulumi.getter
770
+ def name(self) -> pulumi.Output[str]:
771
+ """
772
+ The resource name of this export, in the format
773
+ `projects/{{project}}/bigQueryExports/{{big_query_export_id}}`.
774
+ This field is provided in responses, and is ignored when provided in create requests.
775
+ """
776
+ return pulumi.get(self, "name")
777
+
778
+ @property
779
+ @pulumi.getter
780
+ def principal(self) -> pulumi.Output[str]:
781
+ """
782
+ The service account that needs permission to create table and upload data to the BigQuery dataset.
783
+ """
784
+ return pulumi.get(self, "principal")
785
+
786
+ @property
787
+ @pulumi.getter(name="updateTime")
788
+ def update_time(self) -> pulumi.Output[str]:
789
+ """
790
+ The most recent time at which the BigQuery export was updated.
791
+ A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
792
+ Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
793
+ """
794
+ return pulumi.get(self, "update_time")
795
+