pulumi-gcp 8.23.0a1742538920__py3-none-any.whl → 8.24.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 (106) hide show
  1. pulumi_gcp/__init__.py +59 -0
  2. pulumi_gcp/alloydb/_inputs.py +27 -1
  3. pulumi_gcp/alloydb/outputs.py +33 -2
  4. pulumi_gcp/applicationintegration/client.py +18 -24
  5. pulumi_gcp/bigquery/_inputs.py +178 -0
  6. pulumi_gcp/bigquery/outputs.py +127 -0
  7. pulumi_gcp/bigquery/reservation.py +189 -1
  8. pulumi_gcp/bigquery/table.py +61 -0
  9. pulumi_gcp/bigqueryanalyticshub/listing_subscription.py +11 -7
  10. pulumi_gcp/bigtable/table.py +7 -7
  11. pulumi_gcp/chronicle/data_access_label.py +16 -0
  12. pulumi_gcp/clouddeploy/_inputs.py +20 -0
  13. pulumi_gcp/clouddeploy/outputs.py +15 -1
  14. pulumi_gcp/cloudfunctions/function.py +11 -11
  15. pulumi_gcp/cloudfunctionsv2/function.py +24 -24
  16. pulumi_gcp/cloudidentity/get_group_transitive_memberships.py +41 -2
  17. pulumi_gcp/cloudidentity/outputs.py +18 -38
  18. pulumi_gcp/cloudrunv2/service.py +14 -14
  19. pulumi_gcp/compute/__init__.py +1 -0
  20. pulumi_gcp/compute/_inputs.py +616 -18
  21. pulumi_gcp/compute/firewall_policy.py +20 -0
  22. pulumi_gcp/compute/get_images.py +172 -0
  23. pulumi_gcp/compute/get_resource_policy.py +15 -4
  24. pulumi_gcp/compute/image.py +54 -0
  25. pulumi_gcp/compute/interconnect.py +14 -7
  26. pulumi_gcp/compute/outputs.py +710 -18
  27. pulumi_gcp/compute/region_network_endpoint_group.py +2 -2
  28. pulumi_gcp/compute/resource_policy.py +169 -3
  29. pulumi_gcp/compute/router_route_policy.py +16 -0
  30. pulumi_gcp/compute/subnetwork.py +109 -1
  31. pulumi_gcp/compute/target_https_proxy.py +7 -7
  32. pulumi_gcp/config/__init__.pyi +8 -0
  33. pulumi_gcp/config/vars.py +16 -0
  34. pulumi_gcp/container/_inputs.py +265 -4
  35. pulumi_gcp/container/cluster.py +54 -0
  36. pulumi_gcp/container/get_attached_versions.py +2 -2
  37. pulumi_gcp/container/get_cluster.py +12 -1
  38. pulumi_gcp/container/outputs.py +301 -6
  39. pulumi_gcp/dataform/repository.py +49 -0
  40. pulumi_gcp/dataproc/_inputs.py +23 -0
  41. pulumi_gcp/dataproc/get_metastore_service.py +26 -4
  42. pulumi_gcp/dataproc/metastore_federation.py +56 -0
  43. pulumi_gcp/dataproc/metastore_service.py +58 -2
  44. pulumi_gcp/dataproc/outputs.py +27 -0
  45. pulumi_gcp/eventarc/__init__.py +1 -0
  46. pulumi_gcp/eventarc/_inputs.py +1758 -0
  47. pulumi_gcp/eventarc/outputs.py +1337 -0
  48. pulumi_gcp/eventarc/pipeline.py +1596 -0
  49. pulumi_gcp/firebase/__init__.py +1 -0
  50. pulumi_gcp/firebase/_inputs.py +154 -0
  51. pulumi_gcp/firebase/app_hosting_backend.py +1303 -0
  52. pulumi_gcp/firebase/hosting_version.py +2 -2
  53. pulumi_gcp/firebase/outputs.py +127 -0
  54. pulumi_gcp/kms/get_key_rings.py +39 -2
  55. pulumi_gcp/lustre/__init__.py +8 -0
  56. pulumi_gcp/lustre/instance.py +983 -0
  57. pulumi_gcp/managedkafka/__init__.py +2 -0
  58. pulumi_gcp/managedkafka/_inputs.py +263 -0
  59. pulumi_gcp/managedkafka/connect_cluster.py +795 -0
  60. pulumi_gcp/managedkafka/connector.py +695 -0
  61. pulumi_gcp/managedkafka/outputs.py +248 -0
  62. pulumi_gcp/memorystore/_inputs.py +419 -0
  63. pulumi_gcp/memorystore/get_instance.py +23 -1
  64. pulumi_gcp/memorystore/instance.py +144 -14
  65. pulumi_gcp/memorystore/outputs.py +544 -0
  66. pulumi_gcp/monitoring/uptime_check_config.py +2 -2
  67. pulumi_gcp/networkmanagement/_inputs.py +422 -91
  68. pulumi_gcp/networkmanagement/connectivity_test.py +233 -211
  69. pulumi_gcp/networkmanagement/outputs.py +280 -61
  70. pulumi_gcp/networksecurity/_inputs.py +1277 -242
  71. pulumi_gcp/networksecurity/gateway_security_policy.py +0 -7
  72. pulumi_gcp/networksecurity/intercept_deployment_group.py +44 -16
  73. pulumi_gcp/networksecurity/intercept_endpoint_group.py +90 -36
  74. pulumi_gcp/networksecurity/intercept_endpoint_group_association.py +53 -8
  75. pulumi_gcp/networksecurity/mirroring_deployment.py +22 -0
  76. pulumi_gcp/networksecurity/mirroring_deployment_group.py +20 -0
  77. pulumi_gcp/networksecurity/mirroring_endpoint_group.py +24 -0
  78. pulumi_gcp/networksecurity/mirroring_endpoint_group_association.py +28 -0
  79. pulumi_gcp/networksecurity/outputs.py +723 -8
  80. pulumi_gcp/networksecurity/tls_inspection_policy.py +14 -0
  81. pulumi_gcp/networkservices/gateway.py +242 -120
  82. pulumi_gcp/organizations/__init__.py +1 -0
  83. pulumi_gcp/organizations/get_iam_custom_role.py +198 -0
  84. pulumi_gcp/osconfig/__init__.py +1 -0
  85. pulumi_gcp/osconfig/_inputs.py +5413 -0
  86. pulumi_gcp/osconfig/outputs.py +3962 -0
  87. pulumi_gcp/osconfig/v2_policy_orchestrator.py +971 -0
  88. pulumi_gcp/projects/__init__.py +2 -0
  89. pulumi_gcp/projects/get_iam_custom_role.py +198 -0
  90. pulumi_gcp/projects/get_iam_custom_roles.py +164 -0
  91. pulumi_gcp/projects/outputs.py +96 -0
  92. pulumi_gcp/provider.py +80 -0
  93. pulumi_gcp/pulumi-plugin.json +1 -1
  94. pulumi_gcp/servicenetworking/peered_dns_domain.py +4 -0
  95. pulumi_gcp/sql/outputs.py +8 -8
  96. pulumi_gcp/storage/__init__.py +2 -0
  97. pulumi_gcp/storage/_inputs.py +740 -6
  98. pulumi_gcp/storage/control_project_intelligence_config.py +366 -0
  99. pulumi_gcp/storage/get_control_project_intelligence_config.py +130 -0
  100. pulumi_gcp/storage/insights_report_config.py +121 -20
  101. pulumi_gcp/storage/outputs.py +723 -4
  102. pulumi_gcp/workflows/workflow.py +75 -7
  103. {pulumi_gcp-8.23.0a1742538920.dist-info → pulumi_gcp-8.24.0.dist-info}/METADATA +1 -1
  104. {pulumi_gcp-8.23.0a1742538920.dist-info → pulumi_gcp-8.24.0.dist-info}/RECORD +106 -93
  105. {pulumi_gcp-8.23.0a1742538920.dist-info → pulumi_gcp-8.24.0.dist-info}/WHEEL +1 -1
  106. {pulumi_gcp-8.23.0a1742538920.dist-info → pulumi_gcp-8.24.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/__init__.py CHANGED
@@ -172,6 +172,8 @@ if typing.TYPE_CHECKING:
172
172
  logging = __logging
173
173
  import pulumi_gcp.looker as __looker
174
174
  looker = __looker
175
+ import pulumi_gcp.lustre as __lustre
176
+ lustre = __lustre
175
177
  import pulumi_gcp.managedkafka as __managedkafka
176
178
  managedkafka = __managedkafka
177
179
  import pulumi_gcp.memcache as __memcache
@@ -350,6 +352,7 @@ else:
350
352
  kms = _utilities.lazy_import('pulumi_gcp.kms')
351
353
  logging = _utilities.lazy_import('pulumi_gcp.logging')
352
354
  looker = _utilities.lazy_import('pulumi_gcp.looker')
355
+ lustre = _utilities.lazy_import('pulumi_gcp.lustre')
353
356
  managedkafka = _utilities.lazy_import('pulumi_gcp.managedkafka')
354
357
  memcache = _utilities.lazy_import('pulumi_gcp.memcache')
355
358
  memorystore = _utilities.lazy_import('pulumi_gcp.memorystore')
@@ -4970,6 +4973,14 @@ _utilities.register(
4970
4973
  "gcp:eventarc/messageBus:MessageBus": "MessageBus"
4971
4974
  }
4972
4975
  },
4976
+ {
4977
+ "pkg": "gcp",
4978
+ "mod": "eventarc/pipeline",
4979
+ "fqn": "pulumi_gcp.eventarc",
4980
+ "classes": {
4981
+ "gcp:eventarc/pipeline:Pipeline": "Pipeline"
4982
+ }
4983
+ },
4973
4984
  {
4974
4985
  "pkg": "gcp",
4975
4986
  "mod": "eventarc/trigger",
@@ -5066,6 +5077,14 @@ _utilities.register(
5066
5077
  "gcp:firebase/appCheckServiceConfig:AppCheckServiceConfig": "AppCheckServiceConfig"
5067
5078
  }
5068
5079
  },
5080
+ {
5081
+ "pkg": "gcp",
5082
+ "mod": "firebase/appHostingBackend",
5083
+ "fqn": "pulumi_gcp.firebase",
5084
+ "classes": {
5085
+ "gcp:firebase/appHostingBackend:AppHostingBackend": "AppHostingBackend"
5086
+ }
5087
+ },
5069
5088
  {
5070
5089
  "pkg": "gcp",
5071
5090
  "mod": "firebase/appleApp",
@@ -6570,6 +6589,14 @@ _utilities.register(
6570
6589
  "gcp:looker/instance:Instance": "Instance"
6571
6590
  }
6572
6591
  },
6592
+ {
6593
+ "pkg": "gcp",
6594
+ "mod": "lustre/instance",
6595
+ "fqn": "pulumi_gcp.lustre",
6596
+ "classes": {
6597
+ "gcp:lustre/instance:Instance": "Instance"
6598
+ }
6599
+ },
6573
6600
  {
6574
6601
  "pkg": "gcp",
6575
6602
  "mod": "managedkafka/cluster",
@@ -6578,6 +6605,22 @@ _utilities.register(
6578
6605
  "gcp:managedkafka/cluster:Cluster": "Cluster"
6579
6606
  }
6580
6607
  },
6608
+ {
6609
+ "pkg": "gcp",
6610
+ "mod": "managedkafka/connectCluster",
6611
+ "fqn": "pulumi_gcp.managedkafka",
6612
+ "classes": {
6613
+ "gcp:managedkafka/connectCluster:ConnectCluster": "ConnectCluster"
6614
+ }
6615
+ },
6616
+ {
6617
+ "pkg": "gcp",
6618
+ "mod": "managedkafka/connector",
6619
+ "fqn": "pulumi_gcp.managedkafka",
6620
+ "classes": {
6621
+ "gcp:managedkafka/connector:Connector": "Connector"
6622
+ }
6623
+ },
6581
6624
  {
6582
6625
  "pkg": "gcp",
6583
6626
  "mod": "managedkafka/topic",
@@ -7394,6 +7437,14 @@ _utilities.register(
7394
7437
  "gcp:osconfig/patchDeployment:PatchDeployment": "PatchDeployment"
7395
7438
  }
7396
7439
  },
7440
+ {
7441
+ "pkg": "gcp",
7442
+ "mod": "osconfig/v2PolicyOrchestrator",
7443
+ "fqn": "pulumi_gcp.osconfig",
7444
+ "classes": {
7445
+ "gcp:osconfig/v2PolicyOrchestrator:V2PolicyOrchestrator": "V2PolicyOrchestrator"
7446
+ }
7447
+ },
7397
7448
  {
7398
7449
  "pkg": "gcp",
7399
7450
  "mod": "oslogin/sshPublicKey",
@@ -8594,6 +8645,14 @@ _utilities.register(
8594
8645
  "gcp:storage/bucketObject:BucketObject": "BucketObject"
8595
8646
  }
8596
8647
  },
8648
+ {
8649
+ "pkg": "gcp",
8650
+ "mod": "storage/controlProjectIntelligenceConfig",
8651
+ "fqn": "pulumi_gcp.storage",
8652
+ "classes": {
8653
+ "gcp:storage/controlProjectIntelligenceConfig:ControlProjectIntelligenceConfig": "ControlProjectIntelligenceConfig"
8654
+ }
8655
+ },
8597
8656
  {
8598
8657
  "pkg": "gcp",
8599
8658
  "mod": "storage/defaultObjectACL",
@@ -1448,18 +1448,30 @@ if not MYPY:
1448
1448
  """
1449
1449
  Create an instance that allows connections from Private Service Connect endpoints to the instance.
1450
1450
  """
1451
+ service_owned_project_number: NotRequired[pulumi.Input[int]]
1452
+ """
1453
+ (Output)
1454
+ The project number that needs to be allowlisted on the network attachment to enable outbound connectivity, if the network attachment is configured to ACCEPT_MANUAL connections.
1455
+ In case the network attachment is configured to ACCEPT_AUTOMATIC, this project number does not need to be allowlisted explicitly.
1456
+ """
1451
1457
  elif False:
1452
1458
  ClusterPscConfigArgsDict: TypeAlias = Mapping[str, Any]
1453
1459
 
1454
1460
  @pulumi.input_type
1455
1461
  class ClusterPscConfigArgs:
1456
1462
  def __init__(__self__, *,
1457
- psc_enabled: Optional[pulumi.Input[bool]] = None):
1463
+ psc_enabled: Optional[pulumi.Input[bool]] = None,
1464
+ service_owned_project_number: Optional[pulumi.Input[int]] = None):
1458
1465
  """
1459
1466
  :param pulumi.Input[bool] psc_enabled: Create an instance that allows connections from Private Service Connect endpoints to the instance.
1467
+ :param pulumi.Input[int] service_owned_project_number: (Output)
1468
+ The project number that needs to be allowlisted on the network attachment to enable outbound connectivity, if the network attachment is configured to ACCEPT_MANUAL connections.
1469
+ In case the network attachment is configured to ACCEPT_AUTOMATIC, this project number does not need to be allowlisted explicitly.
1460
1470
  """
1461
1471
  if psc_enabled is not None:
1462
1472
  pulumi.set(__self__, "psc_enabled", psc_enabled)
1473
+ if service_owned_project_number is not None:
1474
+ pulumi.set(__self__, "service_owned_project_number", service_owned_project_number)
1463
1475
 
1464
1476
  @property
1465
1477
  @pulumi.getter(name="pscEnabled")
@@ -1473,6 +1485,20 @@ class ClusterPscConfigArgs:
1473
1485
  def psc_enabled(self, value: Optional[pulumi.Input[bool]]):
1474
1486
  pulumi.set(self, "psc_enabled", value)
1475
1487
 
1488
+ @property
1489
+ @pulumi.getter(name="serviceOwnedProjectNumber")
1490
+ def service_owned_project_number(self) -> Optional[pulumi.Input[int]]:
1491
+ """
1492
+ (Output)
1493
+ The project number that needs to be allowlisted on the network attachment to enable outbound connectivity, if the network attachment is configured to ACCEPT_MANUAL connections.
1494
+ In case the network attachment is configured to ACCEPT_AUTOMATIC, this project number does not need to be allowlisted explicitly.
1495
+ """
1496
+ return pulumi.get(self, "service_owned_project_number")
1497
+
1498
+ @service_owned_project_number.setter
1499
+ def service_owned_project_number(self, value: Optional[pulumi.Input[int]]):
1500
+ pulumi.set(self, "service_owned_project_number", value)
1501
+
1476
1502
 
1477
1503
  if not MYPY:
1478
1504
  class ClusterRestoreBackupSourceArgsDict(TypedDict):
@@ -1243,6 +1243,8 @@ class ClusterPscConfig(dict):
1243
1243
  suggest = None
1244
1244
  if key == "pscEnabled":
1245
1245
  suggest = "psc_enabled"
1246
+ elif key == "serviceOwnedProjectNumber":
1247
+ suggest = "service_owned_project_number"
1246
1248
 
1247
1249
  if suggest:
1248
1250
  pulumi.log.warn(f"Key '{key}' not found in ClusterPscConfig. Access the value via the '{suggest}' property getter instead.")
@@ -1256,12 +1258,18 @@ class ClusterPscConfig(dict):
1256
1258
  return super().get(key, default)
1257
1259
 
1258
1260
  def __init__(__self__, *,
1259
- psc_enabled: Optional[bool] = None):
1261
+ psc_enabled: Optional[bool] = None,
1262
+ service_owned_project_number: Optional[int] = None):
1260
1263
  """
1261
1264
  :param bool psc_enabled: Create an instance that allows connections from Private Service Connect endpoints to the instance.
1265
+ :param int service_owned_project_number: (Output)
1266
+ The project number that needs to be allowlisted on the network attachment to enable outbound connectivity, if the network attachment is configured to ACCEPT_MANUAL connections.
1267
+ In case the network attachment is configured to ACCEPT_AUTOMATIC, this project number does not need to be allowlisted explicitly.
1262
1268
  """
1263
1269
  if psc_enabled is not None:
1264
1270
  pulumi.set(__self__, "psc_enabled", psc_enabled)
1271
+ if service_owned_project_number is not None:
1272
+ pulumi.set(__self__, "service_owned_project_number", service_owned_project_number)
1265
1273
 
1266
1274
  @property
1267
1275
  @pulumi.getter(name="pscEnabled")
@@ -1271,6 +1279,16 @@ class ClusterPscConfig(dict):
1271
1279
  """
1272
1280
  return pulumi.get(self, "psc_enabled")
1273
1281
 
1282
+ @property
1283
+ @pulumi.getter(name="serviceOwnedProjectNumber")
1284
+ def service_owned_project_number(self) -> Optional[int]:
1285
+ """
1286
+ (Output)
1287
+ The project number that needs to be allowlisted on the network attachment to enable outbound connectivity, if the network attachment is configured to ACCEPT_MANUAL connections.
1288
+ In case the network attachment is configured to ACCEPT_AUTOMATIC, this project number does not need to be allowlisted explicitly.
1289
+ """
1290
+ return pulumi.get(self, "service_owned_project_number")
1291
+
1274
1292
 
1275
1293
  @pulumi.output_type
1276
1294
  class ClusterRestoreBackupSource(dict):
@@ -2735,11 +2753,15 @@ class GetClusterNetworkConfigResult(dict):
2735
2753
  @pulumi.output_type
2736
2754
  class GetClusterPscConfigResult(dict):
2737
2755
  def __init__(__self__, *,
2738
- psc_enabled: bool):
2756
+ psc_enabled: bool,
2757
+ service_owned_project_number: int):
2739
2758
  """
2740
2759
  :param bool psc_enabled: Create an instance that allows connections from Private Service Connect endpoints to the instance.
2760
+ :param int service_owned_project_number: The project number that needs to be allowlisted on the network attachment to enable outbound connectivity, if the network attachment is configured to ACCEPT_MANUAL connections.
2761
+ In case the network attachment is configured to ACCEPT_AUTOMATIC, this project number does not need to be allowlisted explicitly.
2741
2762
  """
2742
2763
  pulumi.set(__self__, "psc_enabled", psc_enabled)
2764
+ pulumi.set(__self__, "service_owned_project_number", service_owned_project_number)
2743
2765
 
2744
2766
  @property
2745
2767
  @pulumi.getter(name="pscEnabled")
@@ -2749,6 +2771,15 @@ class GetClusterPscConfigResult(dict):
2749
2771
  """
2750
2772
  return pulumi.get(self, "psc_enabled")
2751
2773
 
2774
+ @property
2775
+ @pulumi.getter(name="serviceOwnedProjectNumber")
2776
+ def service_owned_project_number(self) -> int:
2777
+ """
2778
+ The project number that needs to be allowlisted on the network attachment to enable outbound connectivity, if the network attachment is configured to ACCEPT_MANUAL connections.
2779
+ In case the network attachment is configured to ACCEPT_AUTOMATIC, this project number does not need to be allowlisted explicitly.
2780
+ """
2781
+ return pulumi.get(self, "service_owned_project_number")
2782
+
2752
2783
 
2753
2784
  @pulumi.output_type
2754
2785
  class GetClusterRestoreBackupSourceResult(dict):
@@ -251,15 +251,12 @@ class Client(pulumi.CustomResource):
251
251
  import pulumi_gcp as gcp
252
252
  import pulumi_std as std
253
253
 
254
- test_project = gcp.organizations.get_project()
255
- keyring = gcp.kms.KeyRing("keyring",
256
- name="my-keyring",
254
+ default = gcp.organizations.get_project()
255
+ keyring = gcp.kms.get_kms_key_ring(name="my-keyring",
257
256
  location="us-east1")
258
- cryptokey = gcp.kms.CryptoKey("cryptokey",
259
- name="crypto-key-example",
260
- key_ring=keyring.id,
261
- rotation_period="7776000s")
262
- test_key = gcp.kms.CryptoKeyVersion("test_key", crypto_key=cryptokey.id)
257
+ cryptokey = gcp.kms.get_kms_crypto_key(name="my-crypto-key",
258
+ key_ring=keyring.id)
259
+ test_key = gcp.kms.get_kms_crypto_key_version(crypto_key=cryptokey.id)
263
260
  service_account = gcp.serviceaccount.Account("service_account",
264
261
  account_id="service-acc",
265
262
  display_name="Service Account")
@@ -269,10 +266,10 @@ class Client(pulumi.CustomResource):
269
266
  run_as_service_account=service_account.email,
270
267
  cloud_kms_config={
271
268
  "kms_location": "us-east1",
272
- "kms_ring": std.basename_output(input=keyring.id).apply(lambda invoke: invoke.result),
273
- "key": std.basename_output(input=cryptokey.id).apply(lambda invoke: invoke.result),
274
- "key_version": std.basename_output(input=test_key.id).apply(lambda invoke: invoke.result),
275
- "kms_project_id": test_project.project_id,
269
+ "kms_ring": std.basename(input=keyring.id).result,
270
+ "key": std.basename(input=cryptokey.id).result,
271
+ "key_version": std.basename(input=test_key.id).result,
272
+ "kms_project_id": default.project_id,
276
273
  })
277
274
  ```
278
275
 
@@ -346,15 +343,12 @@ class Client(pulumi.CustomResource):
346
343
  import pulumi_gcp as gcp
347
344
  import pulumi_std as std
348
345
 
349
- test_project = gcp.organizations.get_project()
350
- keyring = gcp.kms.KeyRing("keyring",
351
- name="my-keyring",
346
+ default = gcp.organizations.get_project()
347
+ keyring = gcp.kms.get_kms_key_ring(name="my-keyring",
352
348
  location="us-east1")
353
- cryptokey = gcp.kms.CryptoKey("cryptokey",
354
- name="crypto-key-example",
355
- key_ring=keyring.id,
356
- rotation_period="7776000s")
357
- test_key = gcp.kms.CryptoKeyVersion("test_key", crypto_key=cryptokey.id)
349
+ cryptokey = gcp.kms.get_kms_crypto_key(name="my-crypto-key",
350
+ key_ring=keyring.id)
351
+ test_key = gcp.kms.get_kms_crypto_key_version(crypto_key=cryptokey.id)
358
352
  service_account = gcp.serviceaccount.Account("service_account",
359
353
  account_id="service-acc",
360
354
  display_name="Service Account")
@@ -364,10 +358,10 @@ class Client(pulumi.CustomResource):
364
358
  run_as_service_account=service_account.email,
365
359
  cloud_kms_config={
366
360
  "kms_location": "us-east1",
367
- "kms_ring": std.basename_output(input=keyring.id).apply(lambda invoke: invoke.result),
368
- "key": std.basename_output(input=cryptokey.id).apply(lambda invoke: invoke.result),
369
- "key_version": std.basename_output(input=test_key.id).apply(lambda invoke: invoke.result),
370
- "kms_project_id": test_project.project_id,
361
+ "kms_ring": std.basename(input=keyring.id).result,
362
+ "key": std.basename(input=cryptokey.id).result,
363
+ "key_version": std.basename(input=test_key.id).result,
364
+ "kms_project_id": default.project_id,
371
365
  })
372
366
  ```
373
367
 
@@ -129,6 +129,10 @@ __all__ = [
129
129
  'JobStatusErrorResultArgsDict',
130
130
  'ReservationAutoscaleArgs',
131
131
  'ReservationAutoscaleArgsDict',
132
+ 'ReservationReplicationStatusArgs',
133
+ 'ReservationReplicationStatusArgsDict',
134
+ 'ReservationReplicationStatusErrorArgs',
135
+ 'ReservationReplicationStatusErrorArgsDict',
132
136
  'RoutineArgumentArgs',
133
137
  'RoutineArgumentArgsDict',
134
138
  'RoutineRemoteFunctionOptionsArgs',
@@ -4099,6 +4103,10 @@ if not MYPY:
4099
4103
  Requires destinationTable to be set. For standard SQL queries, this flag is ignored and large results are always allowed.
4100
4104
  However, you must still set destinationTable when result size exceeds the allowed maximum response size.
4101
4105
  """
4106
+ continuous: NotRequired[pulumi.Input[bool]]
4107
+ """
4108
+ Whether to run the query as continuous or a regular query.
4109
+ """
4102
4110
  create_disposition: NotRequired[pulumi.Input[str]]
4103
4111
  """
4104
4112
  Specifies whether the job is allowed to create new tables. The following values are supported:
@@ -4200,6 +4208,7 @@ class JobQueryArgs:
4200
4208
  def __init__(__self__, *,
4201
4209
  query: pulumi.Input[str],
4202
4210
  allow_large_results: Optional[pulumi.Input[bool]] = None,
4211
+ continuous: Optional[pulumi.Input[bool]] = None,
4203
4212
  create_disposition: Optional[pulumi.Input[str]] = None,
4204
4213
  default_dataset: Optional[pulumi.Input['JobQueryDefaultDatasetArgs']] = None,
4205
4214
  destination_encryption_configuration: Optional[pulumi.Input['JobQueryDestinationEncryptionConfigurationArgs']] = None,
@@ -4222,6 +4231,7 @@ class JobQueryArgs:
4222
4231
  :param pulumi.Input[bool] allow_large_results: If true and query uses legacy SQL dialect, allows the query to produce arbitrarily large result tables at a slight cost in performance.
4223
4232
  Requires destinationTable to be set. For standard SQL queries, this flag is ignored and large results are always allowed.
4224
4233
  However, you must still set destinationTable when result size exceeds the allowed maximum response size.
4234
+ :param pulumi.Input[bool] continuous: Whether to run the query as continuous or a regular query.
4225
4235
  :param pulumi.Input[str] create_disposition: Specifies whether the job is allowed to create new tables. The following values are supported:
4226
4236
  CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table.
4227
4237
  CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result.
@@ -4274,6 +4284,8 @@ class JobQueryArgs:
4274
4284
  pulumi.set(__self__, "query", query)
4275
4285
  if allow_large_results is not None:
4276
4286
  pulumi.set(__self__, "allow_large_results", allow_large_results)
4287
+ if continuous is not None:
4288
+ pulumi.set(__self__, "continuous", continuous)
4277
4289
  if create_disposition is not None:
4278
4290
  pulumi.set(__self__, "create_disposition", create_disposition)
4279
4291
  if default_dataset is not None:
@@ -4333,6 +4345,18 @@ class JobQueryArgs:
4333
4345
  def allow_large_results(self, value: Optional[pulumi.Input[bool]]):
4334
4346
  pulumi.set(self, "allow_large_results", value)
4335
4347
 
4348
+ @property
4349
+ @pulumi.getter
4350
+ def continuous(self) -> Optional[pulumi.Input[bool]]:
4351
+ """
4352
+ Whether to run the query as continuous or a regular query.
4353
+ """
4354
+ return pulumi.get(self, "continuous")
4355
+
4356
+ @continuous.setter
4357
+ def continuous(self, value: Optional[pulumi.Input[bool]]):
4358
+ pulumi.set(self, "continuous", value)
4359
+
4336
4360
  @property
4337
4361
  @pulumi.getter(name="createDisposition")
4338
4362
  def create_disposition(self) -> Optional[pulumi.Input[str]]:
@@ -5157,6 +5181,160 @@ class ReservationAutoscaleArgs:
5157
5181
  pulumi.set(self, "max_slots", value)
5158
5182
 
5159
5183
 
5184
+ if not MYPY:
5185
+ class ReservationReplicationStatusArgsDict(TypedDict):
5186
+ errors: NotRequired[pulumi.Input[Sequence[pulumi.Input['ReservationReplicationStatusErrorArgsDict']]]]
5187
+ """
5188
+ (Output)
5189
+ The last error encountered while trying to replicate changes from the primary to the
5190
+ secondary. This field is only available if the replication has not succeeded since.
5191
+ Structure is documented below.
5192
+ """
5193
+ last_error_time: NotRequired[pulumi.Input[str]]
5194
+ """
5195
+ (Output)
5196
+ The time at which the last error was encountered while trying to replicate changes from
5197
+ the primary to the secondary. This field is only available if the replication has not
5198
+ succeeded since.
5199
+ """
5200
+ last_replication_time: NotRequired[pulumi.Input[str]]
5201
+ """
5202
+ (Output)
5203
+ A timestamp corresponding to the last change on the primary that was successfully
5204
+ replicated to the secondary.
5205
+ """
5206
+ elif False:
5207
+ ReservationReplicationStatusArgsDict: TypeAlias = Mapping[str, Any]
5208
+
5209
+ @pulumi.input_type
5210
+ class ReservationReplicationStatusArgs:
5211
+ def __init__(__self__, *,
5212
+ errors: Optional[pulumi.Input[Sequence[pulumi.Input['ReservationReplicationStatusErrorArgs']]]] = None,
5213
+ last_error_time: Optional[pulumi.Input[str]] = None,
5214
+ last_replication_time: Optional[pulumi.Input[str]] = None):
5215
+ """
5216
+ :param pulumi.Input[Sequence[pulumi.Input['ReservationReplicationStatusErrorArgs']]] errors: (Output)
5217
+ The last error encountered while trying to replicate changes from the primary to the
5218
+ secondary. This field is only available if the replication has not succeeded since.
5219
+ Structure is documented below.
5220
+ :param pulumi.Input[str] last_error_time: (Output)
5221
+ The time at which the last error was encountered while trying to replicate changes from
5222
+ the primary to the secondary. This field is only available if the replication has not
5223
+ succeeded since.
5224
+ :param pulumi.Input[str] last_replication_time: (Output)
5225
+ A timestamp corresponding to the last change on the primary that was successfully
5226
+ replicated to the secondary.
5227
+ """
5228
+ if errors is not None:
5229
+ pulumi.set(__self__, "errors", errors)
5230
+ if last_error_time is not None:
5231
+ pulumi.set(__self__, "last_error_time", last_error_time)
5232
+ if last_replication_time is not None:
5233
+ pulumi.set(__self__, "last_replication_time", last_replication_time)
5234
+
5235
+ @property
5236
+ @pulumi.getter
5237
+ def errors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ReservationReplicationStatusErrorArgs']]]]:
5238
+ """
5239
+ (Output)
5240
+ The last error encountered while trying to replicate changes from the primary to the
5241
+ secondary. This field is only available if the replication has not succeeded since.
5242
+ Structure is documented below.
5243
+ """
5244
+ return pulumi.get(self, "errors")
5245
+
5246
+ @errors.setter
5247
+ def errors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ReservationReplicationStatusErrorArgs']]]]):
5248
+ pulumi.set(self, "errors", value)
5249
+
5250
+ @property
5251
+ @pulumi.getter(name="lastErrorTime")
5252
+ def last_error_time(self) -> Optional[pulumi.Input[str]]:
5253
+ """
5254
+ (Output)
5255
+ The time at which the last error was encountered while trying to replicate changes from
5256
+ the primary to the secondary. This field is only available if the replication has not
5257
+ succeeded since.
5258
+ """
5259
+ return pulumi.get(self, "last_error_time")
5260
+
5261
+ @last_error_time.setter
5262
+ def last_error_time(self, value: Optional[pulumi.Input[str]]):
5263
+ pulumi.set(self, "last_error_time", value)
5264
+
5265
+ @property
5266
+ @pulumi.getter(name="lastReplicationTime")
5267
+ def last_replication_time(self) -> Optional[pulumi.Input[str]]:
5268
+ """
5269
+ (Output)
5270
+ A timestamp corresponding to the last change on the primary that was successfully
5271
+ replicated to the secondary.
5272
+ """
5273
+ return pulumi.get(self, "last_replication_time")
5274
+
5275
+ @last_replication_time.setter
5276
+ def last_replication_time(self, value: Optional[pulumi.Input[str]]):
5277
+ pulumi.set(self, "last_replication_time", value)
5278
+
5279
+
5280
+ if not MYPY:
5281
+ class ReservationReplicationStatusErrorArgsDict(TypedDict):
5282
+ code: NotRequired[pulumi.Input[int]]
5283
+ """
5284
+ (Output)
5285
+ The status code, which should be an enum value of [google.rpc.Code](https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.rpc#google.rpc.Code).
5286
+ """
5287
+ message: NotRequired[pulumi.Input[str]]
5288
+ """
5289
+ (Output)
5290
+ A developer-facing error message, which should be in English.
5291
+ """
5292
+ elif False:
5293
+ ReservationReplicationStatusErrorArgsDict: TypeAlias = Mapping[str, Any]
5294
+
5295
+ @pulumi.input_type
5296
+ class ReservationReplicationStatusErrorArgs:
5297
+ def __init__(__self__, *,
5298
+ code: Optional[pulumi.Input[int]] = None,
5299
+ message: Optional[pulumi.Input[str]] = None):
5300
+ """
5301
+ :param pulumi.Input[int] code: (Output)
5302
+ The status code, which should be an enum value of [google.rpc.Code](https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.rpc#google.rpc.Code).
5303
+ :param pulumi.Input[str] message: (Output)
5304
+ A developer-facing error message, which should be in English.
5305
+ """
5306
+ if code is not None:
5307
+ pulumi.set(__self__, "code", code)
5308
+ if message is not None:
5309
+ pulumi.set(__self__, "message", message)
5310
+
5311
+ @property
5312
+ @pulumi.getter
5313
+ def code(self) -> Optional[pulumi.Input[int]]:
5314
+ """
5315
+ (Output)
5316
+ The status code, which should be an enum value of [google.rpc.Code](https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.rpc#google.rpc.Code).
5317
+ """
5318
+ return pulumi.get(self, "code")
5319
+
5320
+ @code.setter
5321
+ def code(self, value: Optional[pulumi.Input[int]]):
5322
+ pulumi.set(self, "code", value)
5323
+
5324
+ @property
5325
+ @pulumi.getter
5326
+ def message(self) -> Optional[pulumi.Input[str]]:
5327
+ """
5328
+ (Output)
5329
+ A developer-facing error message, which should be in English.
5330
+ """
5331
+ return pulumi.get(self, "message")
5332
+
5333
+ @message.setter
5334
+ def message(self, value: Optional[pulumi.Input[str]]):
5335
+ pulumi.set(self, "message", value)
5336
+
5337
+
5160
5338
  if not MYPY:
5161
5339
  class RoutineArgumentArgsDict(TypedDict):
5162
5340
  argument_kind: NotRequired[pulumi.Input[str]]