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