pulumi-gcp 7.16.0__py3-none-any.whl → 7.16.0a1711520590__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 (38) hide show
  1. pulumi_gcp/__init__.py +0 -8
  2. pulumi_gcp/accesscontextmanager/__init__.py +0 -1
  3. pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +0 -80
  4. pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +0 -86
  5. pulumi_gcp/accesscontextmanager/service_perimeter_resource.py +2 -4
  6. pulumi_gcp/cloudquota/__init__.py +0 -1
  7. pulumi_gcp/cloudquota/outputs.py +0 -270
  8. pulumi_gcp/cloudrunv2/_inputs.py +2 -59
  9. pulumi_gcp/cloudrunv2/outputs.py +4 -107
  10. pulumi_gcp/cloudrunv2/service.py +6 -6
  11. pulumi_gcp/composer/_inputs.py +0 -16
  12. pulumi_gcp/composer/outputs.py +0 -23
  13. pulumi_gcp/compute/_inputs.py +7 -105
  14. pulumi_gcp/compute/outputs.py +9 -140
  15. pulumi_gcp/compute/region_url_map.py +0 -152
  16. pulumi_gcp/dataform/repository.py +74 -4
  17. pulumi_gcp/firebase/android_app.py +40 -41
  18. pulumi_gcp/firestore/index.py +48 -34
  19. pulumi_gcp/monitoring/_inputs.py +0 -2
  20. pulumi_gcp/monitoring/outputs.py +0 -2
  21. pulumi_gcp/networksecurity/firewall_endpoint.py +0 -48
  22. pulumi_gcp/pubsub/_inputs.py +0 -108
  23. pulumi_gcp/pubsub/get_topic.py +1 -11
  24. pulumi_gcp/pubsub/outputs.py +0 -213
  25. pulumi_gcp/pubsub/topic.py +0 -92
  26. pulumi_gcp/storage/_inputs.py +0 -40
  27. pulumi_gcp/storage/bucket.py +0 -54
  28. pulumi_gcp/storage/get_bucket.py +1 -11
  29. pulumi_gcp/storage/outputs.py +0 -81
  30. pulumi_gcp/workstations/_inputs.py +0 -113
  31. pulumi_gcp/workstations/outputs.py +1 -109
  32. pulumi_gcp/workstations/workstation_config.py +0 -106
  33. {pulumi_gcp-7.16.0.dist-info → pulumi_gcp-7.16.0a1711520590.dist-info}/METADATA +1 -1
  34. {pulumi_gcp-7.16.0.dist-info → pulumi_gcp-7.16.0a1711520590.dist-info}/RECORD +36 -38
  35. pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_resource.py +0 -345
  36. pulumi_gcp/cloudquota/get_s_quota_infos.py +0 -136
  37. {pulumi_gcp-7.16.0.dist-info → pulumi_gcp-7.16.0a1711520590.dist-info}/WHEEL +0 -0
  38. {pulumi_gcp-7.16.0.dist-info → pulumi_gcp-7.16.0a1711520590.dist-info}/top_level.txt +0 -0
@@ -33,7 +33,6 @@ class BucketArgs:
33
33
  requester_pays: Optional[pulumi.Input[bool]] = None,
34
34
  retention_policy: Optional[pulumi.Input['BucketRetentionPolicyArgs']] = None,
35
35
  rpo: Optional[pulumi.Input[str]] = None,
36
- soft_delete_policy: Optional[pulumi.Input['BucketSoftDeletePolicyArgs']] = None,
37
36
  storage_class: Optional[pulumi.Input[str]] = None,
38
37
  uniform_bucket_level_access: Optional[pulumi.Input[bool]] = None,
39
38
  versioning: Optional[pulumi.Input['BucketVersioningArgs']] = None,
@@ -62,8 +61,6 @@ class BucketArgs:
62
61
  :param pulumi.Input[bool] requester_pays: Enables [Requester Pays](https://cloud.google.com/storage/docs/requester-pays) on a storage bucket.
63
62
  :param pulumi.Input['BucketRetentionPolicyArgs'] retention_policy: Configuration of the bucket's data retention policy for how long objects in the bucket should be retained. Structure is documented below.
64
63
  :param pulumi.Input[str] rpo: The recovery point objective for cross-region replication of the bucket. Applicable only for dual and multi-region buckets. `"DEFAULT"` sets default replication. `"ASYNC_TURBO"` value enables turbo replication, valid for dual-region buckets only. See [Turbo Replication](https://cloud.google.com/storage/docs/managing-turbo-replication) for more information. If rpo is not specified at bucket creation, it defaults to `"DEFAULT"` for dual and multi-region buckets. **NOTE** If used with single-region bucket, It will throw an error.
65
- :param pulumi.Input['BucketSoftDeletePolicyArgs'] soft_delete_policy: The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot
66
- be permanently deleted. If it is not provided, by default Google Cloud Storage sets this to default soft delete policy
67
64
  :param pulumi.Input[str] storage_class: The [Storage Class](https://cloud.google.com/storage/docs/storage-classes) of the new bucket. Supported values include: `STANDARD`, `MULTI_REGIONAL`, `REGIONAL`, `NEARLINE`, `COLDLINE`, `ARCHIVE`.
68
65
  :param pulumi.Input[bool] uniform_bucket_level_access: Enables [Uniform bucket-level access](https://cloud.google.com/storage/docs/uniform-bucket-level-access) access to a bucket.
69
66
  :param pulumi.Input['BucketVersioningArgs'] versioning: The bucket's [Versioning](https://cloud.google.com/storage/docs/object-versioning) configuration. Structure is documented below.
@@ -102,8 +99,6 @@ class BucketArgs:
102
99
  pulumi.set(__self__, "retention_policy", retention_policy)
103
100
  if rpo is not None:
104
101
  pulumi.set(__self__, "rpo", rpo)
105
- if soft_delete_policy is not None:
106
- pulumi.set(__self__, "soft_delete_policy", soft_delete_policy)
107
102
  if storage_class is not None:
108
103
  pulumi.set(__self__, "storage_class", storage_class)
109
104
  if uniform_bucket_level_access is not None:
@@ -322,19 +317,6 @@ class BucketArgs:
322
317
  def rpo(self, value: Optional[pulumi.Input[str]]):
323
318
  pulumi.set(self, "rpo", value)
324
319
 
325
- @property
326
- @pulumi.getter(name="softDeletePolicy")
327
- def soft_delete_policy(self) -> Optional[pulumi.Input['BucketSoftDeletePolicyArgs']]:
328
- """
329
- The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot
330
- be permanently deleted. If it is not provided, by default Google Cloud Storage sets this to default soft delete policy
331
- """
332
- return pulumi.get(self, "soft_delete_policy")
333
-
334
- @soft_delete_policy.setter
335
- def soft_delete_policy(self, value: Optional[pulumi.Input['BucketSoftDeletePolicyArgs']]):
336
- pulumi.set(self, "soft_delete_policy", value)
337
-
338
320
  @property
339
321
  @pulumi.getter(name="storageClass")
340
322
  def storage_class(self) -> Optional[pulumi.Input[str]]:
@@ -407,7 +389,6 @@ class _BucketState:
407
389
  retention_policy: Optional[pulumi.Input['BucketRetentionPolicyArgs']] = None,
408
390
  rpo: Optional[pulumi.Input[str]] = None,
409
391
  self_link: Optional[pulumi.Input[str]] = None,
410
- soft_delete_policy: Optional[pulumi.Input['BucketSoftDeletePolicyArgs']] = None,
411
392
  storage_class: Optional[pulumi.Input[str]] = None,
412
393
  uniform_bucket_level_access: Optional[pulumi.Input[bool]] = None,
413
394
  url: Optional[pulumi.Input[str]] = None,
@@ -441,8 +422,6 @@ class _BucketState:
441
422
  :param pulumi.Input['BucketRetentionPolicyArgs'] retention_policy: Configuration of the bucket's data retention policy for how long objects in the bucket should be retained. Structure is documented below.
442
423
  :param pulumi.Input[str] rpo: The recovery point objective for cross-region replication of the bucket. Applicable only for dual and multi-region buckets. `"DEFAULT"` sets default replication. `"ASYNC_TURBO"` value enables turbo replication, valid for dual-region buckets only. See [Turbo Replication](https://cloud.google.com/storage/docs/managing-turbo-replication) for more information. If rpo is not specified at bucket creation, it defaults to `"DEFAULT"` for dual and multi-region buckets. **NOTE** If used with single-region bucket, It will throw an error.
443
424
  :param pulumi.Input[str] self_link: The URI of the created resource.
444
- :param pulumi.Input['BucketSoftDeletePolicyArgs'] soft_delete_policy: The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot
445
- be permanently deleted. If it is not provided, by default Google Cloud Storage sets this to default soft delete policy
446
425
  :param pulumi.Input[str] storage_class: The [Storage Class](https://cloud.google.com/storage/docs/storage-classes) of the new bucket. Supported values include: `STANDARD`, `MULTI_REGIONAL`, `REGIONAL`, `NEARLINE`, `COLDLINE`, `ARCHIVE`.
447
426
  :param pulumi.Input[bool] uniform_bucket_level_access: Enables [Uniform bucket-level access](https://cloud.google.com/storage/docs/uniform-bucket-level-access) access to a bucket.
448
427
  :param pulumi.Input[str] url: The base URL of the bucket, in the format `gs://<bucket-name>`.
@@ -489,8 +468,6 @@ class _BucketState:
489
468
  pulumi.set(__self__, "rpo", rpo)
490
469
  if self_link is not None:
491
470
  pulumi.set(__self__, "self_link", self_link)
492
- if soft_delete_policy is not None:
493
- pulumi.set(__self__, "soft_delete_policy", soft_delete_policy)
494
471
  if storage_class is not None:
495
472
  pulumi.set(__self__, "storage_class", storage_class)
496
473
  if uniform_bucket_level_access is not None:
@@ -748,19 +725,6 @@ class _BucketState:
748
725
  def self_link(self, value: Optional[pulumi.Input[str]]):
749
726
  pulumi.set(self, "self_link", value)
750
727
 
751
- @property
752
- @pulumi.getter(name="softDeletePolicy")
753
- def soft_delete_policy(self) -> Optional[pulumi.Input['BucketSoftDeletePolicyArgs']]:
754
- """
755
- The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot
756
- be permanently deleted. If it is not provided, by default Google Cloud Storage sets this to default soft delete policy
757
- """
758
- return pulumi.get(self, "soft_delete_policy")
759
-
760
- @soft_delete_policy.setter
761
- def soft_delete_policy(self, value: Optional[pulumi.Input['BucketSoftDeletePolicyArgs']]):
762
- pulumi.set(self, "soft_delete_policy", value)
763
-
764
728
  @property
765
729
  @pulumi.getter(name="storageClass")
766
730
  def storage_class(self) -> Optional[pulumi.Input[str]]:
@@ -844,7 +808,6 @@ class Bucket(pulumi.CustomResource):
844
808
  requester_pays: Optional[pulumi.Input[bool]] = None,
845
809
  retention_policy: Optional[pulumi.Input[pulumi.InputType['BucketRetentionPolicyArgs']]] = None,
846
810
  rpo: Optional[pulumi.Input[str]] = None,
847
- soft_delete_policy: Optional[pulumi.Input[pulumi.InputType['BucketSoftDeletePolicyArgs']]] = None,
848
811
  storage_class: Optional[pulumi.Input[str]] = None,
849
812
  uniform_bucket_level_access: Optional[pulumi.Input[bool]] = None,
850
813
  versioning: Optional[pulumi.Input[pulumi.InputType['BucketVersioningArgs']]] = None,
@@ -996,8 +959,6 @@ class Bucket(pulumi.CustomResource):
996
959
  :param pulumi.Input[bool] requester_pays: Enables [Requester Pays](https://cloud.google.com/storage/docs/requester-pays) on a storage bucket.
997
960
  :param pulumi.Input[pulumi.InputType['BucketRetentionPolicyArgs']] retention_policy: Configuration of the bucket's data retention policy for how long objects in the bucket should be retained. Structure is documented below.
998
961
  :param pulumi.Input[str] rpo: The recovery point objective for cross-region replication of the bucket. Applicable only for dual and multi-region buckets. `"DEFAULT"` sets default replication. `"ASYNC_TURBO"` value enables turbo replication, valid for dual-region buckets only. See [Turbo Replication](https://cloud.google.com/storage/docs/managing-turbo-replication) for more information. If rpo is not specified at bucket creation, it defaults to `"DEFAULT"` for dual and multi-region buckets. **NOTE** If used with single-region bucket, It will throw an error.
999
- :param pulumi.Input[pulumi.InputType['BucketSoftDeletePolicyArgs']] soft_delete_policy: The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot
1000
- be permanently deleted. If it is not provided, by default Google Cloud Storage sets this to default soft delete policy
1001
962
  :param pulumi.Input[str] storage_class: The [Storage Class](https://cloud.google.com/storage/docs/storage-classes) of the new bucket. Supported values include: `STANDARD`, `MULTI_REGIONAL`, `REGIONAL`, `NEARLINE`, `COLDLINE`, `ARCHIVE`.
1002
963
  :param pulumi.Input[bool] uniform_bucket_level_access: Enables [Uniform bucket-level access](https://cloud.google.com/storage/docs/uniform-bucket-level-access) access to a bucket.
1003
964
  :param pulumi.Input[pulumi.InputType['BucketVersioningArgs']] versioning: The bucket's [Versioning](https://cloud.google.com/storage/docs/object-versioning) configuration. Structure is documented below.
@@ -1163,7 +1124,6 @@ class Bucket(pulumi.CustomResource):
1163
1124
  requester_pays: Optional[pulumi.Input[bool]] = None,
1164
1125
  retention_policy: Optional[pulumi.Input[pulumi.InputType['BucketRetentionPolicyArgs']]] = None,
1165
1126
  rpo: Optional[pulumi.Input[str]] = None,
1166
- soft_delete_policy: Optional[pulumi.Input[pulumi.InputType['BucketSoftDeletePolicyArgs']]] = None,
1167
1127
  storage_class: Optional[pulumi.Input[str]] = None,
1168
1128
  uniform_bucket_level_access: Optional[pulumi.Input[bool]] = None,
1169
1129
  versioning: Optional[pulumi.Input[pulumi.InputType['BucketVersioningArgs']]] = None,
@@ -1196,7 +1156,6 @@ class Bucket(pulumi.CustomResource):
1196
1156
  __props__.__dict__["requester_pays"] = requester_pays
1197
1157
  __props__.__dict__["retention_policy"] = retention_policy
1198
1158
  __props__.__dict__["rpo"] = rpo
1199
- __props__.__dict__["soft_delete_policy"] = soft_delete_policy
1200
1159
  __props__.__dict__["storage_class"] = storage_class
1201
1160
  __props__.__dict__["uniform_bucket_level_access"] = uniform_bucket_level_access
1202
1161
  __props__.__dict__["versioning"] = versioning
@@ -1237,7 +1196,6 @@ class Bucket(pulumi.CustomResource):
1237
1196
  retention_policy: Optional[pulumi.Input[pulumi.InputType['BucketRetentionPolicyArgs']]] = None,
1238
1197
  rpo: Optional[pulumi.Input[str]] = None,
1239
1198
  self_link: Optional[pulumi.Input[str]] = None,
1240
- soft_delete_policy: Optional[pulumi.Input[pulumi.InputType['BucketSoftDeletePolicyArgs']]] = None,
1241
1199
  storage_class: Optional[pulumi.Input[str]] = None,
1242
1200
  uniform_bucket_level_access: Optional[pulumi.Input[bool]] = None,
1243
1201
  url: Optional[pulumi.Input[str]] = None,
@@ -1276,8 +1234,6 @@ class Bucket(pulumi.CustomResource):
1276
1234
  :param pulumi.Input[pulumi.InputType['BucketRetentionPolicyArgs']] retention_policy: Configuration of the bucket's data retention policy for how long objects in the bucket should be retained. Structure is documented below.
1277
1235
  :param pulumi.Input[str] rpo: The recovery point objective for cross-region replication of the bucket. Applicable only for dual and multi-region buckets. `"DEFAULT"` sets default replication. `"ASYNC_TURBO"` value enables turbo replication, valid for dual-region buckets only. See [Turbo Replication](https://cloud.google.com/storage/docs/managing-turbo-replication) for more information. If rpo is not specified at bucket creation, it defaults to `"DEFAULT"` for dual and multi-region buckets. **NOTE** If used with single-region bucket, It will throw an error.
1278
1236
  :param pulumi.Input[str] self_link: The URI of the created resource.
1279
- :param pulumi.Input[pulumi.InputType['BucketSoftDeletePolicyArgs']] soft_delete_policy: The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot
1280
- be permanently deleted. If it is not provided, by default Google Cloud Storage sets this to default soft delete policy
1281
1237
  :param pulumi.Input[str] storage_class: The [Storage Class](https://cloud.google.com/storage/docs/storage-classes) of the new bucket. Supported values include: `STANDARD`, `MULTI_REGIONAL`, `REGIONAL`, `NEARLINE`, `COLDLINE`, `ARCHIVE`.
1282
1238
  :param pulumi.Input[bool] uniform_bucket_level_access: Enables [Uniform bucket-level access](https://cloud.google.com/storage/docs/uniform-bucket-level-access) access to a bucket.
1283
1239
  :param pulumi.Input[str] url: The base URL of the bucket, in the format `gs://<bucket-name>`.
@@ -1308,7 +1264,6 @@ class Bucket(pulumi.CustomResource):
1308
1264
  __props__.__dict__["retention_policy"] = retention_policy
1309
1265
  __props__.__dict__["rpo"] = rpo
1310
1266
  __props__.__dict__["self_link"] = self_link
1311
- __props__.__dict__["soft_delete_policy"] = soft_delete_policy
1312
1267
  __props__.__dict__["storage_class"] = storage_class
1313
1268
  __props__.__dict__["uniform_bucket_level_access"] = uniform_bucket_level_access
1314
1269
  __props__.__dict__["url"] = url
@@ -1482,15 +1437,6 @@ class Bucket(pulumi.CustomResource):
1482
1437
  """
1483
1438
  return pulumi.get(self, "self_link")
1484
1439
 
1485
- @property
1486
- @pulumi.getter(name="softDeletePolicy")
1487
- def soft_delete_policy(self) -> pulumi.Output['outputs.BucketSoftDeletePolicy']:
1488
- """
1489
- The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot
1490
- be permanently deleted. If it is not provided, by default Google Cloud Storage sets this to default soft delete policy
1491
- """
1492
- return pulumi.get(self, "soft_delete_policy")
1493
-
1494
1440
  @property
1495
1441
  @pulumi.getter(name="storageClass")
1496
1442
  def storage_class(self) -> pulumi.Output[Optional[str]]:
@@ -22,7 +22,7 @@ class GetBucketResult:
22
22
  """
23
23
  A collection of values returned by getBucket.
24
24
  """
25
- def __init__(__self__, autoclasses=None, cors=None, custom_placement_configs=None, default_event_based_hold=None, effective_labels=None, enable_object_retention=None, encryptions=None, force_destroy=None, id=None, labels=None, lifecycle_rules=None, location=None, loggings=None, name=None, project=None, public_access_prevention=None, pulumi_labels=None, requester_pays=None, retention_policies=None, rpo=None, self_link=None, soft_delete_policies=None, storage_class=None, uniform_bucket_level_access=None, url=None, versionings=None, websites=None):
25
+ def __init__(__self__, autoclasses=None, cors=None, custom_placement_configs=None, default_event_based_hold=None, effective_labels=None, enable_object_retention=None, encryptions=None, force_destroy=None, id=None, labels=None, lifecycle_rules=None, location=None, loggings=None, name=None, project=None, public_access_prevention=None, pulumi_labels=None, requester_pays=None, retention_policies=None, rpo=None, self_link=None, storage_class=None, uniform_bucket_level_access=None, url=None, versionings=None, websites=None):
26
26
  if autoclasses and not isinstance(autoclasses, list):
27
27
  raise TypeError("Expected argument 'autoclasses' to be a list")
28
28
  pulumi.set(__self__, "autoclasses", autoclasses)
@@ -86,9 +86,6 @@ class GetBucketResult:
86
86
  if self_link and not isinstance(self_link, str):
87
87
  raise TypeError("Expected argument 'self_link' to be a str")
88
88
  pulumi.set(__self__, "self_link", self_link)
89
- if soft_delete_policies and not isinstance(soft_delete_policies, list):
90
- raise TypeError("Expected argument 'soft_delete_policies' to be a list")
91
- pulumi.set(__self__, "soft_delete_policies", soft_delete_policies)
92
89
  if storage_class and not isinstance(storage_class, str):
93
90
  raise TypeError("Expected argument 'storage_class' to be a str")
94
91
  pulumi.set(__self__, "storage_class", storage_class)
@@ -213,11 +210,6 @@ class GetBucketResult:
213
210
  def self_link(self) -> str:
214
211
  return pulumi.get(self, "self_link")
215
212
 
216
- @property
217
- @pulumi.getter(name="softDeletePolicies")
218
- def soft_delete_policies(self) -> Sequence['outputs.GetBucketSoftDeletePolicyResult']:
219
- return pulumi.get(self, "soft_delete_policies")
220
-
221
213
  @property
222
214
  @pulumi.getter(name="storageClass")
223
215
  def storage_class(self) -> str:
@@ -271,7 +263,6 @@ class AwaitableGetBucketResult(GetBucketResult):
271
263
  retention_policies=self.retention_policies,
272
264
  rpo=self.rpo,
273
265
  self_link=self.self_link,
274
- soft_delete_policies=self.soft_delete_policies,
275
266
  storage_class=self.storage_class,
276
267
  uniform_bucket_level_access=self.uniform_bucket_level_access,
277
268
  url=self.url,
@@ -328,7 +319,6 @@ def get_bucket(name: Optional[str] = None,
328
319
  retention_policies=pulumi.get(__ret__, 'retention_policies'),
329
320
  rpo=pulumi.get(__ret__, 'rpo'),
330
321
  self_link=pulumi.get(__ret__, 'self_link'),
331
- soft_delete_policies=pulumi.get(__ret__, 'soft_delete_policies'),
332
322
  storage_class=pulumi.get(__ret__, 'storage_class'),
333
323
  uniform_bucket_level_access=pulumi.get(__ret__, 'uniform_bucket_level_access'),
334
324
  url=pulumi.get(__ret__, 'url'),
@@ -24,7 +24,6 @@ __all__ = [
24
24
  'BucketObjectCustomerEncryption',
25
25
  'BucketObjectRetention',
26
26
  'BucketRetentionPolicy',
27
- 'BucketSoftDeletePolicy',
28
27
  'BucketVersioning',
29
28
  'BucketWebsite',
30
29
  'DefaultObjectAccessControlProjectTeam',
@@ -68,7 +67,6 @@ __all__ = [
68
67
  'GetBucketObjectCustomerEncryptionResult',
69
68
  'GetBucketObjectRetentionResult',
70
69
  'GetBucketRetentionPolicyResult',
71
- 'GetBucketSoftDeletePolicyResult',
72
70
  'GetBucketVersioningResult',
73
71
  'GetBucketWebsiteResult',
74
72
  ]
@@ -851,56 +849,6 @@ class BucketRetentionPolicy(dict):
851
849
  return pulumi.get(self, "is_locked")
852
850
 
853
851
 
854
- @pulumi.output_type
855
- class BucketSoftDeletePolicy(dict):
856
- @staticmethod
857
- def __key_warning(key: str):
858
- suggest = None
859
- if key == "effectiveTime":
860
- suggest = "effective_time"
861
- elif key == "retentionDurationSeconds":
862
- suggest = "retention_duration_seconds"
863
-
864
- if suggest:
865
- pulumi.log.warn(f"Key '{key}' not found in BucketSoftDeletePolicy. Access the value via the '{suggest}' property getter instead.")
866
-
867
- def __getitem__(self, key: str) -> Any:
868
- BucketSoftDeletePolicy.__key_warning(key)
869
- return super().__getitem__(key)
870
-
871
- def get(self, key: str, default = None) -> Any:
872
- BucketSoftDeletePolicy.__key_warning(key)
873
- return super().get(key, default)
874
-
875
- def __init__(__self__, *,
876
- effective_time: Optional[str] = None,
877
- retention_duration_seconds: Optional[int] = None):
878
- """
879
- :param str effective_time: Server-determined value that indicates the time from which the policy, or one with a greater retention, was effective. This value is in RFC 3339 format.
880
- :param int retention_duration_seconds: The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted. Default value is 604800. The value must be in between 604800(7 days) and 7776000(90 days). **Note**: To disable the soft delete policy on a bucket, This field must be set to 0.
881
- """
882
- if effective_time is not None:
883
- pulumi.set(__self__, "effective_time", effective_time)
884
- if retention_duration_seconds is not None:
885
- pulumi.set(__self__, "retention_duration_seconds", retention_duration_seconds)
886
-
887
- @property
888
- @pulumi.getter(name="effectiveTime")
889
- def effective_time(self) -> Optional[str]:
890
- """
891
- Server-determined value that indicates the time from which the policy, or one with a greater retention, was effective. This value is in RFC 3339 format.
892
- """
893
- return pulumi.get(self, "effective_time")
894
-
895
- @property
896
- @pulumi.getter(name="retentionDurationSeconds")
897
- def retention_duration_seconds(self) -> Optional[int]:
898
- """
899
- The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted. Default value is 604800. The value must be in between 604800(7 days) and 7776000(90 days). **Note**: To disable the soft delete policy on a bucket, This field must be set to 0.
900
- """
901
- return pulumi.get(self, "retention_duration_seconds")
902
-
903
-
904
852
  @pulumi.output_type
905
853
  class BucketVersioning(dict):
906
854
  def __init__(__self__, *,
@@ -3092,35 +3040,6 @@ class GetBucketRetentionPolicyResult(dict):
3092
3040
  return pulumi.get(self, "retention_period")
3093
3041
 
3094
3042
 
3095
- @pulumi.output_type
3096
- class GetBucketSoftDeletePolicyResult(dict):
3097
- def __init__(__self__, *,
3098
- effective_time: str,
3099
- retention_duration_seconds: int):
3100
- """
3101
- :param str effective_time: Server-determined value that indicates the time from which the policy, or one with a greater retention, was effective. This value is in RFC 3339 format.
3102
- :param int retention_duration_seconds: The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted. Default value is 604800.
3103
- """
3104
- pulumi.set(__self__, "effective_time", effective_time)
3105
- pulumi.set(__self__, "retention_duration_seconds", retention_duration_seconds)
3106
-
3107
- @property
3108
- @pulumi.getter(name="effectiveTime")
3109
- def effective_time(self) -> str:
3110
- """
3111
- Server-determined value that indicates the time from which the policy, or one with a greater retention, was effective. This value is in RFC 3339 format.
3112
- """
3113
- return pulumi.get(self, "effective_time")
3114
-
3115
- @property
3116
- @pulumi.getter(name="retentionDurationSeconds")
3117
- def retention_duration_seconds(self) -> int:
3118
- """
3119
- The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted. Default value is 604800.
3120
- """
3121
- return pulumi.get(self, "retention_duration_seconds")
3122
-
3123
-
3124
3043
  @pulumi.output_type
3125
3044
  class GetBucketVersioningResult(dict):
3126
3045
  def __init__(__self__, *,
@@ -21,8 +21,6 @@ __all__ = [
21
21
  'WorkstationConfigHostArgs',
22
22
  'WorkstationConfigHostGceInstanceArgs',
23
23
  'WorkstationConfigHostGceInstanceAcceleratorArgs',
24
- 'WorkstationConfigHostGceInstanceBoostConfigArgs',
25
- 'WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs',
26
24
  'WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs',
27
25
  'WorkstationConfigHostGceInstanceShieldedInstanceConfigArgs',
28
26
  'WorkstationConfigIamBindingConditionArgs',
@@ -555,7 +553,6 @@ class WorkstationConfigHostArgs:
555
553
  class WorkstationConfigHostGceInstanceArgs:
556
554
  def __init__(__self__, *,
557
555
  accelerators: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigHostGceInstanceAcceleratorArgs']]]] = None,
558
- boost_configs: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigHostGceInstanceBoostConfigArgs']]]] = None,
559
556
  boot_disk_size_gb: Optional[pulumi.Input[int]] = None,
560
557
  confidential_instance_config: Optional[pulumi.Input['WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs']] = None,
561
558
  disable_public_ip_addresses: Optional[pulumi.Input[bool]] = None,
@@ -570,8 +567,6 @@ class WorkstationConfigHostGceInstanceArgs:
570
567
  """
571
568
  :param pulumi.Input[Sequence[pulumi.Input['WorkstationConfigHostGceInstanceAcceleratorArgs']]] accelerators: An accelerator card attached to the instance.
572
569
  Structure is documented below.
573
- :param pulumi.Input[Sequence[pulumi.Input['WorkstationConfigHostGceInstanceBoostConfigArgs']]] boost_configs: A list of the boost configurations that workstations created using this workstation configuration are allowed to use.
574
- Structure is documented below.
575
570
  :param pulumi.Input[int] boot_disk_size_gb: Size of the boot disk in GB.
576
571
  :param pulumi.Input['WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs'] confidential_instance_config: A set of Compute Engine Confidential VM instance options.
577
572
  Structure is documented below.
@@ -589,8 +584,6 @@ class WorkstationConfigHostGceInstanceArgs:
589
584
  """
590
585
  if accelerators is not None:
591
586
  pulumi.set(__self__, "accelerators", accelerators)
592
- if boost_configs is not None:
593
- pulumi.set(__self__, "boost_configs", boost_configs)
594
587
  if boot_disk_size_gb is not None:
595
588
  pulumi.set(__self__, "boot_disk_size_gb", boot_disk_size_gb)
596
589
  if confidential_instance_config is not None:
@@ -627,19 +620,6 @@ class WorkstationConfigHostGceInstanceArgs:
627
620
  def accelerators(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigHostGceInstanceAcceleratorArgs']]]]):
628
621
  pulumi.set(self, "accelerators", value)
629
622
 
630
- @property
631
- @pulumi.getter(name="boostConfigs")
632
- def boost_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigHostGceInstanceBoostConfigArgs']]]]:
633
- """
634
- A list of the boost configurations that workstations created using this workstation configuration are allowed to use.
635
- Structure is documented below.
636
- """
637
- return pulumi.get(self, "boost_configs")
638
-
639
- @boost_configs.setter
640
- def boost_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigHostGceInstanceBoostConfigArgs']]]]):
641
- pulumi.set(self, "boost_configs", value)
642
-
643
623
  @property
644
624
  @pulumi.getter(name="bootDiskSizeGb")
645
625
  def boot_disk_size_gb(self) -> Optional[pulumi.Input[int]]:
@@ -813,99 +793,6 @@ class WorkstationConfigHostGceInstanceAcceleratorArgs:
813
793
  pulumi.set(self, "type", value)
814
794
 
815
795
 
816
- @pulumi.input_type
817
- class WorkstationConfigHostGceInstanceBoostConfigArgs:
818
- def __init__(__self__, *,
819
- id: pulumi.Input[str],
820
- accelerators: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs']]]] = None,
821
- machine_type: Optional[pulumi.Input[str]] = None):
822
- """
823
- :param pulumi.Input[str] id: The id to be used for the boost config.
824
- :param pulumi.Input[Sequence[pulumi.Input['WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs']]] accelerators: An accelerator card attached to the boost instance.
825
- Structure is documented below.
826
- :param pulumi.Input[str] machine_type: The type of machine that boosted VM instances will use—for example, e2-standard-4. For more information about machine types that Cloud Workstations supports, see the list of available machine types https://cloud.google.com/workstations/docs/available-machine-types. Defaults to e2-standard-4.
827
- """
828
- pulumi.set(__self__, "id", id)
829
- if accelerators is not None:
830
- pulumi.set(__self__, "accelerators", accelerators)
831
- if machine_type is not None:
832
- pulumi.set(__self__, "machine_type", machine_type)
833
-
834
- @property
835
- @pulumi.getter
836
- def id(self) -> pulumi.Input[str]:
837
- """
838
- The id to be used for the boost config.
839
- """
840
- return pulumi.get(self, "id")
841
-
842
- @id.setter
843
- def id(self, value: pulumi.Input[str]):
844
- pulumi.set(self, "id", value)
845
-
846
- @property
847
- @pulumi.getter
848
- def accelerators(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs']]]]:
849
- """
850
- An accelerator card attached to the boost instance.
851
- Structure is documented below.
852
- """
853
- return pulumi.get(self, "accelerators")
854
-
855
- @accelerators.setter
856
- def accelerators(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs']]]]):
857
- pulumi.set(self, "accelerators", value)
858
-
859
- @property
860
- @pulumi.getter(name="machineType")
861
- def machine_type(self) -> Optional[pulumi.Input[str]]:
862
- """
863
- The type of machine that boosted VM instances will use—for example, e2-standard-4. For more information about machine types that Cloud Workstations supports, see the list of available machine types https://cloud.google.com/workstations/docs/available-machine-types. Defaults to e2-standard-4.
864
- """
865
- return pulumi.get(self, "machine_type")
866
-
867
- @machine_type.setter
868
- def machine_type(self, value: Optional[pulumi.Input[str]]):
869
- pulumi.set(self, "machine_type", value)
870
-
871
-
872
- @pulumi.input_type
873
- class WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs:
874
- def __init__(__self__, *,
875
- count: pulumi.Input[int],
876
- type: pulumi.Input[str]):
877
- """
878
- :param pulumi.Input[int] count: Number of accelerator cards exposed to the instance.
879
- :param pulumi.Input[str] type: Type of accelerator resource to attach to the instance, for example, "nvidia-tesla-p100".
880
- """
881
- pulumi.set(__self__, "count", count)
882
- pulumi.set(__self__, "type", type)
883
-
884
- @property
885
- @pulumi.getter
886
- def count(self) -> pulumi.Input[int]:
887
- """
888
- Number of accelerator cards exposed to the instance.
889
- """
890
- return pulumi.get(self, "count")
891
-
892
- @count.setter
893
- def count(self, value: pulumi.Input[int]):
894
- pulumi.set(self, "count", value)
895
-
896
- @property
897
- @pulumi.getter
898
- def type(self) -> pulumi.Input[str]:
899
- """
900
- Type of accelerator resource to attach to the instance, for example, "nvidia-tesla-p100".
901
- """
902
- return pulumi.get(self, "type")
903
-
904
- @type.setter
905
- def type(self, value: pulumi.Input[str]):
906
- pulumi.set(self, "type", value)
907
-
908
-
909
796
  @pulumi.input_type
910
797
  class WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs:
911
798
  def __init__(__self__, *,
@@ -22,8 +22,6 @@ __all__ = [
22
22
  'WorkstationConfigHost',
23
23
  'WorkstationConfigHostGceInstance',
24
24
  'WorkstationConfigHostGceInstanceAccelerator',
25
- 'WorkstationConfigHostGceInstanceBoostConfig',
26
- 'WorkstationConfigHostGceInstanceBoostConfigAccelerator',
27
25
  'WorkstationConfigHostGceInstanceConfidentialInstanceConfig',
28
26
  'WorkstationConfigHostGceInstanceShieldedInstanceConfig',
29
27
  'WorkstationConfigIamBindingCondition',
@@ -573,9 +571,7 @@ class WorkstationConfigHostGceInstance(dict):
573
571
  @staticmethod
574
572
  def __key_warning(key: str):
575
573
  suggest = None
576
- if key == "boostConfigs":
577
- suggest = "boost_configs"
578
- elif key == "bootDiskSizeGb":
574
+ if key == "bootDiskSizeGb":
579
575
  suggest = "boot_disk_size_gb"
580
576
  elif key == "confidentialInstanceConfig":
581
577
  suggest = "confidential_instance_config"
@@ -609,7 +605,6 @@ class WorkstationConfigHostGceInstance(dict):
609
605
 
610
606
  def __init__(__self__, *,
611
607
  accelerators: Optional[Sequence['outputs.WorkstationConfigHostGceInstanceAccelerator']] = None,
612
- boost_configs: Optional[Sequence['outputs.WorkstationConfigHostGceInstanceBoostConfig']] = None,
613
608
  boot_disk_size_gb: Optional[int] = None,
614
609
  confidential_instance_config: Optional['outputs.WorkstationConfigHostGceInstanceConfidentialInstanceConfig'] = None,
615
610
  disable_public_ip_addresses: Optional[bool] = None,
@@ -624,8 +619,6 @@ class WorkstationConfigHostGceInstance(dict):
624
619
  """
625
620
  :param Sequence['WorkstationConfigHostGceInstanceAcceleratorArgs'] accelerators: An accelerator card attached to the instance.
626
621
  Structure is documented below.
627
- :param Sequence['WorkstationConfigHostGceInstanceBoostConfigArgs'] boost_configs: A list of the boost configurations that workstations created using this workstation configuration are allowed to use.
628
- Structure is documented below.
629
622
  :param int boot_disk_size_gb: Size of the boot disk in GB.
630
623
  :param 'WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs' confidential_instance_config: A set of Compute Engine Confidential VM instance options.
631
624
  Structure is documented below.
@@ -643,8 +636,6 @@ class WorkstationConfigHostGceInstance(dict):
643
636
  """
644
637
  if accelerators is not None:
645
638
  pulumi.set(__self__, "accelerators", accelerators)
646
- if boost_configs is not None:
647
- pulumi.set(__self__, "boost_configs", boost_configs)
648
639
  if boot_disk_size_gb is not None:
649
640
  pulumi.set(__self__, "boot_disk_size_gb", boot_disk_size_gb)
650
641
  if confidential_instance_config is not None:
@@ -677,15 +668,6 @@ class WorkstationConfigHostGceInstance(dict):
677
668
  """
678
669
  return pulumi.get(self, "accelerators")
679
670
 
680
- @property
681
- @pulumi.getter(name="boostConfigs")
682
- def boost_configs(self) -> Optional[Sequence['outputs.WorkstationConfigHostGceInstanceBoostConfig']]:
683
- """
684
- A list of the boost configurations that workstations created using this workstation configuration are allowed to use.
685
- Structure is documented below.
686
- """
687
- return pulumi.get(self, "boost_configs")
688
-
689
671
  @property
690
672
  @pulumi.getter(name="bootDiskSizeGb")
691
673
  def boot_disk_size_gb(self) -> Optional[int]:
@@ -807,96 +789,6 @@ class WorkstationConfigHostGceInstanceAccelerator(dict):
807
789
  return pulumi.get(self, "type")
808
790
 
809
791
 
810
- @pulumi.output_type
811
- class WorkstationConfigHostGceInstanceBoostConfig(dict):
812
- @staticmethod
813
- def __key_warning(key: str):
814
- suggest = None
815
- if key == "machineType":
816
- suggest = "machine_type"
817
-
818
- if suggest:
819
- pulumi.log.warn(f"Key '{key}' not found in WorkstationConfigHostGceInstanceBoostConfig. Access the value via the '{suggest}' property getter instead.")
820
-
821
- def __getitem__(self, key: str) -> Any:
822
- WorkstationConfigHostGceInstanceBoostConfig.__key_warning(key)
823
- return super().__getitem__(key)
824
-
825
- def get(self, key: str, default = None) -> Any:
826
- WorkstationConfigHostGceInstanceBoostConfig.__key_warning(key)
827
- return super().get(key, default)
828
-
829
- def __init__(__self__, *,
830
- id: str,
831
- accelerators: Optional[Sequence['outputs.WorkstationConfigHostGceInstanceBoostConfigAccelerator']] = None,
832
- machine_type: Optional[str] = None):
833
- """
834
- :param str id: The id to be used for the boost config.
835
- :param Sequence['WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs'] accelerators: An accelerator card attached to the boost instance.
836
- Structure is documented below.
837
- :param str machine_type: The type of machine that boosted VM instances will use—for example, e2-standard-4. For more information about machine types that Cloud Workstations supports, see the list of available machine types https://cloud.google.com/workstations/docs/available-machine-types. Defaults to e2-standard-4.
838
- """
839
- pulumi.set(__self__, "id", id)
840
- if accelerators is not None:
841
- pulumi.set(__self__, "accelerators", accelerators)
842
- if machine_type is not None:
843
- pulumi.set(__self__, "machine_type", machine_type)
844
-
845
- @property
846
- @pulumi.getter
847
- def id(self) -> str:
848
- """
849
- The id to be used for the boost config.
850
- """
851
- return pulumi.get(self, "id")
852
-
853
- @property
854
- @pulumi.getter
855
- def accelerators(self) -> Optional[Sequence['outputs.WorkstationConfigHostGceInstanceBoostConfigAccelerator']]:
856
- """
857
- An accelerator card attached to the boost instance.
858
- Structure is documented below.
859
- """
860
- return pulumi.get(self, "accelerators")
861
-
862
- @property
863
- @pulumi.getter(name="machineType")
864
- def machine_type(self) -> Optional[str]:
865
- """
866
- The type of machine that boosted VM instances will use—for example, e2-standard-4. For more information about machine types that Cloud Workstations supports, see the list of available machine types https://cloud.google.com/workstations/docs/available-machine-types. Defaults to e2-standard-4.
867
- """
868
- return pulumi.get(self, "machine_type")
869
-
870
-
871
- @pulumi.output_type
872
- class WorkstationConfigHostGceInstanceBoostConfigAccelerator(dict):
873
- def __init__(__self__, *,
874
- count: int,
875
- type: str):
876
- """
877
- :param int count: Number of accelerator cards exposed to the instance.
878
- :param str type: Type of accelerator resource to attach to the instance, for example, "nvidia-tesla-p100".
879
- """
880
- pulumi.set(__self__, "count", count)
881
- pulumi.set(__self__, "type", type)
882
-
883
- @property
884
- @pulumi.getter
885
- def count(self) -> int:
886
- """
887
- Number of accelerator cards exposed to the instance.
888
- """
889
- return pulumi.get(self, "count")
890
-
891
- @property
892
- @pulumi.getter
893
- def type(self) -> str:
894
- """
895
- Type of accelerator resource to attach to the instance, for example, "nvidia-tesla-p100".
896
- """
897
- return pulumi.get(self, "type")
898
-
899
-
900
792
  @pulumi.output_type
901
793
  class WorkstationConfigHostGceInstanceConfidentialInstanceConfig(dict):
902
794
  @staticmethod