pulumi-gcp 7.22.0a1715345822__py3-none-any.whl → 7.23.0__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 (65) hide show
  1. pulumi_gcp/__init__.py +35 -0
  2. pulumi_gcp/alloydb/_inputs.py +139 -0
  3. pulumi_gcp/alloydb/cluster.py +54 -0
  4. pulumi_gcp/alloydb/outputs.py +145 -0
  5. pulumi_gcp/applicationintegration/auth_config.py +2 -6
  6. pulumi_gcp/applicationintegration/client.py +133 -18
  7. pulumi_gcp/bigquery/dataset.py +2 -2
  8. pulumi_gcp/bigquery/job.py +16 -20
  9. pulumi_gcp/bigquery/table.py +47 -0
  10. pulumi_gcp/bigtable/__init__.py +1 -0
  11. pulumi_gcp/bigtable/_inputs.py +101 -0
  12. pulumi_gcp/bigtable/authorized_view.py +440 -0
  13. pulumi_gcp/bigtable/outputs.py +119 -0
  14. pulumi_gcp/certificateauthority/certificate_template.py +70 -0
  15. pulumi_gcp/cloudbuildv2/repository.py +2 -2
  16. pulumi_gcp/clouddeploy/_inputs.py +96 -0
  17. pulumi_gcp/clouddeploy/custom_target_type.py +46 -0
  18. pulumi_gcp/clouddeploy/delivery_pipeline.py +7 -7
  19. pulumi_gcp/clouddeploy/outputs.py +96 -1
  20. pulumi_gcp/clouddeploy/target.py +54 -7
  21. pulumi_gcp/cloudrunv2/job.py +2 -4
  22. pulumi_gcp/cloudrunv2/service.py +2 -4
  23. pulumi_gcp/compute/_inputs.py +693 -0
  24. pulumi_gcp/compute/firewall_policy_rule.py +125 -10
  25. pulumi_gcp/compute/network_firewall_policy_rule.py +125 -10
  26. pulumi_gcp/compute/outputs.py +688 -0
  27. pulumi_gcp/compute/region_network_firewall_policy_rule.py +125 -10
  28. pulumi_gcp/compute/region_security_policy_rule.py +230 -1
  29. pulumi_gcp/compute/router_peer.py +54 -14
  30. pulumi_gcp/config/__init__.pyi +2 -0
  31. pulumi_gcp/config/vars.py +4 -0
  32. pulumi_gcp/container/_inputs.py +236 -3
  33. pulumi_gcp/container/outputs.py +365 -4
  34. pulumi_gcp/dataflow/flex_template_job.py +28 -28
  35. pulumi_gcp/dataflow/job.py +28 -14
  36. pulumi_gcp/essentialcontacts/document_ai_warehouse_document_schema.py +0 -528
  37. pulumi_gcp/firebaserules/release.py +2 -2
  38. pulumi_gcp/iam/_inputs.py +191 -2
  39. pulumi_gcp/iam/outputs.py +197 -2
  40. pulumi_gcp/iam/workforce_pool_provider.py +245 -0
  41. pulumi_gcp/integrationconnectors/__init__.py +1 -0
  42. pulumi_gcp/integrationconnectors/managed_zone.py +753 -0
  43. pulumi_gcp/networkconnectivity/__init__.py +1 -0
  44. pulumi_gcp/networkconnectivity/regional_endpoint.py +946 -0
  45. pulumi_gcp/networksecurity/firewall_endpoint.py +34 -0
  46. pulumi_gcp/networksecurity/firewall_endpoint_association.py +24 -0
  47. pulumi_gcp/networksecurity/security_profile.py +16 -0
  48. pulumi_gcp/networksecurity/security_profile_group.py +18 -0
  49. pulumi_gcp/networksecurity/tls_inspection_policy.py +16 -0
  50. pulumi_gcp/orgpolicy/policy.py +2 -2
  51. pulumi_gcp/privilegedaccessmanager/__init__.py +10 -0
  52. pulumi_gcp/privilegedaccessmanager/_inputs.py +420 -0
  53. pulumi_gcp/privilegedaccessmanager/entitlement.py +852 -0
  54. pulumi_gcp/privilegedaccessmanager/outputs.py +491 -0
  55. pulumi_gcp/provider.py +20 -0
  56. pulumi_gcp/pubsub/subscription.py +4 -4
  57. pulumi_gcp/pulumi-plugin.json +2 -1
  58. pulumi_gcp/redis/cluster.py +69 -2
  59. pulumi_gcp/storage/__init__.py +1 -0
  60. pulumi_gcp/storage/get_buckets.py +138 -0
  61. pulumi_gcp/storage/outputs.py +63 -0
  62. {pulumi_gcp-7.22.0a1715345822.dist-info → pulumi_gcp-7.23.0.dist-info}/METADATA +1 -1
  63. {pulumi_gcp-7.22.0a1715345822.dist-info → pulumi_gcp-7.23.0.dist-info}/RECORD +65 -57
  64. {pulumi_gcp-7.22.0a1715345822.dist-info → pulumi_gcp-7.23.0.dist-info}/WHEEL +0 -0
  65. {pulumi_gcp-7.22.0a1715345822.dist-info → pulumi_gcp-7.23.0.dist-info}/top_level.txt +0 -0
@@ -18,6 +18,7 @@ class ClientArgs:
18
18
  def __init__(__self__, *,
19
19
  location: pulumi.Input[str],
20
20
  cloud_kms_config: Optional[pulumi.Input['ClientCloudKmsConfigArgs']] = None,
21
+ create_sample_integrations: Optional[pulumi.Input[bool]] = None,
21
22
  create_sample_workflows: Optional[pulumi.Input[bool]] = None,
22
23
  project: Optional[pulumi.Input[str]] = None,
23
24
  provision_gmek: Optional[pulumi.Input[bool]] = None,
@@ -30,19 +31,34 @@ class ClientArgs:
30
31
  - - -
31
32
  :param pulumi.Input['ClientCloudKmsConfigArgs'] cloud_kms_config: Cloud KMS config for AuthModule to encrypt/decrypt credentials.
32
33
  Structure is documented below.
33
- :param pulumi.Input[bool] create_sample_workflows: Indicates if sample workflow should be created along with provisioning.
34
+ :param pulumi.Input[bool] create_sample_integrations: Indicates if sample integrations should be created along with provisioning.
35
+ :param pulumi.Input[bool] create_sample_workflows: (Optional, Deprecated)
36
+ Indicates if sample workflow should be created along with provisioning.
37
+
38
+ > **Warning:** `create_sample_workflows` is deprecated and will be removed in a future major release. Use `create_sample_integrations` instead.
34
39
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
35
40
  If it is not provided, the provider project is used.
36
- :param pulumi.Input[bool] provision_gmek: Indicates provision with GMEK or CMEK.
41
+ :param pulumi.Input[bool] provision_gmek: (Optional, Deprecated)
42
+ Indicates provision with GMEK or CMEK.
43
+
44
+ > **Warning:** `provision_gmek` is deprecated and will be removed in a future major release. Client would be provisioned as gmek if `cloud_kms_config` is not given.
37
45
  :param pulumi.Input[str] run_as_service_account: User input run-as service account, if empty, will bring up a new default service account.
38
46
  """
39
47
  pulumi.set(__self__, "location", location)
40
48
  if cloud_kms_config is not None:
41
49
  pulumi.set(__self__, "cloud_kms_config", cloud_kms_config)
50
+ if create_sample_integrations is not None:
51
+ pulumi.set(__self__, "create_sample_integrations", create_sample_integrations)
52
+ if create_sample_workflows is not None:
53
+ warnings.warn("""`create_sample_workflows` is deprecated and will be removed in a future major release. Use `create_sample_integrations` instead.""", DeprecationWarning)
54
+ pulumi.log.warn("""create_sample_workflows is deprecated: `create_sample_workflows` is deprecated and will be removed in a future major release. Use `create_sample_integrations` instead.""")
42
55
  if create_sample_workflows is not None:
43
56
  pulumi.set(__self__, "create_sample_workflows", create_sample_workflows)
44
57
  if project is not None:
45
58
  pulumi.set(__self__, "project", project)
59
+ if provision_gmek is not None:
60
+ warnings.warn("""`provision_gmek` is deprecated and will be removed in a future major release. Client would be provisioned as gmek if `cloud_kms_config` is not given.""", DeprecationWarning)
61
+ pulumi.log.warn("""provision_gmek is deprecated: `provision_gmek` is deprecated and will be removed in a future major release. Client would be provisioned as gmek if `cloud_kms_config` is not given.""")
46
62
  if provision_gmek is not None:
47
63
  pulumi.set(__self__, "provision_gmek", provision_gmek)
48
64
  if run_as_service_account is not None:
@@ -76,12 +92,30 @@ class ClientArgs:
76
92
  def cloud_kms_config(self, value: Optional[pulumi.Input['ClientCloudKmsConfigArgs']]):
77
93
  pulumi.set(self, "cloud_kms_config", value)
78
94
 
95
+ @property
96
+ @pulumi.getter(name="createSampleIntegrations")
97
+ def create_sample_integrations(self) -> Optional[pulumi.Input[bool]]:
98
+ """
99
+ Indicates if sample integrations should be created along with provisioning.
100
+ """
101
+ return pulumi.get(self, "create_sample_integrations")
102
+
103
+ @create_sample_integrations.setter
104
+ def create_sample_integrations(self, value: Optional[pulumi.Input[bool]]):
105
+ pulumi.set(self, "create_sample_integrations", value)
106
+
79
107
  @property
80
108
  @pulumi.getter(name="createSampleWorkflows")
81
109
  def create_sample_workflows(self) -> Optional[pulumi.Input[bool]]:
82
110
  """
111
+ (Optional, Deprecated)
83
112
  Indicates if sample workflow should be created along with provisioning.
113
+
114
+ > **Warning:** `create_sample_workflows` is deprecated and will be removed in a future major release. Use `create_sample_integrations` instead.
84
115
  """
116
+ warnings.warn("""`create_sample_workflows` is deprecated and will be removed in a future major release. Use `create_sample_integrations` instead.""", DeprecationWarning)
117
+ pulumi.log.warn("""create_sample_workflows is deprecated: `create_sample_workflows` is deprecated and will be removed in a future major release. Use `create_sample_integrations` instead.""")
118
+
85
119
  return pulumi.get(self, "create_sample_workflows")
86
120
 
87
121
  @create_sample_workflows.setter
@@ -105,8 +139,14 @@ class ClientArgs:
105
139
  @pulumi.getter(name="provisionGmek")
106
140
  def provision_gmek(self) -> Optional[pulumi.Input[bool]]:
107
141
  """
142
+ (Optional, Deprecated)
108
143
  Indicates provision with GMEK or CMEK.
144
+
145
+ > **Warning:** `provision_gmek` is deprecated and will be removed in a future major release. Client would be provisioned as gmek if `cloud_kms_config` is not given.
109
146
  """
147
+ warnings.warn("""`provision_gmek` is deprecated and will be removed in a future major release. Client would be provisioned as gmek if `cloud_kms_config` is not given.""", DeprecationWarning)
148
+ pulumi.log.warn("""provision_gmek is deprecated: `provision_gmek` is deprecated and will be removed in a future major release. Client would be provisioned as gmek if `cloud_kms_config` is not given.""")
149
+
110
150
  return pulumi.get(self, "provision_gmek")
111
151
 
112
152
  @provision_gmek.setter
@@ -130,6 +170,7 @@ class ClientArgs:
130
170
  class _ClientState:
131
171
  def __init__(__self__, *,
132
172
  cloud_kms_config: Optional[pulumi.Input['ClientCloudKmsConfigArgs']] = None,
173
+ create_sample_integrations: Optional[pulumi.Input[bool]] = None,
133
174
  create_sample_workflows: Optional[pulumi.Input[bool]] = None,
134
175
  location: Optional[pulumi.Input[str]] = None,
135
176
  project: Optional[pulumi.Input[str]] = None,
@@ -139,24 +180,39 @@ class _ClientState:
139
180
  Input properties used for looking up and filtering Client resources.
140
181
  :param pulumi.Input['ClientCloudKmsConfigArgs'] cloud_kms_config: Cloud KMS config for AuthModule to encrypt/decrypt credentials.
141
182
  Structure is documented below.
142
- :param pulumi.Input[bool] create_sample_workflows: Indicates if sample workflow should be created along with provisioning.
183
+ :param pulumi.Input[bool] create_sample_integrations: Indicates if sample integrations should be created along with provisioning.
184
+ :param pulumi.Input[bool] create_sample_workflows: (Optional, Deprecated)
185
+ Indicates if sample workflow should be created along with provisioning.
186
+
187
+ > **Warning:** `create_sample_workflows` is deprecated and will be removed in a future major release. Use `create_sample_integrations` instead.
143
188
  :param pulumi.Input[str] location: Location in which client needs to be provisioned.
144
189
 
145
190
 
146
191
  - - -
147
192
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
148
193
  If it is not provided, the provider project is used.
149
- :param pulumi.Input[bool] provision_gmek: Indicates provision with GMEK or CMEK.
194
+ :param pulumi.Input[bool] provision_gmek: (Optional, Deprecated)
195
+ Indicates provision with GMEK or CMEK.
196
+
197
+ > **Warning:** `provision_gmek` is deprecated and will be removed in a future major release. Client would be provisioned as gmek if `cloud_kms_config` is not given.
150
198
  :param pulumi.Input[str] run_as_service_account: User input run-as service account, if empty, will bring up a new default service account.
151
199
  """
152
200
  if cloud_kms_config is not None:
153
201
  pulumi.set(__self__, "cloud_kms_config", cloud_kms_config)
202
+ if create_sample_integrations is not None:
203
+ pulumi.set(__self__, "create_sample_integrations", create_sample_integrations)
204
+ if create_sample_workflows is not None:
205
+ warnings.warn("""`create_sample_workflows` is deprecated and will be removed in a future major release. Use `create_sample_integrations` instead.""", DeprecationWarning)
206
+ pulumi.log.warn("""create_sample_workflows is deprecated: `create_sample_workflows` is deprecated and will be removed in a future major release. Use `create_sample_integrations` instead.""")
154
207
  if create_sample_workflows is not None:
155
208
  pulumi.set(__self__, "create_sample_workflows", create_sample_workflows)
156
209
  if location is not None:
157
210
  pulumi.set(__self__, "location", location)
158
211
  if project is not None:
159
212
  pulumi.set(__self__, "project", project)
213
+ if provision_gmek is not None:
214
+ warnings.warn("""`provision_gmek` is deprecated and will be removed in a future major release. Client would be provisioned as gmek if `cloud_kms_config` is not given.""", DeprecationWarning)
215
+ pulumi.log.warn("""provision_gmek is deprecated: `provision_gmek` is deprecated and will be removed in a future major release. Client would be provisioned as gmek if `cloud_kms_config` is not given.""")
160
216
  if provision_gmek is not None:
161
217
  pulumi.set(__self__, "provision_gmek", provision_gmek)
162
218
  if run_as_service_account is not None:
@@ -175,12 +231,30 @@ class _ClientState:
175
231
  def cloud_kms_config(self, value: Optional[pulumi.Input['ClientCloudKmsConfigArgs']]):
176
232
  pulumi.set(self, "cloud_kms_config", value)
177
233
 
234
+ @property
235
+ @pulumi.getter(name="createSampleIntegrations")
236
+ def create_sample_integrations(self) -> Optional[pulumi.Input[bool]]:
237
+ """
238
+ Indicates if sample integrations should be created along with provisioning.
239
+ """
240
+ return pulumi.get(self, "create_sample_integrations")
241
+
242
+ @create_sample_integrations.setter
243
+ def create_sample_integrations(self, value: Optional[pulumi.Input[bool]]):
244
+ pulumi.set(self, "create_sample_integrations", value)
245
+
178
246
  @property
179
247
  @pulumi.getter(name="createSampleWorkflows")
180
248
  def create_sample_workflows(self) -> Optional[pulumi.Input[bool]]:
181
249
  """
250
+ (Optional, Deprecated)
182
251
  Indicates if sample workflow should be created along with provisioning.
252
+
253
+ > **Warning:** `create_sample_workflows` is deprecated and will be removed in a future major release. Use `create_sample_integrations` instead.
183
254
  """
255
+ warnings.warn("""`create_sample_workflows` is deprecated and will be removed in a future major release. Use `create_sample_integrations` instead.""", DeprecationWarning)
256
+ pulumi.log.warn("""create_sample_workflows is deprecated: `create_sample_workflows` is deprecated and will be removed in a future major release. Use `create_sample_integrations` instead.""")
257
+
184
258
  return pulumi.get(self, "create_sample_workflows")
185
259
 
186
260
  @create_sample_workflows.setter
@@ -219,8 +293,14 @@ class _ClientState:
219
293
  @pulumi.getter(name="provisionGmek")
220
294
  def provision_gmek(self) -> Optional[pulumi.Input[bool]]:
221
295
  """
296
+ (Optional, Deprecated)
222
297
  Indicates provision with GMEK or CMEK.
298
+
299
+ > **Warning:** `provision_gmek` is deprecated and will be removed in a future major release. Client would be provisioned as gmek if `cloud_kms_config` is not given.
223
300
  """
301
+ warnings.warn("""`provision_gmek` is deprecated and will be removed in a future major release. Client would be provisioned as gmek if `cloud_kms_config` is not given.""", DeprecationWarning)
302
+ pulumi.log.warn("""provision_gmek is deprecated: `provision_gmek` is deprecated and will be removed in a future major release. Client would be provisioned as gmek if `cloud_kms_config` is not given.""")
303
+
224
304
  return pulumi.get(self, "provision_gmek")
225
305
 
226
306
  @provision_gmek.setter
@@ -246,6 +326,7 @@ class Client(pulumi.CustomResource):
246
326
  resource_name: str,
247
327
  opts: Optional[pulumi.ResourceOptions] = None,
248
328
  cloud_kms_config: Optional[pulumi.Input[pulumi.InputType['ClientCloudKmsConfigArgs']]] = None,
329
+ create_sample_integrations: Optional[pulumi.Input[bool]] = None,
249
330
  create_sample_workflows: Optional[pulumi.Input[bool]] = None,
250
331
  location: Optional[pulumi.Input[str]] = None,
251
332
  project: Optional[pulumi.Input[str]] = None,
@@ -270,11 +351,9 @@ class Client(pulumi.CustomResource):
270
351
  import pulumi
271
352
  import pulumi_gcp as gcp
272
353
 
273
- example = gcp.applicationintegration.Client("example",
274
- location="us-central1",
275
- provision_gmek=True)
354
+ example = gcp.applicationintegration.Client("example", location="us-central1")
276
355
  ```
277
- ### Integrations Client Advance
356
+ ### Integrations Client Full
278
357
 
279
358
  ```python
280
359
  import pulumi
@@ -294,7 +373,7 @@ class Client(pulumi.CustomResource):
294
373
  display_name="Service Account")
295
374
  example = gcp.applicationintegration.Client("example",
296
375
  location="us-east1",
297
- create_sample_workflows=True,
376
+ create_sample_integrations=True,
298
377
  run_as_service_account=service_account.email,
299
378
  cloud_kms_config=gcp.applicationintegration.ClientCloudKmsConfigArgs(
300
379
  kms_location="us-east1",
@@ -333,14 +412,21 @@ class Client(pulumi.CustomResource):
333
412
  :param pulumi.ResourceOptions opts: Options for the resource.
334
413
  :param pulumi.Input[pulumi.InputType['ClientCloudKmsConfigArgs']] cloud_kms_config: Cloud KMS config for AuthModule to encrypt/decrypt credentials.
335
414
  Structure is documented below.
336
- :param pulumi.Input[bool] create_sample_workflows: Indicates if sample workflow should be created along with provisioning.
415
+ :param pulumi.Input[bool] create_sample_integrations: Indicates if sample integrations should be created along with provisioning.
416
+ :param pulumi.Input[bool] create_sample_workflows: (Optional, Deprecated)
417
+ Indicates if sample workflow should be created along with provisioning.
418
+
419
+ > **Warning:** `create_sample_workflows` is deprecated and will be removed in a future major release. Use `create_sample_integrations` instead.
337
420
  :param pulumi.Input[str] location: Location in which client needs to be provisioned.
338
421
 
339
422
 
340
423
  - - -
341
424
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
342
425
  If it is not provided, the provider project is used.
343
- :param pulumi.Input[bool] provision_gmek: Indicates provision with GMEK or CMEK.
426
+ :param pulumi.Input[bool] provision_gmek: (Optional, Deprecated)
427
+ Indicates provision with GMEK or CMEK.
428
+
429
+ > **Warning:** `provision_gmek` is deprecated and will be removed in a future major release. Client would be provisioned as gmek if `cloud_kms_config` is not given.
344
430
  :param pulumi.Input[str] run_as_service_account: User input run-as service account, if empty, will bring up a new default service account.
345
431
  """
346
432
  ...
@@ -367,11 +453,9 @@ class Client(pulumi.CustomResource):
367
453
  import pulumi
368
454
  import pulumi_gcp as gcp
369
455
 
370
- example = gcp.applicationintegration.Client("example",
371
- location="us-central1",
372
- provision_gmek=True)
456
+ example = gcp.applicationintegration.Client("example", location="us-central1")
373
457
  ```
374
- ### Integrations Client Advance
458
+ ### Integrations Client Full
375
459
 
376
460
  ```python
377
461
  import pulumi
@@ -391,7 +475,7 @@ class Client(pulumi.CustomResource):
391
475
  display_name="Service Account")
392
476
  example = gcp.applicationintegration.Client("example",
393
477
  location="us-east1",
394
- create_sample_workflows=True,
478
+ create_sample_integrations=True,
395
479
  run_as_service_account=service_account.email,
396
480
  cloud_kms_config=gcp.applicationintegration.ClientCloudKmsConfigArgs(
397
481
  kms_location="us-east1",
@@ -442,6 +526,7 @@ class Client(pulumi.CustomResource):
442
526
  resource_name: str,
443
527
  opts: Optional[pulumi.ResourceOptions] = None,
444
528
  cloud_kms_config: Optional[pulumi.Input[pulumi.InputType['ClientCloudKmsConfigArgs']]] = None,
529
+ create_sample_integrations: Optional[pulumi.Input[bool]] = None,
445
530
  create_sample_workflows: Optional[pulumi.Input[bool]] = None,
446
531
  location: Optional[pulumi.Input[str]] = None,
447
532
  project: Optional[pulumi.Input[str]] = None,
@@ -457,6 +542,7 @@ class Client(pulumi.CustomResource):
457
542
  __props__ = ClientArgs.__new__(ClientArgs)
458
543
 
459
544
  __props__.__dict__["cloud_kms_config"] = cloud_kms_config
545
+ __props__.__dict__["create_sample_integrations"] = create_sample_integrations
460
546
  __props__.__dict__["create_sample_workflows"] = create_sample_workflows
461
547
  if location is None and not opts.urn:
462
548
  raise TypeError("Missing required property 'location'")
@@ -475,6 +561,7 @@ class Client(pulumi.CustomResource):
475
561
  id: pulumi.Input[str],
476
562
  opts: Optional[pulumi.ResourceOptions] = None,
477
563
  cloud_kms_config: Optional[pulumi.Input[pulumi.InputType['ClientCloudKmsConfigArgs']]] = None,
564
+ create_sample_integrations: Optional[pulumi.Input[bool]] = None,
478
565
  create_sample_workflows: Optional[pulumi.Input[bool]] = None,
479
566
  location: Optional[pulumi.Input[str]] = None,
480
567
  project: Optional[pulumi.Input[str]] = None,
@@ -489,14 +576,21 @@ class Client(pulumi.CustomResource):
489
576
  :param pulumi.ResourceOptions opts: Options for the resource.
490
577
  :param pulumi.Input[pulumi.InputType['ClientCloudKmsConfigArgs']] cloud_kms_config: Cloud KMS config for AuthModule to encrypt/decrypt credentials.
491
578
  Structure is documented below.
492
- :param pulumi.Input[bool] create_sample_workflows: Indicates if sample workflow should be created along with provisioning.
579
+ :param pulumi.Input[bool] create_sample_integrations: Indicates if sample integrations should be created along with provisioning.
580
+ :param pulumi.Input[bool] create_sample_workflows: (Optional, Deprecated)
581
+ Indicates if sample workflow should be created along with provisioning.
582
+
583
+ > **Warning:** `create_sample_workflows` is deprecated and will be removed in a future major release. Use `create_sample_integrations` instead.
493
584
  :param pulumi.Input[str] location: Location in which client needs to be provisioned.
494
585
 
495
586
 
496
587
  - - -
497
588
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
498
589
  If it is not provided, the provider project is used.
499
- :param pulumi.Input[bool] provision_gmek: Indicates provision with GMEK or CMEK.
590
+ :param pulumi.Input[bool] provision_gmek: (Optional, Deprecated)
591
+ Indicates provision with GMEK or CMEK.
592
+
593
+ > **Warning:** `provision_gmek` is deprecated and will be removed in a future major release. Client would be provisioned as gmek if `cloud_kms_config` is not given.
500
594
  :param pulumi.Input[str] run_as_service_account: User input run-as service account, if empty, will bring up a new default service account.
501
595
  """
502
596
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -504,6 +598,7 @@ class Client(pulumi.CustomResource):
504
598
  __props__ = _ClientState.__new__(_ClientState)
505
599
 
506
600
  __props__.__dict__["cloud_kms_config"] = cloud_kms_config
601
+ __props__.__dict__["create_sample_integrations"] = create_sample_integrations
507
602
  __props__.__dict__["create_sample_workflows"] = create_sample_workflows
508
603
  __props__.__dict__["location"] = location
509
604
  __props__.__dict__["project"] = project
@@ -520,12 +615,26 @@ class Client(pulumi.CustomResource):
520
615
  """
521
616
  return pulumi.get(self, "cloud_kms_config")
522
617
 
618
+ @property
619
+ @pulumi.getter(name="createSampleIntegrations")
620
+ def create_sample_integrations(self) -> pulumi.Output[Optional[bool]]:
621
+ """
622
+ Indicates if sample integrations should be created along with provisioning.
623
+ """
624
+ return pulumi.get(self, "create_sample_integrations")
625
+
523
626
  @property
524
627
  @pulumi.getter(name="createSampleWorkflows")
525
628
  def create_sample_workflows(self) -> pulumi.Output[Optional[bool]]:
526
629
  """
630
+ (Optional, Deprecated)
527
631
  Indicates if sample workflow should be created along with provisioning.
632
+
633
+ > **Warning:** `create_sample_workflows` is deprecated and will be removed in a future major release. Use `create_sample_integrations` instead.
528
634
  """
635
+ warnings.warn("""`create_sample_workflows` is deprecated and will be removed in a future major release. Use `create_sample_integrations` instead.""", DeprecationWarning)
636
+ pulumi.log.warn("""create_sample_workflows is deprecated: `create_sample_workflows` is deprecated and will be removed in a future major release. Use `create_sample_integrations` instead.""")
637
+
529
638
  return pulumi.get(self, "create_sample_workflows")
530
639
 
531
640
  @property
@@ -552,8 +661,14 @@ class Client(pulumi.CustomResource):
552
661
  @pulumi.getter(name="provisionGmek")
553
662
  def provision_gmek(self) -> pulumi.Output[Optional[bool]]:
554
663
  """
664
+ (Optional, Deprecated)
555
665
  Indicates provision with GMEK or CMEK.
666
+
667
+ > **Warning:** `provision_gmek` is deprecated and will be removed in a future major release. Client would be provisioned as gmek if `cloud_kms_config` is not given.
556
668
  """
669
+ warnings.warn("""`provision_gmek` is deprecated and will be removed in a future major release. Client would be provisioned as gmek if `cloud_kms_config` is not given.""", DeprecationWarning)
670
+ pulumi.log.warn("""provision_gmek is deprecated: `provision_gmek` is deprecated and will be removed in a future major release. Client would be provisioned as gmek if `cloud_kms_config` is not given.""")
671
+
557
672
  return pulumi.get(self, "provision_gmek")
558
673
 
559
674
  @property
@@ -1071,7 +1071,7 @@ class Dataset(pulumi.CustomResource):
1071
1071
  ),
1072
1072
  ])
1073
1073
  ```
1074
- ### Bigquery Dataset External Reference Aws Docs
1074
+ ### Bigquery Dataset External Reference Aws
1075
1075
 
1076
1076
  ```python
1077
1077
  import pulumi
@@ -1355,7 +1355,7 @@ class Dataset(pulumi.CustomResource):
1355
1355
  ),
1356
1356
  ])
1357
1357
  ```
1358
- ### Bigquery Dataset External Reference Aws Docs
1358
+ ### Bigquery Dataset External Reference Aws
1359
1359
 
1360
1360
  ```python
1361
1361
  import pulumi
@@ -636,21 +636,21 @@ class Job(pulumi.CustomResource):
636
636
  import pulumi
637
637
  import pulumi_gcp as gcp
638
638
 
639
+ count = 2
639
640
  source_dataset = []
640
- for range in [{"value": i} for i in range(0, 2)]:
641
+ for range in [{"value": i} for i in range(0, count)]:
641
642
  source_dataset.append(gcp.bigquery.Dataset(f"source-{range['value']}",
642
643
  dataset_id=f"job_copy_{range['value']}_dataset",
643
644
  friendly_name="test",
644
645
  description="This is a test description",
645
646
  location="US"))
646
647
  source = []
647
- def create_source(range_body):
648
- for range in [{"value": i} for i in range(0, range_body)]:
649
- source.append(gcp.bigquery.Table(f"source-{range['value']}",
650
- deletion_protection=False,
651
- dataset_id=source_dataset[range["value"]].dataset_id,
652
- table_id=f"job_copy_{range['value']}_table",
653
- schema=\"\"\"[
648
+ for range in [{"value": i} for i in range(0, count)]:
649
+ source.append(gcp.bigquery.Table(f"source-{range['value']}",
650
+ deletion_protection=False,
651
+ dataset_id=source_dataset[range["value"]].dataset_id,
652
+ table_id=f"job_copy_{range['value']}_table",
653
+ schema=\"\"\"[
654
654
  {
655
655
  "name": "name",
656
656
  "type": "STRING",
@@ -668,8 +668,6 @@ class Job(pulumi.CustomResource):
668
668
  }
669
669
  ]
670
670
  \"\"\"))
671
-
672
- (len(source_dataset)).apply(create_source)
673
671
  dest_dataset = gcp.bigquery.Dataset("dest",
674
672
  dataset_id="job_copy_dest_dataset",
675
673
  friendly_name="test",
@@ -1063,21 +1061,21 @@ class Job(pulumi.CustomResource):
1063
1061
  import pulumi
1064
1062
  import pulumi_gcp as gcp
1065
1063
 
1064
+ count = 2
1066
1065
  source_dataset = []
1067
- for range in [{"value": i} for i in range(0, 2)]:
1066
+ for range in [{"value": i} for i in range(0, count)]:
1068
1067
  source_dataset.append(gcp.bigquery.Dataset(f"source-{range['value']}",
1069
1068
  dataset_id=f"job_copy_{range['value']}_dataset",
1070
1069
  friendly_name="test",
1071
1070
  description="This is a test description",
1072
1071
  location="US"))
1073
1072
  source = []
1074
- def create_source(range_body):
1075
- for range in [{"value": i} for i in range(0, range_body)]:
1076
- source.append(gcp.bigquery.Table(f"source-{range['value']}",
1077
- deletion_protection=False,
1078
- dataset_id=source_dataset[range["value"]].dataset_id,
1079
- table_id=f"job_copy_{range['value']}_table",
1080
- schema=\"\"\"[
1073
+ for range in [{"value": i} for i in range(0, count)]:
1074
+ source.append(gcp.bigquery.Table(f"source-{range['value']}",
1075
+ deletion_protection=False,
1076
+ dataset_id=source_dataset[range["value"]].dataset_id,
1077
+ table_id=f"job_copy_{range['value']}_table",
1078
+ schema=\"\"\"[
1081
1079
  {
1082
1080
  "name": "name",
1083
1081
  "type": "STRING",
@@ -1095,8 +1093,6 @@ class Job(pulumi.CustomResource):
1095
1093
  }
1096
1094
  ]
1097
1095
  \"\"\"))
1098
-
1099
- (len(source_dataset)).apply(create_source)
1100
1096
  dest_dataset = gcp.bigquery.Dataset("dest",
1101
1097
  dataset_id="job_copy_dest_dataset",
1102
1098
  friendly_name="test",
@@ -18,6 +18,7 @@ class TableArgs:
18
18
  def __init__(__self__, *,
19
19
  dataset_id: pulumi.Input[str],
20
20
  table_id: pulumi.Input[str],
21
+ allow_resource_tags_on_deletion: Optional[pulumi.Input[bool]] = None,
21
22
  clusterings: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
22
23
  deletion_protection: Optional[pulumi.Input[bool]] = None,
23
24
  description: Optional[pulumi.Input[str]] = None,
@@ -43,6 +44,7 @@ class TableArgs:
43
44
  Changing this forces a new resource to be created.
44
45
  :param pulumi.Input[str] table_id: A unique ID for the resource.
45
46
  Changing this forces a new resource to be created.
47
+ :param pulumi.Input[bool] allow_resource_tags_on_deletion: Whether or not to allow table deletion when there are still resource tags attached.
46
48
  :param pulumi.Input[Sequence[pulumi.Input[str]]] clusterings: Specifies column names to use for data clustering.
47
49
  Up to four top-level columns are allowed, and should be specified in
48
50
  descending priority order.
@@ -92,6 +94,8 @@ class TableArgs:
92
94
  """
93
95
  pulumi.set(__self__, "dataset_id", dataset_id)
94
96
  pulumi.set(__self__, "table_id", table_id)
97
+ if allow_resource_tags_on_deletion is not None:
98
+ pulumi.set(__self__, "allow_resource_tags_on_deletion", allow_resource_tags_on_deletion)
95
99
  if clusterings is not None:
96
100
  pulumi.set(__self__, "clusterings", clusterings)
97
101
  if deletion_protection is not None:
@@ -157,6 +161,18 @@ class TableArgs:
157
161
  def table_id(self, value: pulumi.Input[str]):
158
162
  pulumi.set(self, "table_id", value)
159
163
 
164
+ @property
165
+ @pulumi.getter(name="allowResourceTagsOnDeletion")
166
+ def allow_resource_tags_on_deletion(self) -> Optional[pulumi.Input[bool]]:
167
+ """
168
+ Whether or not to allow table deletion when there are still resource tags attached.
169
+ """
170
+ return pulumi.get(self, "allow_resource_tags_on_deletion")
171
+
172
+ @allow_resource_tags_on_deletion.setter
173
+ def allow_resource_tags_on_deletion(self, value: Optional[pulumi.Input[bool]]):
174
+ pulumi.set(self, "allow_resource_tags_on_deletion", value)
175
+
160
176
  @property
161
177
  @pulumi.getter
162
178
  def clusterings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
@@ -416,6 +432,7 @@ class TableArgs:
416
432
  @pulumi.input_type
417
433
  class _TableState:
418
434
  def __init__(__self__, *,
435
+ allow_resource_tags_on_deletion: Optional[pulumi.Input[bool]] = None,
419
436
  clusterings: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
420
437
  creation_time: Optional[pulumi.Input[int]] = None,
421
438
  dataset_id: Optional[pulumi.Input[str]] = None,
@@ -450,6 +467,7 @@ class _TableState:
450
467
  view: Optional[pulumi.Input['TableViewArgs']] = None):
451
468
  """
452
469
  Input properties used for looking up and filtering Table resources.
470
+ :param pulumi.Input[bool] allow_resource_tags_on_deletion: Whether or not to allow table deletion when there are still resource tags attached.
453
471
  :param pulumi.Input[Sequence[pulumi.Input[str]]] clusterings: Specifies column names to use for data clustering.
454
472
  Up to four top-level columns are allowed, and should be specified in
455
473
  descending priority order.
@@ -527,6 +545,8 @@ class _TableState:
527
545
  :param pulumi.Input['TableViewArgs'] view: If specified, configures this table as a view.
528
546
  Structure is documented below.
529
547
  """
548
+ if allow_resource_tags_on_deletion is not None:
549
+ pulumi.set(__self__, "allow_resource_tags_on_deletion", allow_resource_tags_on_deletion)
530
550
  if clusterings is not None:
531
551
  pulumi.set(__self__, "clusterings", clusterings)
532
552
  if creation_time is not None:
@@ -592,6 +612,18 @@ class _TableState:
592
612
  if view is not None:
593
613
  pulumi.set(__self__, "view", view)
594
614
 
615
+ @property
616
+ @pulumi.getter(name="allowResourceTagsOnDeletion")
617
+ def allow_resource_tags_on_deletion(self) -> Optional[pulumi.Input[bool]]:
618
+ """
619
+ Whether or not to allow table deletion when there are still resource tags attached.
620
+ """
621
+ return pulumi.get(self, "allow_resource_tags_on_deletion")
622
+
623
+ @allow_resource_tags_on_deletion.setter
624
+ def allow_resource_tags_on_deletion(self, value: Optional[pulumi.Input[bool]]):
625
+ pulumi.set(self, "allow_resource_tags_on_deletion", value)
626
+
595
627
  @property
596
628
  @pulumi.getter
597
629
  def clusterings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
@@ -1026,6 +1058,7 @@ class Table(pulumi.CustomResource):
1026
1058
  def __init__(__self__,
1027
1059
  resource_name: str,
1028
1060
  opts: Optional[pulumi.ResourceOptions] = None,
1061
+ allow_resource_tags_on_deletion: Optional[pulumi.Input[bool]] = None,
1029
1062
  clusterings: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1030
1063
  dataset_id: Optional[pulumi.Input[str]] = None,
1031
1064
  deletion_protection: Optional[pulumi.Input[bool]] = None,
@@ -1135,6 +1168,7 @@ class Table(pulumi.CustomResource):
1135
1168
 
1136
1169
  :param str resource_name: The name of the resource.
1137
1170
  :param pulumi.ResourceOptions opts: Options for the resource.
1171
+ :param pulumi.Input[bool] allow_resource_tags_on_deletion: Whether or not to allow table deletion when there are still resource tags attached.
1138
1172
  :param pulumi.Input[Sequence[pulumi.Input[str]]] clusterings: Specifies column names to use for data clustering.
1139
1173
  Up to four top-level columns are allowed, and should be specified in
1140
1174
  descending priority order.
@@ -1292,6 +1326,7 @@ class Table(pulumi.CustomResource):
1292
1326
  def _internal_init(__self__,
1293
1327
  resource_name: str,
1294
1328
  opts: Optional[pulumi.ResourceOptions] = None,
1329
+ allow_resource_tags_on_deletion: Optional[pulumi.Input[bool]] = None,
1295
1330
  clusterings: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1296
1331
  dataset_id: Optional[pulumi.Input[str]] = None,
1297
1332
  deletion_protection: Optional[pulumi.Input[bool]] = None,
@@ -1322,6 +1357,7 @@ class Table(pulumi.CustomResource):
1322
1357
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
1323
1358
  __props__ = TableArgs.__new__(TableArgs)
1324
1359
 
1360
+ __props__.__dict__["allow_resource_tags_on_deletion"] = allow_resource_tags_on_deletion
1325
1361
  __props__.__dict__["clusterings"] = clusterings
1326
1362
  if dataset_id is None and not opts.urn:
1327
1363
  raise TypeError("Missing required property 'dataset_id'")
@@ -1370,6 +1406,7 @@ class Table(pulumi.CustomResource):
1370
1406
  def get(resource_name: str,
1371
1407
  id: pulumi.Input[str],
1372
1408
  opts: Optional[pulumi.ResourceOptions] = None,
1409
+ allow_resource_tags_on_deletion: Optional[pulumi.Input[bool]] = None,
1373
1410
  clusterings: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1374
1411
  creation_time: Optional[pulumi.Input[int]] = None,
1375
1412
  dataset_id: Optional[pulumi.Input[str]] = None,
@@ -1409,6 +1446,7 @@ class Table(pulumi.CustomResource):
1409
1446
  :param str resource_name: The unique name of the resulting resource.
1410
1447
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
1411
1448
  :param pulumi.ResourceOptions opts: Options for the resource.
1449
+ :param pulumi.Input[bool] allow_resource_tags_on_deletion: Whether or not to allow table deletion when there are still resource tags attached.
1412
1450
  :param pulumi.Input[Sequence[pulumi.Input[str]]] clusterings: Specifies column names to use for data clustering.
1413
1451
  Up to four top-level columns are allowed, and should be specified in
1414
1452
  descending priority order.
@@ -1490,6 +1528,7 @@ class Table(pulumi.CustomResource):
1490
1528
 
1491
1529
  __props__ = _TableState.__new__(_TableState)
1492
1530
 
1531
+ __props__.__dict__["allow_resource_tags_on_deletion"] = allow_resource_tags_on_deletion
1493
1532
  __props__.__dict__["clusterings"] = clusterings
1494
1533
  __props__.__dict__["creation_time"] = creation_time
1495
1534
  __props__.__dict__["dataset_id"] = dataset_id
@@ -1524,6 +1563,14 @@ class Table(pulumi.CustomResource):
1524
1563
  __props__.__dict__["view"] = view
1525
1564
  return Table(resource_name, opts=opts, __props__=__props__)
1526
1565
 
1566
+ @property
1567
+ @pulumi.getter(name="allowResourceTagsOnDeletion")
1568
+ def allow_resource_tags_on_deletion(self) -> pulumi.Output[Optional[bool]]:
1569
+ """
1570
+ Whether or not to allow table deletion when there are still resource tags attached.
1571
+ """
1572
+ return pulumi.get(self, "allow_resource_tags_on_deletion")
1573
+
1527
1574
  @property
1528
1575
  @pulumi.getter
1529
1576
  def clusterings(self) -> pulumi.Output[Optional[Sequence[str]]]:
@@ -5,6 +5,7 @@
5
5
  from .. import _utilities
6
6
  import typing
7
7
  # Export this package's modules as members:
8
+ from .authorized_view import *
8
9
  from .gc_policy import *
9
10
  from .get_instance_iam_policy import *
10
11
  from .get_table_iam_policy import *