pulumi-gcp 7.39.0a1726207510__py3-none-any.whl → 8.0.0a1__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 (167) 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/certificateauthority/get_authority.py +0 -20
  26. pulumi_gcp/certificatemanager/get_certificate_map.py +0 -14
  27. pulumi_gcp/cloudasset/folder_feed.py +4 -2
  28. pulumi_gcp/cloudidentity/get_group_lookup.py +0 -18
  29. pulumi_gcp/cloudidentity/get_group_memberships.py +0 -14
  30. pulumi_gcp/cloudidentity/get_groups.py +0 -14
  31. pulumi_gcp/cloudrunv2/_inputs.py +25 -25
  32. pulumi_gcp/cloudrunv2/get_job.py +11 -1
  33. pulumi_gcp/cloudrunv2/get_service.py +11 -1
  34. pulumi_gcp/cloudrunv2/job.py +50 -0
  35. pulumi_gcp/cloudrunv2/outputs.py +26 -26
  36. pulumi_gcp/cloudrunv2/service.py +54 -0
  37. pulumi_gcp/compute/_inputs.py +117 -54
  38. pulumi_gcp/compute/backend_service.py +52 -0
  39. pulumi_gcp/compute/disk_async_replication.py +0 -48
  40. pulumi_gcp/compute/firewall_policy_rule.py +4 -2
  41. pulumi_gcp/compute/forwarding_rule.py +42 -0
  42. pulumi_gcp/compute/get_backend_bucket.py +0 -14
  43. pulumi_gcp/compute/get_backend_service.py +0 -20
  44. pulumi_gcp/compute/get_certificate.py +0 -20
  45. pulumi_gcp/compute/get_forwarding_rule.py +11 -15
  46. pulumi_gcp/compute/get_forwarding_rules.py +0 -16
  47. pulumi_gcp/compute/get_global_forwarding_rule.py +0 -14
  48. pulumi_gcp/compute/get_hc_vpn_gateway.py +0 -14
  49. pulumi_gcp/compute/get_health_check.py +0 -14
  50. pulumi_gcp/compute/get_lbip_ranges.py +0 -32
  51. pulumi_gcp/compute/get_netblock_ip_ranges.py +0 -52
  52. pulumi_gcp/compute/get_network.py +0 -14
  53. pulumi_gcp/compute/get_networks.py +0 -14
  54. pulumi_gcp/compute/get_region_ssl_certificate.py +0 -20
  55. pulumi_gcp/compute/get_ssl_policy.py +0 -14
  56. pulumi_gcp/compute/get_vpn_gateway.py +0 -14
  57. pulumi_gcp/compute/global_address.py +8 -4
  58. pulumi_gcp/compute/global_forwarding_rule.py +7 -0
  59. pulumi_gcp/compute/instance_template.py +56 -63
  60. pulumi_gcp/compute/managed_ssl_certificate.py +1 -20
  61. pulumi_gcp/compute/manged_ssl_certificate.py +1 -20
  62. pulumi_gcp/compute/network_attachment.py +8 -4
  63. pulumi_gcp/compute/node_group.py +4 -2
  64. pulumi_gcp/compute/organization_security_policy_association.py +4 -2
  65. pulumi_gcp/compute/outputs.py +101 -42
  66. pulumi_gcp/compute/project_cloud_armor_tier.py +4 -2
  67. pulumi_gcp/compute/region_backend_service.py +36 -7
  68. pulumi_gcp/compute/region_instance_template.py +56 -7
  69. pulumi_gcp/compute/region_ssl_certificate.py +49 -7
  70. pulumi_gcp/compute/ssl_certificate.py +49 -7
  71. pulumi_gcp/compute/subnetwork.py +193 -23
  72. pulumi_gcp/config/__init__.pyi +3 -5
  73. pulumi_gcp/config/vars.py +6 -10
  74. pulumi_gcp/container/_inputs.py +19 -41
  75. pulumi_gcp/container/cluster.py +79 -0
  76. pulumi_gcp/container/get_cluster.py +21 -25
  77. pulumi_gcp/container/get_engine_versions.py +8 -2
  78. pulumi_gcp/container/outputs.py +17 -40
  79. pulumi_gcp/dataproc/get_metastore_service.py +0 -16
  80. pulumi_gcp/diagflow/intent.py +4 -2
  81. pulumi_gcp/dns/get_record_set.py +0 -20
  82. pulumi_gcp/edgenetwork/network.py +83 -0
  83. pulumi_gcp/edgenetwork/subnet.py +83 -0
  84. pulumi_gcp/filestore/get_instance.py +0 -20
  85. pulumi_gcp/firebase/database_instance.py +2 -0
  86. pulumi_gcp/firebase/hosting_custom_domain.py +4 -2
  87. pulumi_gcp/firebase/hosting_version.py +4 -2
  88. pulumi_gcp/firebase/project.py +2 -0
  89. pulumi_gcp/firestore/document.py +8 -4
  90. pulumi_gcp/folder/access_approval_settings.py +12 -6
  91. pulumi_gcp/gkeonprem/_inputs.py +11 -11
  92. pulumi_gcp/gkeonprem/outputs.py +9 -9
  93. pulumi_gcp/gkeonprem/v_mware_cluster.py +31 -31
  94. pulumi_gcp/gkeonprem/v_mware_node_pool.py +186 -0
  95. pulumi_gcp/iam/access_boundary_policy.py +4 -2
  96. pulumi_gcp/iam/deny_policy.py +4 -2
  97. pulumi_gcp/iam/get_workload_identity_pool.py +0 -14
  98. pulumi_gcp/iam/get_workload_identity_pool_provider.py +0 -16
  99. pulumi_gcp/iap/brand.py +4 -2
  100. pulumi_gcp/iap/client.py +4 -2
  101. pulumi_gcp/iap/get_client.py +0 -18
  102. pulumi_gcp/identityplatform/__init__.py +0 -1
  103. pulumi_gcp/identityplatform/_inputs.py +0 -396
  104. pulumi_gcp/identityplatform/config.py +2 -0
  105. pulumi_gcp/identityplatform/outputs.py +0 -313
  106. pulumi_gcp/integrationconnectors/managed_zone.py +4 -2
  107. pulumi_gcp/kms/__init__.py +4 -0
  108. pulumi_gcp/kms/_inputs.py +130 -0
  109. pulumi_gcp/kms/autokey_config.py +6 -2
  110. pulumi_gcp/kms/ekm_connection_iam_binding.py +1097 -0
  111. pulumi_gcp/kms/ekm_connection_iam_member.py +1097 -0
  112. pulumi_gcp/kms/ekm_connection_iam_policy.py +916 -0
  113. pulumi_gcp/kms/get_ekm_connection_iam_policy.py +177 -0
  114. pulumi_gcp/kms/key_handle.py +8 -2
  115. pulumi_gcp/kms/outputs.py +76 -0
  116. pulumi_gcp/logging/folder_settings.py +4 -2
  117. pulumi_gcp/monitoring/get_secret_version.py +2 -2
  118. pulumi_gcp/monitoring/monitored_project.py +4 -2
  119. pulumi_gcp/networksecurity/firewall_endpoint_association.py +12 -44
  120. pulumi_gcp/networkservices/_inputs.py +23 -0
  121. pulumi_gcp/networkservices/outputs.py +17 -1
  122. pulumi_gcp/networkservices/tcp_route.py +2 -0
  123. pulumi_gcp/organizations/access_approval_settings.py +4 -2
  124. pulumi_gcp/organizations/folder.py +35 -1
  125. pulumi_gcp/organizations/get_active_folder.py +0 -16
  126. pulumi_gcp/organizations/get_client_config.py +16 -15
  127. pulumi_gcp/organizations/get_folder.py +11 -1
  128. pulumi_gcp/organizations/get_project.py +3 -13
  129. pulumi_gcp/organizations/project.py +3 -87
  130. pulumi_gcp/orgpolicy/policy.py +12 -6
  131. pulumi_gcp/projects/api_key.py +2 -52
  132. pulumi_gcp/provider.py +32 -52
  133. pulumi_gcp/pubsub/topic.py +1 -1
  134. pulumi_gcp/pulumi-plugin.json +1 -1
  135. pulumi_gcp/redis/cluster.py +58 -0
  136. pulumi_gcp/redis/get_instance.py +0 -20
  137. pulumi_gcp/resourcemanager/lien.py +4 -2
  138. pulumi_gcp/secretmanager/get_secret_version.py +2 -2
  139. pulumi_gcp/securitycenter/__init__.py +1 -0
  140. pulumi_gcp/securitycenter/folder_custom_module.py +8 -4
  141. pulumi_gcp/securitycenter/management_folder_security_health_analytics_custom_module.py +8 -4
  142. pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +862 -0
  143. pulumi_gcp/serviceusage/consumer_quota_override.py +12 -6
  144. pulumi_gcp/spanner/get_instance.py +0 -14
  145. pulumi_gcp/sql/_inputs.py +3 -36
  146. pulumi_gcp/sql/outputs.py +6 -49
  147. pulumi_gcp/storage/_inputs.py +23 -23
  148. pulumi_gcp/storage/bucket.py +6 -6
  149. pulumi_gcp/storage/outputs.py +27 -27
  150. pulumi_gcp/tags/get_tag_key.py +0 -30
  151. pulumi_gcp/tags/get_tag_keys.py +0 -26
  152. pulumi_gcp/tags/get_tag_value.py +0 -16
  153. pulumi_gcp/tags/get_tag_values.py +0 -14
  154. pulumi_gcp/tags/tag_binding.py +4 -2
  155. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -2
  156. pulumi_gcp/vmwareengine/network.py +4 -2
  157. pulumi_gcp/vpcaccess/connector.py +14 -6
  158. pulumi_gcp/vpcaccess/get_connector.py +6 -2
  159. {pulumi_gcp-7.39.0a1726207510.dist-info → pulumi_gcp-8.0.0a1.dist-info}/METADATA +1 -1
  160. {pulumi_gcp-7.39.0a1726207510.dist-info → pulumi_gcp-8.0.0a1.dist-info}/RECORD +162 -162
  161. pulumi_gcp/datastore/__init__.py +0 -10
  162. pulumi_gcp/datastore/_inputs.py +0 -76
  163. pulumi_gcp/datastore/data_store_index.py +0 -515
  164. pulumi_gcp/datastore/outputs.py +0 -51
  165. pulumi_gcp/identityplatform/project_default_config.py +0 -357
  166. {pulumi_gcp-7.39.0a1726207510.dist-info → pulumi_gcp-8.0.0a1.dist-info}/WHEEL +0 -0
  167. {pulumi_gcp-7.39.0a1726207510.dist-info → pulumi_gcp-8.0.0a1.dist-info}/top_level.txt +0 -0
@@ -176,14 +176,6 @@ def get_workload_identity_pool_provider(project: Optional[str] = None,
176
176
 
177
177
  ## Example Usage
178
178
 
179
- ```python
180
- import pulumi
181
- import pulumi_gcp as gcp
182
-
183
- foo = gcp.iam.get_workload_identity_pool_provider(workload_identity_pool_id="foo-pool",
184
- workload_identity_pool_provider_id="bar-provider")
185
- ```
186
-
187
179
 
188
180
  :param str project: The project in which the resource belongs. If it
189
181
  is not provided, the provider project is used.
@@ -228,14 +220,6 @@ def get_workload_identity_pool_provider_output(project: Optional[pulumi.Input[Op
228
220
 
229
221
  ## Example Usage
230
222
 
231
- ```python
232
- import pulumi
233
- import pulumi_gcp as gcp
234
-
235
- foo = gcp.iam.get_workload_identity_pool_provider(workload_identity_pool_id="foo-pool",
236
- workload_identity_pool_provider_id="bar-provider")
237
- ```
238
-
239
223
 
240
224
  :param str project: The project in which the resource belongs. If it
241
225
  is not provided, the provider project is used.
pulumi_gcp/iap/brand.py CHANGED
@@ -217,7 +217,8 @@ class Brand(pulumi.CustomResource):
217
217
  project = gcp.organizations.Project("project",
218
218
  project_id="my-project",
219
219
  name="my-project",
220
- org_id="123456789")
220
+ org_id="123456789",
221
+ deletion_policy="DELETE")
221
222
  project_service = gcp.projects.Service("project_service",
222
223
  project=project.project_id,
223
224
  service="iap.googleapis.com")
@@ -283,7 +284,8 @@ class Brand(pulumi.CustomResource):
283
284
  project = gcp.organizations.Project("project",
284
285
  project_id="my-project",
285
286
  name="my-project",
286
- org_id="123456789")
287
+ org_id="123456789",
288
+ deletion_policy="DELETE")
287
289
  project_service = gcp.projects.Service("project_service",
288
290
  project=project.project_id,
289
291
  service="iap.googleapis.com")
pulumi_gcp/iap/client.py CHANGED
@@ -180,7 +180,8 @@ class Client(pulumi.CustomResource):
180
180
  project = gcp.organizations.Project("project",
181
181
  project_id="my-project",
182
182
  name="my-project",
183
- org_id="123456789")
183
+ org_id="123456789",
184
+ deletion_policy="DELETE")
184
185
  project_service = gcp.projects.Service("project_service",
185
186
  project=project.project_id,
186
187
  service="iap.googleapis.com")
@@ -251,7 +252,8 @@ class Client(pulumi.CustomResource):
251
252
  project = gcp.organizations.Project("project",
252
253
  project_id="my-project",
253
254
  name="my-project",
254
- org_id="123456789")
255
+ org_id="123456789",
256
+ deletion_policy="DELETE")
255
257
  project_service = gcp.projects.Service("project_service",
256
258
  project=project.project_id,
257
259
  service="iap.googleapis.com")
@@ -93,15 +93,6 @@ def get_client(brand: Optional[str] = None,
93
93
 
94
94
  ## Example Usage
95
95
 
96
- ```python
97
- import pulumi
98
- import pulumi_gcp as gcp
99
-
100
- project = gcp.organizations.get_project(project_id="foobar")
101
- project_client = gcp.iap.get_client(brand=f"projects/{project.number}/brands/[BRAND_NUMBER]",
102
- client_id=apps["googleusercontent"]["com"])
103
- ```
104
-
105
96
 
106
97
  :param str brand: The name of the brand.
107
98
  :param str client_id: The client_id of the brand.
@@ -129,15 +120,6 @@ def get_client_output(brand: Optional[pulumi.Input[str]] = None,
129
120
 
130
121
  ## Example Usage
131
122
 
132
- ```python
133
- import pulumi
134
- import pulumi_gcp as gcp
135
-
136
- project = gcp.organizations.get_project(project_id="foobar")
137
- project_client = gcp.iap.get_client(brand=f"projects/{project.number}/brands/[BRAND_NUMBER]",
138
- client_id=apps["googleusercontent"]["com"])
139
- ```
140
-
141
123
 
142
124
  :param str brand: The name of the brand.
143
125
  :param str client_id: The client_id of the brand.
@@ -9,7 +9,6 @@ from .config import *
9
9
  from .default_supported_idp_config import *
10
10
  from .inbound_saml_config import *
11
11
  from .oauth_idp_config import *
12
- from .project_default_config import *
13
12
  from .tenant import *
14
13
  from .tenant_default_supported_idp_config import *
15
14
  from .tenant_inbound_saml_config import *
@@ -65,16 +65,6 @@ __all__ = [
65
65
  'InboundSamlConfigSpConfigArgsDict',
66
66
  'InboundSamlConfigSpConfigSpCertificateArgs',
67
67
  'InboundSamlConfigSpConfigSpCertificateArgsDict',
68
- 'ProjectDefaultConfigSignInArgs',
69
- 'ProjectDefaultConfigSignInArgsDict',
70
- 'ProjectDefaultConfigSignInAnonymousArgs',
71
- 'ProjectDefaultConfigSignInAnonymousArgsDict',
72
- 'ProjectDefaultConfigSignInEmailArgs',
73
- 'ProjectDefaultConfigSignInEmailArgsDict',
74
- 'ProjectDefaultConfigSignInHashConfigArgs',
75
- 'ProjectDefaultConfigSignInHashConfigArgsDict',
76
- 'ProjectDefaultConfigSignInPhoneNumberArgs',
77
- 'ProjectDefaultConfigSignInPhoneNumberArgsDict',
78
68
  'TenantInboundSamlConfigIdpConfigArgs',
79
69
  'TenantInboundSamlConfigIdpConfigArgsDict',
80
70
  'TenantInboundSamlConfigIdpConfigIdpCertificateArgs',
@@ -1580,392 +1570,6 @@ class InboundSamlConfigSpConfigSpCertificateArgs:
1580
1570
  pulumi.set(self, "x509_certificate", value)
1581
1571
 
1582
1572
 
1583
- if not MYPY:
1584
- class ProjectDefaultConfigSignInArgsDict(TypedDict):
1585
- allow_duplicate_emails: NotRequired[pulumi.Input[bool]]
1586
- """
1587
- Whether to allow more than one account to have the same email.
1588
- """
1589
- anonymous: NotRequired[pulumi.Input['ProjectDefaultConfigSignInAnonymousArgsDict']]
1590
- """
1591
- Configuration options related to authenticating an anonymous user.
1592
- Structure is documented below.
1593
- """
1594
- email: NotRequired[pulumi.Input['ProjectDefaultConfigSignInEmailArgsDict']]
1595
- """
1596
- Configuration options related to authenticating a user by their email address.
1597
- Structure is documented below.
1598
- """
1599
- hash_configs: NotRequired[pulumi.Input[Sequence[pulumi.Input['ProjectDefaultConfigSignInHashConfigArgsDict']]]]
1600
- """
1601
- (Output)
1602
- Output only. Hash config information.
1603
- Structure is documented below.
1604
- """
1605
- phone_number: NotRequired[pulumi.Input['ProjectDefaultConfigSignInPhoneNumberArgsDict']]
1606
- """
1607
- Configuration options related to authenticated a user by their phone number.
1608
- Structure is documented below.
1609
- """
1610
- elif False:
1611
- ProjectDefaultConfigSignInArgsDict: TypeAlias = Mapping[str, Any]
1612
-
1613
- @pulumi.input_type
1614
- class ProjectDefaultConfigSignInArgs:
1615
- def __init__(__self__, *,
1616
- allow_duplicate_emails: Optional[pulumi.Input[bool]] = None,
1617
- anonymous: Optional[pulumi.Input['ProjectDefaultConfigSignInAnonymousArgs']] = None,
1618
- email: Optional[pulumi.Input['ProjectDefaultConfigSignInEmailArgs']] = None,
1619
- hash_configs: Optional[pulumi.Input[Sequence[pulumi.Input['ProjectDefaultConfigSignInHashConfigArgs']]]] = None,
1620
- phone_number: Optional[pulumi.Input['ProjectDefaultConfigSignInPhoneNumberArgs']] = None):
1621
- """
1622
- :param pulumi.Input[bool] allow_duplicate_emails: Whether to allow more than one account to have the same email.
1623
- :param pulumi.Input['ProjectDefaultConfigSignInAnonymousArgs'] anonymous: Configuration options related to authenticating an anonymous user.
1624
- Structure is documented below.
1625
- :param pulumi.Input['ProjectDefaultConfigSignInEmailArgs'] email: Configuration options related to authenticating a user by their email address.
1626
- Structure is documented below.
1627
- :param pulumi.Input[Sequence[pulumi.Input['ProjectDefaultConfigSignInHashConfigArgs']]] hash_configs: (Output)
1628
- Output only. Hash config information.
1629
- Structure is documented below.
1630
- :param pulumi.Input['ProjectDefaultConfigSignInPhoneNumberArgs'] phone_number: Configuration options related to authenticated a user by their phone number.
1631
- Structure is documented below.
1632
- """
1633
- if allow_duplicate_emails is not None:
1634
- pulumi.set(__self__, "allow_duplicate_emails", allow_duplicate_emails)
1635
- if anonymous is not None:
1636
- pulumi.set(__self__, "anonymous", anonymous)
1637
- if email is not None:
1638
- pulumi.set(__self__, "email", email)
1639
- if hash_configs is not None:
1640
- pulumi.set(__self__, "hash_configs", hash_configs)
1641
- if phone_number is not None:
1642
- pulumi.set(__self__, "phone_number", phone_number)
1643
-
1644
- @property
1645
- @pulumi.getter(name="allowDuplicateEmails")
1646
- def allow_duplicate_emails(self) -> Optional[pulumi.Input[bool]]:
1647
- """
1648
- Whether to allow more than one account to have the same email.
1649
- """
1650
- return pulumi.get(self, "allow_duplicate_emails")
1651
-
1652
- @allow_duplicate_emails.setter
1653
- def allow_duplicate_emails(self, value: Optional[pulumi.Input[bool]]):
1654
- pulumi.set(self, "allow_duplicate_emails", value)
1655
-
1656
- @property
1657
- @pulumi.getter
1658
- def anonymous(self) -> Optional[pulumi.Input['ProjectDefaultConfigSignInAnonymousArgs']]:
1659
- """
1660
- Configuration options related to authenticating an anonymous user.
1661
- Structure is documented below.
1662
- """
1663
- return pulumi.get(self, "anonymous")
1664
-
1665
- @anonymous.setter
1666
- def anonymous(self, value: Optional[pulumi.Input['ProjectDefaultConfigSignInAnonymousArgs']]):
1667
- pulumi.set(self, "anonymous", value)
1668
-
1669
- @property
1670
- @pulumi.getter
1671
- def email(self) -> Optional[pulumi.Input['ProjectDefaultConfigSignInEmailArgs']]:
1672
- """
1673
- Configuration options related to authenticating a user by their email address.
1674
- Structure is documented below.
1675
- """
1676
- return pulumi.get(self, "email")
1677
-
1678
- @email.setter
1679
- def email(self, value: Optional[pulumi.Input['ProjectDefaultConfigSignInEmailArgs']]):
1680
- pulumi.set(self, "email", value)
1681
-
1682
- @property
1683
- @pulumi.getter(name="hashConfigs")
1684
- def hash_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ProjectDefaultConfigSignInHashConfigArgs']]]]:
1685
- """
1686
- (Output)
1687
- Output only. Hash config information.
1688
- Structure is documented below.
1689
- """
1690
- return pulumi.get(self, "hash_configs")
1691
-
1692
- @hash_configs.setter
1693
- def hash_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ProjectDefaultConfigSignInHashConfigArgs']]]]):
1694
- pulumi.set(self, "hash_configs", value)
1695
-
1696
- @property
1697
- @pulumi.getter(name="phoneNumber")
1698
- def phone_number(self) -> Optional[pulumi.Input['ProjectDefaultConfigSignInPhoneNumberArgs']]:
1699
- """
1700
- Configuration options related to authenticated a user by their phone number.
1701
- Structure is documented below.
1702
- """
1703
- return pulumi.get(self, "phone_number")
1704
-
1705
- @phone_number.setter
1706
- def phone_number(self, value: Optional[pulumi.Input['ProjectDefaultConfigSignInPhoneNumberArgs']]):
1707
- pulumi.set(self, "phone_number", value)
1708
-
1709
-
1710
- if not MYPY:
1711
- class ProjectDefaultConfigSignInAnonymousArgsDict(TypedDict):
1712
- enabled: pulumi.Input[bool]
1713
- """
1714
- Whether anonymous user auth is enabled for the project or not.
1715
-
1716
- <a name="nested_hash_config"></a>The `hash_config` block contains:
1717
- """
1718
- elif False:
1719
- ProjectDefaultConfigSignInAnonymousArgsDict: TypeAlias = Mapping[str, Any]
1720
-
1721
- @pulumi.input_type
1722
- class ProjectDefaultConfigSignInAnonymousArgs:
1723
- def __init__(__self__, *,
1724
- enabled: pulumi.Input[bool]):
1725
- """
1726
- :param pulumi.Input[bool] enabled: Whether anonymous user auth is enabled for the project or not.
1727
-
1728
- <a name="nested_hash_config"></a>The `hash_config` block contains:
1729
- """
1730
- pulumi.set(__self__, "enabled", enabled)
1731
-
1732
- @property
1733
- @pulumi.getter
1734
- def enabled(self) -> pulumi.Input[bool]:
1735
- """
1736
- Whether anonymous user auth is enabled for the project or not.
1737
-
1738
- <a name="nested_hash_config"></a>The `hash_config` block contains:
1739
- """
1740
- return pulumi.get(self, "enabled")
1741
-
1742
- @enabled.setter
1743
- def enabled(self, value: pulumi.Input[bool]):
1744
- pulumi.set(self, "enabled", value)
1745
-
1746
-
1747
- if not MYPY:
1748
- class ProjectDefaultConfigSignInEmailArgsDict(TypedDict):
1749
- enabled: NotRequired[pulumi.Input[bool]]
1750
- """
1751
- Whether email auth is enabled for the project or not.
1752
- """
1753
- password_required: NotRequired[pulumi.Input[bool]]
1754
- """
1755
- Whether a password is required for email auth or not. If true, both an email and
1756
- password must be provided to sign in. If false, a user may sign in via either
1757
- email/password or email link.
1758
- """
1759
- elif False:
1760
- ProjectDefaultConfigSignInEmailArgsDict: TypeAlias = Mapping[str, Any]
1761
-
1762
- @pulumi.input_type
1763
- class ProjectDefaultConfigSignInEmailArgs:
1764
- def __init__(__self__, *,
1765
- enabled: Optional[pulumi.Input[bool]] = None,
1766
- password_required: Optional[pulumi.Input[bool]] = None):
1767
- """
1768
- :param pulumi.Input[bool] enabled: Whether email auth is enabled for the project or not.
1769
- :param pulumi.Input[bool] password_required: Whether a password is required for email auth or not. If true, both an email and
1770
- password must be provided to sign in. If false, a user may sign in via either
1771
- email/password or email link.
1772
- """
1773
- if enabled is not None:
1774
- pulumi.set(__self__, "enabled", enabled)
1775
- if password_required is not None:
1776
- pulumi.set(__self__, "password_required", password_required)
1777
-
1778
- @property
1779
- @pulumi.getter
1780
- def enabled(self) -> Optional[pulumi.Input[bool]]:
1781
- """
1782
- Whether email auth is enabled for the project or not.
1783
- """
1784
- return pulumi.get(self, "enabled")
1785
-
1786
- @enabled.setter
1787
- def enabled(self, value: Optional[pulumi.Input[bool]]):
1788
- pulumi.set(self, "enabled", value)
1789
-
1790
- @property
1791
- @pulumi.getter(name="passwordRequired")
1792
- def password_required(self) -> Optional[pulumi.Input[bool]]:
1793
- """
1794
- Whether a password is required for email auth or not. If true, both an email and
1795
- password must be provided to sign in. If false, a user may sign in via either
1796
- email/password or email link.
1797
- """
1798
- return pulumi.get(self, "password_required")
1799
-
1800
- @password_required.setter
1801
- def password_required(self, value: Optional[pulumi.Input[bool]]):
1802
- pulumi.set(self, "password_required", value)
1803
-
1804
-
1805
- if not MYPY:
1806
- class ProjectDefaultConfigSignInHashConfigArgsDict(TypedDict):
1807
- algorithm: NotRequired[pulumi.Input[str]]
1808
- """
1809
- Different password hash algorithms used in Identity Toolkit.
1810
- """
1811
- memory_cost: NotRequired[pulumi.Input[int]]
1812
- """
1813
- Memory cost for hash calculation. Used by scrypt and other similar password derivation algorithms. See https://tools.ietf.org/html/rfc7914 for explanation of field.
1814
- """
1815
- rounds: NotRequired[pulumi.Input[int]]
1816
- """
1817
- How many rounds for hash calculation. Used by scrypt and other similar password derivation algorithms.
1818
- """
1819
- salt_separator: NotRequired[pulumi.Input[str]]
1820
- """
1821
- Non-printable character to be inserted between the salt and plain text password in base64.
1822
- """
1823
- signer_key: NotRequired[pulumi.Input[str]]
1824
- """
1825
- Signer key in base64.
1826
- """
1827
- elif False:
1828
- ProjectDefaultConfigSignInHashConfigArgsDict: TypeAlias = Mapping[str, Any]
1829
-
1830
- @pulumi.input_type
1831
- class ProjectDefaultConfigSignInHashConfigArgs:
1832
- def __init__(__self__, *,
1833
- algorithm: Optional[pulumi.Input[str]] = None,
1834
- memory_cost: Optional[pulumi.Input[int]] = None,
1835
- rounds: Optional[pulumi.Input[int]] = None,
1836
- salt_separator: Optional[pulumi.Input[str]] = None,
1837
- signer_key: Optional[pulumi.Input[str]] = None):
1838
- """
1839
- :param pulumi.Input[str] algorithm: Different password hash algorithms used in Identity Toolkit.
1840
- :param pulumi.Input[int] memory_cost: Memory cost for hash calculation. Used by scrypt and other similar password derivation algorithms. See https://tools.ietf.org/html/rfc7914 for explanation of field.
1841
- :param pulumi.Input[int] rounds: How many rounds for hash calculation. Used by scrypt and other similar password derivation algorithms.
1842
- :param pulumi.Input[str] salt_separator: Non-printable character to be inserted between the salt and plain text password in base64.
1843
- :param pulumi.Input[str] signer_key: Signer key in base64.
1844
- """
1845
- if algorithm is not None:
1846
- pulumi.set(__self__, "algorithm", algorithm)
1847
- if memory_cost is not None:
1848
- pulumi.set(__self__, "memory_cost", memory_cost)
1849
- if rounds is not None:
1850
- pulumi.set(__self__, "rounds", rounds)
1851
- if salt_separator is not None:
1852
- pulumi.set(__self__, "salt_separator", salt_separator)
1853
- if signer_key is not None:
1854
- pulumi.set(__self__, "signer_key", signer_key)
1855
-
1856
- @property
1857
- @pulumi.getter
1858
- def algorithm(self) -> Optional[pulumi.Input[str]]:
1859
- """
1860
- Different password hash algorithms used in Identity Toolkit.
1861
- """
1862
- return pulumi.get(self, "algorithm")
1863
-
1864
- @algorithm.setter
1865
- def algorithm(self, value: Optional[pulumi.Input[str]]):
1866
- pulumi.set(self, "algorithm", value)
1867
-
1868
- @property
1869
- @pulumi.getter(name="memoryCost")
1870
- def memory_cost(self) -> Optional[pulumi.Input[int]]:
1871
- """
1872
- Memory cost for hash calculation. Used by scrypt and other similar password derivation algorithms. See https://tools.ietf.org/html/rfc7914 for explanation of field.
1873
- """
1874
- return pulumi.get(self, "memory_cost")
1875
-
1876
- @memory_cost.setter
1877
- def memory_cost(self, value: Optional[pulumi.Input[int]]):
1878
- pulumi.set(self, "memory_cost", value)
1879
-
1880
- @property
1881
- @pulumi.getter
1882
- def rounds(self) -> Optional[pulumi.Input[int]]:
1883
- """
1884
- How many rounds for hash calculation. Used by scrypt and other similar password derivation algorithms.
1885
- """
1886
- return pulumi.get(self, "rounds")
1887
-
1888
- @rounds.setter
1889
- def rounds(self, value: Optional[pulumi.Input[int]]):
1890
- pulumi.set(self, "rounds", value)
1891
-
1892
- @property
1893
- @pulumi.getter(name="saltSeparator")
1894
- def salt_separator(self) -> Optional[pulumi.Input[str]]:
1895
- """
1896
- Non-printable character to be inserted between the salt and plain text password in base64.
1897
- """
1898
- return pulumi.get(self, "salt_separator")
1899
-
1900
- @salt_separator.setter
1901
- def salt_separator(self, value: Optional[pulumi.Input[str]]):
1902
- pulumi.set(self, "salt_separator", value)
1903
-
1904
- @property
1905
- @pulumi.getter(name="signerKey")
1906
- def signer_key(self) -> Optional[pulumi.Input[str]]:
1907
- """
1908
- Signer key in base64.
1909
- """
1910
- return pulumi.get(self, "signer_key")
1911
-
1912
- @signer_key.setter
1913
- def signer_key(self, value: Optional[pulumi.Input[str]]):
1914
- pulumi.set(self, "signer_key", value)
1915
-
1916
-
1917
- if not MYPY:
1918
- class ProjectDefaultConfigSignInPhoneNumberArgsDict(TypedDict):
1919
- enabled: NotRequired[pulumi.Input[bool]]
1920
- """
1921
- Whether phone number auth is enabled for the project or not.
1922
- """
1923
- test_phone_numbers: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
1924
- """
1925
- A map of <test phone number, fake code> that can be used for phone auth testing.
1926
- """
1927
- elif False:
1928
- ProjectDefaultConfigSignInPhoneNumberArgsDict: TypeAlias = Mapping[str, Any]
1929
-
1930
- @pulumi.input_type
1931
- class ProjectDefaultConfigSignInPhoneNumberArgs:
1932
- def __init__(__self__, *,
1933
- enabled: Optional[pulumi.Input[bool]] = None,
1934
- test_phone_numbers: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
1935
- """
1936
- :param pulumi.Input[bool] enabled: Whether phone number auth is enabled for the project or not.
1937
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] test_phone_numbers: A map of <test phone number, fake code> that can be used for phone auth testing.
1938
- """
1939
- if enabled is not None:
1940
- pulumi.set(__self__, "enabled", enabled)
1941
- if test_phone_numbers is not None:
1942
- pulumi.set(__self__, "test_phone_numbers", test_phone_numbers)
1943
-
1944
- @property
1945
- @pulumi.getter
1946
- def enabled(self) -> Optional[pulumi.Input[bool]]:
1947
- """
1948
- Whether phone number auth is enabled for the project or not.
1949
- """
1950
- return pulumi.get(self, "enabled")
1951
-
1952
- @enabled.setter
1953
- def enabled(self, value: Optional[pulumi.Input[bool]]):
1954
- pulumi.set(self, "enabled", value)
1955
-
1956
- @property
1957
- @pulumi.getter(name="testPhoneNumbers")
1958
- def test_phone_numbers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
1959
- """
1960
- A map of <test phone number, fake code> that can be used for phone auth testing.
1961
- """
1962
- return pulumi.get(self, "test_phone_numbers")
1963
-
1964
- @test_phone_numbers.setter
1965
- def test_phone_numbers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
1966
- pulumi.set(self, "test_phone_numbers", value)
1967
-
1968
-
1969
1573
  if not MYPY:
1970
1574
  class TenantInboundSamlConfigIdpConfigArgsDict(TypedDict):
1971
1575
  idp_certificates: pulumi.Input[Sequence[pulumi.Input['TenantInboundSamlConfigIdpConfigIdpCertificateArgsDict']]]
@@ -483,6 +483,7 @@ class Config(pulumi.CustomResource):
483
483
  name="my-project",
484
484
  org_id="123456789",
485
485
  billing_account="000000-0000000-0000000-000000",
486
+ deletion_policy="DELETE",
486
487
  labels={
487
488
  "firebase": "enabled",
488
489
  })
@@ -622,6 +623,7 @@ class Config(pulumi.CustomResource):
622
623
  name="my-project",
623
624
  org_id="123456789",
624
625
  billing_account="000000-0000000-0000000-000000",
626
+ deletion_policy="DELETE",
625
627
  labels={
626
628
  "firebase": "enabled",
627
629
  })