pulumi-gcp 7.30.0a1720039709__py3-none-any.whl → 7.30.0a1720437548__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 (56) hide show
  1. pulumi_gcp/__init__.py +32 -0
  2. pulumi_gcp/artifactregistry/get_docker_image.py +2 -2
  3. pulumi_gcp/bigtable/gc_policy.py +68 -14
  4. pulumi_gcp/cloudfunctionsv2/_inputs.py +97 -0
  5. pulumi_gcp/cloudfunctionsv2/function.py +232 -0
  6. pulumi_gcp/cloudfunctionsv2/outputs.py +129 -1
  7. pulumi_gcp/compute/_inputs.py +622 -0
  8. pulumi_gcp/compute/address.py +0 -7
  9. pulumi_gcp/compute/backend_service.py +0 -14
  10. pulumi_gcp/compute/forwarding_rule.py +0 -21
  11. pulumi_gcp/compute/global_forwarding_rule.py +0 -21
  12. pulumi_gcp/compute/managed_ssl_certificate.py +0 -7
  13. pulumi_gcp/compute/manged_ssl_certificate.py +0 -7
  14. pulumi_gcp/compute/network_attachment.py +16 -0
  15. pulumi_gcp/compute/outputs.py +504 -8
  16. pulumi_gcp/compute/region_backend_service.py +0 -14
  17. pulumi_gcp/compute/region_ssl_certificate.py +0 -7
  18. pulumi_gcp/compute/ssl_certificate.py +0 -7
  19. pulumi_gcp/compute/target_https_proxy.py +76 -1
  20. pulumi_gcp/compute/url_map.py +255 -0
  21. pulumi_gcp/container/aws_cluster.py +2 -2
  22. pulumi_gcp/container/aws_node_pool.py +2 -2
  23. pulumi_gcp/container/azure_client.py +2 -2
  24. pulumi_gcp/container/azure_cluster.py +2 -2
  25. pulumi_gcp/container/azure_node_pool.py +2 -2
  26. pulumi_gcp/datafusion/_inputs.py +163 -11
  27. pulumi_gcp/datafusion/instance.py +64 -0
  28. pulumi_gcp/datafusion/outputs.py +127 -7
  29. pulumi_gcp/healthcare/_inputs.py +43 -0
  30. pulumi_gcp/healthcare/dataset.py +110 -0
  31. pulumi_gcp/healthcare/outputs.py +43 -0
  32. pulumi_gcp/identityplatform/config.py +1 -1
  33. pulumi_gcp/logging/billing_account_bucket_config.py +1 -1
  34. pulumi_gcp/logging/folder_bucket_config.py +1 -1
  35. pulumi_gcp/logging/organization_bucket_config.py +1 -1
  36. pulumi_gcp/monitoring/_inputs.py +77 -0
  37. pulumi_gcp/monitoring/outputs.py +63 -0
  38. pulumi_gcp/pulumi-plugin.json +1 -1
  39. pulumi_gcp/securitycenter/instance_iam_binding.py +64 -0
  40. pulumi_gcp/securitycenter/instance_iam_member.py +64 -0
  41. pulumi_gcp/securitycenter/instance_iam_policy.py +64 -0
  42. pulumi_gcp/storage/__init__.py +5 -0
  43. pulumi_gcp/storage/_inputs.py +130 -0
  44. pulumi_gcp/storage/get_managed_folder_iam_policy.py +115 -0
  45. pulumi_gcp/storage/managed_folder.py +440 -0
  46. pulumi_gcp/storage/managed_folder_iam_binding.py +947 -0
  47. pulumi_gcp/storage/managed_folder_iam_member.py +947 -0
  48. pulumi_gcp/storage/managed_folder_iam_policy.py +766 -0
  49. pulumi_gcp/storage/outputs.py +76 -0
  50. pulumi_gcp/vertex/_inputs.py +3 -3
  51. pulumi_gcp/vertex/ai_feature_online_store.py +9 -9
  52. pulumi_gcp/vertex/outputs.py +2 -2
  53. {pulumi_gcp-7.30.0a1720039709.dist-info → pulumi_gcp-7.30.0a1720437548.dist-info}/METADATA +1 -1
  54. {pulumi_gcp-7.30.0a1720039709.dist-info → pulumi_gcp-7.30.0a1720437548.dist-info}/RECORD +56 -51
  55. {pulumi_gcp-7.30.0a1720039709.dist-info → pulumi_gcp-7.30.0a1720437548.dist-info}/WHEEL +0 -0
  56. {pulumi_gcp-7.30.0a1720039709.dist-info → pulumi_gcp-7.30.0a1720437548.dist-info}/top_level.txt +0 -0
pulumi_gcp/__init__.py CHANGED
@@ -7423,6 +7423,38 @@ _utilities.register(
7423
7423
  "gcp:storage/insightsReportConfig:InsightsReportConfig": "InsightsReportConfig"
7424
7424
  }
7425
7425
  },
7426
+ {
7427
+ "pkg": "gcp",
7428
+ "mod": "storage/managedFolder",
7429
+ "fqn": "pulumi_gcp.storage",
7430
+ "classes": {
7431
+ "gcp:storage/managedFolder:ManagedFolder": "ManagedFolder"
7432
+ }
7433
+ },
7434
+ {
7435
+ "pkg": "gcp",
7436
+ "mod": "storage/managedFolderIamBinding",
7437
+ "fqn": "pulumi_gcp.storage",
7438
+ "classes": {
7439
+ "gcp:storage/managedFolderIamBinding:ManagedFolderIamBinding": "ManagedFolderIamBinding"
7440
+ }
7441
+ },
7442
+ {
7443
+ "pkg": "gcp",
7444
+ "mod": "storage/managedFolderIamMember",
7445
+ "fqn": "pulumi_gcp.storage",
7446
+ "classes": {
7447
+ "gcp:storage/managedFolderIamMember:ManagedFolderIamMember": "ManagedFolderIamMember"
7448
+ }
7449
+ },
7450
+ {
7451
+ "pkg": "gcp",
7452
+ "mod": "storage/managedFolderIamPolicy",
7453
+ "fqn": "pulumi_gcp.storage",
7454
+ "classes": {
7455
+ "gcp:storage/managedFolderIamPolicy:ManagedFolderIamPolicy": "ManagedFolderIamPolicy"
7456
+ }
7457
+ },
7426
7458
  {
7427
7459
  "pkg": "gcp",
7428
7460
  "mod": "storage/notification",
@@ -202,7 +202,7 @@ def get_docker_image(image_name: Optional[str] = None,
202
202
  :param str image_name: The image name to fetch. If no digest or tag is provided, then the latest modified image will be used.
203
203
  :param str location: The location of the artifact registry.
204
204
  :param str project: The project ID in which the resource belongs. If it is not provided, the provider project is used.
205
- :param str repository_id: The last part of the repository name. to fetch from.
205
+ :param str repository_id: The last part of the repository name to fetch from.
206
206
  """
207
207
  __args__ = dict()
208
208
  __args__['imageName'] = image_name
@@ -244,6 +244,6 @@ def get_docker_image_output(image_name: Optional[pulumi.Input[str]] = None,
244
244
  :param str image_name: The image name to fetch. If no digest or tag is provided, then the latest modified image will be used.
245
245
  :param str location: The location of the artifact registry.
246
246
  :param str project: The project ID in which the resource belongs. If it is not provided, the provider project is used.
247
- :param str repository_id: The last part of the repository name. to fetch from.
247
+ :param str repository_id: The last part of the repository name to fetch from.
248
248
  """
249
249
  ...
@@ -26,6 +26,7 @@ class GCPolicyArgs:
26
26
  table: pulumi.Input[str],
27
27
  deletion_policy: Optional[pulumi.Input[str]] = None,
28
28
  gc_rules: Optional[pulumi.Input[str]] = None,
29
+ ignore_warnings: Optional[pulumi.Input[bool]] = None,
29
30
  max_age: Optional[pulumi.Input['GCPolicyMaxAgeArgs']] = None,
30
31
  max_versions: Optional[pulumi.Input[Sequence[pulumi.Input['GCPolicyMaxVersionArgs']]]] = None,
31
32
  mode: Optional[pulumi.Input[str]] = None,
@@ -39,9 +40,11 @@ class GCPolicyArgs:
39
40
  Setting ABANDON allows the resource to be abandoned rather than deleted. This is useful for GC policy as it cannot be deleted in a replicated instance.
40
41
 
41
42
  Possible values are: `ABANDON`.
42
-
43
- -----
44
43
  :param pulumi.Input[str] gc_rules: Serialized JSON object to represent a more complex GC policy. Conflicts with `mode`, `max_age` and `max_version`. Conflicts with `mode`, `max_age` and `max_version`.
44
+ :param pulumi.Input[bool] ignore_warnings: Boolean for whether to allow ignoring warnings when updating the gc policy.
45
+ Setting this to `true` allows relaxing the gc policy for replicated clusters by up to 90 days, but keep in mind this may increase how long clusters are inconsistent. Make sure
46
+ you understand the risks listed at https://cloud.google.com/bigtable/docs/garbage-collection#increasing before setting this option.
47
+ -----
45
48
  :param pulumi.Input['GCPolicyMaxAgeArgs'] max_age: GC policy that applies to all cells older than the given age.
46
49
  :param pulumi.Input[Sequence[pulumi.Input['GCPolicyMaxVersionArgs']]] max_versions: GC policy that applies to all versions of a cell except for the most recent.
47
50
  :param pulumi.Input[str] mode: If multiple policies are set, you should choose between `UNION` OR `INTERSECTION`.
@@ -54,6 +57,8 @@ class GCPolicyArgs:
54
57
  pulumi.set(__self__, "deletion_policy", deletion_policy)
55
58
  if gc_rules is not None:
56
59
  pulumi.set(__self__, "gc_rules", gc_rules)
60
+ if ignore_warnings is not None:
61
+ pulumi.set(__self__, "ignore_warnings", ignore_warnings)
57
62
  if max_age is not None:
58
63
  pulumi.set(__self__, "max_age", max_age)
59
64
  if max_versions is not None:
@@ -107,8 +112,6 @@ class GCPolicyArgs:
107
112
  Setting ABANDON allows the resource to be abandoned rather than deleted. This is useful for GC policy as it cannot be deleted in a replicated instance.
108
113
 
109
114
  Possible values are: `ABANDON`.
110
-
111
- -----
112
115
  """
113
116
  return pulumi.get(self, "deletion_policy")
114
117
 
@@ -128,6 +131,21 @@ class GCPolicyArgs:
128
131
  def gc_rules(self, value: Optional[pulumi.Input[str]]):
129
132
  pulumi.set(self, "gc_rules", value)
130
133
 
134
+ @property
135
+ @pulumi.getter(name="ignoreWarnings")
136
+ def ignore_warnings(self) -> Optional[pulumi.Input[bool]]:
137
+ """
138
+ Boolean for whether to allow ignoring warnings when updating the gc policy.
139
+ Setting this to `true` allows relaxing the gc policy for replicated clusters by up to 90 days, but keep in mind this may increase how long clusters are inconsistent. Make sure
140
+ you understand the risks listed at https://cloud.google.com/bigtable/docs/garbage-collection#increasing before setting this option.
141
+ -----
142
+ """
143
+ return pulumi.get(self, "ignore_warnings")
144
+
145
+ @ignore_warnings.setter
146
+ def ignore_warnings(self, value: Optional[pulumi.Input[bool]]):
147
+ pulumi.set(self, "ignore_warnings", value)
148
+
131
149
  @property
132
150
  @pulumi.getter(name="maxAge")
133
151
  def max_age(self) -> Optional[pulumi.Input['GCPolicyMaxAgeArgs']]:
@@ -183,6 +201,7 @@ class _GCPolicyState:
183
201
  column_family: Optional[pulumi.Input[str]] = None,
184
202
  deletion_policy: Optional[pulumi.Input[str]] = None,
185
203
  gc_rules: Optional[pulumi.Input[str]] = None,
204
+ ignore_warnings: Optional[pulumi.Input[bool]] = None,
186
205
  instance_name: Optional[pulumi.Input[str]] = None,
187
206
  max_age: Optional[pulumi.Input['GCPolicyMaxAgeArgs']] = None,
188
207
  max_versions: Optional[pulumi.Input[Sequence[pulumi.Input['GCPolicyMaxVersionArgs']]]] = None,
@@ -196,9 +215,11 @@ class _GCPolicyState:
196
215
  Setting ABANDON allows the resource to be abandoned rather than deleted. This is useful for GC policy as it cannot be deleted in a replicated instance.
197
216
 
198
217
  Possible values are: `ABANDON`.
199
-
200
- -----
201
218
  :param pulumi.Input[str] gc_rules: Serialized JSON object to represent a more complex GC policy. Conflicts with `mode`, `max_age` and `max_version`. Conflicts with `mode`, `max_age` and `max_version`.
219
+ :param pulumi.Input[bool] ignore_warnings: Boolean for whether to allow ignoring warnings when updating the gc policy.
220
+ Setting this to `true` allows relaxing the gc policy for replicated clusters by up to 90 days, but keep in mind this may increase how long clusters are inconsistent. Make sure
221
+ you understand the risks listed at https://cloud.google.com/bigtable/docs/garbage-collection#increasing before setting this option.
222
+ -----
202
223
  :param pulumi.Input[str] instance_name: The name of the Bigtable instance.
203
224
  :param pulumi.Input['GCPolicyMaxAgeArgs'] max_age: GC policy that applies to all cells older than the given age.
204
225
  :param pulumi.Input[Sequence[pulumi.Input['GCPolicyMaxVersionArgs']]] max_versions: GC policy that applies to all versions of a cell except for the most recent.
@@ -212,6 +233,8 @@ class _GCPolicyState:
212
233
  pulumi.set(__self__, "deletion_policy", deletion_policy)
213
234
  if gc_rules is not None:
214
235
  pulumi.set(__self__, "gc_rules", gc_rules)
236
+ if ignore_warnings is not None:
237
+ pulumi.set(__self__, "ignore_warnings", ignore_warnings)
215
238
  if instance_name is not None:
216
239
  pulumi.set(__self__, "instance_name", instance_name)
217
240
  if max_age is not None:
@@ -245,8 +268,6 @@ class _GCPolicyState:
245
268
  Setting ABANDON allows the resource to be abandoned rather than deleted. This is useful for GC policy as it cannot be deleted in a replicated instance.
246
269
 
247
270
  Possible values are: `ABANDON`.
248
-
249
- -----
250
271
  """
251
272
  return pulumi.get(self, "deletion_policy")
252
273
 
@@ -266,6 +287,21 @@ class _GCPolicyState:
266
287
  def gc_rules(self, value: Optional[pulumi.Input[str]]):
267
288
  pulumi.set(self, "gc_rules", value)
268
289
 
290
+ @property
291
+ @pulumi.getter(name="ignoreWarnings")
292
+ def ignore_warnings(self) -> Optional[pulumi.Input[bool]]:
293
+ """
294
+ Boolean for whether to allow ignoring warnings when updating the gc policy.
295
+ Setting this to `true` allows relaxing the gc policy for replicated clusters by up to 90 days, but keep in mind this may increase how long clusters are inconsistent. Make sure
296
+ you understand the risks listed at https://cloud.google.com/bigtable/docs/garbage-collection#increasing before setting this option.
297
+ -----
298
+ """
299
+ return pulumi.get(self, "ignore_warnings")
300
+
301
+ @ignore_warnings.setter
302
+ def ignore_warnings(self, value: Optional[pulumi.Input[bool]]):
303
+ pulumi.set(self, "ignore_warnings", value)
304
+
269
305
  @property
270
306
  @pulumi.getter(name="instanceName")
271
307
  def instance_name(self) -> Optional[pulumi.Input[str]]:
@@ -347,6 +383,7 @@ class GCPolicy(pulumi.CustomResource):
347
383
  column_family: Optional[pulumi.Input[str]] = None,
348
384
  deletion_policy: Optional[pulumi.Input[str]] = None,
349
385
  gc_rules: Optional[pulumi.Input[str]] = None,
386
+ ignore_warnings: Optional[pulumi.Input[bool]] = None,
350
387
  instance_name: Optional[pulumi.Input[str]] = None,
351
388
  max_age: Optional[pulumi.Input[Union['GCPolicyMaxAgeArgs', 'GCPolicyMaxAgeArgsDict']]] = None,
352
389
  max_versions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GCPolicyMaxVersionArgs', 'GCPolicyMaxVersionArgsDict']]]]] = None,
@@ -485,9 +522,11 @@ class GCPolicy(pulumi.CustomResource):
485
522
  Setting ABANDON allows the resource to be abandoned rather than deleted. This is useful for GC policy as it cannot be deleted in a replicated instance.
486
523
 
487
524
  Possible values are: `ABANDON`.
488
-
489
- -----
490
525
  :param pulumi.Input[str] gc_rules: Serialized JSON object to represent a more complex GC policy. Conflicts with `mode`, `max_age` and `max_version`. Conflicts with `mode`, `max_age` and `max_version`.
526
+ :param pulumi.Input[bool] ignore_warnings: Boolean for whether to allow ignoring warnings when updating the gc policy.
527
+ Setting this to `true` allows relaxing the gc policy for replicated clusters by up to 90 days, but keep in mind this may increase how long clusters are inconsistent. Make sure
528
+ you understand the risks listed at https://cloud.google.com/bigtable/docs/garbage-collection#increasing before setting this option.
529
+ -----
491
530
  :param pulumi.Input[str] instance_name: The name of the Bigtable instance.
492
531
  :param pulumi.Input[Union['GCPolicyMaxAgeArgs', 'GCPolicyMaxAgeArgsDict']] max_age: GC policy that applies to all cells older than the given age.
493
532
  :param pulumi.Input[Sequence[pulumi.Input[Union['GCPolicyMaxVersionArgs', 'GCPolicyMaxVersionArgsDict']]]] max_versions: GC policy that applies to all versions of a cell except for the most recent.
@@ -643,6 +682,7 @@ class GCPolicy(pulumi.CustomResource):
643
682
  column_family: Optional[pulumi.Input[str]] = None,
644
683
  deletion_policy: Optional[pulumi.Input[str]] = None,
645
684
  gc_rules: Optional[pulumi.Input[str]] = None,
685
+ ignore_warnings: Optional[pulumi.Input[bool]] = None,
646
686
  instance_name: Optional[pulumi.Input[str]] = None,
647
687
  max_age: Optional[pulumi.Input[Union['GCPolicyMaxAgeArgs', 'GCPolicyMaxAgeArgsDict']]] = None,
648
688
  max_versions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GCPolicyMaxVersionArgs', 'GCPolicyMaxVersionArgsDict']]]]] = None,
@@ -663,6 +703,7 @@ class GCPolicy(pulumi.CustomResource):
663
703
  __props__.__dict__["column_family"] = column_family
664
704
  __props__.__dict__["deletion_policy"] = deletion_policy
665
705
  __props__.__dict__["gc_rules"] = gc_rules
706
+ __props__.__dict__["ignore_warnings"] = ignore_warnings
666
707
  if instance_name is None and not opts.urn:
667
708
  raise TypeError("Missing required property 'instance_name'")
668
709
  __props__.__dict__["instance_name"] = instance_name
@@ -686,6 +727,7 @@ class GCPolicy(pulumi.CustomResource):
686
727
  column_family: Optional[pulumi.Input[str]] = None,
687
728
  deletion_policy: Optional[pulumi.Input[str]] = None,
688
729
  gc_rules: Optional[pulumi.Input[str]] = None,
730
+ ignore_warnings: Optional[pulumi.Input[bool]] = None,
689
731
  instance_name: Optional[pulumi.Input[str]] = None,
690
732
  max_age: Optional[pulumi.Input[Union['GCPolicyMaxAgeArgs', 'GCPolicyMaxAgeArgsDict']]] = None,
691
733
  max_versions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GCPolicyMaxVersionArgs', 'GCPolicyMaxVersionArgsDict']]]]] = None,
@@ -704,9 +746,11 @@ class GCPolicy(pulumi.CustomResource):
704
746
  Setting ABANDON allows the resource to be abandoned rather than deleted. This is useful for GC policy as it cannot be deleted in a replicated instance.
705
747
 
706
748
  Possible values are: `ABANDON`.
707
-
708
- -----
709
749
  :param pulumi.Input[str] gc_rules: Serialized JSON object to represent a more complex GC policy. Conflicts with `mode`, `max_age` and `max_version`. Conflicts with `mode`, `max_age` and `max_version`.
750
+ :param pulumi.Input[bool] ignore_warnings: Boolean for whether to allow ignoring warnings when updating the gc policy.
751
+ Setting this to `true` allows relaxing the gc policy for replicated clusters by up to 90 days, but keep in mind this may increase how long clusters are inconsistent. Make sure
752
+ you understand the risks listed at https://cloud.google.com/bigtable/docs/garbage-collection#increasing before setting this option.
753
+ -----
710
754
  :param pulumi.Input[str] instance_name: The name of the Bigtable instance.
711
755
  :param pulumi.Input[Union['GCPolicyMaxAgeArgs', 'GCPolicyMaxAgeArgsDict']] max_age: GC policy that applies to all cells older than the given age.
712
756
  :param pulumi.Input[Sequence[pulumi.Input[Union['GCPolicyMaxVersionArgs', 'GCPolicyMaxVersionArgsDict']]]] max_versions: GC policy that applies to all versions of a cell except for the most recent.
@@ -721,6 +765,7 @@ class GCPolicy(pulumi.CustomResource):
721
765
  __props__.__dict__["column_family"] = column_family
722
766
  __props__.__dict__["deletion_policy"] = deletion_policy
723
767
  __props__.__dict__["gc_rules"] = gc_rules
768
+ __props__.__dict__["ignore_warnings"] = ignore_warnings
724
769
  __props__.__dict__["instance_name"] = instance_name
725
770
  __props__.__dict__["max_age"] = max_age
726
771
  __props__.__dict__["max_versions"] = max_versions
@@ -745,8 +790,6 @@ class GCPolicy(pulumi.CustomResource):
745
790
  Setting ABANDON allows the resource to be abandoned rather than deleted. This is useful for GC policy as it cannot be deleted in a replicated instance.
746
791
 
747
792
  Possible values are: `ABANDON`.
748
-
749
- -----
750
793
  """
751
794
  return pulumi.get(self, "deletion_policy")
752
795
 
@@ -758,6 +801,17 @@ class GCPolicy(pulumi.CustomResource):
758
801
  """
759
802
  return pulumi.get(self, "gc_rules")
760
803
 
804
+ @property
805
+ @pulumi.getter(name="ignoreWarnings")
806
+ def ignore_warnings(self) -> pulumi.Output[Optional[bool]]:
807
+ """
808
+ Boolean for whether to allow ignoring warnings when updating the gc policy.
809
+ Setting this to `true` allows relaxing the gc policy for replicated clusters by up to 90 days, but keep in mind this may increase how long clusters are inconsistent. Make sure
810
+ you understand the risks listed at https://cloud.google.com/bigtable/docs/garbage-collection#increasing before setting this option.
811
+ -----
812
+ """
813
+ return pulumi.get(self, "ignore_warnings")
814
+
761
815
  @property
762
816
  @pulumi.getter(name="instanceName")
763
817
  def instance_name(self) -> pulumi.Output[str]:
@@ -17,6 +17,10 @@ from .. import _utilities
17
17
  __all__ = [
18
18
  'FunctionBuildConfigArgs',
19
19
  'FunctionBuildConfigArgsDict',
20
+ 'FunctionBuildConfigAutomaticUpdatePolicyArgs',
21
+ 'FunctionBuildConfigAutomaticUpdatePolicyArgsDict',
22
+ 'FunctionBuildConfigOnDeployUpdatePolicyArgs',
23
+ 'FunctionBuildConfigOnDeployUpdatePolicyArgsDict',
20
24
  'FunctionBuildConfigSourceArgs',
21
25
  'FunctionBuildConfigSourceArgsDict',
22
26
  'FunctionBuildConfigSourceRepoSourceArgs',
@@ -45,6 +49,11 @@ MYPY = False
45
49
 
46
50
  if not MYPY:
47
51
  class FunctionBuildConfigArgsDict(TypedDict):
52
+ automatic_update_policy: NotRequired[pulumi.Input['FunctionBuildConfigAutomaticUpdatePolicyArgsDict']]
53
+ """
54
+ Security patches are applied automatically to the runtime without requiring
55
+ the function to be redeployed.
56
+ """
48
57
  build: NotRequired[pulumi.Input[str]]
49
58
  """
50
59
  (Output)
@@ -67,6 +76,11 @@ if not MYPY:
67
76
  """
68
77
  User-provided build-time environment variables for the function.
69
78
  """
79
+ on_deploy_update_policy: NotRequired[pulumi.Input['FunctionBuildConfigOnDeployUpdatePolicyArgsDict']]
80
+ """
81
+ Security patches are only applied when a function is redeployed.
82
+ Structure is documented below.
83
+ """
70
84
  runtime: NotRequired[pulumi.Input[str]]
71
85
  """
72
86
  The runtime in which to run the function. Required when deploying a new
@@ -91,15 +105,19 @@ elif False:
91
105
  @pulumi.input_type
92
106
  class FunctionBuildConfigArgs:
93
107
  def __init__(__self__, *,
108
+ automatic_update_policy: Optional[pulumi.Input['FunctionBuildConfigAutomaticUpdatePolicyArgs']] = None,
94
109
  build: Optional[pulumi.Input[str]] = None,
95
110
  docker_repository: Optional[pulumi.Input[str]] = None,
96
111
  entry_point: Optional[pulumi.Input[str]] = None,
97
112
  environment_variables: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
113
+ on_deploy_update_policy: Optional[pulumi.Input['FunctionBuildConfigOnDeployUpdatePolicyArgs']] = None,
98
114
  runtime: Optional[pulumi.Input[str]] = None,
99
115
  service_account: Optional[pulumi.Input[str]] = None,
100
116
  source: Optional[pulumi.Input['FunctionBuildConfigSourceArgs']] = None,
101
117
  worker_pool: Optional[pulumi.Input[str]] = None):
102
118
  """
119
+ :param pulumi.Input['FunctionBuildConfigAutomaticUpdatePolicyArgs'] automatic_update_policy: Security patches are applied automatically to the runtime without requiring
120
+ the function to be redeployed.
103
121
  :param pulumi.Input[str] build: (Output)
104
122
  The Cloud Build name of the latest successful
105
123
  deployment of the function.
@@ -110,6 +128,8 @@ class FunctionBuildConfigArgs:
110
128
  will try to use function named "function". For Node.js this is name of a
111
129
  function exported by the module specified in source_location.
112
130
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] environment_variables: User-provided build-time environment variables for the function.
131
+ :param pulumi.Input['FunctionBuildConfigOnDeployUpdatePolicyArgs'] on_deploy_update_policy: Security patches are only applied when a function is redeployed.
132
+ Structure is documented below.
113
133
  :param pulumi.Input[str] runtime: The runtime in which to run the function. Required when deploying a new
114
134
  function, optional when updating an existing function.
115
135
  :param pulumi.Input[str] service_account: The fully-qualified name of the service account to be used for building the container.
@@ -117,6 +137,8 @@ class FunctionBuildConfigArgs:
117
137
  Structure is documented below.
118
138
  :param pulumi.Input[str] worker_pool: Name of the Cloud Build Custom Worker Pool that should be used to build the function.
119
139
  """
140
+ if automatic_update_policy is not None:
141
+ pulumi.set(__self__, "automatic_update_policy", automatic_update_policy)
120
142
  if build is not None:
121
143
  pulumi.set(__self__, "build", build)
122
144
  if docker_repository is not None:
@@ -125,6 +147,8 @@ class FunctionBuildConfigArgs:
125
147
  pulumi.set(__self__, "entry_point", entry_point)
126
148
  if environment_variables is not None:
127
149
  pulumi.set(__self__, "environment_variables", environment_variables)
150
+ if on_deploy_update_policy is not None:
151
+ pulumi.set(__self__, "on_deploy_update_policy", on_deploy_update_policy)
128
152
  if runtime is not None:
129
153
  pulumi.set(__self__, "runtime", runtime)
130
154
  if service_account is not None:
@@ -134,6 +158,19 @@ class FunctionBuildConfigArgs:
134
158
  if worker_pool is not None:
135
159
  pulumi.set(__self__, "worker_pool", worker_pool)
136
160
 
161
+ @property
162
+ @pulumi.getter(name="automaticUpdatePolicy")
163
+ def automatic_update_policy(self) -> Optional[pulumi.Input['FunctionBuildConfigAutomaticUpdatePolicyArgs']]:
164
+ """
165
+ Security patches are applied automatically to the runtime without requiring
166
+ the function to be redeployed.
167
+ """
168
+ return pulumi.get(self, "automatic_update_policy")
169
+
170
+ @automatic_update_policy.setter
171
+ def automatic_update_policy(self, value: Optional[pulumi.Input['FunctionBuildConfigAutomaticUpdatePolicyArgs']]):
172
+ pulumi.set(self, "automatic_update_policy", value)
173
+
137
174
  @property
138
175
  @pulumi.getter
139
176
  def build(self) -> Optional[pulumi.Input[str]]:
@@ -188,6 +225,19 @@ class FunctionBuildConfigArgs:
188
225
  def environment_variables(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
189
226
  pulumi.set(self, "environment_variables", value)
190
227
 
228
+ @property
229
+ @pulumi.getter(name="onDeployUpdatePolicy")
230
+ def on_deploy_update_policy(self) -> Optional[pulumi.Input['FunctionBuildConfigOnDeployUpdatePolicyArgs']]:
231
+ """
232
+ Security patches are only applied when a function is redeployed.
233
+ Structure is documented below.
234
+ """
235
+ return pulumi.get(self, "on_deploy_update_policy")
236
+
237
+ @on_deploy_update_policy.setter
238
+ def on_deploy_update_policy(self, value: Optional[pulumi.Input['FunctionBuildConfigOnDeployUpdatePolicyArgs']]):
239
+ pulumi.set(self, "on_deploy_update_policy", value)
240
+
191
241
  @property
192
242
  @pulumi.getter
193
243
  def runtime(self) -> Optional[pulumi.Input[str]]:
@@ -239,6 +289,53 @@ class FunctionBuildConfigArgs:
239
289
  pulumi.set(self, "worker_pool", value)
240
290
 
241
291
 
292
+ if not MYPY:
293
+ class FunctionBuildConfigAutomaticUpdatePolicyArgsDict(TypedDict):
294
+ pass
295
+ elif False:
296
+ FunctionBuildConfigAutomaticUpdatePolicyArgsDict: TypeAlias = Mapping[str, Any]
297
+
298
+ @pulumi.input_type
299
+ class FunctionBuildConfigAutomaticUpdatePolicyArgs:
300
+ def __init__(__self__):
301
+ pass
302
+
303
+
304
+ if not MYPY:
305
+ class FunctionBuildConfigOnDeployUpdatePolicyArgsDict(TypedDict):
306
+ runtime_version: NotRequired[pulumi.Input[str]]
307
+ """
308
+ (Output)
309
+ The runtime version which was used during latest function deployment.
310
+ """
311
+ elif False:
312
+ FunctionBuildConfigOnDeployUpdatePolicyArgsDict: TypeAlias = Mapping[str, Any]
313
+
314
+ @pulumi.input_type
315
+ class FunctionBuildConfigOnDeployUpdatePolicyArgs:
316
+ def __init__(__self__, *,
317
+ runtime_version: Optional[pulumi.Input[str]] = None):
318
+ """
319
+ :param pulumi.Input[str] runtime_version: (Output)
320
+ The runtime version which was used during latest function deployment.
321
+ """
322
+ if runtime_version is not None:
323
+ pulumi.set(__self__, "runtime_version", runtime_version)
324
+
325
+ @property
326
+ @pulumi.getter(name="runtimeVersion")
327
+ def runtime_version(self) -> Optional[pulumi.Input[str]]:
328
+ """
329
+ (Output)
330
+ The runtime version which was used during latest function deployment.
331
+ """
332
+ return pulumi.get(self, "runtime_version")
333
+
334
+ @runtime_version.setter
335
+ def runtime_version(self, value: Optional[pulumi.Input[str]]):
336
+ pulumi.set(self, "runtime_version", value)
337
+
338
+
242
339
  if not MYPY:
243
340
  class FunctionBuildConfigSourceArgsDict(TypedDict):
244
341
  repo_source: NotRequired[pulumi.Input['FunctionBuildConfigSourceRepoSourceArgsDict']]