pulumi-gcp 7.10.0a1708496697__py3-none-any.whl → 7.10.0a1708543111__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. pulumi_gcp/__init__.py +32 -0
  2. pulumi_gcp/bigtable/table_iam_binding.py +6 -6
  3. pulumi_gcp/bigtable/table_iam_member.py +6 -6
  4. pulumi_gcp/bigtable/table_iam_policy.py +6 -6
  5. pulumi_gcp/cloudbuildv2/_inputs.py +32 -12
  6. pulumi_gcp/cloudbuildv2/connection.py +140 -38
  7. pulumi_gcp/cloudbuildv2/connection_iam_binding.py +13 -0
  8. pulumi_gcp/cloudbuildv2/connection_iam_member.py +13 -0
  9. pulumi_gcp/cloudbuildv2/connection_iam_policy.py +13 -0
  10. pulumi_gcp/cloudbuildv2/get_connection_iam_policy.py +2 -0
  11. pulumi_gcp/cloudbuildv2/outputs.py +32 -12
  12. pulumi_gcp/clouddeploy/__init__.py +1 -0
  13. pulumi_gcp/clouddeploy/_inputs.py +277 -2
  14. pulumi_gcp/clouddeploy/custom_target_type.py +923 -0
  15. pulumi_gcp/clouddeploy/outputs.py +263 -2
  16. pulumi_gcp/cloudfunctions/function.py +32 -0
  17. pulumi_gcp/cloudfunctions/get_function.py +11 -1
  18. pulumi_gcp/cloudrunv2/service.py +18 -0
  19. pulumi_gcp/compute/_inputs.py +20 -20
  20. pulumi_gcp/compute/outputs.py +24 -24
  21. pulumi_gcp/config/vars.py +2 -2
  22. pulumi_gcp/container/_inputs.py +22 -0
  23. pulumi_gcp/container/outputs.py +28 -0
  24. pulumi_gcp/dns/_inputs.py +2 -2
  25. pulumi_gcp/dns/get_managed_zone.py +2 -2
  26. pulumi_gcp/dns/get_managed_zones.py +35 -2
  27. pulumi_gcp/dns/outputs.py +2 -2
  28. pulumi_gcp/eventarc/_inputs.py +78 -0
  29. pulumi_gcp/eventarc/outputs.py +83 -0
  30. pulumi_gcp/firebase/__init__.py +1 -0
  31. pulumi_gcp/firebase/app_check_debug_token.py +480 -0
  32. pulumi_gcp/healthcare/hl7_store.py +50 -1
  33. pulumi_gcp/identityplatform/_inputs.py +330 -0
  34. pulumi_gcp/identityplatform/config.py +216 -0
  35. pulumi_gcp/identityplatform/outputs.py +397 -0
  36. pulumi_gcp/networksecurity/__init__.py +2 -0
  37. pulumi_gcp/networksecurity/firewall_endpoint.py +631 -0
  38. pulumi_gcp/networksecurity/security_profile_group.py +654 -0
  39. pulumi_gcp/notebooks/instance.py +109 -4
  40. pulumi_gcp/provider.py +8 -0
  41. pulumi_gcp/recaptcha/enterprise_key.py +4 -4
  42. pulumi_gcp/securityposture/_inputs.py +48 -48
  43. pulumi_gcp/securityposture/outputs.py +40 -40
  44. pulumi_gcp/securityposture/posture.py +22 -2
  45. pulumi_gcp/vertex/_inputs.py +63 -0
  46. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +208 -0
  47. pulumi_gcp/vertex/outputs.py +87 -0
  48. pulumi_gcp/workbench/_inputs.py +4 -4
  49. pulumi_gcp/workbench/instance.py +59 -8
  50. pulumi_gcp/workbench/outputs.py +4 -4
  51. pulumi_gcp/workstations/_inputs.py +16 -0
  52. pulumi_gcp/workstations/outputs.py +14 -0
  53. pulumi_gcp/workstations/workstation_config.py +2 -0
  54. {pulumi_gcp-7.10.0a1708496697.dist-info → pulumi_gcp-7.10.0a1708543111.dist-info}/METADATA +1 -1
  55. {pulumi_gcp-7.10.0a1708496697.dist-info → pulumi_gcp-7.10.0a1708543111.dist-info}/RECORD +57 -53
  56. {pulumi_gcp-7.10.0a1708496697.dist-info → pulumi_gcp-7.10.0a1708543111.dist-info}/WHEEL +0 -0
  57. {pulumi_gcp-7.10.0a1708496697.dist-info → pulumi_gcp-7.10.0a1708543111.dist-info}/top_level.txt +0 -0
@@ -26,6 +26,7 @@ class InstanceArgs:
26
26
  custom_gpu_driver_path: Optional[pulumi.Input[str]] = None,
27
27
  data_disk_size_gb: Optional[pulumi.Input[int]] = None,
28
28
  data_disk_type: Optional[pulumi.Input[str]] = None,
29
+ desired_state: Optional[pulumi.Input[str]] = None,
29
30
  disk_encryption: Optional[pulumi.Input[str]] = None,
30
31
  install_gpu_driver: Optional[pulumi.Input[bool]] = None,
31
32
  instance_owners: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -75,6 +76,7 @@ class InstanceArgs:
75
76
  If not specified, this defaults to 100.
76
77
  :param pulumi.Input[str] data_disk_type: Possible disk types for notebook instances.
77
78
  Possible values are: `DISK_TYPE_UNSPECIFIED`, `PD_STANDARD`, `PD_SSD`, `PD_BALANCED`, `PD_EXTREME`.
79
+ :param pulumi.Input[str] desired_state: Desired state of the Notebook Instance. Set this field to `ACTIVE` to start the Instance, and `STOPPED` to stop the Instance.
78
80
  :param pulumi.Input[str] disk_encryption: Disk encryption method used on the boot and data disks, defaults to GMEK.
79
81
  Possible values are: `DISK_ENCRYPTION_UNSPECIFIED`, `GMEK`, `CMEK`.
80
82
  :param pulumi.Input[bool] install_gpu_driver: Whether the end user authorizes Google Cloud to install GPU driver
@@ -146,6 +148,8 @@ class InstanceArgs:
146
148
  pulumi.set(__self__, "data_disk_size_gb", data_disk_size_gb)
147
149
  if data_disk_type is not None:
148
150
  pulumi.set(__self__, "data_disk_type", data_disk_type)
151
+ if desired_state is not None:
152
+ pulumi.set(__self__, "desired_state", desired_state)
149
153
  if disk_encryption is not None:
150
154
  pulumi.set(__self__, "disk_encryption", disk_encryption)
151
155
  if install_gpu_driver is not None:
@@ -326,6 +330,18 @@ class InstanceArgs:
326
330
  def data_disk_type(self, value: Optional[pulumi.Input[str]]):
327
331
  pulumi.set(self, "data_disk_type", value)
328
332
 
333
+ @property
334
+ @pulumi.getter(name="desiredState")
335
+ def desired_state(self) -> Optional[pulumi.Input[str]]:
336
+ """
337
+ Desired state of the Notebook Instance. Set this field to `ACTIVE` to start the Instance, and `STOPPED` to stop the Instance.
338
+ """
339
+ return pulumi.get(self, "desired_state")
340
+
341
+ @desired_state.setter
342
+ def desired_state(self, value: Optional[pulumi.Input[str]]):
343
+ pulumi.set(self, "desired_state", value)
344
+
329
345
  @property
330
346
  @pulumi.getter(name="diskEncryption")
331
347
  def disk_encryption(self) -> Optional[pulumi.Input[str]]:
@@ -632,6 +648,7 @@ class _InstanceState:
632
648
  custom_gpu_driver_path: Optional[pulumi.Input[str]] = None,
633
649
  data_disk_size_gb: Optional[pulumi.Input[int]] = None,
634
650
  data_disk_type: Optional[pulumi.Input[str]] = None,
651
+ desired_state: Optional[pulumi.Input[str]] = None,
635
652
  disk_encryption: Optional[pulumi.Input[str]] = None,
636
653
  effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
637
654
  install_gpu_driver: Optional[pulumi.Input[bool]] = None,
@@ -682,6 +699,7 @@ class _InstanceState:
682
699
  If not specified, this defaults to 100.
683
700
  :param pulumi.Input[str] data_disk_type: Possible disk types for notebook instances.
684
701
  Possible values are: `DISK_TYPE_UNSPECIFIED`, `PD_STANDARD`, `PD_SSD`, `PD_BALANCED`, `PD_EXTREME`.
702
+ :param pulumi.Input[str] desired_state: Desired state of the Notebook Instance. Set this field to `ACTIVE` to start the Instance, and `STOPPED` to stop the Instance.
685
703
  :param pulumi.Input[str] disk_encryption: Disk encryption method used on the boot and data disks, defaults to GMEK.
686
704
  Possible values are: `DISK_ENCRYPTION_UNSPECIFIED`, `GMEK`, `CMEK`.
687
705
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
@@ -764,6 +782,8 @@ class _InstanceState:
764
782
  pulumi.set(__self__, "data_disk_size_gb", data_disk_size_gb)
765
783
  if data_disk_type is not None:
766
784
  pulumi.set(__self__, "data_disk_type", data_disk_type)
785
+ if desired_state is not None:
786
+ pulumi.set(__self__, "desired_state", desired_state)
767
787
  if disk_encryption is not None:
768
788
  pulumi.set(__self__, "disk_encryption", disk_encryption)
769
789
  if effective_labels is not None:
@@ -929,6 +949,18 @@ class _InstanceState:
929
949
  def data_disk_type(self, value: Optional[pulumi.Input[str]]):
930
950
  pulumi.set(self, "data_disk_type", value)
931
951
 
952
+ @property
953
+ @pulumi.getter(name="desiredState")
954
+ def desired_state(self) -> Optional[pulumi.Input[str]]:
955
+ """
956
+ Desired state of the Notebook Instance. Set this field to `ACTIVE` to start the Instance, and `STOPPED` to stop the Instance.
957
+ """
958
+ return pulumi.get(self, "desired_state")
959
+
960
+ @desired_state.setter
961
+ def desired_state(self, value: Optional[pulumi.Input[str]]):
962
+ pulumi.set(self, "desired_state", value)
963
+
932
964
  @property
933
965
  @pulumi.getter(name="diskEncryption")
934
966
  def disk_encryption(self) -> Optional[pulumi.Input[str]]:
@@ -1316,6 +1348,7 @@ class Instance(pulumi.CustomResource):
1316
1348
  custom_gpu_driver_path: Optional[pulumi.Input[str]] = None,
1317
1349
  data_disk_size_gb: Optional[pulumi.Input[int]] = None,
1318
1350
  data_disk_type: Optional[pulumi.Input[str]] = None,
1351
+ desired_state: Optional[pulumi.Input[str]] = None,
1319
1352
  disk_encryption: Optional[pulumi.Input[str]] = None,
1320
1353
  install_gpu_driver: Optional[pulumi.Input[bool]] = None,
1321
1354
  instance_owners: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -1342,6 +1375,8 @@ class Instance(pulumi.CustomResource):
1342
1375
  vm_image: Optional[pulumi.Input[pulumi.InputType['InstanceVmImageArgs']]] = None,
1343
1376
  __props__=None):
1344
1377
  """
1378
+ > **Warning:** `google_notebook_instance` is deprecated and will be removed in a future major release. Use `workbench.Instance` instead.
1379
+
1345
1380
  A Cloud AI Platform Notebook instance.
1346
1381
 
1347
1382
  > **Note:** Due to limitations of the Notebooks Instance API, many fields
@@ -1369,6 +1404,21 @@ class Instance(pulumi.CustomResource):
1369
1404
  project="deeplearning-platform-release",
1370
1405
  ))
1371
1406
  ```
1407
+ ### Notebook Instance Basic Stopped
1408
+
1409
+ ```python
1410
+ import pulumi
1411
+ import pulumi_gcp as gcp
1412
+
1413
+ instance = gcp.notebooks.Instance("instance",
1414
+ desired_state="STOPPED",
1415
+ location="us-west1-a",
1416
+ machine_type="e2-medium",
1417
+ vm_image=gcp.notebooks.InstanceVmImageArgs(
1418
+ image_family="tf-latest-cpu",
1419
+ project="deeplearning-platform-release",
1420
+ ))
1421
+ ```
1372
1422
  ### Notebook Instance Basic Container
1373
1423
 
1374
1424
  ```python
@@ -1432,7 +1482,19 @@ class Instance(pulumi.CustomResource):
1432
1482
  subnet=my_subnetwork.id,
1433
1483
  labels={
1434
1484
  "k": "val",
1435
- })
1485
+ },
1486
+ metadata={
1487
+ "terraform": "true",
1488
+ },
1489
+ service_account_scopes=[
1490
+ "https://www.googleapis.com/auth/bigquery",
1491
+ "https://www.googleapis.com/auth/devstorage.read_write",
1492
+ "https://www.googleapis.com/auth/cloud-platform",
1493
+ "https://www.googleapis.com/auth/userinfo.email",
1494
+ ],
1495
+ disk_encryption="CMEK",
1496
+ kms_key="my-crypto-key",
1497
+ desired_state="ACTIVE")
1436
1498
  ```
1437
1499
 
1438
1500
  ## Import
@@ -1481,6 +1543,7 @@ class Instance(pulumi.CustomResource):
1481
1543
  If not specified, this defaults to 100.
1482
1544
  :param pulumi.Input[str] data_disk_type: Possible disk types for notebook instances.
1483
1545
  Possible values are: `DISK_TYPE_UNSPECIFIED`, `PD_STANDARD`, `PD_SSD`, `PD_BALANCED`, `PD_EXTREME`.
1546
+ :param pulumi.Input[str] desired_state: Desired state of the Notebook Instance. Set this field to `ACTIVE` to start the Instance, and `STOPPED` to stop the Instance.
1484
1547
  :param pulumi.Input[str] disk_encryption: Disk encryption method used on the boot and data disks, defaults to GMEK.
1485
1548
  Possible values are: `DISK_ENCRYPTION_UNSPECIFIED`, `GMEK`, `CMEK`.
1486
1549
  :param pulumi.Input[bool] install_gpu_driver: Whether the end user authorizes Google Cloud to install GPU driver
@@ -1546,6 +1609,8 @@ class Instance(pulumi.CustomResource):
1546
1609
  args: InstanceArgs,
1547
1610
  opts: Optional[pulumi.ResourceOptions] = None):
1548
1611
  """
1612
+ > **Warning:** `google_notebook_instance` is deprecated and will be removed in a future major release. Use `workbench.Instance` instead.
1613
+
1549
1614
  A Cloud AI Platform Notebook instance.
1550
1615
 
1551
1616
  > **Note:** Due to limitations of the Notebooks Instance API, many fields
@@ -1573,6 +1638,21 @@ class Instance(pulumi.CustomResource):
1573
1638
  project="deeplearning-platform-release",
1574
1639
  ))
1575
1640
  ```
1641
+ ### Notebook Instance Basic Stopped
1642
+
1643
+ ```python
1644
+ import pulumi
1645
+ import pulumi_gcp as gcp
1646
+
1647
+ instance = gcp.notebooks.Instance("instance",
1648
+ desired_state="STOPPED",
1649
+ location="us-west1-a",
1650
+ machine_type="e2-medium",
1651
+ vm_image=gcp.notebooks.InstanceVmImageArgs(
1652
+ image_family="tf-latest-cpu",
1653
+ project="deeplearning-platform-release",
1654
+ ))
1655
+ ```
1576
1656
  ### Notebook Instance Basic Container
1577
1657
 
1578
1658
  ```python
@@ -1636,7 +1716,19 @@ class Instance(pulumi.CustomResource):
1636
1716
  subnet=my_subnetwork.id,
1637
1717
  labels={
1638
1718
  "k": "val",
1639
- })
1719
+ },
1720
+ metadata={
1721
+ "terraform": "true",
1722
+ },
1723
+ service_account_scopes=[
1724
+ "https://www.googleapis.com/auth/bigquery",
1725
+ "https://www.googleapis.com/auth/devstorage.read_write",
1726
+ "https://www.googleapis.com/auth/cloud-platform",
1727
+ "https://www.googleapis.com/auth/userinfo.email",
1728
+ ],
1729
+ disk_encryption="CMEK",
1730
+ kms_key="my-crypto-key",
1731
+ desired_state="ACTIVE")
1640
1732
  ```
1641
1733
 
1642
1734
  ## Import
@@ -1686,6 +1778,7 @@ class Instance(pulumi.CustomResource):
1686
1778
  custom_gpu_driver_path: Optional[pulumi.Input[str]] = None,
1687
1779
  data_disk_size_gb: Optional[pulumi.Input[int]] = None,
1688
1780
  data_disk_type: Optional[pulumi.Input[str]] = None,
1781
+ desired_state: Optional[pulumi.Input[str]] = None,
1689
1782
  disk_encryption: Optional[pulumi.Input[str]] = None,
1690
1783
  install_gpu_driver: Optional[pulumi.Input[bool]] = None,
1691
1784
  instance_owners: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -1727,6 +1820,7 @@ class Instance(pulumi.CustomResource):
1727
1820
  __props__.__dict__["custom_gpu_driver_path"] = custom_gpu_driver_path
1728
1821
  __props__.__dict__["data_disk_size_gb"] = data_disk_size_gb
1729
1822
  __props__.__dict__["data_disk_type"] = data_disk_type
1823
+ __props__.__dict__["desired_state"] = desired_state
1730
1824
  __props__.__dict__["disk_encryption"] = disk_encryption
1731
1825
  __props__.__dict__["install_gpu_driver"] = install_gpu_driver
1732
1826
  __props__.__dict__["instance_owners"] = instance_owners
@@ -1779,6 +1873,7 @@ class Instance(pulumi.CustomResource):
1779
1873
  custom_gpu_driver_path: Optional[pulumi.Input[str]] = None,
1780
1874
  data_disk_size_gb: Optional[pulumi.Input[int]] = None,
1781
1875
  data_disk_type: Optional[pulumi.Input[str]] = None,
1876
+ desired_state: Optional[pulumi.Input[str]] = None,
1782
1877
  disk_encryption: Optional[pulumi.Input[str]] = None,
1783
1878
  effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1784
1879
  install_gpu_driver: Optional[pulumi.Input[bool]] = None,
@@ -1834,6 +1929,7 @@ class Instance(pulumi.CustomResource):
1834
1929
  If not specified, this defaults to 100.
1835
1930
  :param pulumi.Input[str] data_disk_type: Possible disk types for notebook instances.
1836
1931
  Possible values are: `DISK_TYPE_UNSPECIFIED`, `PD_STANDARD`, `PD_SSD`, `PD_BALANCED`, `PD_EXTREME`.
1932
+ :param pulumi.Input[str] desired_state: Desired state of the Notebook Instance. Set this field to `ACTIVE` to start the Instance, and `STOPPED` to stop the Instance.
1837
1933
  :param pulumi.Input[str] disk_encryption: Disk encryption method used on the boot and data disks, defaults to GMEK.
1838
1934
  Possible values are: `DISK_ENCRYPTION_UNSPECIFIED`, `GMEK`, `CMEK`.
1839
1935
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
@@ -1912,6 +2008,7 @@ class Instance(pulumi.CustomResource):
1912
2008
  __props__.__dict__["custom_gpu_driver_path"] = custom_gpu_driver_path
1913
2009
  __props__.__dict__["data_disk_size_gb"] = data_disk_size_gb
1914
2010
  __props__.__dict__["data_disk_type"] = data_disk_type
2011
+ __props__.__dict__["desired_state"] = desired_state
1915
2012
  __props__.__dict__["disk_encryption"] = disk_encryption
1916
2013
  __props__.__dict__["effective_labels"] = effective_labels
1917
2014
  __props__.__dict__["install_gpu_driver"] = install_gpu_driver
@@ -2018,9 +2115,17 @@ class Instance(pulumi.CustomResource):
2018
2115
  """
2019
2116
  return pulumi.get(self, "data_disk_type")
2020
2117
 
2118
+ @property
2119
+ @pulumi.getter(name="desiredState")
2120
+ def desired_state(self) -> pulumi.Output[Optional[str]]:
2121
+ """
2122
+ Desired state of the Notebook Instance. Set this field to `ACTIVE` to start the Instance, and `STOPPED` to stop the Instance.
2123
+ """
2124
+ return pulumi.get(self, "desired_state")
2125
+
2021
2126
  @property
2022
2127
  @pulumi.getter(name="diskEncryption")
2023
- def disk_encryption(self) -> pulumi.Output[Optional[str]]:
2128
+ def disk_encryption(self) -> pulumi.Output[str]:
2024
2129
  """
2025
2130
  Disk encryption method used on the boot and data disks, defaults to GMEK.
2026
2131
  Possible values are: `DISK_ENCRYPTION_UNSPECIFIED`, `GMEK`, `CMEK`.
@@ -2218,7 +2323,7 @@ class Instance(pulumi.CustomResource):
2218
2323
 
2219
2324
  @property
2220
2325
  @pulumi.getter(name="serviceAccountScopes")
2221
- def service_account_scopes(self) -> pulumi.Output[Optional[Sequence[str]]]:
2326
+ def service_account_scopes(self) -> pulumi.Output[Sequence[str]]:
2222
2327
  """
2223
2328
  Optional. The URIs of service account scopes to be included in Compute Engine instances.
2224
2329
  If not specified, the following scopes are defined:
pulumi_gcp/provider.py CHANGED
@@ -186,6 +186,8 @@ class ProviderArgs:
186
186
  pulumi.set(__self__, "access_approval_custom_endpoint", access_approval_custom_endpoint)
187
187
  if access_context_manager_custom_endpoint is not None:
188
188
  pulumi.set(__self__, "access_context_manager_custom_endpoint", access_context_manager_custom_endpoint)
189
+ if access_token is None:
190
+ access_token = _utilities.get_env('GOOGLE_OAUTH_ACCESS_TOKEN')
189
191
  if access_token is not None:
190
192
  pulumi.set(__self__, "access_token", access_token)
191
193
  if active_directory_custom_endpoint is not None:
@@ -286,6 +288,8 @@ class ProviderArgs:
286
288
  pulumi.set(__self__, "container_custom_endpoint", container_custom_endpoint)
287
289
  if core_billing_custom_endpoint is not None:
288
290
  pulumi.set(__self__, "core_billing_custom_endpoint", core_billing_custom_endpoint)
291
+ if credentials is None:
292
+ credentials = _utilities.get_env('GOOGLE_CREDENTIALS', 'GOOGLE_CLOUD_KEYFILE_JSON', 'GCLOUD_KEYFILE_JSON')
289
293
  if credentials is not None:
290
294
  pulumi.set(__self__, "credentials", credentials)
291
295
  if data_catalog_custom_endpoint is not None:
@@ -2375,6 +2379,8 @@ class Provider(pulumi.ProviderResource):
2375
2379
 
2376
2380
  __props__.__dict__["access_approval_custom_endpoint"] = access_approval_custom_endpoint
2377
2381
  __props__.__dict__["access_context_manager_custom_endpoint"] = access_context_manager_custom_endpoint
2382
+ if access_token is None:
2383
+ access_token = _utilities.get_env('GOOGLE_OAUTH_ACCESS_TOKEN')
2378
2384
  __props__.__dict__["access_token"] = access_token
2379
2385
  __props__.__dict__["active_directory_custom_endpoint"] = active_directory_custom_endpoint
2380
2386
  __props__.__dict__["add_terraform_attribution_label"] = pulumi.Output.from_input(add_terraform_attribution_label).apply(pulumi.runtime.to_json) if add_terraform_attribution_label is not None else None
@@ -2425,6 +2431,8 @@ class Provider(pulumi.ProviderResource):
2425
2431
  __props__.__dict__["container_azure_custom_endpoint"] = container_azure_custom_endpoint
2426
2432
  __props__.__dict__["container_custom_endpoint"] = container_custom_endpoint
2427
2433
  __props__.__dict__["core_billing_custom_endpoint"] = core_billing_custom_endpoint
2434
+ if credentials is None:
2435
+ credentials = _utilities.get_env('GOOGLE_CREDENTIALS', 'GOOGLE_CLOUD_KEYFILE_JSON', 'GCLOUD_KEYFILE_JSON')
2428
2436
  __props__.__dict__["credentials"] = credentials
2429
2437
  __props__.__dict__["data_catalog_custom_endpoint"] = data_catalog_custom_endpoint
2430
2438
  __props__.__dict__["data_fusion_custom_endpoint"] = data_fusion_custom_endpoint
@@ -192,7 +192,7 @@ class _EnterpriseKeyState:
192
192
 
193
193
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
194
194
  Please refer to the field `effective_labels` for all of the labels present on the resource.
195
- :param pulumi.Input[str] name: The resource name for the Key in the format "projects/{project}/keys/{key}".
195
+ :param pulumi.Input[str] name: The resource id for the Key, which is the same as the Site Key itself.
196
196
  :param pulumi.Input[str] project: The project for the resource
197
197
  :param pulumi.Input[Mapping[str, Any]] pulumi_labels: The combination of labels configured directly on the resource and default labels configured on the provider.
198
198
  :param pulumi.Input['EnterpriseKeyTestingOptionsArgs'] testing_options: Options for user acceptance testing.
@@ -307,7 +307,7 @@ class _EnterpriseKeyState:
307
307
  @pulumi.getter
308
308
  def name(self) -> Optional[pulumi.Input[str]]:
309
309
  """
310
- The resource name for the Key in the format "projects/{project}/keys/{key}".
310
+ The resource id for the Key, which is the same as the Site Key itself.
311
311
  """
312
312
  return pulumi.get(self, "name")
313
313
 
@@ -816,7 +816,7 @@ class EnterpriseKey(pulumi.CustomResource):
816
816
 
817
817
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
818
818
  Please refer to the field `effective_labels` for all of the labels present on the resource.
819
- :param pulumi.Input[str] name: The resource name for the Key in the format "projects/{project}/keys/{key}".
819
+ :param pulumi.Input[str] name: The resource id for the Key, which is the same as the Site Key itself.
820
820
  :param pulumi.Input[str] project: The project for the resource
821
821
  :param pulumi.Input[Mapping[str, Any]] pulumi_labels: The combination of labels configured directly on the resource and default labels configured on the provider.
822
822
  :param pulumi.Input[pulumi.InputType['EnterpriseKeyTestingOptionsArgs']] testing_options: Options for user acceptance testing.
@@ -900,7 +900,7 @@ class EnterpriseKey(pulumi.CustomResource):
900
900
  @pulumi.getter
901
901
  def name(self) -> pulumi.Output[str]:
902
902
  """
903
- The resource name for the Key in the format "projects/{project}/keys/{key}".
903
+ The resource id for the Key, which is the same as the Site Key itself.
904
904
  """
905
905
  return pulumi.get(self, "name")
906
906
 
@@ -18,10 +18,10 @@ __all__ = [
18
18
  'PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomArgs',
19
19
  'PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomCustomConstraintArgs',
20
20
  'PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleArgs',
21
- 'PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleExprArgs',
21
+ 'PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleConditionArgs',
22
22
  'PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleValuesArgs',
23
23
  'PosturePolicySetPolicyConstraintOrgPolicyConstraintPolicyRuleArgs',
24
- 'PosturePolicySetPolicyConstraintOrgPolicyConstraintPolicyRuleExprArgs',
24
+ 'PosturePolicySetPolicyConstraintOrgPolicyConstraintPolicyRuleConditionArgs',
25
25
  'PosturePolicySetPolicyConstraintOrgPolicyConstraintPolicyRuleValuesArgs',
26
26
  'PosturePolicySetPolicyConstraintSecurityHealthAnalyticsCustomModuleArgs',
27
27
  'PosturePolicySetPolicyConstraintSecurityHealthAnalyticsCustomModuleConfigArgs',
@@ -481,30 +481,30 @@ class PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomCustomConstraintA
481
481
  class PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleArgs:
482
482
  def __init__(__self__, *,
483
483
  allow_all: Optional[pulumi.Input[bool]] = None,
484
+ condition: Optional[pulumi.Input['PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleConditionArgs']] = None,
484
485
  deny_all: Optional[pulumi.Input[bool]] = None,
485
486
  enforce: Optional[pulumi.Input[bool]] = None,
486
- expr: Optional[pulumi.Input['PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleExprArgs']] = None,
487
487
  values: Optional[pulumi.Input['PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleValuesArgs']] = None):
488
488
  """
489
489
  :param pulumi.Input[bool] allow_all: Setting this to true means that all values are allowed. This field can be set only in policies for list constraints.
490
- :param pulumi.Input[bool] deny_all: Setting this to true means that all values are denied. This field can be set only in policies for list constraints.
491
- :param pulumi.Input[bool] enforce: If `true`, then the policy is enforced. If `false`, then any configuration is acceptable.
492
- This field can be set only in policies for boolean constraints.
493
- :param pulumi.Input['PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleExprArgs'] expr: Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language.
490
+ :param pulumi.Input['PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleConditionArgs'] condition: Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language.
494
491
  This page details the objects and attributes that are used to the build the CEL expressions for
495
492
  custom access levels - https://cloud.google.com/access-context-manager/docs/custom-access-level-spec.
496
493
  Structure is documented below.
494
+ :param pulumi.Input[bool] deny_all: Setting this to true means that all values are denied. This field can be set only in policies for list constraints.
495
+ :param pulumi.Input[bool] enforce: If `true`, then the policy is enforced. If `false`, then any configuration is acceptable.
496
+ This field can be set only in policies for boolean constraints.
497
497
  :param pulumi.Input['PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleValuesArgs'] values: List of values to be used for this policy rule. This field can be set only in policies for list constraints.
498
498
  Structure is documented below.
499
499
  """
500
500
  if allow_all is not None:
501
501
  pulumi.set(__self__, "allow_all", allow_all)
502
+ if condition is not None:
503
+ pulumi.set(__self__, "condition", condition)
502
504
  if deny_all is not None:
503
505
  pulumi.set(__self__, "deny_all", deny_all)
504
506
  if enforce is not None:
505
507
  pulumi.set(__self__, "enforce", enforce)
506
- if expr is not None:
507
- pulumi.set(__self__, "expr", expr)
508
508
  if values is not None:
509
509
  pulumi.set(__self__, "values", values)
510
510
 
@@ -520,6 +520,21 @@ class PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleArgs:
520
520
  def allow_all(self, value: Optional[pulumi.Input[bool]]):
521
521
  pulumi.set(self, "allow_all", value)
522
522
 
523
+ @property
524
+ @pulumi.getter
525
+ def condition(self) -> Optional[pulumi.Input['PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleConditionArgs']]:
526
+ """
527
+ Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language.
528
+ This page details the objects and attributes that are used to the build the CEL expressions for
529
+ custom access levels - https://cloud.google.com/access-context-manager/docs/custom-access-level-spec.
530
+ Structure is documented below.
531
+ """
532
+ return pulumi.get(self, "condition")
533
+
534
+ @condition.setter
535
+ def condition(self, value: Optional[pulumi.Input['PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleConditionArgs']]):
536
+ pulumi.set(self, "condition", value)
537
+
523
538
  @property
524
539
  @pulumi.getter(name="denyAll")
525
540
  def deny_all(self) -> Optional[pulumi.Input[bool]]:
@@ -545,21 +560,6 @@ class PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleArgs:
545
560
  def enforce(self, value: Optional[pulumi.Input[bool]]):
546
561
  pulumi.set(self, "enforce", value)
547
562
 
548
- @property
549
- @pulumi.getter
550
- def expr(self) -> Optional[pulumi.Input['PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleExprArgs']]:
551
- """
552
- Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language.
553
- This page details the objects and attributes that are used to the build the CEL expressions for
554
- custom access levels - https://cloud.google.com/access-context-manager/docs/custom-access-level-spec.
555
- Structure is documented below.
556
- """
557
- return pulumi.get(self, "expr")
558
-
559
- @expr.setter
560
- def expr(self, value: Optional[pulumi.Input['PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleExprArgs']]):
561
- pulumi.set(self, "expr", value)
562
-
563
563
  @property
564
564
  @pulumi.getter
565
565
  def values(self) -> Optional[pulumi.Input['PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleValuesArgs']]:
@@ -575,7 +575,7 @@ class PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleArgs:
575
575
 
576
576
 
577
577
  @pulumi.input_type
578
- class PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleExprArgs:
578
+ class PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleConditionArgs:
579
579
  def __init__(__self__, *,
580
580
  expression: pulumi.Input[str],
581
581
  description: Optional[pulumi.Input[str]] = None,
@@ -687,30 +687,30 @@ class PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleValuesA
687
687
  class PosturePolicySetPolicyConstraintOrgPolicyConstraintPolicyRuleArgs:
688
688
  def __init__(__self__, *,
689
689
  allow_all: Optional[pulumi.Input[bool]] = None,
690
+ condition: Optional[pulumi.Input['PosturePolicySetPolicyConstraintOrgPolicyConstraintPolicyRuleConditionArgs']] = None,
690
691
  deny_all: Optional[pulumi.Input[bool]] = None,
691
692
  enforce: Optional[pulumi.Input[bool]] = None,
692
- expr: Optional[pulumi.Input['PosturePolicySetPolicyConstraintOrgPolicyConstraintPolicyRuleExprArgs']] = None,
693
693
  values: Optional[pulumi.Input['PosturePolicySetPolicyConstraintOrgPolicyConstraintPolicyRuleValuesArgs']] = None):
694
694
  """
695
695
  :param pulumi.Input[bool] allow_all: Setting this to true means that all values are allowed. This field can be set only in policies for list constraints.
696
- :param pulumi.Input[bool] deny_all: Setting this to true means that all values are denied. This field can be set only in policies for list constraints.
697
- :param pulumi.Input[bool] enforce: If `true`, then the policy is enforced. If `false`, then any configuration is acceptable.
698
- This field can be set only in policies for boolean constraints.
699
- :param pulumi.Input['PosturePolicySetPolicyConstraintOrgPolicyConstraintPolicyRuleExprArgs'] expr: Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language.
696
+ :param pulumi.Input['PosturePolicySetPolicyConstraintOrgPolicyConstraintPolicyRuleConditionArgs'] condition: Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language.
700
697
  This page details the objects and attributes that are used to the build the CEL expressions for
701
698
  custom access levels - https://cloud.google.com/access-context-manager/docs/custom-access-level-spec.
702
699
  Structure is documented below.
700
+ :param pulumi.Input[bool] deny_all: Setting this to true means that all values are denied. This field can be set only in policies for list constraints.
701
+ :param pulumi.Input[bool] enforce: If `true`, then the policy is enforced. If `false`, then any configuration is acceptable.
702
+ This field can be set only in policies for boolean constraints.
703
703
  :param pulumi.Input['PosturePolicySetPolicyConstraintOrgPolicyConstraintPolicyRuleValuesArgs'] values: List of values to be used for this policy rule. This field can be set only in policies for list constraints.
704
704
  Structure is documented below.
705
705
  """
706
706
  if allow_all is not None:
707
707
  pulumi.set(__self__, "allow_all", allow_all)
708
+ if condition is not None:
709
+ pulumi.set(__self__, "condition", condition)
708
710
  if deny_all is not None:
709
711
  pulumi.set(__self__, "deny_all", deny_all)
710
712
  if enforce is not None:
711
713
  pulumi.set(__self__, "enforce", enforce)
712
- if expr is not None:
713
- pulumi.set(__self__, "expr", expr)
714
714
  if values is not None:
715
715
  pulumi.set(__self__, "values", values)
716
716
 
@@ -726,6 +726,21 @@ class PosturePolicySetPolicyConstraintOrgPolicyConstraintPolicyRuleArgs:
726
726
  def allow_all(self, value: Optional[pulumi.Input[bool]]):
727
727
  pulumi.set(self, "allow_all", value)
728
728
 
729
+ @property
730
+ @pulumi.getter
731
+ def condition(self) -> Optional[pulumi.Input['PosturePolicySetPolicyConstraintOrgPolicyConstraintPolicyRuleConditionArgs']]:
732
+ """
733
+ Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language.
734
+ This page details the objects and attributes that are used to the build the CEL expressions for
735
+ custom access levels - https://cloud.google.com/access-context-manager/docs/custom-access-level-spec.
736
+ Structure is documented below.
737
+ """
738
+ return pulumi.get(self, "condition")
739
+
740
+ @condition.setter
741
+ def condition(self, value: Optional[pulumi.Input['PosturePolicySetPolicyConstraintOrgPolicyConstraintPolicyRuleConditionArgs']]):
742
+ pulumi.set(self, "condition", value)
743
+
729
744
  @property
730
745
  @pulumi.getter(name="denyAll")
731
746
  def deny_all(self) -> Optional[pulumi.Input[bool]]:
@@ -751,21 +766,6 @@ class PosturePolicySetPolicyConstraintOrgPolicyConstraintPolicyRuleArgs:
751
766
  def enforce(self, value: Optional[pulumi.Input[bool]]):
752
767
  pulumi.set(self, "enforce", value)
753
768
 
754
- @property
755
- @pulumi.getter
756
- def expr(self) -> Optional[pulumi.Input['PosturePolicySetPolicyConstraintOrgPolicyConstraintPolicyRuleExprArgs']]:
757
- """
758
- Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language.
759
- This page details the objects and attributes that are used to the build the CEL expressions for
760
- custom access levels - https://cloud.google.com/access-context-manager/docs/custom-access-level-spec.
761
- Structure is documented below.
762
- """
763
- return pulumi.get(self, "expr")
764
-
765
- @expr.setter
766
- def expr(self, value: Optional[pulumi.Input['PosturePolicySetPolicyConstraintOrgPolicyConstraintPolicyRuleExprArgs']]):
767
- pulumi.set(self, "expr", value)
768
-
769
769
  @property
770
770
  @pulumi.getter
771
771
  def values(self) -> Optional[pulumi.Input['PosturePolicySetPolicyConstraintOrgPolicyConstraintPolicyRuleValuesArgs']]:
@@ -781,7 +781,7 @@ class PosturePolicySetPolicyConstraintOrgPolicyConstraintPolicyRuleArgs:
781
781
 
782
782
 
783
783
  @pulumi.input_type
784
- class PosturePolicySetPolicyConstraintOrgPolicyConstraintPolicyRuleExprArgs:
784
+ class PosturePolicySetPolicyConstraintOrgPolicyConstraintPolicyRuleConditionArgs:
785
785
  def __init__(__self__, *,
786
786
  expression: pulumi.Input[str],
787
787
  description: Optional[pulumi.Input[str]] = None,