pulumi-gcp 8.30.0a1746772896__py3-none-any.whl → 8.30.0a1747042890__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 (36) hide show
  1. pulumi_gcp/__init__.py +16 -0
  2. pulumi_gcp/apigee/__init__.py +1 -0
  3. pulumi_gcp/apigee/_inputs.py +61 -0
  4. pulumi_gcp/apigee/outputs.py +36 -0
  5. pulumi_gcp/apigee/security_profile_v2.py +554 -0
  6. pulumi_gcp/bigtable/_inputs.py +24 -4
  7. pulumi_gcp/bigtable/outputs.py +15 -1
  8. pulumi_gcp/cloudrun/_inputs.py +18 -0
  9. pulumi_gcp/cloudrun/outputs.py +12 -0
  10. pulumi_gcp/cloudrunv2/_inputs.py +44 -1
  11. pulumi_gcp/cloudrunv2/job.py +50 -0
  12. pulumi_gcp/cloudrunv2/outputs.py +55 -3
  13. pulumi_gcp/compute/forwarding_rule.py +21 -0
  14. pulumi_gcp/compute/outputs.py +8 -0
  15. pulumi_gcp/config/__init__.pyi +2 -0
  16. pulumi_gcp/config/vars.py +4 -0
  17. pulumi_gcp/container/_inputs.py +6 -6
  18. pulumi_gcp/container/outputs.py +4 -4
  19. pulumi_gcp/filestore/_inputs.py +156 -0
  20. pulumi_gcp/filestore/get_instance.py +12 -1
  21. pulumi_gcp/filestore/instance.py +47 -0
  22. pulumi_gcp/filestore/outputs.py +202 -0
  23. pulumi_gcp/networkconnectivity/_inputs.py +74 -0
  24. pulumi_gcp/networkconnectivity/outputs.py +61 -0
  25. pulumi_gcp/networkconnectivity/spoke.py +32 -0
  26. pulumi_gcp/provider.py +20 -0
  27. pulumi_gcp/pulumi-plugin.json +1 -1
  28. pulumi_gcp/resourcemanager/__init__.py +1 -0
  29. pulumi_gcp/resourcemanager/capability.py +346 -0
  30. pulumi_gcp/sql/_inputs.py +126 -0
  31. pulumi_gcp/sql/outputs.py +239 -4
  32. pulumi_gcp/tpu/node.py +4 -0
  33. {pulumi_gcp-8.30.0a1746772896.dist-info → pulumi_gcp-8.30.0a1747042890.dist-info}/METADATA +1 -1
  34. {pulumi_gcp-8.30.0a1746772896.dist-info → pulumi_gcp-8.30.0a1747042890.dist-info}/RECORD +36 -34
  35. {pulumi_gcp-8.30.0a1746772896.dist-info → pulumi_gcp-8.30.0a1747042890.dist-info}/WHEEL +1 -1
  36. {pulumi_gcp-8.30.0a1746772896.dist-info → pulumi_gcp-8.30.0a1747042890.dist-info}/top_level.txt +0 -0
@@ -219,6 +219,8 @@ class InstanceCluster(dict):
219
219
  suggest = "autoscaling_config"
220
220
  elif key == "kmsKeyName":
221
221
  suggest = "kms_key_name"
222
+ elif key == "nodeScalingFactor":
223
+ suggest = "node_scaling_factor"
222
224
  elif key == "numNodes":
223
225
  suggest = "num_nodes"
224
226
  elif key == "storageType":
@@ -239,6 +241,7 @@ class InstanceCluster(dict):
239
241
  cluster_id: builtins.str,
240
242
  autoscaling_config: Optional['outputs.InstanceClusterAutoscalingConfig'] = None,
241
243
  kms_key_name: Optional[builtins.str] = None,
244
+ node_scaling_factor: Optional[builtins.str] = None,
242
245
  num_nodes: Optional[builtins.int] = None,
243
246
  state: Optional[builtins.str] = None,
244
247
  storage_type: Optional[builtins.str] = None,
@@ -247,6 +250,7 @@ class InstanceCluster(dict):
247
250
  :param builtins.str cluster_id: The ID of the Cloud Bigtable cluster. Must be 6-30 characters and must only contain hyphens, lowercase letters and numbers.
248
251
  :param 'InstanceClusterAutoscalingConfigArgs' autoscaling_config: [Autoscaling](https://cloud.google.com/bigtable/docs/autoscaling#parameters) config for the cluster, contains the following arguments:
249
252
  :param builtins.str kms_key_name: Describes the Cloud KMS encryption key that will be used to protect the destination Bigtable cluster. The requirements for this key are: 1) The Cloud Bigtable service account associated with the project that contains this cluster must be granted the `cloudkms.cryptoKeyEncrypterDecrypter` role on the CMEK key. 2) Only regional keys can be used and the region of the CMEK key must match the region of the cluster.
253
+ :param builtins.str node_scaling_factor: The node scaling factor for this cluster. One of `"NodeScalingFactor1X"` or `"NodeScalingFactor2X"`. Defaults to `"NodeScalingFactor1X"`. If `"NodeScalingFactor2X"` is specified, then `num_nodes`, `min_nodes`, and `max_nodes` would need to be specified in increments of 2. This value cannot be updated after the cluster is created.
250
254
 
251
255
  > **Note**: Removing the field entirely from the config will cause the provider to default to the backend value.
252
256
 
@@ -270,6 +274,8 @@ class InstanceCluster(dict):
270
274
  pulumi.set(__self__, "autoscaling_config", autoscaling_config)
271
275
  if kms_key_name is not None:
272
276
  pulumi.set(__self__, "kms_key_name", kms_key_name)
277
+ if node_scaling_factor is not None:
278
+ pulumi.set(__self__, "node_scaling_factor", node_scaling_factor)
273
279
  if num_nodes is not None:
274
280
  pulumi.set(__self__, "num_nodes", num_nodes)
275
281
  if state is not None:
@@ -300,6 +306,14 @@ class InstanceCluster(dict):
300
306
  def kms_key_name(self) -> Optional[builtins.str]:
301
307
  """
302
308
  Describes the Cloud KMS encryption key that will be used to protect the destination Bigtable cluster. The requirements for this key are: 1) The Cloud Bigtable service account associated with the project that contains this cluster must be granted the `cloudkms.cryptoKeyEncrypterDecrypter` role on the CMEK key. 2) Only regional keys can be used and the region of the CMEK key must match the region of the cluster.
309
+ """
310
+ return pulumi.get(self, "kms_key_name")
311
+
312
+ @property
313
+ @pulumi.getter(name="nodeScalingFactor")
314
+ def node_scaling_factor(self) -> Optional[builtins.str]:
315
+ """
316
+ The node scaling factor for this cluster. One of `"NodeScalingFactor1X"` or `"NodeScalingFactor2X"`. Defaults to `"NodeScalingFactor1X"`. If `"NodeScalingFactor2X"` is specified, then `num_nodes`, `min_nodes`, and `max_nodes` would need to be specified in increments of 2. This value cannot be updated after the cluster is created.
303
317
 
304
318
  > **Note**: Removing the field entirely from the config will cause the provider to default to the backend value.
305
319
 
@@ -310,7 +324,7 @@ class InstanceCluster(dict):
310
324
  `bigtable.Instance` resource. If these values are changing, use a new
311
325
  `cluster_id`.
312
326
  """
313
- return pulumi.get(self, "kms_key_name")
327
+ return pulumi.get(self, "node_scaling_factor")
314
328
 
315
329
  @property
316
330
  @pulumi.getter(name="numNodes")
@@ -907,6 +907,9 @@ if not MYPY:
907
907
  for the Service. For example, `"run.googleapis.com/ingress" = "all"`.
908
908
  - `run.googleapis.com/launch-stage` sets the [launch stage](https://cloud.google.com/run/docs/troubleshooting#launch-stage-validation)
909
909
  when a preview feature is used. For example, `"run.googleapis.com/launch-stage": "BETA"`
910
+ - `run.googleapis.com/minScale` sets the [minimum number of container instances](https://cloud.google.com/sdk/gcloud/reference/run/deploy#--min) of the Service.
911
+ - `run.googleapis.com/scalingMode` sets the type of scaling mode for the service. The supported values for scaling mode are "manual" and "automatic". If not provided, it defaults to "automatic".
912
+ - `run.googleapis.com/manualInstanceCount` sets the total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
910
913
  **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
911
914
  Please refer to the field `effective_annotations` for all of the annotations present on the resource.
912
915
  """
@@ -995,6 +998,9 @@ class ServiceMetadataArgs:
995
998
  for the Service. For example, `"run.googleapis.com/ingress" = "all"`.
996
999
  - `run.googleapis.com/launch-stage` sets the [launch stage](https://cloud.google.com/run/docs/troubleshooting#launch-stage-validation)
997
1000
  when a preview feature is used. For example, `"run.googleapis.com/launch-stage": "BETA"`
1001
+ - `run.googleapis.com/minScale` sets the [minimum number of container instances](https://cloud.google.com/sdk/gcloud/reference/run/deploy#--min) of the Service.
1002
+ - `run.googleapis.com/scalingMode` sets the type of scaling mode for the service. The supported values for scaling mode are "manual" and "automatic". If not provided, it defaults to "automatic".
1003
+ - `run.googleapis.com/manualInstanceCount` sets the total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
998
1004
  **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
999
1005
  Please refer to the field `effective_annotations` for all of the annotations present on the resource.
1000
1006
  :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] effective_labels: (Output)
@@ -1066,6 +1072,9 @@ class ServiceMetadataArgs:
1066
1072
  for the Service. For example, `"run.googleapis.com/ingress" = "all"`.
1067
1073
  - `run.googleapis.com/launch-stage` sets the [launch stage](https://cloud.google.com/run/docs/troubleshooting#launch-stage-validation)
1068
1074
  when a preview feature is used. For example, `"run.googleapis.com/launch-stage": "BETA"`
1075
+ - `run.googleapis.com/minScale` sets the [minimum number of container instances](https://cloud.google.com/sdk/gcloud/reference/run/deploy#--min) of the Service.
1076
+ - `run.googleapis.com/scalingMode` sets the type of scaling mode for the service. The supported values for scaling mode are "manual" and "automatic". If not provided, it defaults to "automatic".
1077
+ - `run.googleapis.com/manualInstanceCount` sets the total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
1069
1078
  **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
1070
1079
  Please refer to the field `effective_annotations` for all of the annotations present on the resource.
1071
1080
  """
@@ -1716,6 +1725,9 @@ if not MYPY:
1716
1725
  for the Service. For example, `"run.googleapis.com/ingress" = "all"`.
1717
1726
  - `run.googleapis.com/launch-stage` sets the [launch stage](https://cloud.google.com/run/docs/troubleshooting#launch-stage-validation)
1718
1727
  when a preview feature is used. For example, `"run.googleapis.com/launch-stage": "BETA"`
1728
+ - `run.googleapis.com/minScale` sets the [minimum number of container instances](https://cloud.google.com/sdk/gcloud/reference/run/deploy#--min) of the Service.
1729
+ - `run.googleapis.com/scalingMode` sets the type of scaling mode for the service. The supported values for scaling mode are "manual" and "automatic". If not provided, it defaults to "automatic".
1730
+ - `run.googleapis.com/manualInstanceCount` sets the total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
1719
1731
  **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
1720
1732
  Please refer to the field `effective_annotations` for all of the annotations present on the resource.
1721
1733
  """
@@ -1796,6 +1808,9 @@ class ServiceTemplateMetadataArgs:
1796
1808
  for the Service. For example, `"run.googleapis.com/ingress" = "all"`.
1797
1809
  - `run.googleapis.com/launch-stage` sets the [launch stage](https://cloud.google.com/run/docs/troubleshooting#launch-stage-validation)
1798
1810
  when a preview feature is used. For example, `"run.googleapis.com/launch-stage": "BETA"`
1811
+ - `run.googleapis.com/minScale` sets the [minimum number of container instances](https://cloud.google.com/sdk/gcloud/reference/run/deploy#--min) of the Service.
1812
+ - `run.googleapis.com/scalingMode` sets the type of scaling mode for the service. The supported values for scaling mode are "manual" and "automatic". If not provided, it defaults to "automatic".
1813
+ - `run.googleapis.com/manualInstanceCount` sets the total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
1799
1814
  **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
1800
1815
  Please refer to the field `effective_annotations` for all of the annotations present on the resource.
1801
1816
  :param pulumi.Input[builtins.int] generation: (Output)
@@ -1861,6 +1876,9 @@ class ServiceTemplateMetadataArgs:
1861
1876
  for the Service. For example, `"run.googleapis.com/ingress" = "all"`.
1862
1877
  - `run.googleapis.com/launch-stage` sets the [launch stage](https://cloud.google.com/run/docs/troubleshooting#launch-stage-validation)
1863
1878
  when a preview feature is used. For example, `"run.googleapis.com/launch-stage": "BETA"`
1879
+ - `run.googleapis.com/minScale` sets the [minimum number of container instances](https://cloud.google.com/sdk/gcloud/reference/run/deploy#--min) of the Service.
1880
+ - `run.googleapis.com/scalingMode` sets the type of scaling mode for the service. The supported values for scaling mode are "manual" and "automatic". If not provided, it defaults to "automatic".
1881
+ - `run.googleapis.com/manualInstanceCount` sets the total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
1864
1882
  **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
1865
1883
  Please refer to the field `effective_annotations` for all of the annotations present on the resource.
1866
1884
  """
@@ -695,6 +695,9 @@ class ServiceMetadata(dict):
695
695
  for the Service. For example, `"run.googleapis.com/ingress" = "all"`.
696
696
  - `run.googleapis.com/launch-stage` sets the [launch stage](https://cloud.google.com/run/docs/troubleshooting#launch-stage-validation)
697
697
  when a preview feature is used. For example, `"run.googleapis.com/launch-stage": "BETA"`
698
+ - `run.googleapis.com/minScale` sets the [minimum number of container instances](https://cloud.google.com/sdk/gcloud/reference/run/deploy#--min) of the Service.
699
+ - `run.googleapis.com/scalingMode` sets the type of scaling mode for the service. The supported values for scaling mode are "manual" and "automatic". If not provided, it defaults to "automatic".
700
+ - `run.googleapis.com/manualInstanceCount` sets the total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
698
701
  **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
699
702
  Please refer to the field `effective_annotations` for all of the annotations present on the resource.
700
703
  :param Mapping[str, builtins.str] effective_labels: (Output)
@@ -766,6 +769,9 @@ class ServiceMetadata(dict):
766
769
  for the Service. For example, `"run.googleapis.com/ingress" = "all"`.
767
770
  - `run.googleapis.com/launch-stage` sets the [launch stage](https://cloud.google.com/run/docs/troubleshooting#launch-stage-validation)
768
771
  when a preview feature is used. For example, `"run.googleapis.com/launch-stage": "BETA"`
772
+ - `run.googleapis.com/minScale` sets the [minimum number of container instances](https://cloud.google.com/sdk/gcloud/reference/run/deploy#--min) of the Service.
773
+ - `run.googleapis.com/scalingMode` sets the type of scaling mode for the service. The supported values for scaling mode are "manual" and "automatic". If not provided, it defaults to "automatic".
774
+ - `run.googleapis.com/manualInstanceCount` sets the total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
769
775
  **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
770
776
  Please refer to the field `effective_annotations` for all of the annotations present on the resource.
771
777
  """
@@ -1251,6 +1257,9 @@ class ServiceTemplateMetadata(dict):
1251
1257
  for the Service. For example, `"run.googleapis.com/ingress" = "all"`.
1252
1258
  - `run.googleapis.com/launch-stage` sets the [launch stage](https://cloud.google.com/run/docs/troubleshooting#launch-stage-validation)
1253
1259
  when a preview feature is used. For example, `"run.googleapis.com/launch-stage": "BETA"`
1260
+ - `run.googleapis.com/minScale` sets the [minimum number of container instances](https://cloud.google.com/sdk/gcloud/reference/run/deploy#--min) of the Service.
1261
+ - `run.googleapis.com/scalingMode` sets the type of scaling mode for the service. The supported values for scaling mode are "manual" and "automatic". If not provided, it defaults to "automatic".
1262
+ - `run.googleapis.com/manualInstanceCount` sets the total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
1254
1263
  **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
1255
1264
  Please refer to the field `effective_annotations` for all of the annotations present on the resource.
1256
1265
  :param builtins.int generation: (Output)
@@ -1316,6 +1325,9 @@ class ServiceTemplateMetadata(dict):
1316
1325
  for the Service. For example, `"run.googleapis.com/ingress" = "all"`.
1317
1326
  - `run.googleapis.com/launch-stage` sets the [launch stage](https://cloud.google.com/run/docs/troubleshooting#launch-stage-validation)
1318
1327
  when a preview feature is used. For example, `"run.googleapis.com/launch-stage": "BETA"`
1328
+ - `run.googleapis.com/minScale` sets the [minimum number of container instances](https://cloud.google.com/sdk/gcloud/reference/run/deploy#--min) of the Service.
1329
+ - `run.googleapis.com/scalingMode` sets the type of scaling mode for the service. The supported values for scaling mode are "manual" and "automatic". If not provided, it defaults to "automatic".
1330
+ - `run.googleapis.com/manualInstanceCount` sets the total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
1319
1331
  **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
1320
1332
  Please refer to the field `effective_annotations` for all of the annotations present on the resource.
1321
1333
  """
@@ -2872,22 +2872,52 @@ class ServiceIamMemberConditionArgs:
2872
2872
 
2873
2873
  if not MYPY:
2874
2874
  class ServiceScalingArgsDict(TypedDict):
2875
+ manual_instance_count: NotRequired[pulumi.Input[builtins.int]]
2876
+ """
2877
+ Total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
2878
+ """
2875
2879
  min_instance_count: NotRequired[pulumi.Input[builtins.int]]
2876
2880
  """
2877
2881
  Minimum number of instances for the service, to be divided among all revisions receiving traffic.
2878
2882
  """
2883
+ scaling_mode: NotRequired[pulumi.Input[builtins.str]]
2884
+ """
2885
+ The [scaling mode](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#scalingmode) for the service.
2886
+ Possible values are: `AUTOMATIC`, `MANUAL`.
2887
+ """
2879
2888
  elif False:
2880
2889
  ServiceScalingArgsDict: TypeAlias = Mapping[str, Any]
2881
2890
 
2882
2891
  @pulumi.input_type
2883
2892
  class ServiceScalingArgs:
2884
2893
  def __init__(__self__, *,
2885
- min_instance_count: Optional[pulumi.Input[builtins.int]] = None):
2894
+ manual_instance_count: Optional[pulumi.Input[builtins.int]] = None,
2895
+ min_instance_count: Optional[pulumi.Input[builtins.int]] = None,
2896
+ scaling_mode: Optional[pulumi.Input[builtins.str]] = None):
2886
2897
  """
2898
+ :param pulumi.Input[builtins.int] manual_instance_count: Total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
2887
2899
  :param pulumi.Input[builtins.int] min_instance_count: Minimum number of instances for the service, to be divided among all revisions receiving traffic.
2900
+ :param pulumi.Input[builtins.str] scaling_mode: The [scaling mode](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#scalingmode) for the service.
2901
+ Possible values are: `AUTOMATIC`, `MANUAL`.
2888
2902
  """
2903
+ if manual_instance_count is not None:
2904
+ pulumi.set(__self__, "manual_instance_count", manual_instance_count)
2889
2905
  if min_instance_count is not None:
2890
2906
  pulumi.set(__self__, "min_instance_count", min_instance_count)
2907
+ if scaling_mode is not None:
2908
+ pulumi.set(__self__, "scaling_mode", scaling_mode)
2909
+
2910
+ @property
2911
+ @pulumi.getter(name="manualInstanceCount")
2912
+ def manual_instance_count(self) -> Optional[pulumi.Input[builtins.int]]:
2913
+ """
2914
+ Total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
2915
+ """
2916
+ return pulumi.get(self, "manual_instance_count")
2917
+
2918
+ @manual_instance_count.setter
2919
+ def manual_instance_count(self, value: Optional[pulumi.Input[builtins.int]]):
2920
+ pulumi.set(self, "manual_instance_count", value)
2891
2921
 
2892
2922
  @property
2893
2923
  @pulumi.getter(name="minInstanceCount")
@@ -2901,6 +2931,19 @@ class ServiceScalingArgs:
2901
2931
  def min_instance_count(self, value: Optional[pulumi.Input[builtins.int]]):
2902
2932
  pulumi.set(self, "min_instance_count", value)
2903
2933
 
2934
+ @property
2935
+ @pulumi.getter(name="scalingMode")
2936
+ def scaling_mode(self) -> Optional[pulumi.Input[builtins.str]]:
2937
+ """
2938
+ The [scaling mode](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#scalingmode) for the service.
2939
+ Possible values are: `AUTOMATIC`, `MANUAL`.
2940
+ """
2941
+ return pulumi.get(self, "scaling_mode")
2942
+
2943
+ @scaling_mode.setter
2944
+ def scaling_mode(self, value: Optional[pulumi.Input[builtins.str]]):
2945
+ pulumi.set(self, "scaling_mode", value)
2946
+
2904
2947
 
2905
2948
  if not MYPY:
2906
2949
  class ServiceTemplateArgsDict(TypedDict):
@@ -1126,6 +1126,31 @@ class Job(pulumi.CustomResource):
1126
1126
  },
1127
1127
  })
1128
1128
  ```
1129
+ ### Cloudrunv2 Job Multicontainer
1130
+
1131
+ ```python
1132
+ import pulumi
1133
+ import pulumi_gcp as gcp
1134
+
1135
+ default = gcp.cloudrunv2.Job("default",
1136
+ name="cloudrun-job",
1137
+ location="us-central1",
1138
+ deletion_protection=False,
1139
+ template={
1140
+ "template": {
1141
+ "containers": [
1142
+ {
1143
+ "name": "job-1",
1144
+ "image": "us-docker.pkg.dev/cloudrun/container/job",
1145
+ },
1146
+ {
1147
+ "name": "job-2",
1148
+ "image": "us-docker.pkg.dev/cloudrun/container/job",
1149
+ },
1150
+ ],
1151
+ },
1152
+ })
1153
+ ```
1129
1154
 
1130
1155
  ## Import
1131
1156
 
@@ -1479,6 +1504,31 @@ class Job(pulumi.CustomResource):
1479
1504
  },
1480
1505
  })
1481
1506
  ```
1507
+ ### Cloudrunv2 Job Multicontainer
1508
+
1509
+ ```python
1510
+ import pulumi
1511
+ import pulumi_gcp as gcp
1512
+
1513
+ default = gcp.cloudrunv2.Job("default",
1514
+ name="cloudrun-job",
1515
+ location="us-central1",
1516
+ deletion_protection=False,
1517
+ template={
1518
+ "template": {
1519
+ "containers": [
1520
+ {
1521
+ "name": "job-1",
1522
+ "image": "us-docker.pkg.dev/cloudrun/container/job",
1523
+ },
1524
+ {
1525
+ "name": "job-2",
1526
+ "image": "us-docker.pkg.dev/cloudrun/container/job",
1527
+ },
1528
+ ],
1529
+ },
1530
+ })
1531
+ ```
1482
1532
 
1483
1533
  ## Import
1484
1534
 
@@ -2166,8 +2166,12 @@ class ServiceScaling(dict):
2166
2166
  @staticmethod
2167
2167
  def __key_warning(key: str):
2168
2168
  suggest = None
2169
- if key == "minInstanceCount":
2169
+ if key == "manualInstanceCount":
2170
+ suggest = "manual_instance_count"
2171
+ elif key == "minInstanceCount":
2170
2172
  suggest = "min_instance_count"
2173
+ elif key == "scalingMode":
2174
+ suggest = "scaling_mode"
2171
2175
 
2172
2176
  if suggest:
2173
2177
  pulumi.log.warn(f"Key '{key}' not found in ServiceScaling. Access the value via the '{suggest}' property getter instead.")
@@ -2181,12 +2185,29 @@ class ServiceScaling(dict):
2181
2185
  return super().get(key, default)
2182
2186
 
2183
2187
  def __init__(__self__, *,
2184
- min_instance_count: Optional[builtins.int] = None):
2188
+ manual_instance_count: Optional[builtins.int] = None,
2189
+ min_instance_count: Optional[builtins.int] = None,
2190
+ scaling_mode: Optional[builtins.str] = None):
2185
2191
  """
2192
+ :param builtins.int manual_instance_count: Total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
2186
2193
  :param builtins.int min_instance_count: Minimum number of instances for the service, to be divided among all revisions receiving traffic.
2194
+ :param builtins.str scaling_mode: The [scaling mode](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#scalingmode) for the service.
2195
+ Possible values are: `AUTOMATIC`, `MANUAL`.
2187
2196
  """
2197
+ if manual_instance_count is not None:
2198
+ pulumi.set(__self__, "manual_instance_count", manual_instance_count)
2188
2199
  if min_instance_count is not None:
2189
2200
  pulumi.set(__self__, "min_instance_count", min_instance_count)
2201
+ if scaling_mode is not None:
2202
+ pulumi.set(__self__, "scaling_mode", scaling_mode)
2203
+
2204
+ @property
2205
+ @pulumi.getter(name="manualInstanceCount")
2206
+ def manual_instance_count(self) -> Optional[builtins.int]:
2207
+ """
2208
+ Total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
2209
+ """
2210
+ return pulumi.get(self, "manual_instance_count")
2190
2211
 
2191
2212
  @property
2192
2213
  @pulumi.getter(name="minInstanceCount")
@@ -2196,6 +2217,15 @@ class ServiceScaling(dict):
2196
2217
  """
2197
2218
  return pulumi.get(self, "min_instance_count")
2198
2219
 
2220
+ @property
2221
+ @pulumi.getter(name="scalingMode")
2222
+ def scaling_mode(self) -> Optional[builtins.str]:
2223
+ """
2224
+ The [scaling mode](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#scalingmode) for the service.
2225
+ Possible values are: `AUTOMATIC`, `MANUAL`.
2226
+ """
2227
+ return pulumi.get(self, "scaling_mode")
2228
+
2199
2229
 
2200
2230
  @pulumi.output_type
2201
2231
  class ServiceTemplate(dict):
@@ -5820,11 +5850,25 @@ class GetServiceConditionResult(dict):
5820
5850
  @pulumi.output_type
5821
5851
  class GetServiceScalingResult(dict):
5822
5852
  def __init__(__self__, *,
5823
- min_instance_count: builtins.int):
5853
+ manual_instance_count: builtins.int,
5854
+ min_instance_count: builtins.int,
5855
+ scaling_mode: builtins.str):
5824
5856
  """
5857
+ :param builtins.int manual_instance_count: Total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
5825
5858
  :param builtins.int min_instance_count: Minimum number of instances for the service, to be divided among all revisions receiving traffic.
5859
+ :param builtins.str scaling_mode: The [scaling mode](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#scalingmode) for the service. Possible values: ["AUTOMATIC", "MANUAL"]
5826
5860
  """
5861
+ pulumi.set(__self__, "manual_instance_count", manual_instance_count)
5827
5862
  pulumi.set(__self__, "min_instance_count", min_instance_count)
5863
+ pulumi.set(__self__, "scaling_mode", scaling_mode)
5864
+
5865
+ @property
5866
+ @pulumi.getter(name="manualInstanceCount")
5867
+ def manual_instance_count(self) -> builtins.int:
5868
+ """
5869
+ Total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
5870
+ """
5871
+ return pulumi.get(self, "manual_instance_count")
5828
5872
 
5829
5873
  @property
5830
5874
  @pulumi.getter(name="minInstanceCount")
@@ -5834,6 +5878,14 @@ class GetServiceScalingResult(dict):
5834
5878
  """
5835
5879
  return pulumi.get(self, "min_instance_count")
5836
5880
 
5881
+ @property
5882
+ @pulumi.getter(name="scalingMode")
5883
+ def scaling_mode(self) -> builtins.str:
5884
+ """
5885
+ The [scaling mode](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#scalingmode) for the service. Possible values: ["AUTOMATIC", "MANUAL"]
5886
+ """
5887
+ return pulumi.get(self, "scaling_mode")
5888
+
5837
5889
 
5838
5890
  @pulumi.output_type
5839
5891
  class GetServiceTemplateResult(dict):
@@ -144,6 +144,9 @@ class ForwardingRuleArgs:
144
144
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
145
145
  Please refer to the field `effective_labels` for all of the labels present on the resource.
146
146
  :param pulumi.Input[builtins.str] load_balancing_scheme: Specifies the forwarding rule type.
147
+ Note that an empty string value (`""`) is also supported for some use
148
+ cases, for example PSC (private service connection) regional forwarding
149
+ rules.
147
150
  For more information about forwarding rules, refer to
148
151
  [Forwarding rule concepts](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts).
149
152
  Default value is `EXTERNAL`.
@@ -526,6 +529,9 @@ class ForwardingRuleArgs:
526
529
  def load_balancing_scheme(self) -> Optional[pulumi.Input[builtins.str]]:
527
530
  """
528
531
  Specifies the forwarding rule type.
532
+ Note that an empty string value (`""`) is also supported for some use
533
+ cases, for example PSC (private service connection) regional forwarding
534
+ rules.
529
535
  For more information about forwarding rules, refer to
530
536
  [Forwarding rule concepts](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts).
531
537
  Default value is `EXTERNAL`.
@@ -936,6 +942,9 @@ class _ForwardingRuleState:
936
942
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
937
943
  Please refer to the field `effective_labels` for all of the labels present on the resource.
938
944
  :param pulumi.Input[builtins.str] load_balancing_scheme: Specifies the forwarding rule type.
945
+ Note that an empty string value (`""`) is also supported for some use
946
+ cases, for example PSC (private service connection) regional forwarding
947
+ rules.
939
948
  For more information about forwarding rules, refer to
940
949
  [Forwarding rule concepts](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts).
941
950
  Default value is `EXTERNAL`.
@@ -1406,6 +1415,9 @@ class _ForwardingRuleState:
1406
1415
  def load_balancing_scheme(self) -> Optional[pulumi.Input[builtins.str]]:
1407
1416
  """
1408
1417
  Specifies the forwarding rule type.
1418
+ Note that an empty string value (`""`) is also supported for some use
1419
+ cases, for example PSC (private service connection) regional forwarding
1420
+ rules.
1409
1421
  For more information about forwarding rules, refer to
1410
1422
  [Forwarding rule concepts](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts).
1411
1423
  Default value is `EXTERNAL`.
@@ -2560,6 +2572,9 @@ class ForwardingRule(pulumi.CustomResource):
2560
2572
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
2561
2573
  Please refer to the field `effective_labels` for all of the labels present on the resource.
2562
2574
  :param pulumi.Input[builtins.str] load_balancing_scheme: Specifies the forwarding rule type.
2575
+ Note that an empty string value (`""`) is also supported for some use
2576
+ cases, for example PSC (private service connection) regional forwarding
2577
+ rules.
2563
2578
  For more information about forwarding rules, refer to
2564
2579
  [Forwarding rule concepts](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts).
2565
2580
  Default value is `EXTERNAL`.
@@ -3611,6 +3626,9 @@ class ForwardingRule(pulumi.CustomResource):
3611
3626
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
3612
3627
  Please refer to the field `effective_labels` for all of the labels present on the resource.
3613
3628
  :param pulumi.Input[builtins.str] load_balancing_scheme: Specifies the forwarding rule type.
3629
+ Note that an empty string value (`""`) is also supported for some use
3630
+ cases, for example PSC (private service connection) regional forwarding
3631
+ rules.
3614
3632
  For more information about forwarding rules, refer to
3615
3633
  [Forwarding rule concepts](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts).
3616
3634
  Default value is `EXTERNAL`.
@@ -3986,6 +4004,9 @@ class ForwardingRule(pulumi.CustomResource):
3986
4004
  def load_balancing_scheme(self) -> pulumi.Output[Optional[builtins.str]]:
3987
4005
  """
3988
4006
  Specifies the forwarding rule type.
4007
+ Note that an empty string value (`""`) is also supported for some use
4008
+ cases, for example PSC (private service connection) regional forwarding
4009
+ rules.
3989
4010
  For more information about forwarding rules, refer to
3990
4011
  [Forwarding rule concepts](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts).
3991
4012
  Default value is `EXTERNAL`.
@@ -56275,6 +56275,10 @@ class GetForwardingRulesRuleResult(dict):
56275
56275
  Please refer to the field 'effective_labels' for all of the labels present on the resource.
56276
56276
  :param builtins.str load_balancing_scheme: Specifies the forwarding rule type.
56277
56277
 
56278
+ Note that an empty string value ('""') is also supported for some use
56279
+ cases, for example PSC (private service connection) regional forwarding
56280
+ rules.
56281
+
56278
56282
  For more information about forwarding rules, refer to
56279
56283
  [Forwarding rule concepts](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts). Default value: "EXTERNAL" Possible values: ["EXTERNAL", "EXTERNAL_MANAGED", "INTERNAL", "INTERNAL_MANAGED"]
56280
56284
  :param builtins.str name: Name of the resource; provided by the client when the resource is created.
@@ -56672,6 +56676,10 @@ class GetForwardingRulesRuleResult(dict):
56672
56676
  """
56673
56677
  Specifies the forwarding rule type.
56674
56678
 
56679
+ Note that an empty string value ('""') is also supported for some use
56680
+ cases, for example PSC (private service connection) regional forwarding
56681
+ rules.
56682
+
56675
56683
  For more information about forwarding rules, refer to
56676
56684
  [Forwarding rule concepts](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts). Default value: "EXTERNAL" Possible values: ["EXTERNAL", "EXTERNAL_MANAGED", "INTERNAL", "INTERNAL_MANAGED"]
56677
56685
  """
@@ -322,6 +322,8 @@ requestReason: Optional[str]
322
322
 
323
323
  requestTimeout: Optional[str]
324
324
 
325
+ resourceManager3CustomEndpoint: Optional[str]
326
+
325
327
  resourceManagerCustomEndpoint: Optional[str]
326
328
 
327
329
  resourceManagerV3CustomEndpoint: Optional[str]
pulumi_gcp/config/vars.py CHANGED
@@ -634,6 +634,10 @@ class _ExportableConfig(types.ModuleType):
634
634
  def request_timeout(self) -> Optional[str]:
635
635
  return __config__.get('requestTimeout')
636
636
 
637
+ @property
638
+ def resource_manager3_custom_endpoint(self) -> Optional[str]:
639
+ return __config__.get('resourceManager3CustomEndpoint')
640
+
637
641
  @property
638
642
  def resource_manager_custom_endpoint(self) -> Optional[str]:
639
643
  return __config__.get('resourceManagerCustomEndpoint')
@@ -8528,7 +8528,7 @@ if not MYPY:
8528
8528
  """
8529
8529
  flex_start: NotRequired[pulumi.Input[builtins.bool]]
8530
8530
  """
8531
- Enables Flex Start provisioning model for the node pool.
8531
+ ) Enables Flex Start provisioning model for the node pool.
8532
8532
  """
8533
8533
  gcfs_config: NotRequired[pulumi.Input['ClusterNodeConfigGcfsConfigArgsDict']]
8534
8534
  """
@@ -8786,7 +8786,7 @@ class ClusterNodeConfigArgs:
8786
8786
  Node Pool must enable gvnic.
8787
8787
  GKE version 1.25.2-gke.1700 or later.
8788
8788
  Structure is documented below.
8789
- :param pulumi.Input[builtins.bool] flex_start: Enables Flex Start provisioning model for the node pool.
8789
+ :param pulumi.Input[builtins.bool] flex_start: ) Enables Flex Start provisioning model for the node pool.
8790
8790
  :param pulumi.Input['ClusterNodeConfigGcfsConfigArgs'] gcfs_config: Parameters for the Google Container Filesystem (GCFS).
8791
8791
  If unspecified, GCFS will not be enabled on the node pool. When enabling this feature you must specify `image_type = "COS_CONTAINERD"` and `node_version` from GKE versions 1.19 or later to use it.
8792
8792
  For GKE versions 1.19, 1.20, and 1.21, the recommended minimum `node_version` would be 1.19.15-gke.1300, 1.20.11-gke.1300, and 1.21.5-gke.1300 respectively.
@@ -9109,7 +9109,7 @@ class ClusterNodeConfigArgs:
9109
9109
  @pulumi.getter(name="flexStart")
9110
9110
  def flex_start(self) -> Optional[pulumi.Input[builtins.bool]]:
9111
9111
  """
9112
- Enables Flex Start provisioning model for the node pool.
9112
+ ) Enables Flex Start provisioning model for the node pool.
9113
9113
  """
9114
9114
  return pulumi.get(self, "flex_start")
9115
9115
 
@@ -12782,7 +12782,7 @@ if not MYPY:
12782
12782
  """
12783
12783
  flex_start: NotRequired[pulumi.Input[builtins.bool]]
12784
12784
  """
12785
- Enables Flex Start provisioning model for the node pool.
12785
+ ) Enables Flex Start provisioning model for the node pool.
12786
12786
  """
12787
12787
  gcfs_config: NotRequired[pulumi.Input['ClusterNodePoolNodeConfigGcfsConfigArgsDict']]
12788
12788
  """
@@ -13040,7 +13040,7 @@ class ClusterNodePoolNodeConfigArgs:
13040
13040
  Node Pool must enable gvnic.
13041
13041
  GKE version 1.25.2-gke.1700 or later.
13042
13042
  Structure is documented below.
13043
- :param pulumi.Input[builtins.bool] flex_start: Enables Flex Start provisioning model for the node pool.
13043
+ :param pulumi.Input[builtins.bool] flex_start: ) Enables Flex Start provisioning model for the node pool.
13044
13044
  :param pulumi.Input['ClusterNodePoolNodeConfigGcfsConfigArgs'] gcfs_config: Parameters for the Google Container Filesystem (GCFS).
13045
13045
  If unspecified, GCFS will not be enabled on the node pool. When enabling this feature you must specify `image_type = "COS_CONTAINERD"` and `node_version` from GKE versions 1.19 or later to use it.
13046
13046
  For GKE versions 1.19, 1.20, and 1.21, the recommended minimum `node_version` would be 1.19.15-gke.1300, 1.20.11-gke.1300, and 1.21.5-gke.1300 respectively.
@@ -13363,7 +13363,7 @@ class ClusterNodePoolNodeConfigArgs:
13363
13363
  @pulumi.getter(name="flexStart")
13364
13364
  def flex_start(self) -> Optional[pulumi.Input[builtins.bool]]:
13365
13365
  """
13366
- Enables Flex Start provisioning model for the node pool.
13366
+ ) Enables Flex Start provisioning model for the node pool.
13367
13367
  """
13368
13368
  return pulumi.get(self, "flex_start")
13369
13369
 
@@ -7124,7 +7124,7 @@ class ClusterNodeConfig(dict):
7124
7124
  Node Pool must enable gvnic.
7125
7125
  GKE version 1.25.2-gke.1700 or later.
7126
7126
  Structure is documented below.
7127
- :param builtins.bool flex_start: Enables Flex Start provisioning model for the node pool.
7127
+ :param builtins.bool flex_start: ) Enables Flex Start provisioning model for the node pool.
7128
7128
  :param 'ClusterNodeConfigGcfsConfigArgs' gcfs_config: Parameters for the Google Container Filesystem (GCFS).
7129
7129
  If unspecified, GCFS will not be enabled on the node pool. When enabling this feature you must specify `image_type = "COS_CONTAINERD"` and `node_version` from GKE versions 1.19 or later to use it.
7130
7130
  For GKE versions 1.19, 1.20, and 1.21, the recommended minimum `node_version` would be 1.19.15-gke.1300, 1.20.11-gke.1300, and 1.21.5-gke.1300 respectively.
@@ -7403,7 +7403,7 @@ class ClusterNodeConfig(dict):
7403
7403
  @pulumi.getter(name="flexStart")
7404
7404
  def flex_start(self) -> Optional[builtins.bool]:
7405
7405
  """
7406
- Enables Flex Start provisioning model for the node pool.
7406
+ ) Enables Flex Start provisioning model for the node pool.
7407
7407
  """
7408
7408
  return pulumi.get(self, "flex_start")
7409
7409
 
@@ -10465,7 +10465,7 @@ class ClusterNodePoolNodeConfig(dict):
10465
10465
  Node Pool must enable gvnic.
10466
10466
  GKE version 1.25.2-gke.1700 or later.
10467
10467
  Structure is documented below.
10468
- :param builtins.bool flex_start: Enables Flex Start provisioning model for the node pool.
10468
+ :param builtins.bool flex_start: ) Enables Flex Start provisioning model for the node pool.
10469
10469
  :param 'ClusterNodePoolNodeConfigGcfsConfigArgs' gcfs_config: Parameters for the Google Container Filesystem (GCFS).
10470
10470
  If unspecified, GCFS will not be enabled on the node pool. When enabling this feature you must specify `image_type = "COS_CONTAINERD"` and `node_version` from GKE versions 1.19 or later to use it.
10471
10471
  For GKE versions 1.19, 1.20, and 1.21, the recommended minimum `node_version` would be 1.19.15-gke.1300, 1.20.11-gke.1300, and 1.21.5-gke.1300 respectively.
@@ -10744,7 +10744,7 @@ class ClusterNodePoolNodeConfig(dict):
10744
10744
  @pulumi.getter(name="flexStart")
10745
10745
  def flex_start(self) -> Optional[builtins.bool]:
10746
10746
  """
10747
- Enables Flex Start provisioning model for the node pool.
10747
+ ) Enables Flex Start provisioning model for the node pool.
10748
10748
  """
10749
10749
  return pulumi.get(self, "flex_start")
10750
10750