pulumi-gcp 7.10.0a1708428802__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.0a1708428802.dist-info → pulumi_gcp-7.10.0a1708543111.dist-info}/METADATA +1 -1
  55. {pulumi_gcp-7.10.0a1708428802.dist-info → pulumi_gcp-7.10.0a1708543111.dist-info}/RECORD +57 -53
  56. {pulumi_gcp-7.10.0a1708428802.dist-info → pulumi_gcp-7.10.0a1708543111.dist-info}/WHEEL +0 -0
  57. {pulumi_gcp-7.10.0a1708428802.dist-info → pulumi_gcp-7.10.0a1708543111.dist-info}/top_level.txt +0 -0
@@ -6028,18 +6028,18 @@ class InstanceBootDiskInitializeParams(dict):
6028
6028
  field is only applicable for persistent disks.
6029
6029
  :param int provisioned_iops: Indicates how many IOPS to provision for the disk.
6030
6030
  This sets the number of I/O operations per second that the disk can handle.
6031
- Values must be between 10,000 and 120,000. For more details,see the
6032
- [Extreme persistent disk documentation](https://cloud.google.com/compute/docs/disks/extreme-persistent-disk).
6031
+ For more details,see the [Hyperdisk documentation](https://cloud.google.com/compute/docs/disks/hyperdisks).
6033
6032
  Note: Updating currently is only supported for hyperdisk skus via disk update
6034
6033
  api/gcloud without the need to delete and recreate the disk, hyperdisk allows
6035
6034
  for an update of IOPS every 4 hours. To update your hyperdisk more frequently,
6036
6035
  you'll need to manually delete and recreate it.
6037
6036
  :param int provisioned_throughput: Indicates how much throughput to provision for the disk.
6038
6037
  This sets the number of throughput mb per second that the disk can handle.
6039
- Values must be between 1 and 7,124. Note: Updating currently is only supported
6040
- for hyperdisk skus via disk update api/gcloud without the need to delete and
6041
- recreate the disk, hyperdisk allows for an update of throughput every 4 hours.
6042
- To update your hyperdisk more frequently, you'll need to manually delete and recreate it.
6038
+ For more details,see the [Hyperdisk documentation](https://cloud.google.com/compute/docs/disks/hyperdisks).
6039
+ Note: Updating currently is only supported for hyperdisk skus via disk update
6040
+ api/gcloud without the need to delete and recreate the disk, hyperdisk allows
6041
+ for an update of throughput every 4 hours. To update your hyperdisk more
6042
+ frequently, you'll need to manually delete and recreate it.
6043
6043
  :param Mapping[str, Any] resource_manager_tags: A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
6044
6044
  :param int size: The size of the image in gigabytes. If not specified, it
6045
6045
  will inherit the size of its base image.
@@ -6102,8 +6102,7 @@ class InstanceBootDiskInitializeParams(dict):
6102
6102
  """
6103
6103
  Indicates how many IOPS to provision for the disk.
6104
6104
  This sets the number of I/O operations per second that the disk can handle.
6105
- Values must be between 10,000 and 120,000. For more details,see the
6106
- [Extreme persistent disk documentation](https://cloud.google.com/compute/docs/disks/extreme-persistent-disk).
6105
+ For more details,see the [Hyperdisk documentation](https://cloud.google.com/compute/docs/disks/hyperdisks).
6107
6106
  Note: Updating currently is only supported for hyperdisk skus via disk update
6108
6107
  api/gcloud without the need to delete and recreate the disk, hyperdisk allows
6109
6108
  for an update of IOPS every 4 hours. To update your hyperdisk more frequently,
@@ -6117,10 +6116,11 @@ class InstanceBootDiskInitializeParams(dict):
6117
6116
  """
6118
6117
  Indicates how much throughput to provision for the disk.
6119
6118
  This sets the number of throughput mb per second that the disk can handle.
6120
- Values must be between 1 and 7,124. Note: Updating currently is only supported
6121
- for hyperdisk skus via disk update api/gcloud without the need to delete and
6122
- recreate the disk, hyperdisk allows for an update of throughput every 4 hours.
6123
- To update your hyperdisk more frequently, you'll need to manually delete and recreate it.
6119
+ For more details,see the [Hyperdisk documentation](https://cloud.google.com/compute/docs/disks/hyperdisks).
6120
+ Note: Updating currently is only supported for hyperdisk skus via disk update
6121
+ api/gcloud without the need to delete and recreate the disk, hyperdisk allows
6122
+ for an update of throughput every 4 hours. To update your hyperdisk more
6123
+ frequently, you'll need to manually delete and recreate it.
6124
6124
  """
6125
6125
  return pulumi.get(self, "provisioned_throughput")
6126
6126
 
@@ -6533,8 +6533,8 @@ class InstanceFromMachineImageBootDiskInitializeParams(dict):
6533
6533
  :param bool enable_confidential_compute: A flag to enable confidential compute mode on boot disk
6534
6534
  :param str image: The image from which this disk was initialised.
6535
6535
  :param Mapping[str, Any] labels: A set of key/value label pairs assigned to the disk.
6536
- :param int provisioned_iops: Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000.
6537
- :param int provisioned_throughput: Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be between 1 and 7,124.
6536
+ :param int provisioned_iops: Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle.
6537
+ :param int provisioned_throughput: Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle.
6538
6538
  :param Mapping[str, Any] resource_manager_tags: A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
6539
6539
  :param int size: The size of the image in gigabytes.
6540
6540
  :param str type: The Google Compute Engine disk type. Such as pd-standard, pd-ssd or pd-balanced.
@@ -6584,7 +6584,7 @@ class InstanceFromMachineImageBootDiskInitializeParams(dict):
6584
6584
  @pulumi.getter(name="provisionedIops")
6585
6585
  def provisioned_iops(self) -> Optional[int]:
6586
6586
  """
6587
- Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000.
6587
+ Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle.
6588
6588
  """
6589
6589
  return pulumi.get(self, "provisioned_iops")
6590
6590
 
@@ -6592,7 +6592,7 @@ class InstanceFromMachineImageBootDiskInitializeParams(dict):
6592
6592
  @pulumi.getter(name="provisionedThroughput")
6593
6593
  def provisioned_throughput(self) -> Optional[int]:
6594
6594
  """
6595
- Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be between 1 and 7,124.
6595
+ Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle.
6596
6596
  """
6597
6597
  return pulumi.get(self, "provisioned_throughput")
6598
6598
 
@@ -8075,8 +8075,8 @@ class InstanceFromTemplateBootDiskInitializeParams(dict):
8075
8075
  :param bool enable_confidential_compute: A flag to enable confidential compute mode on boot disk
8076
8076
  :param str image: The image from which this disk was initialised.
8077
8077
  :param Mapping[str, Any] labels: A set of key/value label pairs assigned to the disk.
8078
- :param int provisioned_iops: Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000.
8079
- :param int provisioned_throughput: Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be between 1 and 7,124.
8078
+ :param int provisioned_iops: Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle.
8079
+ :param int provisioned_throughput: Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle.
8080
8080
  :param Mapping[str, Any] resource_manager_tags: A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
8081
8081
  :param int size: The size of the image in gigabytes.
8082
8082
  :param str type: The Google Compute Engine disk type. Such as pd-standard, pd-ssd or pd-balanced.
@@ -8126,7 +8126,7 @@ class InstanceFromTemplateBootDiskInitializeParams(dict):
8126
8126
  @pulumi.getter(name="provisionedIops")
8127
8127
  def provisioned_iops(self) -> Optional[int]:
8128
8128
  """
8129
- Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000.
8129
+ Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle.
8130
8130
  """
8131
8131
  return pulumi.get(self, "provisioned_iops")
8132
8132
 
@@ -8134,7 +8134,7 @@ class InstanceFromTemplateBootDiskInitializeParams(dict):
8134
8134
  @pulumi.getter(name="provisionedThroughput")
8135
8135
  def provisioned_throughput(self) -> Optional[int]:
8136
8136
  """
8137
- Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be between 1 and 7,124.
8137
+ Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle.
8138
8138
  """
8139
8139
  return pulumi.get(self, "provisioned_throughput")
8140
8140
 
@@ -40967,8 +40967,8 @@ class GetInstanceBootDiskInitializeParamResult(dict):
40967
40967
  :param bool enable_confidential_compute: A flag to enable confidential compute mode on boot disk
40968
40968
  :param str image: The image from which this disk was initialised.
40969
40969
  :param Mapping[str, Any] labels: A set of key/value label pairs assigned to the disk.
40970
- :param int provisioned_iops: Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000.
40971
- :param int provisioned_throughput: Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be between 1 and 7,124.
40970
+ :param int provisioned_iops: Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle.
40971
+ :param int provisioned_throughput: Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle.
40972
40972
  :param Mapping[str, Any] resource_manager_tags: A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
40973
40973
  :param int size: The size of the image in gigabytes.
40974
40974
  :param str type: The accelerator type resource exposed to this instance. E.g. `nvidia-tesla-k80`.
@@ -41010,7 +41010,7 @@ class GetInstanceBootDiskInitializeParamResult(dict):
41010
41010
  @pulumi.getter(name="provisionedIops")
41011
41011
  def provisioned_iops(self) -> int:
41012
41012
  """
41013
- Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000.
41013
+ Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle.
41014
41014
  """
41015
41015
  return pulumi.get(self, "provisioned_iops")
41016
41016
 
@@ -41018,7 +41018,7 @@ class GetInstanceBootDiskInitializeParamResult(dict):
41018
41018
  @pulumi.getter(name="provisionedThroughput")
41019
41019
  def provisioned_throughput(self) -> int:
41020
41020
  """
41021
- Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be between 1 and 7,124.
41021
+ Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle.
41022
41022
  """
41023
41023
  return pulumi.get(self, "provisioned_throughput")
41024
41024
 
pulumi_gcp/config/vars.py CHANGED
@@ -26,7 +26,7 @@ class _ExportableConfig(types.ModuleType):
26
26
 
27
27
  @property
28
28
  def access_token(self) -> Optional[str]:
29
- return __config__.get('accessToken')
29
+ return __config__.get('accessToken') or _utilities.get_env('GOOGLE_OAUTH_ACCESS_TOKEN')
30
30
 
31
31
  @property
32
32
  def active_directory_custom_endpoint(self) -> Optional[str]:
@@ -226,7 +226,7 @@ class _ExportableConfig(types.ModuleType):
226
226
 
227
227
  @property
228
228
  def credentials(self) -> Optional[str]:
229
- return __config__.get('credentials')
229
+ return __config__.get('credentials') or _utilities.get_env('GOOGLE_CREDENTIALS', 'GOOGLE_CLOUD_KEYFILE_JSON', 'GCLOUD_KEYFILE_JSON')
230
230
 
231
231
  @property
232
232
  def data_catalog_custom_endpoint(self) -> Optional[str]:
@@ -5497,12 +5497,19 @@ class ClusterMonitoringConfigArgs:
5497
5497
  class ClusterMonitoringConfigAdvancedDatapathObservabilityConfigArgs:
5498
5498
  def __init__(__self__, *,
5499
5499
  enable_metrics: pulumi.Input[bool],
5500
+ enable_relay: Optional[pulumi.Input[bool]] = None,
5500
5501
  relay_mode: Optional[pulumi.Input[str]] = None):
5501
5502
  """
5502
5503
  :param pulumi.Input[bool] enable_metrics: Whether or not to enable advanced datapath metrics.
5504
+ :param pulumi.Input[bool] enable_relay: Whether or not Relay is enabled.
5503
5505
  :param pulumi.Input[str] relay_mode: Mode used to make Relay available.
5504
5506
  """
5505
5507
  pulumi.set(__self__, "enable_metrics", enable_metrics)
5508
+ if enable_relay is not None:
5509
+ pulumi.set(__self__, "enable_relay", enable_relay)
5510
+ if relay_mode is not None:
5511
+ warnings.warn("""Deprecated in favor of enable_relay field. Remove this attribute's configuration as this field will be removed in the next major release and enable_relay will become a required field.""", DeprecationWarning)
5512
+ pulumi.log.warn("""relay_mode is deprecated: Deprecated in favor of enable_relay field. Remove this attribute's configuration as this field will be removed in the next major release and enable_relay will become a required field.""")
5506
5513
  if relay_mode is not None:
5507
5514
  pulumi.set(__self__, "relay_mode", relay_mode)
5508
5515
 
@@ -5518,12 +5525,27 @@ class ClusterMonitoringConfigAdvancedDatapathObservabilityConfigArgs:
5518
5525
  def enable_metrics(self, value: pulumi.Input[bool]):
5519
5526
  pulumi.set(self, "enable_metrics", value)
5520
5527
 
5528
+ @property
5529
+ @pulumi.getter(name="enableRelay")
5530
+ def enable_relay(self) -> Optional[pulumi.Input[bool]]:
5531
+ """
5532
+ Whether or not Relay is enabled.
5533
+ """
5534
+ return pulumi.get(self, "enable_relay")
5535
+
5536
+ @enable_relay.setter
5537
+ def enable_relay(self, value: Optional[pulumi.Input[bool]]):
5538
+ pulumi.set(self, "enable_relay", value)
5539
+
5521
5540
  @property
5522
5541
  @pulumi.getter(name="relayMode")
5523
5542
  def relay_mode(self) -> Optional[pulumi.Input[str]]:
5524
5543
  """
5525
5544
  Mode used to make Relay available.
5526
5545
  """
5546
+ warnings.warn("""Deprecated in favor of enable_relay field. Remove this attribute's configuration as this field will be removed in the next major release and enable_relay will become a required field.""", DeprecationWarning)
5547
+ pulumi.log.warn("""relay_mode is deprecated: Deprecated in favor of enable_relay field. Remove this attribute's configuration as this field will be removed in the next major release and enable_relay will become a required field.""")
5548
+
5527
5549
  return pulumi.get(self, "relay_mode")
5528
5550
 
5529
5551
  @relay_mode.setter
@@ -6206,6 +6206,8 @@ class ClusterMonitoringConfigAdvancedDatapathObservabilityConfig(dict):
6206
6206
  suggest = None
6207
6207
  if key == "enableMetrics":
6208
6208
  suggest = "enable_metrics"
6209
+ elif key == "enableRelay":
6210
+ suggest = "enable_relay"
6209
6211
  elif key == "relayMode":
6210
6212
  suggest = "relay_mode"
6211
6213
 
@@ -6222,12 +6224,16 @@ class ClusterMonitoringConfigAdvancedDatapathObservabilityConfig(dict):
6222
6224
 
6223
6225
  def __init__(__self__, *,
6224
6226
  enable_metrics: bool,
6227
+ enable_relay: Optional[bool] = None,
6225
6228
  relay_mode: Optional[str] = None):
6226
6229
  """
6227
6230
  :param bool enable_metrics: Whether or not to enable advanced datapath metrics.
6231
+ :param bool enable_relay: Whether or not Relay is enabled.
6228
6232
  :param str relay_mode: Mode used to make Relay available.
6229
6233
  """
6230
6234
  pulumi.set(__self__, "enable_metrics", enable_metrics)
6235
+ if enable_relay is not None:
6236
+ pulumi.set(__self__, "enable_relay", enable_relay)
6231
6237
  if relay_mode is not None:
6232
6238
  pulumi.set(__self__, "relay_mode", relay_mode)
6233
6239
 
@@ -6239,12 +6245,23 @@ class ClusterMonitoringConfigAdvancedDatapathObservabilityConfig(dict):
6239
6245
  """
6240
6246
  return pulumi.get(self, "enable_metrics")
6241
6247
 
6248
+ @property
6249
+ @pulumi.getter(name="enableRelay")
6250
+ def enable_relay(self) -> Optional[bool]:
6251
+ """
6252
+ Whether or not Relay is enabled.
6253
+ """
6254
+ return pulumi.get(self, "enable_relay")
6255
+
6242
6256
  @property
6243
6257
  @pulumi.getter(name="relayMode")
6244
6258
  def relay_mode(self) -> Optional[str]:
6245
6259
  """
6246
6260
  Mode used to make Relay available.
6247
6261
  """
6262
+ warnings.warn("""Deprecated in favor of enable_relay field. Remove this attribute's configuration as this field will be removed in the next major release and enable_relay will become a required field.""", DeprecationWarning)
6263
+ pulumi.log.warn("""relay_mode is deprecated: Deprecated in favor of enable_relay field. Remove this attribute's configuration as this field will be removed in the next major release and enable_relay will become a required field.""")
6264
+
6248
6265
  return pulumi.get(self, "relay_mode")
6249
6266
 
6250
6267
 
@@ -15096,12 +15113,15 @@ class GetClusterMonitoringConfigResult(dict):
15096
15113
  class GetClusterMonitoringConfigAdvancedDatapathObservabilityConfigResult(dict):
15097
15114
  def __init__(__self__, *,
15098
15115
  enable_metrics: bool,
15116
+ enable_relay: bool,
15099
15117
  relay_mode: str):
15100
15118
  """
15101
15119
  :param bool enable_metrics: Whether or not the advanced datapath metrics are enabled.
15120
+ :param bool enable_relay: Whether or not Relay is enabled.
15102
15121
  :param str relay_mode: Mode used to make Relay available.
15103
15122
  """
15104
15123
  pulumi.set(__self__, "enable_metrics", enable_metrics)
15124
+ pulumi.set(__self__, "enable_relay", enable_relay)
15105
15125
  pulumi.set(__self__, "relay_mode", relay_mode)
15106
15126
 
15107
15127
  @property
@@ -15112,6 +15132,14 @@ class GetClusterMonitoringConfigAdvancedDatapathObservabilityConfigResult(dict):
15112
15132
  """
15113
15133
  return pulumi.get(self, "enable_metrics")
15114
15134
 
15135
+ @property
15136
+ @pulumi.getter(name="enableRelay")
15137
+ def enable_relay(self) -> bool:
15138
+ """
15139
+ Whether or not Relay is enabled.
15140
+ """
15141
+ return pulumi.get(self, "enable_relay")
15142
+
15115
15143
  @property
15116
15144
  @pulumi.getter(name="relayMode")
15117
15145
  def relay_mode(self) -> str:
pulumi_gcp/dns/_inputs.py CHANGED
@@ -1709,7 +1709,7 @@ class GetManagedZonesManagedZoneArgs:
1709
1709
  :param int managed_zone_id: Unique identifier for the resource; defined by the server.
1710
1710
  :param str name: A unique name for the resource.
1711
1711
  :param Sequence[str] name_servers: The list of nameservers that will be authoritative for this domain. Use NS records to redirect from your DNS provider to these names, thus making Google Cloud DNS authoritative for this zone.
1712
- :param str project: The ID of the project for the Google Cloud.
1712
+ :param str project: The ID of the project containing Google Cloud DNS zones. If this is not provided the default project will be used.
1713
1713
  :param str visibility: The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.
1714
1714
  """
1715
1715
  pulumi.set(__self__, "description", description)
@@ -1797,7 +1797,7 @@ class GetManagedZonesManagedZoneArgs:
1797
1797
  @pulumi.getter
1798
1798
  def project(self) -> str:
1799
1799
  """
1800
- The ID of the project for the Google Cloud.
1800
+ The ID of the project containing Google Cloud DNS zones. If this is not provided the default project will be used.
1801
1801
  """
1802
1802
  return pulumi.get(self, "project")
1803
1803
 
@@ -144,7 +144,7 @@ def get_managed_zone(name: Optional[str] = None,
144
144
 
145
145
 
146
146
  :param str name: A unique name for the resource.
147
- :param str project: The ID of the project for the Google Cloud DNS zone.
147
+ :param str project: The ID of the project for the Google Cloud DNS zone. If this is not provided the default project will be used.
148
148
  """
149
149
  __args__ = dict()
150
150
  __args__['name'] = name
@@ -189,6 +189,6 @@ def get_managed_zone_output(name: Optional[pulumi.Input[str]] = None,
189
189
 
190
190
 
191
191
  :param str name: A unique name for the resource.
192
- :param str project: The ID of the project for the Google Cloud DNS zone.
192
+ :param str project: The ID of the project for the Google Cloud DNS zone. If this is not provided the default project will be used.
193
193
  """
194
194
  ...
@@ -42,6 +42,9 @@ class GetManagedZonesResult:
42
42
  @property
43
43
  @pulumi.getter(name="managedZones")
44
44
  def managed_zones(self) -> Optional[Sequence['outputs.GetManagedZonesManagedZoneResult']]:
45
+ """
46
+ A list of managed zones.
47
+ """
45
48
  return pulumi.get(self, "managed_zones")
46
49
 
47
50
  @property
@@ -65,7 +68,22 @@ def get_managed_zones(managed_zones: Optional[Sequence[pulumi.InputType['GetMana
65
68
  project: Optional[str] = None,
66
69
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetManagedZonesResult:
67
70
  """
68
- Use this data source to access information about an existing resource.
71
+ Provides access to a list of zones within Google Cloud DNS.
72
+ For more information see
73
+ [the official documentation](https://cloud.google.com/dns/zones/)
74
+ and
75
+ [API](https://cloud.google.com/dns/api/v1/managedZones).
76
+
77
+ ```python
78
+ import pulumi
79
+ import pulumi_gcp as gcp
80
+
81
+ zones = gcp.dns.get_managed_zones(project="my-project-id")
82
+ ```
83
+
84
+
85
+ :param Sequence[pulumi.InputType['GetManagedZonesManagedZoneArgs']] managed_zones: A list of managed zones.
86
+ :param str project: The ID of the project containing Google Cloud DNS zones. If this is not provided the default project will be used.
69
87
  """
70
88
  __args__ = dict()
71
89
  __args__['managedZones'] = managed_zones
@@ -84,6 +102,21 @@ def get_managed_zones_output(managed_zones: Optional[pulumi.Input[Optional[Seque
84
102
  project: Optional[pulumi.Input[Optional[str]]] = None,
85
103
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetManagedZonesResult]:
86
104
  """
87
- Use this data source to access information about an existing resource.
105
+ Provides access to a list of zones within Google Cloud DNS.
106
+ For more information see
107
+ [the official documentation](https://cloud.google.com/dns/zones/)
108
+ and
109
+ [API](https://cloud.google.com/dns/api/v1/managedZones).
110
+
111
+ ```python
112
+ import pulumi
113
+ import pulumi_gcp as gcp
114
+
115
+ zones = gcp.dns.get_managed_zones(project="my-project-id")
116
+ ```
117
+
118
+
119
+ :param Sequence[pulumi.InputType['GetManagedZonesManagedZoneArgs']] managed_zones: A list of managed zones.
120
+ :param str project: The ID of the project containing Google Cloud DNS zones. If this is not provided the default project will be used.
88
121
  """
89
122
  ...
pulumi_gcp/dns/outputs.py CHANGED
@@ -2199,7 +2199,7 @@ class GetManagedZonesManagedZoneResult(dict):
2199
2199
  :param int managed_zone_id: Unique identifier for the resource; defined by the server.
2200
2200
  :param str name: A unique name for the resource.
2201
2201
  :param Sequence[str] name_servers: The list of nameservers that will be authoritative for this domain. Use NS records to redirect from your DNS provider to these names, thus making Google Cloud DNS authoritative for this zone.
2202
- :param str project: The ID of the project for the Google Cloud.
2202
+ :param str project: The ID of the project containing Google Cloud DNS zones. If this is not provided the default project will be used.
2203
2203
  :param str visibility: The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.
2204
2204
  """
2205
2205
  pulumi.set(__self__, "description", description)
@@ -2263,7 +2263,7 @@ class GetManagedZonesManagedZoneResult(dict):
2263
2263
  @pulumi.getter
2264
2264
  def project(self) -> str:
2265
2265
  """
2266
- The ID of the project for the Google Cloud.
2266
+ The ID of the project containing Google Cloud DNS zones. If this is not provided the default project will be used.
2267
2267
  """
2268
2268
  return pulumi.get(self, "project")
2269
2269
 
@@ -13,6 +13,8 @@ __all__ = [
13
13
  'TriggerDestinationArgs',
14
14
  'TriggerDestinationCloudRunServiceArgs',
15
15
  'TriggerDestinationGkeArgs',
16
+ 'TriggerDestinationHttpEndpointArgs',
17
+ 'TriggerDestinationNetworkConfigArgs',
16
18
  'TriggerMatchingCriteriaArgs',
17
19
  'TriggerTransportArgs',
18
20
  'TriggerTransportPubsubArgs',
@@ -24,11 +26,15 @@ class TriggerDestinationArgs:
24
26
  cloud_function: Optional[pulumi.Input[str]] = None,
25
27
  cloud_run_service: Optional[pulumi.Input['TriggerDestinationCloudRunServiceArgs']] = None,
26
28
  gke: Optional[pulumi.Input['TriggerDestinationGkeArgs']] = None,
29
+ http_endpoint: Optional[pulumi.Input['TriggerDestinationHttpEndpointArgs']] = None,
30
+ network_config: Optional[pulumi.Input['TriggerDestinationNetworkConfigArgs']] = None,
27
31
  workflow: Optional[pulumi.Input[str]] = None):
28
32
  """
29
33
  :param pulumi.Input[str] cloud_function: The Cloud Function resource name. Only Cloud Functions V2 is supported. Format projects/{project}/locations/{location}/functions/{function} This is a read-only field. [WARNING] Creating Cloud Functions V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.
30
34
  :param pulumi.Input['TriggerDestinationCloudRunServiceArgs'] cloud_run_service: Cloud Run fully-managed service that receives the events. The service should be running in the same project of the trigger.
31
35
  :param pulumi.Input['TriggerDestinationGkeArgs'] gke: A GKE service capable of receiving events. The service should be running in the same project as the trigger.
36
+ :param pulumi.Input['TriggerDestinationHttpEndpointArgs'] http_endpoint: An HTTP endpoint destination described by an URI.
37
+ :param pulumi.Input['TriggerDestinationNetworkConfigArgs'] network_config: Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.
32
38
  :param pulumi.Input[str] workflow: The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: `projects/{project}/locations/{location}/workflows/{workflow}`
33
39
  """
34
40
  if cloud_function is not None:
@@ -37,6 +43,10 @@ class TriggerDestinationArgs:
37
43
  pulumi.set(__self__, "cloud_run_service", cloud_run_service)
38
44
  if gke is not None:
39
45
  pulumi.set(__self__, "gke", gke)
46
+ if http_endpoint is not None:
47
+ pulumi.set(__self__, "http_endpoint", http_endpoint)
48
+ if network_config is not None:
49
+ pulumi.set(__self__, "network_config", network_config)
40
50
  if workflow is not None:
41
51
  pulumi.set(__self__, "workflow", workflow)
42
52
 
@@ -76,6 +86,30 @@ class TriggerDestinationArgs:
76
86
  def gke(self, value: Optional[pulumi.Input['TriggerDestinationGkeArgs']]):
77
87
  pulumi.set(self, "gke", value)
78
88
 
89
+ @property
90
+ @pulumi.getter(name="httpEndpoint")
91
+ def http_endpoint(self) -> Optional[pulumi.Input['TriggerDestinationHttpEndpointArgs']]:
92
+ """
93
+ An HTTP endpoint destination described by an URI.
94
+ """
95
+ return pulumi.get(self, "http_endpoint")
96
+
97
+ @http_endpoint.setter
98
+ def http_endpoint(self, value: Optional[pulumi.Input['TriggerDestinationHttpEndpointArgs']]):
99
+ pulumi.set(self, "http_endpoint", value)
100
+
101
+ @property
102
+ @pulumi.getter(name="networkConfig")
103
+ def network_config(self) -> Optional[pulumi.Input['TriggerDestinationNetworkConfigArgs']]:
104
+ """
105
+ Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.
106
+ """
107
+ return pulumi.get(self, "network_config")
108
+
109
+ @network_config.setter
110
+ def network_config(self, value: Optional[pulumi.Input['TriggerDestinationNetworkConfigArgs']]):
111
+ pulumi.set(self, "network_config", value)
112
+
79
113
  @property
80
114
  @pulumi.getter
81
115
  def workflow(self) -> Optional[pulumi.Input[str]]:
@@ -226,6 +260,50 @@ class TriggerDestinationGkeArgs:
226
260
  pulumi.set(self, "path", value)
227
261
 
228
262
 
263
+ @pulumi.input_type
264
+ class TriggerDestinationHttpEndpointArgs:
265
+ def __init__(__self__, *,
266
+ uri: pulumi.Input[str]):
267
+ """
268
+ :param pulumi.Input[str] uri: Required. The URI of the HTTP enpdoint. The value must be a RFC2396 URI string. Examples: `http://10.10.10.8:80/route`, `http://svc.us-central1.p.local:8080/`. Only HTTP and HTTPS protocols are supported. The host can be either a static IP addressable from the VPC specified by the network config, or an internal DNS hostname of the service resolvable via Cloud DNS.
269
+ """
270
+ pulumi.set(__self__, "uri", uri)
271
+
272
+ @property
273
+ @pulumi.getter
274
+ def uri(self) -> pulumi.Input[str]:
275
+ """
276
+ Required. The URI of the HTTP enpdoint. The value must be a RFC2396 URI string. Examples: `http://10.10.10.8:80/route`, `http://svc.us-central1.p.local:8080/`. Only HTTP and HTTPS protocols are supported. The host can be either a static IP addressable from the VPC specified by the network config, or an internal DNS hostname of the service resolvable via Cloud DNS.
277
+ """
278
+ return pulumi.get(self, "uri")
279
+
280
+ @uri.setter
281
+ def uri(self, value: pulumi.Input[str]):
282
+ pulumi.set(self, "uri", value)
283
+
284
+
285
+ @pulumi.input_type
286
+ class TriggerDestinationNetworkConfigArgs:
287
+ def __init__(__self__, *,
288
+ network_attachment: pulumi.Input[str]):
289
+ """
290
+ :param pulumi.Input[str] network_attachment: Required. Name of the NetworkAttachment that allows access to the destination VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`
291
+ """
292
+ pulumi.set(__self__, "network_attachment", network_attachment)
293
+
294
+ @property
295
+ @pulumi.getter(name="networkAttachment")
296
+ def network_attachment(self) -> pulumi.Input[str]:
297
+ """
298
+ Required. Name of the NetworkAttachment that allows access to the destination VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`
299
+ """
300
+ return pulumi.get(self, "network_attachment")
301
+
302
+ @network_attachment.setter
303
+ def network_attachment(self, value: pulumi.Input[str]):
304
+ pulumi.set(self, "network_attachment", value)
305
+
306
+
229
307
  @pulumi.input_type
230
308
  class TriggerMatchingCriteriaArgs:
231
309
  def __init__(__self__, *,
@@ -14,6 +14,8 @@ __all__ = [
14
14
  'TriggerDestination',
15
15
  'TriggerDestinationCloudRunService',
16
16
  'TriggerDestinationGke',
17
+ 'TriggerDestinationHttpEndpoint',
18
+ 'TriggerDestinationNetworkConfig',
17
19
  'TriggerMatchingCriteria',
18
20
  'TriggerTransport',
19
21
  'TriggerTransportPubsub',
@@ -28,6 +30,10 @@ class TriggerDestination(dict):
28
30
  suggest = "cloud_function"
29
31
  elif key == "cloudRunService":
30
32
  suggest = "cloud_run_service"
33
+ elif key == "httpEndpoint":
34
+ suggest = "http_endpoint"
35
+ elif key == "networkConfig":
36
+ suggest = "network_config"
31
37
 
32
38
  if suggest:
33
39
  pulumi.log.warn(f"Key '{key}' not found in TriggerDestination. Access the value via the '{suggest}' property getter instead.")
@@ -44,11 +50,15 @@ class TriggerDestination(dict):
44
50
  cloud_function: Optional[str] = None,
45
51
  cloud_run_service: Optional['outputs.TriggerDestinationCloudRunService'] = None,
46
52
  gke: Optional['outputs.TriggerDestinationGke'] = None,
53
+ http_endpoint: Optional['outputs.TriggerDestinationHttpEndpoint'] = None,
54
+ network_config: Optional['outputs.TriggerDestinationNetworkConfig'] = None,
47
55
  workflow: Optional[str] = None):
48
56
  """
49
57
  :param str cloud_function: The Cloud Function resource name. Only Cloud Functions V2 is supported. Format projects/{project}/locations/{location}/functions/{function} This is a read-only field. [WARNING] Creating Cloud Functions V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.
50
58
  :param 'TriggerDestinationCloudRunServiceArgs' cloud_run_service: Cloud Run fully-managed service that receives the events. The service should be running in the same project of the trigger.
51
59
  :param 'TriggerDestinationGkeArgs' gke: A GKE service capable of receiving events. The service should be running in the same project as the trigger.
60
+ :param 'TriggerDestinationHttpEndpointArgs' http_endpoint: An HTTP endpoint destination described by an URI.
61
+ :param 'TriggerDestinationNetworkConfigArgs' network_config: Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.
52
62
  :param str workflow: The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: `projects/{project}/locations/{location}/workflows/{workflow}`
53
63
  """
54
64
  if cloud_function is not None:
@@ -57,6 +67,10 @@ class TriggerDestination(dict):
57
67
  pulumi.set(__self__, "cloud_run_service", cloud_run_service)
58
68
  if gke is not None:
59
69
  pulumi.set(__self__, "gke", gke)
70
+ if http_endpoint is not None:
71
+ pulumi.set(__self__, "http_endpoint", http_endpoint)
72
+ if network_config is not None:
73
+ pulumi.set(__self__, "network_config", network_config)
60
74
  if workflow is not None:
61
75
  pulumi.set(__self__, "workflow", workflow)
62
76
 
@@ -84,6 +98,22 @@ class TriggerDestination(dict):
84
98
  """
85
99
  return pulumi.get(self, "gke")
86
100
 
101
+ @property
102
+ @pulumi.getter(name="httpEndpoint")
103
+ def http_endpoint(self) -> Optional['outputs.TriggerDestinationHttpEndpoint']:
104
+ """
105
+ An HTTP endpoint destination described by an URI.
106
+ """
107
+ return pulumi.get(self, "http_endpoint")
108
+
109
+ @property
110
+ @pulumi.getter(name="networkConfig")
111
+ def network_config(self) -> Optional['outputs.TriggerDestinationNetworkConfig']:
112
+ """
113
+ Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.
114
+ """
115
+ return pulumi.get(self, "network_config")
116
+
87
117
  @property
88
118
  @pulumi.getter
89
119
  def workflow(self) -> Optional[str]:
@@ -198,6 +228,59 @@ class TriggerDestinationGke(dict):
198
228
  return pulumi.get(self, "path")
199
229
 
200
230
 
231
+ @pulumi.output_type
232
+ class TriggerDestinationHttpEndpoint(dict):
233
+ def __init__(__self__, *,
234
+ uri: str):
235
+ """
236
+ :param str uri: Required. The URI of the HTTP enpdoint. The value must be a RFC2396 URI string. Examples: `http://10.10.10.8:80/route`, `http://svc.us-central1.p.local:8080/`. Only HTTP and HTTPS protocols are supported. The host can be either a static IP addressable from the VPC specified by the network config, or an internal DNS hostname of the service resolvable via Cloud DNS.
237
+ """
238
+ pulumi.set(__self__, "uri", uri)
239
+
240
+ @property
241
+ @pulumi.getter
242
+ def uri(self) -> str:
243
+ """
244
+ Required. The URI of the HTTP enpdoint. The value must be a RFC2396 URI string. Examples: `http://10.10.10.8:80/route`, `http://svc.us-central1.p.local:8080/`. Only HTTP and HTTPS protocols are supported. The host can be either a static IP addressable from the VPC specified by the network config, or an internal DNS hostname of the service resolvable via Cloud DNS.
245
+ """
246
+ return pulumi.get(self, "uri")
247
+
248
+
249
+ @pulumi.output_type
250
+ class TriggerDestinationNetworkConfig(dict):
251
+ @staticmethod
252
+ def __key_warning(key: str):
253
+ suggest = None
254
+ if key == "networkAttachment":
255
+ suggest = "network_attachment"
256
+
257
+ if suggest:
258
+ pulumi.log.warn(f"Key '{key}' not found in TriggerDestinationNetworkConfig. Access the value via the '{suggest}' property getter instead.")
259
+
260
+ def __getitem__(self, key: str) -> Any:
261
+ TriggerDestinationNetworkConfig.__key_warning(key)
262
+ return super().__getitem__(key)
263
+
264
+ def get(self, key: str, default = None) -> Any:
265
+ TriggerDestinationNetworkConfig.__key_warning(key)
266
+ return super().get(key, default)
267
+
268
+ def __init__(__self__, *,
269
+ network_attachment: str):
270
+ """
271
+ :param str network_attachment: Required. Name of the NetworkAttachment that allows access to the destination VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`
272
+ """
273
+ pulumi.set(__self__, "network_attachment", network_attachment)
274
+
275
+ @property
276
+ @pulumi.getter(name="networkAttachment")
277
+ def network_attachment(self) -> str:
278
+ """
279
+ Required. Name of the NetworkAttachment that allows access to the destination VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`
280
+ """
281
+ return pulumi.get(self, "network_attachment")
282
+
283
+
201
284
  @pulumi.output_type
202
285
  class TriggerMatchingCriteria(dict):
203
286
  def __init__(__self__, *,