pulumi-gcp 9.3.0a1759387993__py3-none-any.whl → 9.3.0a1759868184__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 (76) hide show
  1. pulumi_gcp/__init__.py +32 -0
  2. pulumi_gcp/apigee/__init__.py +1 -0
  3. pulumi_gcp/apigee/api_deployment.py +372 -0
  4. pulumi_gcp/apihub/plugin.py +1 -1
  5. pulumi_gcp/artifactregistry/__init__.py +2 -0
  6. pulumi_gcp/artifactregistry/get_maven_artifacts.py +164 -0
  7. pulumi_gcp/artifactregistry/get_npm_packages.py +164 -0
  8. pulumi_gcp/artifactregistry/outputs.py +165 -0
  9. pulumi_gcp/cloudrunv2/_inputs.py +823 -15
  10. pulumi_gcp/cloudrunv2/outputs.py +1749 -743
  11. pulumi_gcp/cloudrunv2/worker_pool.py +110 -0
  12. pulumi_gcp/compute/_inputs.py +28 -0
  13. pulumi_gcp/compute/outputs.py +20 -1
  14. pulumi_gcp/compute/vpn_tunnel.py +97 -23
  15. pulumi_gcp/compute/wire_group.py +2 -0
  16. pulumi_gcp/dataloss/_inputs.py +970 -30
  17. pulumi_gcp/dataloss/outputs.py +850 -20
  18. pulumi_gcp/dataloss/prevention_discovery_config.py +54 -0
  19. pulumi_gcp/diagflow/_inputs.py +66 -0
  20. pulumi_gcp/diagflow/conversation_profile.py +84 -0
  21. pulumi_gcp/diagflow/outputs.py +57 -0
  22. pulumi_gcp/discoveryengine/__init__.py +1 -0
  23. pulumi_gcp/discoveryengine/_inputs.py +187 -0
  24. pulumi_gcp/discoveryengine/data_connector.py +1368 -0
  25. pulumi_gcp/discoveryengine/outputs.py +135 -0
  26. pulumi_gcp/discoveryengine/search_engine.py +47 -0
  27. pulumi_gcp/gkebackup/_inputs.py +111 -0
  28. pulumi_gcp/gkebackup/backup_plan.py +72 -0
  29. pulumi_gcp/gkebackup/outputs.py +84 -0
  30. pulumi_gcp/kms/__init__.py +1 -0
  31. pulumi_gcp/kms/_inputs.py +43 -0
  32. pulumi_gcp/kms/organization_kaj_policy_config.py +290 -0
  33. pulumi_gcp/kms/outputs.py +43 -0
  34. pulumi_gcp/logging/metric.py +2 -2
  35. pulumi_gcp/looker/instance.py +51 -0
  36. pulumi_gcp/managedkafka/connect_cluster.py +20 -82
  37. pulumi_gcp/managedkafka/connector.py +24 -94
  38. pulumi_gcp/netapp/_inputs.py +28 -5
  39. pulumi_gcp/netapp/outputs.py +19 -3
  40. pulumi_gcp/netapp/storage_pool.py +56 -0
  41. pulumi_gcp/netapp/volume.py +28 -0
  42. pulumi_gcp/networkconnectivity/spoke.py +14 -14
  43. pulumi_gcp/networksecurity/mirroring_endpoint_group.py +211 -23
  44. pulumi_gcp/oracledatabase/odb_network.py +101 -2
  45. pulumi_gcp/orgpolicy/policy.py +2 -2
  46. pulumi_gcp/privilegedaccessmanager/_inputs.py +27 -4
  47. pulumi_gcp/privilegedaccessmanager/outputs.py +31 -6
  48. pulumi_gcp/pubsub/get_subscription.py +12 -1
  49. pulumi_gcp/pubsub/get_topic.py +15 -4
  50. pulumi_gcp/pubsub/subscription.py +153 -7
  51. pulumi_gcp/pubsub/topic.py +145 -3
  52. pulumi_gcp/pulumi-plugin.json +1 -1
  53. pulumi_gcp/saasruntime/__init__.py +1 -0
  54. pulumi_gcp/saasruntime/_inputs.py +60 -0
  55. pulumi_gcp/saasruntime/outputs.py +55 -0
  56. pulumi_gcp/saasruntime/rollout_kind.py +1086 -0
  57. pulumi_gcp/sql/_inputs.py +122 -3
  58. pulumi_gcp/sql/database_instance.py +47 -0
  59. pulumi_gcp/sql/get_database_instance.py +12 -1
  60. pulumi_gcp/sql/outputs.py +233 -2
  61. pulumi_gcp/storage/bucket.py +52 -24
  62. pulumi_gcp/storage/get_insights_dataset_config.py +12 -1
  63. pulumi_gcp/storage/insights_dataset_config.py +49 -0
  64. pulumi_gcp/storage/insights_report_config.py +47 -0
  65. pulumi_gcp/vertex/_inputs.py +339 -1
  66. pulumi_gcp/vertex/ai_endpoint.py +4 -4
  67. pulumi_gcp/vertex/ai_endpoint_with_model_garden_deployment.py +102 -0
  68. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
  69. pulumi_gcp/vertex/ai_index.py +74 -2
  70. pulumi_gcp/vertex/ai_index_endpoint.py +54 -0
  71. pulumi_gcp/vertex/get_ai_index.py +12 -1
  72. pulumi_gcp/vertex/outputs.py +303 -1
  73. {pulumi_gcp-9.3.0a1759387993.dist-info → pulumi_gcp-9.3.0a1759868184.dist-info}/METADATA +1 -1
  74. {pulumi_gcp-9.3.0a1759387993.dist-info → pulumi_gcp-9.3.0a1759868184.dist-info}/RECORD +76 -70
  75. {pulumi_gcp-9.3.0a1759387993.dist-info → pulumi_gcp-9.3.0a1759868184.dist-info}/WHEEL +0 -0
  76. {pulumi_gcp-9.3.0a1759387993.dist-info → pulumi_gcp-9.3.0a1759868184.dist-info}/top_level.txt +0 -0
pulumi_gcp/sql/outputs.py CHANGED
@@ -19,6 +19,7 @@ __all__ = [
19
19
  'DatabaseInstanceClone',
20
20
  'DatabaseInstanceDnsName',
21
21
  'DatabaseInstanceIpAddress',
22
+ 'DatabaseInstancePointInTimeRestoreContext',
22
23
  'DatabaseInstanceReplicaConfiguration',
23
24
  'DatabaseInstanceReplicationCluster',
24
25
  'DatabaseInstanceRestoreBackupContext',
@@ -50,6 +51,7 @@ __all__ = [
50
51
  'GetDatabaseInstanceCloneResult',
51
52
  'GetDatabaseInstanceDnsNameResult',
52
53
  'GetDatabaseInstanceIpAddressResult',
54
+ 'GetDatabaseInstancePointInTimeRestoreContextResult',
53
55
  'GetDatabaseInstanceReplicaConfigurationResult',
54
56
  'GetDatabaseInstanceReplicationClusterResult',
55
57
  'GetDatabaseInstanceRestoreBackupContextResult',
@@ -78,6 +80,7 @@ __all__ = [
78
80
  'GetDatabaseInstancesInstanceCloneResult',
79
81
  'GetDatabaseInstancesInstanceDnsNameResult',
80
82
  'GetDatabaseInstancesInstanceIpAddressResult',
83
+ 'GetDatabaseInstancesInstancePointInTimeRestoreContextResult',
81
84
  'GetDatabaseInstancesInstanceReplicaConfigurationResult',
82
85
  'GetDatabaseInstancesInstanceReplicationClusterResult',
83
86
  'GetDatabaseInstancesInstanceRestoreBackupContextResult',
@@ -333,6 +336,99 @@ class DatabaseInstanceIpAddress(dict):
333
336
  return pulumi.get(self, "type")
334
337
 
335
338
 
339
+ @pulumi.output_type
340
+ class DatabaseInstancePointInTimeRestoreContext(dict):
341
+ @staticmethod
342
+ def __key_warning(key: str):
343
+ suggest = None
344
+ if key == "allocatedIpRange":
345
+ suggest = "allocated_ip_range"
346
+ elif key == "pointInTime":
347
+ suggest = "point_in_time"
348
+ elif key == "preferredZone":
349
+ suggest = "preferred_zone"
350
+ elif key == "targetInstance":
351
+ suggest = "target_instance"
352
+
353
+ if suggest:
354
+ pulumi.log.warn(f"Key '{key}' not found in DatabaseInstancePointInTimeRestoreContext. Access the value via the '{suggest}' property getter instead.")
355
+
356
+ def __getitem__(self, key: str) -> Any:
357
+ DatabaseInstancePointInTimeRestoreContext.__key_warning(key)
358
+ return super().__getitem__(key)
359
+
360
+ def get(self, key: str, default = None) -> Any:
361
+ DatabaseInstancePointInTimeRestoreContext.__key_warning(key)
362
+ return super().get(key, default)
363
+
364
+ def __init__(__self__, *,
365
+ datasource: _builtins.str,
366
+ allocated_ip_range: Optional[_builtins.str] = None,
367
+ point_in_time: Optional[_builtins.str] = None,
368
+ preferred_zone: Optional[_builtins.str] = None,
369
+ target_instance: Optional[_builtins.str] = None):
370
+ """
371
+ :param _builtins.str datasource: The Google Cloud Backup and Disaster Recovery Datasource URI.
372
+ :param _builtins.str allocated_ip_range: The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
373
+ :param _builtins.str point_in_time: The timestamp of the point in time that should be restored.
374
+
375
+ A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
376
+ :param _builtins.str preferred_zone: Point-in-time recovery of an instance to the specified zone. If no zone is specified, then clone to the same primary zone as the source instance.
377
+ :param _builtins.str target_instance: The name of the target instance.
378
+ """
379
+ pulumi.set(__self__, "datasource", datasource)
380
+ if allocated_ip_range is not None:
381
+ pulumi.set(__self__, "allocated_ip_range", allocated_ip_range)
382
+ if point_in_time is not None:
383
+ pulumi.set(__self__, "point_in_time", point_in_time)
384
+ if preferred_zone is not None:
385
+ pulumi.set(__self__, "preferred_zone", preferred_zone)
386
+ if target_instance is not None:
387
+ pulumi.set(__self__, "target_instance", target_instance)
388
+
389
+ @_builtins.property
390
+ @pulumi.getter
391
+ def datasource(self) -> _builtins.str:
392
+ """
393
+ The Google Cloud Backup and Disaster Recovery Datasource URI.
394
+ """
395
+ return pulumi.get(self, "datasource")
396
+
397
+ @_builtins.property
398
+ @pulumi.getter(name="allocatedIpRange")
399
+ def allocated_ip_range(self) -> Optional[_builtins.str]:
400
+ """
401
+ The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
402
+ """
403
+ return pulumi.get(self, "allocated_ip_range")
404
+
405
+ @_builtins.property
406
+ @pulumi.getter(name="pointInTime")
407
+ def point_in_time(self) -> Optional[_builtins.str]:
408
+ """
409
+ The timestamp of the point in time that should be restored.
410
+
411
+ A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
412
+ """
413
+ return pulumi.get(self, "point_in_time")
414
+
415
+ @_builtins.property
416
+ @pulumi.getter(name="preferredZone")
417
+ def preferred_zone(self) -> Optional[_builtins.str]:
418
+ """
419
+ Point-in-time recovery of an instance to the specified zone. If no zone is specified, then clone to the same primary zone as the source instance.
420
+ """
421
+ return pulumi.get(self, "preferred_zone")
422
+
423
+ @_builtins.property
424
+ @pulumi.getter(name="targetInstance")
425
+ def target_instance(self) -> Optional[_builtins.str]:
426
+ """
427
+ The name of the target instance.
428
+ """
429
+ return pulumi.get(self, "target_instance")
430
+
431
+
336
432
  @pulumi.output_type
337
433
  class DatabaseInstanceReplicaConfiguration(dict):
338
434
  @staticmethod
@@ -1587,7 +1683,7 @@ class DatabaseInstanceSettingsDataCacheConfig(dict):
1587
1683
  def __init__(__self__, *,
1588
1684
  data_cache_enabled: Optional[_builtins.bool] = None):
1589
1685
  """
1590
- :param _builtins.bool data_cache_enabled: Whether data cache is enabled for the instance. Defaults to `false`. Can be used with MYSQL and PostgreSQL only.
1686
+ :param _builtins.bool data_cache_enabled: Whether data cache is enabled for the instance. Defaults to `true` for MYSQL Enterprise Plus and PostgreSQL Enterprise Plus instances only. For SQL Server Enterprise Plus instances it defaults to `false`.
1591
1687
  """
1592
1688
  if data_cache_enabled is not None:
1593
1689
  pulumi.set(__self__, "data_cache_enabled", data_cache_enabled)
@@ -1596,7 +1692,7 @@ class DatabaseInstanceSettingsDataCacheConfig(dict):
1596
1692
  @pulumi.getter(name="dataCacheEnabled")
1597
1693
  def data_cache_enabled(self) -> Optional[_builtins.bool]:
1598
1694
  """
1599
- Whether data cache is enabled for the instance. Defaults to `false`. Can be used with MYSQL and PostgreSQL only.
1695
+ Whether data cache is enabled for the instance. Defaults to `true` for MYSQL Enterprise Plus and PostgreSQL Enterprise Plus instances only. For SQL Server Enterprise Plus instances it defaults to `false`.
1600
1696
  """
1601
1697
  return pulumi.get(self, "data_cache_enabled")
1602
1698
 
@@ -2886,6 +2982,68 @@ class GetDatabaseInstanceIpAddressResult(dict):
2886
2982
  return pulumi.get(self, "type")
2887
2983
 
2888
2984
 
2985
+ @pulumi.output_type
2986
+ class GetDatabaseInstancePointInTimeRestoreContextResult(dict):
2987
+ def __init__(__self__, *,
2988
+ allocated_ip_range: _builtins.str,
2989
+ datasource: _builtins.str,
2990
+ point_in_time: _builtins.str,
2991
+ preferred_zone: _builtins.str,
2992
+ target_instance: _builtins.str):
2993
+ """
2994
+ :param _builtins.str allocated_ip_range: The name of the allocated IP range for the internal IP Cloud SQL instance. For example: "google-managed-services-default". If you set this, then Cloud SQL creates the IP address for the cloned instance in the allocated range. This range must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035) standards. Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
2995
+ :param _builtins.str datasource: The Google Cloud Backup and Disaster Recovery Datasource URI. For example: "projects/my-project/locations/us-central1/datasources/my-datasource".
2996
+ :param _builtins.str point_in_time: The date and time to which you want to restore the instance.
2997
+ :param _builtins.str preferred_zone: Point-in-time recovery of an instance to the specified zone. If no zone is specified, then clone to the same primary zone as the source instance.
2998
+ :param _builtins.str target_instance: The name of the target instance to restore to.
2999
+ """
3000
+ pulumi.set(__self__, "allocated_ip_range", allocated_ip_range)
3001
+ pulumi.set(__self__, "datasource", datasource)
3002
+ pulumi.set(__self__, "point_in_time", point_in_time)
3003
+ pulumi.set(__self__, "preferred_zone", preferred_zone)
3004
+ pulumi.set(__self__, "target_instance", target_instance)
3005
+
3006
+ @_builtins.property
3007
+ @pulumi.getter(name="allocatedIpRange")
3008
+ def allocated_ip_range(self) -> _builtins.str:
3009
+ """
3010
+ The name of the allocated IP range for the internal IP Cloud SQL instance. For example: "google-managed-services-default". If you set this, then Cloud SQL creates the IP address for the cloned instance in the allocated range. This range must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035) standards. Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
3011
+ """
3012
+ return pulumi.get(self, "allocated_ip_range")
3013
+
3014
+ @_builtins.property
3015
+ @pulumi.getter
3016
+ def datasource(self) -> _builtins.str:
3017
+ """
3018
+ The Google Cloud Backup and Disaster Recovery Datasource URI. For example: "projects/my-project/locations/us-central1/datasources/my-datasource".
3019
+ """
3020
+ return pulumi.get(self, "datasource")
3021
+
3022
+ @_builtins.property
3023
+ @pulumi.getter(name="pointInTime")
3024
+ def point_in_time(self) -> _builtins.str:
3025
+ """
3026
+ The date and time to which you want to restore the instance.
3027
+ """
3028
+ return pulumi.get(self, "point_in_time")
3029
+
3030
+ @_builtins.property
3031
+ @pulumi.getter(name="preferredZone")
3032
+ def preferred_zone(self) -> _builtins.str:
3033
+ """
3034
+ Point-in-time recovery of an instance to the specified zone. If no zone is specified, then clone to the same primary zone as the source instance.
3035
+ """
3036
+ return pulumi.get(self, "preferred_zone")
3037
+
3038
+ @_builtins.property
3039
+ @pulumi.getter(name="targetInstance")
3040
+ def target_instance(self) -> _builtins.str:
3041
+ """
3042
+ The name of the target instance to restore to.
3043
+ """
3044
+ return pulumi.get(self, "target_instance")
3045
+
3046
+
2889
3047
  @pulumi.output_type
2890
3048
  class GetDatabaseInstanceReplicaConfigurationResult(dict):
2891
3049
  def __init__(__self__, *,
@@ -4393,6 +4551,7 @@ class GetDatabaseInstancesInstanceResult(dict):
4393
4551
  master_instance_name: _builtins.str,
4394
4552
  name: _builtins.str,
4395
4553
  node_count: _builtins.int,
4554
+ point_in_time_restore_contexts: Sequence['outputs.GetDatabaseInstancesInstancePointInTimeRestoreContextResult'],
4396
4555
  private_ip_address: _builtins.str,
4397
4556
  project: _builtins.str,
4398
4557
  psc_service_attachment_link: _builtins.str,
@@ -4420,6 +4579,7 @@ class GetDatabaseInstancesInstanceResult(dict):
4420
4579
  :param _builtins.str maintenance_version: Maintenance version.
4421
4580
  :param _builtins.str master_instance_name: The name of the instance that will act as the master in the replication setup. Note, this requires the master to have binary_log_enabled set, as well as existing backups.
4422
4581
  :param _builtins.int node_count: For a read pool instance, the number of nodes in the read pool.
4582
+ :param Sequence['GetDatabaseInstancesInstancePointInTimeRestoreContextArgs'] point_in_time_restore_contexts: Configuration for creating a new instance using point-in-time-restore from backupdr backup.
4423
4583
  :param _builtins.str project: The ID of the project in which the resources belong. If it is not provided, the provider project is used.
4424
4584
  :param _builtins.str psc_service_attachment_link: The link to service attachment of PSC instance.
4425
4585
  :param _builtins.str region: To filter out the Cloud SQL instances which are located in the specified region.
@@ -4448,6 +4608,7 @@ class GetDatabaseInstancesInstanceResult(dict):
4448
4608
  pulumi.set(__self__, "master_instance_name", master_instance_name)
4449
4609
  pulumi.set(__self__, "name", name)
4450
4610
  pulumi.set(__self__, "node_count", node_count)
4611
+ pulumi.set(__self__, "point_in_time_restore_contexts", point_in_time_restore_contexts)
4451
4612
  pulumi.set(__self__, "private_ip_address", private_ip_address)
4452
4613
  pulumi.set(__self__, "project", project)
4453
4614
  pulumi.set(__self__, "psc_service_attachment_link", psc_service_attachment_link)
@@ -4584,6 +4745,14 @@ class GetDatabaseInstancesInstanceResult(dict):
4584
4745
  """
4585
4746
  return pulumi.get(self, "node_count")
4586
4747
 
4748
+ @_builtins.property
4749
+ @pulumi.getter(name="pointInTimeRestoreContexts")
4750
+ def point_in_time_restore_contexts(self) -> Sequence['outputs.GetDatabaseInstancesInstancePointInTimeRestoreContextResult']:
4751
+ """
4752
+ Configuration for creating a new instance using point-in-time-restore from backupdr backup.
4753
+ """
4754
+ return pulumi.get(self, "point_in_time_restore_contexts")
4755
+
4587
4756
  @_builtins.property
4588
4757
  @pulumi.getter(name="privateIpAddress")
4589
4758
  def private_ip_address(self) -> _builtins.str:
@@ -4799,6 +4968,68 @@ class GetDatabaseInstancesInstanceIpAddressResult(dict):
4799
4968
  return pulumi.get(self, "type")
4800
4969
 
4801
4970
 
4971
+ @pulumi.output_type
4972
+ class GetDatabaseInstancesInstancePointInTimeRestoreContextResult(dict):
4973
+ def __init__(__self__, *,
4974
+ allocated_ip_range: _builtins.str,
4975
+ datasource: _builtins.str,
4976
+ point_in_time: _builtins.str,
4977
+ preferred_zone: _builtins.str,
4978
+ target_instance: _builtins.str):
4979
+ """
4980
+ :param _builtins.str allocated_ip_range: The name of the allocated IP range for the internal IP Cloud SQL instance. For example: "google-managed-services-default". If you set this, then Cloud SQL creates the IP address for the cloned instance in the allocated range. This range must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035) standards. Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
4981
+ :param _builtins.str datasource: The Google Cloud Backup and Disaster Recovery Datasource URI. For example: "projects/my-project/locations/us-central1/datasources/my-datasource".
4982
+ :param _builtins.str point_in_time: The date and time to which you want to restore the instance.
4983
+ :param _builtins.str preferred_zone: Point-in-time recovery of an instance to the specified zone. If no zone is specified, then clone to the same primary zone as the source instance.
4984
+ :param _builtins.str target_instance: The name of the target instance to restore to.
4985
+ """
4986
+ pulumi.set(__self__, "allocated_ip_range", allocated_ip_range)
4987
+ pulumi.set(__self__, "datasource", datasource)
4988
+ pulumi.set(__self__, "point_in_time", point_in_time)
4989
+ pulumi.set(__self__, "preferred_zone", preferred_zone)
4990
+ pulumi.set(__self__, "target_instance", target_instance)
4991
+
4992
+ @_builtins.property
4993
+ @pulumi.getter(name="allocatedIpRange")
4994
+ def allocated_ip_range(self) -> _builtins.str:
4995
+ """
4996
+ The name of the allocated IP range for the internal IP Cloud SQL instance. For example: "google-managed-services-default". If you set this, then Cloud SQL creates the IP address for the cloned instance in the allocated range. This range must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035) standards. Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
4997
+ """
4998
+ return pulumi.get(self, "allocated_ip_range")
4999
+
5000
+ @_builtins.property
5001
+ @pulumi.getter
5002
+ def datasource(self) -> _builtins.str:
5003
+ """
5004
+ The Google Cloud Backup and Disaster Recovery Datasource URI. For example: "projects/my-project/locations/us-central1/datasources/my-datasource".
5005
+ """
5006
+ return pulumi.get(self, "datasource")
5007
+
5008
+ @_builtins.property
5009
+ @pulumi.getter(name="pointInTime")
5010
+ def point_in_time(self) -> _builtins.str:
5011
+ """
5012
+ The date and time to which you want to restore the instance.
5013
+ """
5014
+ return pulumi.get(self, "point_in_time")
5015
+
5016
+ @_builtins.property
5017
+ @pulumi.getter(name="preferredZone")
5018
+ def preferred_zone(self) -> _builtins.str:
5019
+ """
5020
+ Point-in-time recovery of an instance to the specified zone. If no zone is specified, then clone to the same primary zone as the source instance.
5021
+ """
5022
+ return pulumi.get(self, "preferred_zone")
5023
+
5024
+ @_builtins.property
5025
+ @pulumi.getter(name="targetInstance")
5026
+ def target_instance(self) -> _builtins.str:
5027
+ """
5028
+ The name of the target instance to restore to.
5029
+ """
5030
+ return pulumi.get(self, "target_instance")
5031
+
5032
+
4802
5033
  @pulumi.output_type
4803
5034
  class GetDatabaseInstancesInstanceReplicaConfigurationResult(dict):
4804
5035
  def __init__(__self__, *,
@@ -989,18 +989,32 @@ class Bucket(pulumi.CustomResource):
989
989
  "main_page_suffix": "index.html",
990
990
  "not_found_page": "404.html",
991
991
  },
992
- cors=[{
993
- "origins": ["http://image-store.com"],
994
- "methods": [
995
- "GET",
996
- "HEAD",
997
- "PUT",
998
- "POST",
999
- "DELETE",
1000
- ],
1001
- "response_headers": ["*"],
1002
- "max_age_seconds": 3600,
1003
- }])
992
+ cors=[
993
+ {
994
+ "origins": ["http://image-store.com"],
995
+ "methods": [
996
+ "GET",
997
+ "HEAD",
998
+ "PUT",
999
+ "POST",
1000
+ "DELETE",
1001
+ ],
1002
+ "response_headers": ["*"],
1003
+ "max_age_seconds": 3600,
1004
+ },
1005
+ {
1006
+ "origins": ["http://image-store.com"],
1007
+ "methods": [
1008
+ "GET",
1009
+ "HEAD",
1010
+ "PUT",
1011
+ "POST",
1012
+ "DELETE",
1013
+ ],
1014
+ "response_headers": ["*"],
1015
+ "max_age_seconds": 0,
1016
+ },
1017
+ ])
1004
1018
  ```
1005
1019
 
1006
1020
  ### Life Cycle Settings For Storage Bucket Objects
@@ -1180,18 +1194,32 @@ class Bucket(pulumi.CustomResource):
1180
1194
  "main_page_suffix": "index.html",
1181
1195
  "not_found_page": "404.html",
1182
1196
  },
1183
- cors=[{
1184
- "origins": ["http://image-store.com"],
1185
- "methods": [
1186
- "GET",
1187
- "HEAD",
1188
- "PUT",
1189
- "POST",
1190
- "DELETE",
1191
- ],
1192
- "response_headers": ["*"],
1193
- "max_age_seconds": 3600,
1194
- }])
1197
+ cors=[
1198
+ {
1199
+ "origins": ["http://image-store.com"],
1200
+ "methods": [
1201
+ "GET",
1202
+ "HEAD",
1203
+ "PUT",
1204
+ "POST",
1205
+ "DELETE",
1206
+ ],
1207
+ "response_headers": ["*"],
1208
+ "max_age_seconds": 3600,
1209
+ },
1210
+ {
1211
+ "origins": ["http://image-store.com"],
1212
+ "methods": [
1213
+ "GET",
1214
+ "HEAD",
1215
+ "PUT",
1216
+ "POST",
1217
+ "DELETE",
1218
+ ],
1219
+ "response_headers": ["*"],
1220
+ "max_age_seconds": 0,
1221
+ },
1222
+ ])
1195
1223
  ```
1196
1224
 
1197
1225
  ### Life Cycle Settings For Storage Bucket Objects
@@ -27,7 +27,10 @@ class GetInsightsDatasetConfigResult:
27
27
  """
28
28
  A collection of values returned by getInsightsDatasetConfig.
29
29
  """
30
- def __init__(__self__, create_time=None, dataset_config_id=None, dataset_config_state=None, description=None, exclude_cloud_storage_buckets=None, exclude_cloud_storage_locations=None, id=None, identities=None, include_cloud_storage_buckets=None, include_cloud_storage_locations=None, include_newly_created_buckets=None, link_dataset=None, links=None, location=None, name=None, organization_number=None, organization_scope=None, project=None, retention_period_days=None, source_folders=None, source_projects=None, uid=None, update_time=None):
30
+ def __init__(__self__, activity_data_retention_period_days=None, create_time=None, dataset_config_id=None, dataset_config_state=None, description=None, exclude_cloud_storage_buckets=None, exclude_cloud_storage_locations=None, id=None, identities=None, include_cloud_storage_buckets=None, include_cloud_storage_locations=None, include_newly_created_buckets=None, link_dataset=None, links=None, location=None, name=None, organization_number=None, organization_scope=None, project=None, retention_period_days=None, source_folders=None, source_projects=None, uid=None, update_time=None):
31
+ if activity_data_retention_period_days and not isinstance(activity_data_retention_period_days, int):
32
+ raise TypeError("Expected argument 'activity_data_retention_period_days' to be a int")
33
+ pulumi.set(__self__, "activity_data_retention_period_days", activity_data_retention_period_days)
31
34
  if create_time and not isinstance(create_time, str):
32
35
  raise TypeError("Expected argument 'create_time' to be a str")
33
36
  pulumi.set(__self__, "create_time", create_time)
@@ -98,6 +101,11 @@ class GetInsightsDatasetConfigResult:
98
101
  raise TypeError("Expected argument 'update_time' to be a str")
99
102
  pulumi.set(__self__, "update_time", update_time)
100
103
 
104
+ @_builtins.property
105
+ @pulumi.getter(name="activityDataRetentionPeriodDays")
106
+ def activity_data_retention_period_days(self) -> _builtins.int:
107
+ return pulumi.get(self, "activity_data_retention_period_days")
108
+
101
109
  @_builtins.property
102
110
  @pulumi.getter(name="createTime")
103
111
  def create_time(self) -> _builtins.str:
@@ -223,6 +231,7 @@ class AwaitableGetInsightsDatasetConfigResult(GetInsightsDatasetConfigResult):
223
231
  if False:
224
232
  yield self
225
233
  return GetInsightsDatasetConfigResult(
234
+ activity_data_retention_period_days=self.activity_data_retention_period_days,
226
235
  create_time=self.create_time,
227
236
  dataset_config_id=self.dataset_config_id,
228
237
  dataset_config_state=self.dataset_config_state,
@@ -282,6 +291,7 @@ def get_insights_dataset_config(dataset_config_id: Optional[_builtins.str] = Non
282
291
  __ret__ = pulumi.runtime.invoke('gcp:storage/getInsightsDatasetConfig:getInsightsDatasetConfig', __args__, opts=opts, typ=GetInsightsDatasetConfigResult).value
283
292
 
284
293
  return AwaitableGetInsightsDatasetConfigResult(
294
+ activity_data_retention_period_days=pulumi.get(__ret__, 'activity_data_retention_period_days'),
285
295
  create_time=pulumi.get(__ret__, 'create_time'),
286
296
  dataset_config_id=pulumi.get(__ret__, 'dataset_config_id'),
287
297
  dataset_config_state=pulumi.get(__ret__, 'dataset_config_state'),
@@ -338,6 +348,7 @@ def get_insights_dataset_config_output(dataset_config_id: Optional[pulumi.Input[
338
348
  opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
339
349
  __ret__ = pulumi.runtime.invoke_output('gcp:storage/getInsightsDatasetConfig:getInsightsDatasetConfig', __args__, opts=opts, typ=GetInsightsDatasetConfigResult)
340
350
  return __ret__.apply(lambda __response__: GetInsightsDatasetConfigResult(
351
+ activity_data_retention_period_days=pulumi.get(__response__, 'activity_data_retention_period_days'),
341
352
  create_time=pulumi.get(__response__, 'create_time'),
342
353
  dataset_config_id=pulumi.get(__response__, 'dataset_config_id'),
343
354
  dataset_config_state=pulumi.get(__response__, 'dataset_config_state'),
@@ -25,6 +25,7 @@ class InsightsDatasetConfigArgs:
25
25
  identity: pulumi.Input['InsightsDatasetConfigIdentityArgs'],
26
26
  location: pulumi.Input[_builtins.str],
27
27
  retention_period_days: pulumi.Input[_builtins.int],
28
+ activity_data_retention_period_days: Optional[pulumi.Input[_builtins.int]] = None,
28
29
  description: Optional[pulumi.Input[_builtins.str]] = None,
29
30
  exclude_cloud_storage_buckets: Optional[pulumi.Input['InsightsDatasetConfigExcludeCloudStorageBucketsArgs']] = None,
30
31
  exclude_cloud_storage_locations: Optional[pulumi.Input['InsightsDatasetConfigExcludeCloudStorageLocationsArgs']] = None,
@@ -44,6 +45,7 @@ class InsightsDatasetConfigArgs:
44
45
  Structure is documented below.
45
46
  :param pulumi.Input[_builtins.str] location: The location of the DatasetConfig.
46
47
  :param pulumi.Input[_builtins.int] retention_period_days: Number of days of history that must be retained.
48
+ :param pulumi.Input[_builtins.int] activity_data_retention_period_days: Number of days of activity data that must be retained. If not specified, retentionPeriodDays will be used. Set to 0 to turn off the activity data.
47
49
  :param pulumi.Input[_builtins.str] description: An optional user-provided description for the dataset configuration with a maximum length of 256 characters.
48
50
  :param pulumi.Input['InsightsDatasetConfigExcludeCloudStorageBucketsArgs'] exclude_cloud_storage_buckets: Defined the options for excluding cloud storage buckets for the DatasetConfig.
49
51
  Structure is documented below.
@@ -68,6 +70,8 @@ class InsightsDatasetConfigArgs:
68
70
  pulumi.set(__self__, "identity", identity)
69
71
  pulumi.set(__self__, "location", location)
70
72
  pulumi.set(__self__, "retention_period_days", retention_period_days)
73
+ if activity_data_retention_period_days is not None:
74
+ pulumi.set(__self__, "activity_data_retention_period_days", activity_data_retention_period_days)
71
75
  if description is not None:
72
76
  pulumi.set(__self__, "description", description)
73
77
  if exclude_cloud_storage_buckets is not None:
@@ -142,6 +146,18 @@ class InsightsDatasetConfigArgs:
142
146
  def retention_period_days(self, value: pulumi.Input[_builtins.int]):
143
147
  pulumi.set(self, "retention_period_days", value)
144
148
 
149
+ @_builtins.property
150
+ @pulumi.getter(name="activityDataRetentionPeriodDays")
151
+ def activity_data_retention_period_days(self) -> Optional[pulumi.Input[_builtins.int]]:
152
+ """
153
+ Number of days of activity data that must be retained. If not specified, retentionPeriodDays will be used. Set to 0 to turn off the activity data.
154
+ """
155
+ return pulumi.get(self, "activity_data_retention_period_days")
156
+
157
+ @activity_data_retention_period_days.setter
158
+ def activity_data_retention_period_days(self, value: Optional[pulumi.Input[_builtins.int]]):
159
+ pulumi.set(self, "activity_data_retention_period_days", value)
160
+
145
161
  @_builtins.property
146
162
  @pulumi.getter
147
163
  def description(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -295,6 +311,7 @@ class InsightsDatasetConfigArgs:
295
311
  @pulumi.input_type
296
312
  class _InsightsDatasetConfigState:
297
313
  def __init__(__self__, *,
314
+ activity_data_retention_period_days: Optional[pulumi.Input[_builtins.int]] = None,
298
315
  create_time: Optional[pulumi.Input[_builtins.str]] = None,
299
316
  dataset_config_id: Optional[pulumi.Input[_builtins.str]] = None,
300
317
  dataset_config_state: Optional[pulumi.Input[_builtins.str]] = None,
@@ -319,6 +336,7 @@ class _InsightsDatasetConfigState:
319
336
  update_time: Optional[pulumi.Input[_builtins.str]] = None):
320
337
  """
321
338
  Input properties used for looking up and filtering InsightsDatasetConfig resources.
339
+ :param pulumi.Input[_builtins.int] activity_data_retention_period_days: Number of days of activity data that must be retained. If not specified, retentionPeriodDays will be used. Set to 0 to turn off the activity data.
322
340
  :param pulumi.Input[_builtins.str] create_time: The UTC time at which the DatasetConfig was created. This is auto-populated.
323
341
  :param pulumi.Input[_builtins.str] dataset_config_id: The user-defined ID of the DatasetConfig
324
342
  :param pulumi.Input[_builtins.str] dataset_config_state: State of the DatasetConfig.
@@ -351,6 +369,8 @@ class _InsightsDatasetConfigState:
351
369
  :param pulumi.Input[_builtins.str] uid: System generated unique identifier for the resource.
352
370
  :param pulumi.Input[_builtins.str] update_time: The UTC time at which the DatasetConfig was updated. This is auto-populated.
353
371
  """
372
+ if activity_data_retention_period_days is not None:
373
+ pulumi.set(__self__, "activity_data_retention_period_days", activity_data_retention_period_days)
354
374
  if create_time is not None:
355
375
  pulumi.set(__self__, "create_time", create_time)
356
376
  if dataset_config_id is not None:
@@ -396,6 +416,18 @@ class _InsightsDatasetConfigState:
396
416
  if update_time is not None:
397
417
  pulumi.set(__self__, "update_time", update_time)
398
418
 
419
+ @_builtins.property
420
+ @pulumi.getter(name="activityDataRetentionPeriodDays")
421
+ def activity_data_retention_period_days(self) -> Optional[pulumi.Input[_builtins.int]]:
422
+ """
423
+ Number of days of activity data that must be retained. If not specified, retentionPeriodDays will be used. Set to 0 to turn off the activity data.
424
+ """
425
+ return pulumi.get(self, "activity_data_retention_period_days")
426
+
427
+ @activity_data_retention_period_days.setter
428
+ def activity_data_retention_period_days(self, value: Optional[pulumi.Input[_builtins.int]]):
429
+ pulumi.set(self, "activity_data_retention_period_days", value)
430
+
399
431
  @_builtins.property
400
432
  @pulumi.getter(name="createTime")
401
433
  def create_time(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -674,6 +706,7 @@ class InsightsDatasetConfig(pulumi.CustomResource):
674
706
  def __init__(__self__,
675
707
  resource_name: str,
676
708
  opts: Optional[pulumi.ResourceOptions] = None,
709
+ activity_data_retention_period_days: Optional[pulumi.Input[_builtins.int]] = None,
677
710
  dataset_config_id: Optional[pulumi.Input[_builtins.str]] = None,
678
711
  description: Optional[pulumi.Input[_builtins.str]] = None,
679
712
  exclude_cloud_storage_buckets: Optional[pulumi.Input[Union['InsightsDatasetConfigExcludeCloudStorageBucketsArgs', 'InsightsDatasetConfigExcludeCloudStorageBucketsArgsDict']]] = None,
@@ -749,6 +782,7 @@ class InsightsDatasetConfig(pulumi.CustomResource):
749
782
  location="us-central1",
750
783
  dataset_config_id="my_config_excludes",
751
784
  retention_period_days=1,
785
+ activity_data_retention_period_days=2,
752
786
  organization_scope=True,
753
787
  identity={
754
788
  "type": "IDENTITY_TYPE_PER_PROJECT",
@@ -794,6 +828,7 @@ class InsightsDatasetConfig(pulumi.CustomResource):
794
828
 
795
829
  :param str resource_name: The name of the resource.
796
830
  :param pulumi.ResourceOptions opts: Options for the resource.
831
+ :param pulumi.Input[_builtins.int] activity_data_retention_period_days: Number of days of activity data that must be retained. If not specified, retentionPeriodDays will be used. Set to 0 to turn off the activity data.
797
832
  :param pulumi.Input[_builtins.str] dataset_config_id: The user-defined ID of the DatasetConfig
798
833
  :param pulumi.Input[_builtins.str] description: An optional user-provided description for the dataset configuration with a maximum length of 256 characters.
799
834
  :param pulumi.Input[Union['InsightsDatasetConfigExcludeCloudStorageBucketsArgs', 'InsightsDatasetConfigExcludeCloudStorageBucketsArgsDict']] exclude_cloud_storage_buckets: Defined the options for excluding cloud storage buckets for the DatasetConfig.
@@ -883,6 +918,7 @@ class InsightsDatasetConfig(pulumi.CustomResource):
883
918
  location="us-central1",
884
919
  dataset_config_id="my_config_excludes",
885
920
  retention_period_days=1,
921
+ activity_data_retention_period_days=2,
886
922
  organization_scope=True,
887
923
  identity={
888
924
  "type": "IDENTITY_TYPE_PER_PROJECT",
@@ -941,6 +977,7 @@ class InsightsDatasetConfig(pulumi.CustomResource):
941
977
  def _internal_init(__self__,
942
978
  resource_name: str,
943
979
  opts: Optional[pulumi.ResourceOptions] = None,
980
+ activity_data_retention_period_days: Optional[pulumi.Input[_builtins.int]] = None,
944
981
  dataset_config_id: Optional[pulumi.Input[_builtins.str]] = None,
945
982
  description: Optional[pulumi.Input[_builtins.str]] = None,
946
983
  exclude_cloud_storage_buckets: Optional[pulumi.Input[Union['InsightsDatasetConfigExcludeCloudStorageBucketsArgs', 'InsightsDatasetConfigExcludeCloudStorageBucketsArgsDict']]] = None,
@@ -966,6 +1003,7 @@ class InsightsDatasetConfig(pulumi.CustomResource):
966
1003
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
967
1004
  __props__ = InsightsDatasetConfigArgs.__new__(InsightsDatasetConfigArgs)
968
1005
 
1006
+ __props__.__dict__["activity_data_retention_period_days"] = activity_data_retention_period_days
969
1007
  if dataset_config_id is None and not opts.urn:
970
1008
  raise TypeError("Missing required property 'dataset_config_id'")
971
1009
  __props__.__dict__["dataset_config_id"] = dataset_config_id
@@ -1006,6 +1044,7 @@ class InsightsDatasetConfig(pulumi.CustomResource):
1006
1044
  def get(resource_name: str,
1007
1045
  id: pulumi.Input[str],
1008
1046
  opts: Optional[pulumi.ResourceOptions] = None,
1047
+ activity_data_retention_period_days: Optional[pulumi.Input[_builtins.int]] = None,
1009
1048
  create_time: Optional[pulumi.Input[_builtins.str]] = None,
1010
1049
  dataset_config_id: Optional[pulumi.Input[_builtins.str]] = None,
1011
1050
  dataset_config_state: Optional[pulumi.Input[_builtins.str]] = None,
@@ -1035,6 +1074,7 @@ class InsightsDatasetConfig(pulumi.CustomResource):
1035
1074
  :param str resource_name: The unique name of the resulting resource.
1036
1075
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
1037
1076
  :param pulumi.ResourceOptions opts: Options for the resource.
1077
+ :param pulumi.Input[_builtins.int] activity_data_retention_period_days: Number of days of activity data that must be retained. If not specified, retentionPeriodDays will be used. Set to 0 to turn off the activity data.
1038
1078
  :param pulumi.Input[_builtins.str] create_time: The UTC time at which the DatasetConfig was created. This is auto-populated.
1039
1079
  :param pulumi.Input[_builtins.str] dataset_config_id: The user-defined ID of the DatasetConfig
1040
1080
  :param pulumi.Input[_builtins.str] dataset_config_state: State of the DatasetConfig.
@@ -1071,6 +1111,7 @@ class InsightsDatasetConfig(pulumi.CustomResource):
1071
1111
 
1072
1112
  __props__ = _InsightsDatasetConfigState.__new__(_InsightsDatasetConfigState)
1073
1113
 
1114
+ __props__.__dict__["activity_data_retention_period_days"] = activity_data_retention_period_days
1074
1115
  __props__.__dict__["create_time"] = create_time
1075
1116
  __props__.__dict__["dataset_config_id"] = dataset_config_id
1076
1117
  __props__.__dict__["dataset_config_state"] = dataset_config_state
@@ -1095,6 +1136,14 @@ class InsightsDatasetConfig(pulumi.CustomResource):
1095
1136
  __props__.__dict__["update_time"] = update_time
1096
1137
  return InsightsDatasetConfig(resource_name, opts=opts, __props__=__props__)
1097
1138
 
1139
+ @_builtins.property
1140
+ @pulumi.getter(name="activityDataRetentionPeriodDays")
1141
+ def activity_data_retention_period_days(self) -> pulumi.Output[Optional[_builtins.int]]:
1142
+ """
1143
+ Number of days of activity data that must be retained. If not specified, retentionPeriodDays will be used. Set to 0 to turn off the activity data.
1144
+ """
1145
+ return pulumi.get(self, "activity_data_retention_period_days")
1146
+
1098
1147
  @_builtins.property
1099
1148
  @pulumi.getter(name="createTime")
1100
1149
  def create_time(self) -> pulumi.Output[_builtins.str]: