pulumi-gcp 7.39.0a1726118759__py3-none-any.whl → 8.0.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 (132) hide show
  1. pulumi_gcp/__init__.py +32 -19
  2. pulumi_gcp/accesscontextmanager/access_policy.py +4 -2
  3. pulumi_gcp/activedirectory/domain.py +38 -2
  4. pulumi_gcp/activedirectory/domain_trust.py +0 -30
  5. pulumi_gcp/activedirectory/peering.py +0 -72
  6. pulumi_gcp/alloydb/cluster.py +12 -200
  7. pulumi_gcp/alloydb/instance.py +13 -5
  8. pulumi_gcp/alloydb/user.py +14 -6
  9. pulumi_gcp/apigee/keystores_aliases_self_signed_cert.py +4 -2
  10. pulumi_gcp/apigee/sync_authorization.py +4 -2
  11. pulumi_gcp/apigee/target_server.py +4 -2
  12. pulumi_gcp/appengine/firewall_rule.py +4 -2
  13. pulumi_gcp/appengine/flexible_app_version.py +4 -2
  14. pulumi_gcp/apphub/service.py +8 -4
  15. pulumi_gcp/apphub/service_project_attachment.py +8 -4
  16. pulumi_gcp/applicationintegration/client.py +0 -154
  17. pulumi_gcp/bigquery/_inputs.py +0 -70
  18. pulumi_gcp/bigquery/iam_binding.py +0 -260
  19. pulumi_gcp/bigquery/iam_member.py +0 -260
  20. pulumi_gcp/bigquery/iam_policy.py +0 -240
  21. pulumi_gcp/bigquery/outputs.py +0 -44
  22. pulumi_gcp/bigquery/reservation.py +0 -84
  23. pulumi_gcp/bigquery/table.py +0 -98
  24. pulumi_gcp/billing/project_info.py +4 -2
  25. pulumi_gcp/cloudasset/folder_feed.py +4 -2
  26. pulumi_gcp/cloudrunv2/_inputs.py +25 -25
  27. pulumi_gcp/cloudrunv2/get_job.py +11 -1
  28. pulumi_gcp/cloudrunv2/get_service.py +11 -1
  29. pulumi_gcp/cloudrunv2/job.py +50 -0
  30. pulumi_gcp/cloudrunv2/outputs.py +26 -26
  31. pulumi_gcp/cloudrunv2/service.py +54 -0
  32. pulumi_gcp/compute/_inputs.py +117 -54
  33. pulumi_gcp/compute/backend_service.py +52 -0
  34. pulumi_gcp/compute/firewall_policy_rule.py +4 -2
  35. pulumi_gcp/compute/forwarding_rule.py +42 -0
  36. pulumi_gcp/compute/get_forwarding_rule.py +11 -1
  37. pulumi_gcp/compute/global_address.py +8 -4
  38. pulumi_gcp/compute/global_forwarding_rule.py +7 -0
  39. pulumi_gcp/compute/instance_template.py +56 -7
  40. pulumi_gcp/compute/managed_ssl_certificate.py +1 -20
  41. pulumi_gcp/compute/manged_ssl_certificate.py +1 -20
  42. pulumi_gcp/compute/network_attachment.py +8 -4
  43. pulumi_gcp/compute/node_group.py +4 -2
  44. pulumi_gcp/compute/organization_security_policy_association.py +4 -2
  45. pulumi_gcp/compute/outputs.py +101 -42
  46. pulumi_gcp/compute/project_cloud_armor_tier.py +4 -2
  47. pulumi_gcp/compute/region_backend_service.py +36 -7
  48. pulumi_gcp/compute/region_instance_template.py +56 -7
  49. pulumi_gcp/compute/region_ssl_certificate.py +49 -7
  50. pulumi_gcp/compute/ssl_certificate.py +49 -7
  51. pulumi_gcp/compute/subnetwork.py +193 -23
  52. pulumi_gcp/config/__init__.pyi +3 -5
  53. pulumi_gcp/config/vars.py +6 -10
  54. pulumi_gcp/container/_inputs.py +19 -41
  55. pulumi_gcp/container/cluster.py +79 -0
  56. pulumi_gcp/container/get_cluster.py +21 -1
  57. pulumi_gcp/container/get_engine_versions.py +8 -2
  58. pulumi_gcp/container/outputs.py +17 -40
  59. pulumi_gcp/diagflow/intent.py +4 -2
  60. pulumi_gcp/edgenetwork/network.py +83 -0
  61. pulumi_gcp/edgenetwork/subnet.py +83 -0
  62. pulumi_gcp/firebase/database_instance.py +2 -0
  63. pulumi_gcp/firebase/hosting_custom_domain.py +4 -2
  64. pulumi_gcp/firebase/hosting_version.py +4 -2
  65. pulumi_gcp/firebase/project.py +2 -0
  66. pulumi_gcp/firestore/document.py +8 -4
  67. pulumi_gcp/folder/access_approval_settings.py +12 -6
  68. pulumi_gcp/gkeonprem/_inputs.py +11 -11
  69. pulumi_gcp/gkeonprem/outputs.py +9 -9
  70. pulumi_gcp/gkeonprem/v_mware_cluster.py +31 -31
  71. pulumi_gcp/gkeonprem/v_mware_node_pool.py +186 -0
  72. pulumi_gcp/iam/access_boundary_policy.py +4 -2
  73. pulumi_gcp/iam/deny_policy.py +4 -2
  74. pulumi_gcp/iap/brand.py +4 -2
  75. pulumi_gcp/iap/client.py +4 -2
  76. pulumi_gcp/identityplatform/__init__.py +0 -1
  77. pulumi_gcp/identityplatform/_inputs.py +0 -396
  78. pulumi_gcp/identityplatform/config.py +2 -0
  79. pulumi_gcp/identityplatform/outputs.py +0 -313
  80. pulumi_gcp/integrationconnectors/managed_zone.py +4 -2
  81. pulumi_gcp/kms/__init__.py +4 -0
  82. pulumi_gcp/kms/_inputs.py +130 -0
  83. pulumi_gcp/kms/autokey_config.py +6 -2
  84. pulumi_gcp/kms/ekm_connection_iam_binding.py +1097 -0
  85. pulumi_gcp/kms/ekm_connection_iam_member.py +1097 -0
  86. pulumi_gcp/kms/ekm_connection_iam_policy.py +916 -0
  87. pulumi_gcp/kms/get_ekm_connection_iam_policy.py +177 -0
  88. pulumi_gcp/kms/key_handle.py +8 -2
  89. pulumi_gcp/kms/outputs.py +76 -0
  90. pulumi_gcp/logging/folder_settings.py +4 -2
  91. pulumi_gcp/monitoring/monitored_project.py +4 -2
  92. pulumi_gcp/networksecurity/firewall_endpoint_association.py +12 -44
  93. pulumi_gcp/networkservices/_inputs.py +23 -0
  94. pulumi_gcp/networkservices/outputs.py +17 -1
  95. pulumi_gcp/networkservices/tcp_route.py +2 -0
  96. pulumi_gcp/organizations/access_approval_settings.py +4 -2
  97. pulumi_gcp/organizations/folder.py +35 -1
  98. pulumi_gcp/organizations/get_client_config.py +14 -1
  99. pulumi_gcp/organizations/get_folder.py +11 -1
  100. pulumi_gcp/organizations/get_project.py +3 -13
  101. pulumi_gcp/organizations/project.py +3 -87
  102. pulumi_gcp/orgpolicy/policy.py +12 -6
  103. pulumi_gcp/projects/api_key.py +2 -52
  104. pulumi_gcp/provider.py +32 -52
  105. pulumi_gcp/pubsub/topic.py +1 -1
  106. pulumi_gcp/pulumi-plugin.json +1 -1
  107. pulumi_gcp/redis/cluster.py +58 -0
  108. pulumi_gcp/resourcemanager/lien.py +4 -2
  109. pulumi_gcp/securitycenter/__init__.py +1 -0
  110. pulumi_gcp/securitycenter/folder_custom_module.py +8 -4
  111. pulumi_gcp/securitycenter/management_folder_security_health_analytics_custom_module.py +8 -4
  112. pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +862 -0
  113. pulumi_gcp/serviceusage/consumer_quota_override.py +12 -6
  114. pulumi_gcp/sql/_inputs.py +3 -36
  115. pulumi_gcp/sql/outputs.py +6 -49
  116. pulumi_gcp/storage/_inputs.py +23 -23
  117. pulumi_gcp/storage/bucket.py +6 -6
  118. pulumi_gcp/storage/outputs.py +27 -27
  119. pulumi_gcp/tags/tag_binding.py +4 -2
  120. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -2
  121. pulumi_gcp/vmwareengine/network.py +4 -2
  122. pulumi_gcp/vpcaccess/connector.py +14 -6
  123. pulumi_gcp/vpcaccess/get_connector.py +6 -2
  124. {pulumi_gcp-7.39.0a1726118759.dist-info → pulumi_gcp-8.0.0.dist-info}/METADATA +1 -1
  125. {pulumi_gcp-7.39.0a1726118759.dist-info → pulumi_gcp-8.0.0.dist-info}/RECORD +127 -127
  126. pulumi_gcp/datastore/__init__.py +0 -10
  127. pulumi_gcp/datastore/_inputs.py +0 -76
  128. pulumi_gcp/datastore/data_store_index.py +0 -515
  129. pulumi_gcp/datastore/outputs.py +0 -51
  130. pulumi_gcp/identityplatform/project_default_config.py +0 -357
  131. {pulumi_gcp-7.39.0a1726118759.dist-info → pulumi_gcp-8.0.0.dist-info}/WHEEL +0 -0
  132. {pulumi_gcp-7.39.0a1726118759.dist-info → pulumi_gcp-8.0.0.dist-info}/top_level.txt +0 -0
@@ -332,7 +332,8 @@ class ConsumerQuotaOverride(pulumi.CustomResource):
332
332
  my_project = gcp.organizations.Project("my_project",
333
333
  name="tf-test-project",
334
334
  project_id="quota",
335
- org_id="123456789")
335
+ org_id="123456789",
336
+ deletion_policy="DELETE")
336
337
  override = gcp.serviceusage.ConsumerQuotaOverride("override",
337
338
  project=my_project.project_id,
338
339
  service="servicemanagement.googleapis.com",
@@ -351,7 +352,8 @@ class ConsumerQuotaOverride(pulumi.CustomResource):
351
352
  my_project = gcp.organizations.Project("my_project",
352
353
  name="tf-test-project",
353
354
  project_id="quota",
354
- org_id="123456789")
355
+ org_id="123456789",
356
+ deletion_policy="DELETE")
355
357
  override = gcp.serviceusage.ConsumerQuotaOverride("override",
356
358
  dimensions={
357
359
  "region": "us-central1",
@@ -373,7 +375,8 @@ class ConsumerQuotaOverride(pulumi.CustomResource):
373
375
  my_project = gcp.organizations.Project("my_project",
374
376
  name="tf-test-project",
375
377
  project_id="quota",
376
- org_id="123456789")
378
+ org_id="123456789",
379
+ deletion_policy="DELETE")
377
380
  override = gcp.serviceusage.ConsumerQuotaOverride("override",
378
381
  project=my_project.project_id,
379
382
  service="libraryagent.googleapis.com",
@@ -456,7 +459,8 @@ class ConsumerQuotaOverride(pulumi.CustomResource):
456
459
  my_project = gcp.organizations.Project("my_project",
457
460
  name="tf-test-project",
458
461
  project_id="quota",
459
- org_id="123456789")
462
+ org_id="123456789",
463
+ deletion_policy="DELETE")
460
464
  override = gcp.serviceusage.ConsumerQuotaOverride("override",
461
465
  project=my_project.project_id,
462
466
  service="servicemanagement.googleapis.com",
@@ -475,7 +479,8 @@ class ConsumerQuotaOverride(pulumi.CustomResource):
475
479
  my_project = gcp.organizations.Project("my_project",
476
480
  name="tf-test-project",
477
481
  project_id="quota",
478
- org_id="123456789")
482
+ org_id="123456789",
483
+ deletion_policy="DELETE")
479
484
  override = gcp.serviceusage.ConsumerQuotaOverride("override",
480
485
  dimensions={
481
486
  "region": "us-central1",
@@ -497,7 +502,8 @@ class ConsumerQuotaOverride(pulumi.CustomResource):
497
502
  my_project = gcp.organizations.Project("my_project",
498
503
  name="tf-test-project",
499
504
  project_id="quota",
500
- org_id="123456789")
505
+ org_id="123456789",
506
+ deletion_policy="DELETE")
501
507
  override = gcp.serviceusage.ConsumerQuotaOverride("override",
502
508
  project=my_project.project_id,
503
509
  service="libraryagent.googleapis.com",
pulumi_gcp/sql/_inputs.py CHANGED
@@ -1835,20 +1835,13 @@ if not MYPY:
1835
1835
  """
1836
1836
  PSC settings for a Cloud SQL instance.
1837
1837
  """
1838
- require_ssl: NotRequired[pulumi.Input[bool]]
1839
- """
1840
- Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`. It will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.
1841
- """
1842
1838
  server_ca_mode: NotRequired[pulumi.Input[str]]
1843
1839
  """
1844
1840
  Specify how the server certificate's Certificate Authority is hosted. Supported value is `GOOGLE_MANAGED_INTERNAL_CA`.
1845
1841
  """
1846
1842
  ssl_mode: NotRequired[pulumi.Input[str]]
1847
1843
  """
1848
- Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcement options compared to `require_ssl`. To change this field, also set the correspoding value in `require_ssl`.
1849
- * For PostgreSQL instances, the value pairs are listed in the [API reference doc](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/instances#ipconfiguration) for `ssl_mode` field.
1850
- * For MySQL instances, use the same value pairs as the PostgreSQL instances.
1851
- * For SQL Server instances, set it to `ALLOW_UNENCRYPTED_AND_ENCRYPTED` when `require_ssl=false` and `ENCRYPTED_ONLY` otherwise.
1844
+ Specify how SSL connection should be enforced in DB connections.
1852
1845
  """
1853
1846
  elif False:
1854
1847
  DatabaseInstanceSettingsIpConfigurationArgsDict: TypeAlias = Mapping[str, Any]
@@ -1862,7 +1855,6 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
1862
1855
  ipv4_enabled: Optional[pulumi.Input[bool]] = None,
1863
1856
  private_network: Optional[pulumi.Input[str]] = None,
1864
1857
  psc_configs: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceSettingsIpConfigurationPscConfigArgs']]]] = None,
1865
- require_ssl: Optional[pulumi.Input[bool]] = None,
1866
1858
  server_ca_mode: Optional[pulumi.Input[str]] = None,
1867
1859
  ssl_mode: Optional[pulumi.Input[str]] = None):
1868
1860
  """
@@ -1877,12 +1869,8 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
1877
1869
  At least `ipv4_enabled` must be enabled or a `private_network` must be configured.
1878
1870
  This setting can be updated, but it cannot be removed after it is set.
1879
1871
  :param pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceSettingsIpConfigurationPscConfigArgs']]] psc_configs: PSC settings for a Cloud SQL instance.
1880
- :param pulumi.Input[bool] require_ssl: Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`. It will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.
1881
1872
  :param pulumi.Input[str] server_ca_mode: Specify how the server certificate's Certificate Authority is hosted. Supported value is `GOOGLE_MANAGED_INTERNAL_CA`.
1882
- :param pulumi.Input[str] ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcement options compared to `require_ssl`. To change this field, also set the correspoding value in `require_ssl`.
1883
- * For PostgreSQL instances, the value pairs are listed in the [API reference doc](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/instances#ipconfiguration) for `ssl_mode` field.
1884
- * For MySQL instances, use the same value pairs as the PostgreSQL instances.
1885
- * For SQL Server instances, set it to `ALLOW_UNENCRYPTED_AND_ENCRYPTED` when `require_ssl=false` and `ENCRYPTED_ONLY` otherwise.
1873
+ :param pulumi.Input[str] ssl_mode: Specify how SSL connection should be enforced in DB connections.
1886
1874
  """
1887
1875
  if allocated_ip_range is not None:
1888
1876
  pulumi.set(__self__, "allocated_ip_range", allocated_ip_range)
@@ -1896,11 +1884,6 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
1896
1884
  pulumi.set(__self__, "private_network", private_network)
1897
1885
  if psc_configs is not None:
1898
1886
  pulumi.set(__self__, "psc_configs", psc_configs)
1899
- if require_ssl is not None:
1900
- warnings.warn("""`require_ssl` will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.""", DeprecationWarning)
1901
- pulumi.log.warn("""require_ssl is deprecated: `require_ssl` will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.""")
1902
- if require_ssl is not None:
1903
- pulumi.set(__self__, "require_ssl", require_ssl)
1904
1887
  if server_ca_mode is not None:
1905
1888
  pulumi.set(__self__, "server_ca_mode", server_ca_mode)
1906
1889
  if ssl_mode is not None:
@@ -1981,19 +1964,6 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
1981
1964
  def psc_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceSettingsIpConfigurationPscConfigArgs']]]]):
1982
1965
  pulumi.set(self, "psc_configs", value)
1983
1966
 
1984
- @property
1985
- @pulumi.getter(name="requireSsl")
1986
- @_utilities.deprecated("""`require_ssl` will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.""")
1987
- def require_ssl(self) -> Optional[pulumi.Input[bool]]:
1988
- """
1989
- Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`. It will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.
1990
- """
1991
- return pulumi.get(self, "require_ssl")
1992
-
1993
- @require_ssl.setter
1994
- def require_ssl(self, value: Optional[pulumi.Input[bool]]):
1995
- pulumi.set(self, "require_ssl", value)
1996
-
1997
1967
  @property
1998
1968
  @pulumi.getter(name="serverCaMode")
1999
1969
  def server_ca_mode(self) -> Optional[pulumi.Input[str]]:
@@ -2010,10 +1980,7 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
2010
1980
  @pulumi.getter(name="sslMode")
2011
1981
  def ssl_mode(self) -> Optional[pulumi.Input[str]]:
2012
1982
  """
2013
- Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcement options compared to `require_ssl`. To change this field, also set the correspoding value in `require_ssl`.
2014
- * For PostgreSQL instances, the value pairs are listed in the [API reference doc](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/instances#ipconfiguration) for `ssl_mode` field.
2015
- * For MySQL instances, use the same value pairs as the PostgreSQL instances.
2016
- * For SQL Server instances, set it to `ALLOW_UNENCRYPTED_AND_ENCRYPTED` when `require_ssl=false` and `ENCRYPTED_ONLY` otherwise.
1983
+ Specify how SSL connection should be enforced in DB connections.
2017
1984
  """
2018
1985
  return pulumi.get(self, "ssl_mode")
2019
1986
 
pulumi_gcp/sql/outputs.py CHANGED
@@ -1455,8 +1455,6 @@ class DatabaseInstanceSettingsIpConfiguration(dict):
1455
1455
  suggest = "private_network"
1456
1456
  elif key == "pscConfigs":
1457
1457
  suggest = "psc_configs"
1458
- elif key == "requireSsl":
1459
- suggest = "require_ssl"
1460
1458
  elif key == "serverCaMode":
1461
1459
  suggest = "server_ca_mode"
1462
1460
  elif key == "sslMode":
@@ -1480,7 +1478,6 @@ class DatabaseInstanceSettingsIpConfiguration(dict):
1480
1478
  ipv4_enabled: Optional[bool] = None,
1481
1479
  private_network: Optional[str] = None,
1482
1480
  psc_configs: Optional[Sequence['outputs.DatabaseInstanceSettingsIpConfigurationPscConfig']] = None,
1483
- require_ssl: Optional[bool] = None,
1484
1481
  server_ca_mode: Optional[str] = None,
1485
1482
  ssl_mode: Optional[str] = None):
1486
1483
  """
@@ -1495,12 +1492,8 @@ class DatabaseInstanceSettingsIpConfiguration(dict):
1495
1492
  At least `ipv4_enabled` must be enabled or a `private_network` must be configured.
1496
1493
  This setting can be updated, but it cannot be removed after it is set.
1497
1494
  :param Sequence['DatabaseInstanceSettingsIpConfigurationPscConfigArgs'] psc_configs: PSC settings for a Cloud SQL instance.
1498
- :param bool require_ssl: Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`. It will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.
1499
1495
  :param str server_ca_mode: Specify how the server certificate's Certificate Authority is hosted. Supported value is `GOOGLE_MANAGED_INTERNAL_CA`.
1500
- :param str ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcement options compared to `require_ssl`. To change this field, also set the correspoding value in `require_ssl`.
1501
- * For PostgreSQL instances, the value pairs are listed in the [API reference doc](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/instances#ipconfiguration) for `ssl_mode` field.
1502
- * For MySQL instances, use the same value pairs as the PostgreSQL instances.
1503
- * For SQL Server instances, set it to `ALLOW_UNENCRYPTED_AND_ENCRYPTED` when `require_ssl=false` and `ENCRYPTED_ONLY` otherwise.
1496
+ :param str ssl_mode: Specify how SSL connection should be enforced in DB connections.
1504
1497
  """
1505
1498
  if allocated_ip_range is not None:
1506
1499
  pulumi.set(__self__, "allocated_ip_range", allocated_ip_range)
@@ -1514,8 +1507,6 @@ class DatabaseInstanceSettingsIpConfiguration(dict):
1514
1507
  pulumi.set(__self__, "private_network", private_network)
1515
1508
  if psc_configs is not None:
1516
1509
  pulumi.set(__self__, "psc_configs", psc_configs)
1517
- if require_ssl is not None:
1518
- pulumi.set(__self__, "require_ssl", require_ssl)
1519
1510
  if server_ca_mode is not None:
1520
1511
  pulumi.set(__self__, "server_ca_mode", server_ca_mode)
1521
1512
  if ssl_mode is not None:
@@ -1572,15 +1563,6 @@ class DatabaseInstanceSettingsIpConfiguration(dict):
1572
1563
  """
1573
1564
  return pulumi.get(self, "psc_configs")
1574
1565
 
1575
- @property
1576
- @pulumi.getter(name="requireSsl")
1577
- @_utilities.deprecated("""`require_ssl` will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.""")
1578
- def require_ssl(self) -> Optional[bool]:
1579
- """
1580
- Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`. It will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.
1581
- """
1582
- return pulumi.get(self, "require_ssl")
1583
-
1584
1566
  @property
1585
1567
  @pulumi.getter(name="serverCaMode")
1586
1568
  def server_ca_mode(self) -> Optional[str]:
@@ -1593,10 +1575,7 @@ class DatabaseInstanceSettingsIpConfiguration(dict):
1593
1575
  @pulumi.getter(name="sslMode")
1594
1576
  def ssl_mode(self) -> Optional[str]:
1595
1577
  """
1596
- Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcement options compared to `require_ssl`. To change this field, also set the correspoding value in `require_ssl`.
1597
- * For PostgreSQL instances, the value pairs are listed in the [API reference doc](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/instances#ipconfiguration) for `ssl_mode` field.
1598
- * For MySQL instances, use the same value pairs as the PostgreSQL instances.
1599
- * For SQL Server instances, set it to `ALLOW_UNENCRYPTED_AND_ENCRYPTED` when `require_ssl=false` and `ENCRYPTED_ONLY` otherwise.
1578
+ Specify how SSL connection should be enforced in DB connections.
1600
1579
  """
1601
1580
  return pulumi.get(self, "ssl_mode")
1602
1581
 
@@ -3172,7 +3151,6 @@ class GetDatabaseInstanceSettingIpConfigurationResult(dict):
3172
3151
  ipv4_enabled: bool,
3173
3152
  private_network: str,
3174
3153
  psc_configs: Sequence['outputs.GetDatabaseInstanceSettingIpConfigurationPscConfigResult'],
3175
- require_ssl: bool,
3176
3154
  server_ca_mode: str,
3177
3155
  ssl_mode: str):
3178
3156
  """
@@ -3181,9 +3159,8 @@ class GetDatabaseInstanceSettingIpConfigurationResult(dict):
3181
3159
  :param bool ipv4_enabled: Whether this Cloud SQL instance should be assigned a public IPV4 address. At least ipv4_enabled must be enabled or a private_network must be configured.
3182
3160
  :param str private_network: The VPC network from which the Cloud SQL instance is accessible for private IP. For example, projects/myProject/global/networks/default. Specifying a network enables private IP. At least ipv4_enabled must be enabled or a private_network must be configured. This setting can be updated, but it cannot be removed after it is set.
3183
3161
  :param Sequence['GetDatabaseInstanceSettingIpConfigurationPscConfigArgs'] psc_configs: PSC settings for a Cloud SQL instance.
3184
- :param bool require_ssl: Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in ssl_mode if it has been set too.
3185
3162
  :param str server_ca_mode: Specify how the server certificate's Certificate Authority is hosted.
3186
- :param str ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcement options compared to require_ssl. To change this field, also set the correspoding value in require_ssl until next major release.
3163
+ :param str ssl_mode: Specify how SSL connection should be enforced in DB connections.
3187
3164
  """
3188
3165
  pulumi.set(__self__, "allocated_ip_range", allocated_ip_range)
3189
3166
  pulumi.set(__self__, "authorized_networks", authorized_networks)
@@ -3191,7 +3168,6 @@ class GetDatabaseInstanceSettingIpConfigurationResult(dict):
3191
3168
  pulumi.set(__self__, "ipv4_enabled", ipv4_enabled)
3192
3169
  pulumi.set(__self__, "private_network", private_network)
3193
3170
  pulumi.set(__self__, "psc_configs", psc_configs)
3194
- pulumi.set(__self__, "require_ssl", require_ssl)
3195
3171
  pulumi.set(__self__, "server_ca_mode", server_ca_mode)
3196
3172
  pulumi.set(__self__, "ssl_mode", ssl_mode)
3197
3173
 
@@ -3240,14 +3216,6 @@ class GetDatabaseInstanceSettingIpConfigurationResult(dict):
3240
3216
  """
3241
3217
  return pulumi.get(self, "psc_configs")
3242
3218
 
3243
- @property
3244
- @pulumi.getter(name="requireSsl")
3245
- def require_ssl(self) -> bool:
3246
- """
3247
- Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in ssl_mode if it has been set too.
3248
- """
3249
- return pulumi.get(self, "require_ssl")
3250
-
3251
3219
  @property
3252
3220
  @pulumi.getter(name="serverCaMode")
3253
3221
  def server_ca_mode(self) -> str:
@@ -3260,7 +3228,7 @@ class GetDatabaseInstanceSettingIpConfigurationResult(dict):
3260
3228
  @pulumi.getter(name="sslMode")
3261
3229
  def ssl_mode(self) -> str:
3262
3230
  """
3263
- Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcement options compared to require_ssl. To change this field, also set the correspoding value in require_ssl until next major release.
3231
+ Specify how SSL connection should be enforced in DB connections.
3264
3232
  """
3265
3233
  return pulumi.get(self, "ssl_mode")
3266
3234
 
@@ -4686,7 +4654,6 @@ class GetDatabaseInstancesInstanceSettingIpConfigurationResult(dict):
4686
4654
  ipv4_enabled: bool,
4687
4655
  private_network: str,
4688
4656
  psc_configs: Sequence['outputs.GetDatabaseInstancesInstanceSettingIpConfigurationPscConfigResult'],
4689
- require_ssl: bool,
4690
4657
  server_ca_mode: str,
4691
4658
  ssl_mode: str):
4692
4659
  """
@@ -4695,9 +4662,8 @@ class GetDatabaseInstancesInstanceSettingIpConfigurationResult(dict):
4695
4662
  :param bool ipv4_enabled: Whether this Cloud SQL instance should be assigned a public IPV4 address. At least ipv4_enabled must be enabled or a private_network must be configured.
4696
4663
  :param str private_network: The VPC network from which the Cloud SQL instance is accessible for private IP. For example, projects/myProject/global/networks/default. Specifying a network enables private IP. At least ipv4_enabled must be enabled or a private_network must be configured. This setting can be updated, but it cannot be removed after it is set.
4697
4664
  :param Sequence['GetDatabaseInstancesInstanceSettingIpConfigurationPscConfigArgs'] psc_configs: PSC settings for a Cloud SQL instance.
4698
- :param bool require_ssl: Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in ssl_mode if it has been set too.
4699
4665
  :param str server_ca_mode: Specify how the server certificate's Certificate Authority is hosted.
4700
- :param str ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcement options compared to require_ssl. To change this field, also set the correspoding value in require_ssl until next major release.
4666
+ :param str ssl_mode: Specify how SSL connection should be enforced in DB connections.
4701
4667
  """
4702
4668
  pulumi.set(__self__, "allocated_ip_range", allocated_ip_range)
4703
4669
  pulumi.set(__self__, "authorized_networks", authorized_networks)
@@ -4705,7 +4671,6 @@ class GetDatabaseInstancesInstanceSettingIpConfigurationResult(dict):
4705
4671
  pulumi.set(__self__, "ipv4_enabled", ipv4_enabled)
4706
4672
  pulumi.set(__self__, "private_network", private_network)
4707
4673
  pulumi.set(__self__, "psc_configs", psc_configs)
4708
- pulumi.set(__self__, "require_ssl", require_ssl)
4709
4674
  pulumi.set(__self__, "server_ca_mode", server_ca_mode)
4710
4675
  pulumi.set(__self__, "ssl_mode", ssl_mode)
4711
4676
 
@@ -4754,14 +4719,6 @@ class GetDatabaseInstancesInstanceSettingIpConfigurationResult(dict):
4754
4719
  """
4755
4720
  return pulumi.get(self, "psc_configs")
4756
4721
 
4757
- @property
4758
- @pulumi.getter(name="requireSsl")
4759
- def require_ssl(self) -> bool:
4760
- """
4761
- Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in ssl_mode if it has been set too.
4762
- """
4763
- return pulumi.get(self, "require_ssl")
4764
-
4765
4722
  @property
4766
4723
  @pulumi.getter(name="serverCaMode")
4767
4724
  def server_ca_mode(self) -> str:
@@ -4774,7 +4731,7 @@ class GetDatabaseInstancesInstanceSettingIpConfigurationResult(dict):
4774
4731
  @pulumi.getter(name="sslMode")
4775
4732
  def ssl_mode(self) -> str:
4776
4733
  """
4777
- Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcement options compared to require_ssl. To change this field, also set the correspoding value in require_ssl until next major release.
4734
+ Specify how SSL connection should be enforced in DB connections.
4778
4735
  """
4779
4736
  return pulumi.get(self, "ssl_mode")
4780
4737
 
@@ -624,7 +624,7 @@ if not MYPY:
624
624
  class BucketLifecycleRuleConditionArgsDict(TypedDict):
625
625
  age: NotRequired[pulumi.Input[int]]
626
626
  """
627
- Minimum age of an object in days to satisfy this condition. If not supplied alongside another condition and without setting `no_age` to `true`, a default `age` of 0 will be set.
627
+ Minimum age of an object in days to satisfy this condition. **Note** To set `0` value of `age`, `send_age_if_zero` should be set `true` otherwise `0` value of `age` field will be ignored.
628
628
  """
629
629
  created_before: NotRequired[pulumi.Input[str]]
630
630
  """
@@ -655,10 +655,6 @@ if not MYPY:
655
655
  """
656
656
  One or more matching name suffixes to satisfy this condition.
657
657
  """
658
- no_age: NotRequired[pulumi.Input[bool]]
659
- """
660
- While set `true`, `age` value will be omitted from requests. This prevents a default age of `0` from being applied, and if you do not have an `age` value set, setting this to `true` is strongly recommended. When unset and other conditions are set to zero values, this can result in a rule that applies your action to all files in the bucket.
661
- """
662
658
  noncurrent_time_before: NotRequired[pulumi.Input[str]]
663
659
  """
664
660
  Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition.
@@ -667,6 +663,10 @@ if not MYPY:
667
663
  """
668
664
  Relevant only for versioned objects. The number of newer versions of an object to satisfy this condition.
669
665
  """
666
+ send_age_if_zero: NotRequired[pulumi.Input[bool]]
667
+ """
668
+ While set true, `age` value will be sent in the request even for zero value of the field. This field is only useful and required for setting 0 value to the `age` field. It can be used alone or together with `age` attribute. **NOTE** `age` attibute with `0` value will be ommitted from the API request if `send_age_if_zero` field is having `false` value.
669
+ """
670
670
  send_days_since_custom_time_if_zero: NotRequired[pulumi.Input[bool]]
671
671
  """
672
672
  While set true, `days_since_custom_time` value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the `days_since_custom_time` field. It can be used alone or together with `days_since_custom_time`.
@@ -697,15 +697,15 @@ class BucketLifecycleRuleConditionArgs:
697
697
  matches_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
698
698
  matches_storage_classes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
699
699
  matches_suffixes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
700
- no_age: Optional[pulumi.Input[bool]] = None,
701
700
  noncurrent_time_before: Optional[pulumi.Input[str]] = None,
702
701
  num_newer_versions: Optional[pulumi.Input[int]] = None,
702
+ send_age_if_zero: Optional[pulumi.Input[bool]] = None,
703
703
  send_days_since_custom_time_if_zero: Optional[pulumi.Input[bool]] = None,
704
704
  send_days_since_noncurrent_time_if_zero: Optional[pulumi.Input[bool]] = None,
705
705
  send_num_newer_versions_if_zero: Optional[pulumi.Input[bool]] = None,
706
706
  with_state: Optional[pulumi.Input[str]] = None):
707
707
  """
708
- :param pulumi.Input[int] age: Minimum age of an object in days to satisfy this condition. If not supplied alongside another condition and without setting `no_age` to `true`, a default `age` of 0 will be set.
708
+ :param pulumi.Input[int] age: Minimum age of an object in days to satisfy this condition. **Note** To set `0` value of `age`, `send_age_if_zero` should be set `true` otherwise `0` value of `age` field will be ignored.
709
709
  :param pulumi.Input[str] created_before: A date in the RFC 3339 format YYYY-MM-DD. This condition is satisfied when an object is created before midnight of the specified date in UTC.
710
710
  :param pulumi.Input[str] custom_time_before: A date in the RFC 3339 format YYYY-MM-DD. This condition is satisfied when the customTime metadata for the object is set to an earlier date than the date used in this lifecycle condition.
711
711
  :param pulumi.Input[int] days_since_custom_time: Number of days elapsed since the user-specified timestamp set on an object.
@@ -714,9 +714,9 @@ class BucketLifecycleRuleConditionArgs:
714
714
  :param pulumi.Input[Sequence[pulumi.Input[str]]] matches_prefixes: One or more matching name prefixes to satisfy this condition.
715
715
  :param pulumi.Input[Sequence[pulumi.Input[str]]] matches_storage_classes: [Storage Class](https://cloud.google.com/storage/docs/storage-classes) of objects to satisfy this condition. Supported values include: `STANDARD`, `MULTI_REGIONAL`, `REGIONAL`, `NEARLINE`, `COLDLINE`, `ARCHIVE`, `DURABLE_REDUCED_AVAILABILITY`.
716
716
  :param pulumi.Input[Sequence[pulumi.Input[str]]] matches_suffixes: One or more matching name suffixes to satisfy this condition.
717
- :param pulumi.Input[bool] no_age: While set `true`, `age` value will be omitted from requests. This prevents a default age of `0` from being applied, and if you do not have an `age` value set, setting this to `true` is strongly recommended. When unset and other conditions are set to zero values, this can result in a rule that applies your action to all files in the bucket.
718
717
  :param pulumi.Input[str] noncurrent_time_before: Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition.
719
718
  :param pulumi.Input[int] num_newer_versions: Relevant only for versioned objects. The number of newer versions of an object to satisfy this condition.
719
+ :param pulumi.Input[bool] send_age_if_zero: While set true, `age` value will be sent in the request even for zero value of the field. This field is only useful and required for setting 0 value to the `age` field. It can be used alone or together with `age` attribute. **NOTE** `age` attibute with `0` value will be ommitted from the API request if `send_age_if_zero` field is having `false` value.
720
720
  :param pulumi.Input[bool] send_days_since_custom_time_if_zero: While set true, `days_since_custom_time` value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the `days_since_custom_time` field. It can be used alone or together with `days_since_custom_time`.
721
721
  :param pulumi.Input[bool] send_days_since_noncurrent_time_if_zero: While set true, `days_since_noncurrent_time` value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the `days_since_noncurrent_time` field. It can be used alone or together with `days_since_noncurrent_time`.
722
722
  :param pulumi.Input[bool] send_num_newer_versions_if_zero: While set true, `num_newer_versions` value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the `num_newer_versions` field. It can be used alone or together with `num_newer_versions`.
@@ -738,12 +738,12 @@ class BucketLifecycleRuleConditionArgs:
738
738
  pulumi.set(__self__, "matches_storage_classes", matches_storage_classes)
739
739
  if matches_suffixes is not None:
740
740
  pulumi.set(__self__, "matches_suffixes", matches_suffixes)
741
- if no_age is not None:
742
- pulumi.set(__self__, "no_age", no_age)
743
741
  if noncurrent_time_before is not None:
744
742
  pulumi.set(__self__, "noncurrent_time_before", noncurrent_time_before)
745
743
  if num_newer_versions is not None:
746
744
  pulumi.set(__self__, "num_newer_versions", num_newer_versions)
745
+ if send_age_if_zero is not None:
746
+ pulumi.set(__self__, "send_age_if_zero", send_age_if_zero)
747
747
  if send_days_since_custom_time_if_zero is not None:
748
748
  pulumi.set(__self__, "send_days_since_custom_time_if_zero", send_days_since_custom_time_if_zero)
749
749
  if send_days_since_noncurrent_time_if_zero is not None:
@@ -757,7 +757,7 @@ class BucketLifecycleRuleConditionArgs:
757
757
  @pulumi.getter
758
758
  def age(self) -> Optional[pulumi.Input[int]]:
759
759
  """
760
- Minimum age of an object in days to satisfy this condition. If not supplied alongside another condition and without setting `no_age` to `true`, a default `age` of 0 will be set.
760
+ Minimum age of an object in days to satisfy this condition. **Note** To set `0` value of `age`, `send_age_if_zero` should be set `true` otherwise `0` value of `age` field will be ignored.
761
761
  """
762
762
  return pulumi.get(self, "age")
763
763
 
@@ -850,18 +850,6 @@ class BucketLifecycleRuleConditionArgs:
850
850
  def matches_suffixes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
851
851
  pulumi.set(self, "matches_suffixes", value)
852
852
 
853
- @property
854
- @pulumi.getter(name="noAge")
855
- def no_age(self) -> Optional[pulumi.Input[bool]]:
856
- """
857
- While set `true`, `age` value will be omitted from requests. This prevents a default age of `0` from being applied, and if you do not have an `age` value set, setting this to `true` is strongly recommended. When unset and other conditions are set to zero values, this can result in a rule that applies your action to all files in the bucket.
858
- """
859
- return pulumi.get(self, "no_age")
860
-
861
- @no_age.setter
862
- def no_age(self, value: Optional[pulumi.Input[bool]]):
863
- pulumi.set(self, "no_age", value)
864
-
865
853
  @property
866
854
  @pulumi.getter(name="noncurrentTimeBefore")
867
855
  def noncurrent_time_before(self) -> Optional[pulumi.Input[str]]:
@@ -886,6 +874,18 @@ class BucketLifecycleRuleConditionArgs:
886
874
  def num_newer_versions(self, value: Optional[pulumi.Input[int]]):
887
875
  pulumi.set(self, "num_newer_versions", value)
888
876
 
877
+ @property
878
+ @pulumi.getter(name="sendAgeIfZero")
879
+ def send_age_if_zero(self) -> Optional[pulumi.Input[bool]]:
880
+ """
881
+ While set true, `age` value will be sent in the request even for zero value of the field. This field is only useful and required for setting 0 value to the `age` field. It can be used alone or together with `age` attribute. **NOTE** `age` attibute with `0` value will be ommitted from the API request if `send_age_if_zero` field is having `false` value.
882
+ """
883
+ return pulumi.get(self, "send_age_if_zero")
884
+
885
+ @send_age_if_zero.setter
886
+ def send_age_if_zero(self, value: Optional[pulumi.Input[bool]]):
887
+ pulumi.set(self, "send_age_if_zero", value)
888
+
889
889
  @property
890
890
  @pulumi.getter(name="sendDaysSinceCustomTimeIfZero")
891
891
  def send_days_since_custom_time_if_zero(self) -> Optional[pulumi.Input[bool]]:
@@ -938,8 +938,8 @@ class Bucket(pulumi.CustomResource):
938
938
  ])
939
939
  ```
940
940
 
941
- ### Life Cycle Settings For Storage Bucket Objects With `No_age` Enabled
942
- When creating a life cycle condition that does not also include an `age` field, a default `age` of 0 will be set. Set the `no_age` flag to `true` to prevent this and avoid any potentially unintended interactions.
941
+ ### Life Cycle Settings For Storage Bucket Objects With `Send_age_if_zero` Disabled
942
+ When creating a life cycle condition that does not also include an `age` field, a default `age` of 0 will be set. Set the `send_age_if_zero` flag to `false` to prevent this and avoid any potentially unintended interactions.
943
943
 
944
944
  ```python
945
945
  import pulumi
@@ -955,7 +955,7 @@ class Bucket(pulumi.CustomResource):
955
955
  },
956
956
  "condition": {
957
957
  "days_since_noncurrent_time": 3,
958
- "no_age": True,
958
+ "send_age_if_zero": False,
959
959
  },
960
960
  }])
961
961
  ```
@@ -1113,8 +1113,8 @@ class Bucket(pulumi.CustomResource):
1113
1113
  ])
1114
1114
  ```
1115
1115
 
1116
- ### Life Cycle Settings For Storage Bucket Objects With `No_age` Enabled
1117
- When creating a life cycle condition that does not also include an `age` field, a default `age` of 0 will be set. Set the `no_age` flag to `true` to prevent this and avoid any potentially unintended interactions.
1116
+ ### Life Cycle Settings For Storage Bucket Objects With `Send_age_if_zero` Disabled
1117
+ When creating a life cycle condition that does not also include an `age` field, a default `age` of 0 will be set. Set the `send_age_if_zero` flag to `false` to prevent this and avoid any potentially unintended interactions.
1118
1118
 
1119
1119
  ```python
1120
1120
  import pulumi
@@ -1130,7 +1130,7 @@ class Bucket(pulumi.CustomResource):
1130
1130
  },
1131
1131
  "condition": {
1132
1132
  "days_since_noncurrent_time": 3,
1133
- "no_age": True,
1133
+ "send_age_if_zero": False,
1134
1134
  },
1135
1135
  }])
1136
1136
  ```