pulumi-gcp 8.0.0a1726253601__py3-none-any.whl → 8.1.0__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 (101) hide show
  1. pulumi_gcp/__init__.py +24 -0
  2. pulumi_gcp/alloydb/_inputs.py +94 -0
  3. pulumi_gcp/alloydb/cluster.py +94 -1
  4. pulumi_gcp/alloydb/outputs.py +79 -0
  5. pulumi_gcp/assuredworkloads/workload.py +135 -16
  6. pulumi_gcp/backupdisasterrecovery/__init__.py +1 -0
  7. pulumi_gcp/backupdisasterrecovery/backup_vault.py +1203 -0
  8. pulumi_gcp/bigquery/_inputs.py +33 -0
  9. pulumi_gcp/bigquery/data_transfer_config.py +134 -6
  10. pulumi_gcp/bigquery/outputs.py +36 -0
  11. pulumi_gcp/bigqueryanalyticshub/_inputs.py +169 -7
  12. pulumi_gcp/bigqueryanalyticshub/data_exchange.py +96 -3
  13. pulumi_gcp/bigqueryanalyticshub/listing.py +114 -0
  14. pulumi_gcp/bigqueryanalyticshub/outputs.py +138 -5
  15. pulumi_gcp/bigtable/_inputs.py +21 -1
  16. pulumi_gcp/bigtable/outputs.py +13 -1
  17. pulumi_gcp/bigtable/table.py +34 -0
  18. pulumi_gcp/certificateauthority/authority.py +14 -7
  19. pulumi_gcp/certificatemanager/__init__.py +1 -0
  20. pulumi_gcp/certificatemanager/certificate.py +28 -0
  21. pulumi_gcp/certificatemanager/get_certificates.py +150 -0
  22. pulumi_gcp/certificatemanager/outputs.py +322 -0
  23. pulumi_gcp/cloudbuild/_inputs.py +6 -6
  24. pulumi_gcp/cloudbuild/outputs.py +4 -4
  25. pulumi_gcp/cloudrun/_inputs.py +6 -12
  26. pulumi_gcp/cloudrun/outputs.py +8 -16
  27. pulumi_gcp/cloudrunv2/_inputs.py +72 -15
  28. pulumi_gcp/cloudrunv2/outputs.py +82 -16
  29. pulumi_gcp/cloudrunv2/service.py +50 -4
  30. pulumi_gcp/cloudtasks/_inputs.py +630 -0
  31. pulumi_gcp/cloudtasks/outputs.py +479 -0
  32. pulumi_gcp/cloudtasks/queue.py +238 -0
  33. pulumi_gcp/compute/_inputs.py +129 -9
  34. pulumi_gcp/compute/get_instance.py +1 -1
  35. pulumi_gcp/compute/health_check.py +114 -0
  36. pulumi_gcp/compute/instance.py +86 -4
  37. pulumi_gcp/compute/instance_template.py +66 -0
  38. pulumi_gcp/compute/interconnect.py +28 -21
  39. pulumi_gcp/compute/node_template.py +93 -0
  40. pulumi_gcp/compute/outputs.py +108 -6
  41. pulumi_gcp/compute/target_https_proxy.py +28 -0
  42. pulumi_gcp/container/_inputs.py +140 -3
  43. pulumi_gcp/container/attached_cluster.py +7 -7
  44. pulumi_gcp/container/outputs.py +174 -2
  45. pulumi_gcp/databasemigrationservice/_inputs.py +176 -148
  46. pulumi_gcp/databasemigrationservice/connection_profile.py +206 -0
  47. pulumi_gcp/databasemigrationservice/outputs.py +109 -87
  48. pulumi_gcp/dataloss/_inputs.py +353 -1
  49. pulumi_gcp/dataloss/outputs.py +274 -3
  50. pulumi_gcp/dataproc/_inputs.py +27 -27
  51. pulumi_gcp/dataproc/outputs.py +18 -18
  52. pulumi_gcp/datastream/_inputs.py +69 -1
  53. pulumi_gcp/datastream/outputs.py +44 -2
  54. pulumi_gcp/datastream/stream.py +194 -7
  55. pulumi_gcp/discoveryengine/_inputs.py +188 -0
  56. pulumi_gcp/discoveryengine/data_store.py +14 -14
  57. pulumi_gcp/discoveryengine/outputs.py +153 -1
  58. pulumi_gcp/firebase/database_instance.py +7 -7
  59. pulumi_gcp/gkehub/_inputs.py +25 -1
  60. pulumi_gcp/gkehub/feature_membership.py +12 -6
  61. pulumi_gcp/gkehub/outputs.py +17 -1
  62. pulumi_gcp/iam/_inputs.py +196 -0
  63. pulumi_gcp/iam/get_workload_identity_pool_provider.py +13 -3
  64. pulumi_gcp/iam/outputs.py +295 -0
  65. pulumi_gcp/iam/workload_identity_pool_provider.py +164 -3
  66. pulumi_gcp/kms/__init__.py +2 -0
  67. pulumi_gcp/kms/autokey_config.py +10 -2
  68. pulumi_gcp/kms/get_crypto_key_latest_version.py +222 -0
  69. pulumi_gcp/kms/get_crypto_key_versions.py +175 -0
  70. pulumi_gcp/kms/outputs.py +164 -0
  71. pulumi_gcp/netapp/active_directory.py +6 -6
  72. pulumi_gcp/netapp/backup.py +6 -6
  73. pulumi_gcp/netapp/backup_policy.py +6 -6
  74. pulumi_gcp/netapp/backup_vault.py +6 -6
  75. pulumi_gcp/netapp/storage_pool.py +4 -4
  76. pulumi_gcp/netapp/volume.py +7 -0
  77. pulumi_gcp/networkconnectivity/_inputs.py +21 -1
  78. pulumi_gcp/networkconnectivity/outputs.py +15 -1
  79. pulumi_gcp/networkconnectivity/spoke.py +8 -0
  80. pulumi_gcp/networksecurity/client_tls_policy.py +24 -22
  81. pulumi_gcp/networksecurity/server_tls_policy.py +20 -32
  82. pulumi_gcp/organizations/get_project.py +13 -3
  83. pulumi_gcp/organizations/project.py +88 -3
  84. pulumi_gcp/parallelstore/instance.py +121 -121
  85. pulumi_gcp/projects/iam_member_remove.py +26 -0
  86. pulumi_gcp/projects/usage_export_bucket.py +38 -0
  87. pulumi_gcp/pubsub/_inputs.py +40 -0
  88. pulumi_gcp/pubsub/outputs.py +51 -1
  89. pulumi_gcp/pubsub/subscription.py +6 -0
  90. pulumi_gcp/pulumi-plugin.json +1 -1
  91. pulumi_gcp/redis/_inputs.py +419 -0
  92. pulumi_gcp/redis/cluster.py +123 -0
  93. pulumi_gcp/redis/outputs.py +315 -0
  94. pulumi_gcp/securitycenter/__init__.py +2 -0
  95. pulumi_gcp/securitycenter/v2_folder_scc_big_query_export.py +857 -0
  96. pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +4 -4
  97. pulumi_gcp/securitycenter/v2_project_scc_big_query_export.py +796 -0
  98. {pulumi_gcp-8.0.0a1726253601.dist-info → pulumi_gcp-8.1.0.dist-info}/METADATA +1 -1
  99. {pulumi_gcp-8.0.0a1726253601.dist-info → pulumi_gcp-8.1.0.dist-info}/RECORD +101 -95
  100. {pulumi_gcp-8.0.0a1726253601.dist-info → pulumi_gcp-8.1.0.dist-info}/WHEEL +1 -1
  101. {pulumi_gcp-8.0.0a1726253601.dist-info → pulumi_gcp-8.1.0.dist-info}/top_level.txt +0 -0
@@ -47,7 +47,8 @@ class StreamArgs:
47
47
  :param pulumi.Input[bool] create_without_validation: Create the stream without validating it.
48
48
  :param pulumi.Input[str] customer_managed_encryption_key: A reference to a KMS encryption key. If provided, it will be used to encrypt the data. If left blank, data will be
49
49
  encrypted using an internal Stream-specific encryption key provisioned through KMS.
50
- :param pulumi.Input[str] desired_state: Desired state of the Stream. Set this field to 'RUNNING' to start the stream, and 'PAUSED' to pause the stream.
50
+ :param pulumi.Input[str] desired_state: Desired state of the Stream. Set this field to 'RUNNING' to start the stream, and 'PAUSED' to pause the stream. Possible
51
+ values: NOT_STARTED, RUNNING, PAUSED. Default: NOT_STARTED
51
52
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please
52
53
  refer to the field 'effective_labels' for all of the labels present on the resource.
53
54
  """
@@ -186,7 +187,8 @@ class StreamArgs:
186
187
  @pulumi.getter(name="desiredState")
187
188
  def desired_state(self) -> Optional[pulumi.Input[str]]:
188
189
  """
189
- Desired state of the Stream. Set this field to 'RUNNING' to start the stream, and 'PAUSED' to pause the stream.
190
+ Desired state of the Stream. Set this field to 'RUNNING' to start the stream, and 'PAUSED' to pause the stream. Possible
191
+ values: NOT_STARTED, RUNNING, PAUSED. Default: NOT_STARTED
190
192
  """
191
193
  return pulumi.get(self, "desired_state")
192
194
 
@@ -243,7 +245,8 @@ class _StreamState:
243
245
  :param pulumi.Input[bool] create_without_validation: Create the stream without validating it.
244
246
  :param pulumi.Input[str] customer_managed_encryption_key: A reference to a KMS encryption key. If provided, it will be used to encrypt the data. If left blank, data will be
245
247
  encrypted using an internal Stream-specific encryption key provisioned through KMS.
246
- :param pulumi.Input[str] desired_state: Desired state of the Stream. Set this field to 'RUNNING' to start the stream, and 'PAUSED' to pause the stream.
248
+ :param pulumi.Input[str] desired_state: Desired state of the Stream. Set this field to 'RUNNING' to start the stream, and 'PAUSED' to pause the stream. Possible
249
+ values: NOT_STARTED, RUNNING, PAUSED. Default: NOT_STARTED
247
250
  :param pulumi.Input['StreamDestinationConfigArgs'] destination_config: Destination connection profile configuration.
248
251
  Structure is documented below.
249
252
  :param pulumi.Input[str] display_name: Display name.
@@ -345,7 +348,8 @@ class _StreamState:
345
348
  @pulumi.getter(name="desiredState")
346
349
  def desired_state(self) -> Optional[pulumi.Input[str]]:
347
350
  """
348
- Desired state of the Stream. Set this field to 'RUNNING' to start the stream, and 'PAUSED' to pause the stream.
351
+ Desired state of the Stream. Set this field to 'RUNNING' to start the stream, and 'PAUSED' to pause the stream. Possible
352
+ values: NOT_STARTED, RUNNING, PAUSED. Default: NOT_STARTED
349
353
  """
350
354
  return pulumi.get(self, "desired_state")
351
355
 
@@ -924,6 +928,96 @@ class Stream(pulumi.CustomResource):
924
928
  }],
925
929
  }],
926
930
  },
931
+ "transaction_logs": {},
932
+ },
933
+ },
934
+ destination_config={
935
+ "destination_connection_profile": destination.id,
936
+ "bigquery_destination_config": {
937
+ "data_freshness": "900s",
938
+ "source_hierarchy_datasets": {
939
+ "dataset_template": {
940
+ "location": "us-central1",
941
+ },
942
+ },
943
+ },
944
+ },
945
+ backfill_none={})
946
+ ```
947
+ ### Datastream Stream Sql Server Change Tables
948
+
949
+ ```python
950
+ import pulumi
951
+ import pulumi_gcp as gcp
952
+
953
+ instance = gcp.sql.DatabaseInstance("instance",
954
+ name="sql-server",
955
+ database_version="SQLSERVER_2019_STANDARD",
956
+ region="us-central1",
957
+ root_password="root-password",
958
+ deletion_protection=True,
959
+ settings={
960
+ "tier": "db-custom-2-4096",
961
+ "ip_configuration": {
962
+ "authorized_networks": [
963
+ {
964
+ "value": "34.71.242.81",
965
+ },
966
+ {
967
+ "value": "34.72.28.29",
968
+ },
969
+ {
970
+ "value": "34.67.6.157",
971
+ },
972
+ {
973
+ "value": "34.67.234.134",
974
+ },
975
+ {
976
+ "value": "34.72.239.218",
977
+ },
978
+ ],
979
+ },
980
+ })
981
+ user = gcp.sql.User("user",
982
+ name="user",
983
+ instance=instance.name,
984
+ password="password")
985
+ db = gcp.sql.Database("db",
986
+ name="db",
987
+ instance=instance.name,
988
+ opts = pulumi.ResourceOptions(depends_on=[user]))
989
+ source = gcp.datastream.ConnectionProfile("source",
990
+ display_name="SQL Server Source",
991
+ location="us-central1",
992
+ connection_profile_id="source-profile",
993
+ sql_server_profile={
994
+ "hostname": instance.public_ip_address,
995
+ "port": 1433,
996
+ "username": user.name,
997
+ "password": user.password,
998
+ "database": db.name,
999
+ })
1000
+ destination = gcp.datastream.ConnectionProfile("destination",
1001
+ display_name="BigQuery Destination",
1002
+ location="us-central1",
1003
+ connection_profile_id="destination-profile",
1004
+ bigquery_profile={})
1005
+ default = gcp.datastream.Stream("default",
1006
+ display_name="SQL Server to BigQuery",
1007
+ location="us-central1",
1008
+ stream_id="stream",
1009
+ source_config={
1010
+ "source_connection_profile": source.id,
1011
+ "sql_server_source_config": {
1012
+ "include_objects": {
1013
+ "schemas": [{
1014
+ "schema": "schema",
1015
+ "tables": [{
1016
+ "table": "table",
1017
+ }],
1018
+ }],
1019
+ },
1020
+ "change_tables": {},
927
1021
  },
928
1022
  },
929
1023
  destination_config={
@@ -1234,7 +1328,8 @@ class Stream(pulumi.CustomResource):
1234
1328
  :param pulumi.Input[bool] create_without_validation: Create the stream without validating it.
1235
1329
  :param pulumi.Input[str] customer_managed_encryption_key: A reference to a KMS encryption key. If provided, it will be used to encrypt the data. If left blank, data will be
1236
1330
  encrypted using an internal Stream-specific encryption key provisioned through KMS.
1237
- :param pulumi.Input[str] desired_state: Desired state of the Stream. Set this field to 'RUNNING' to start the stream, and 'PAUSED' to pause the stream.
1331
+ :param pulumi.Input[str] desired_state: Desired state of the Stream. Set this field to 'RUNNING' to start the stream, and 'PAUSED' to pause the stream. Possible
1332
+ values: NOT_STARTED, RUNNING, PAUSED. Default: NOT_STARTED
1238
1333
  :param pulumi.Input[Union['StreamDestinationConfigArgs', 'StreamDestinationConfigArgsDict']] destination_config: Destination connection profile configuration.
1239
1334
  Structure is documented below.
1240
1335
  :param pulumi.Input[str] display_name: Display name.
@@ -1670,6 +1765,96 @@ class Stream(pulumi.CustomResource):
1670
1765
  }],
1671
1766
  }],
1672
1767
  },
1768
+ "transaction_logs": {},
1769
+ },
1770
+ },
1771
+ destination_config={
1772
+ "destination_connection_profile": destination.id,
1773
+ "bigquery_destination_config": {
1774
+ "data_freshness": "900s",
1775
+ "source_hierarchy_datasets": {
1776
+ "dataset_template": {
1777
+ "location": "us-central1",
1778
+ },
1779
+ },
1780
+ },
1781
+ },
1782
+ backfill_none={})
1783
+ ```
1784
+ ### Datastream Stream Sql Server Change Tables
1785
+
1786
+ ```python
1787
+ import pulumi
1788
+ import pulumi_gcp as gcp
1789
+
1790
+ instance = gcp.sql.DatabaseInstance("instance",
1791
+ name="sql-server",
1792
+ database_version="SQLSERVER_2019_STANDARD",
1793
+ region="us-central1",
1794
+ root_password="root-password",
1795
+ deletion_protection=True,
1796
+ settings={
1797
+ "tier": "db-custom-2-4096",
1798
+ "ip_configuration": {
1799
+ "authorized_networks": [
1800
+ {
1801
+ "value": "34.71.242.81",
1802
+ },
1803
+ {
1804
+ "value": "34.72.28.29",
1805
+ },
1806
+ {
1807
+ "value": "34.67.6.157",
1808
+ },
1809
+ {
1810
+ "value": "34.67.234.134",
1811
+ },
1812
+ {
1813
+ "value": "34.72.239.218",
1814
+ },
1815
+ ],
1816
+ },
1817
+ })
1818
+ user = gcp.sql.User("user",
1819
+ name="user",
1820
+ instance=instance.name,
1821
+ password="password")
1822
+ db = gcp.sql.Database("db",
1823
+ name="db",
1824
+ instance=instance.name,
1825
+ opts = pulumi.ResourceOptions(depends_on=[user]))
1826
+ source = gcp.datastream.ConnectionProfile("source",
1827
+ display_name="SQL Server Source",
1828
+ location="us-central1",
1829
+ connection_profile_id="source-profile",
1830
+ sql_server_profile={
1831
+ "hostname": instance.public_ip_address,
1832
+ "port": 1433,
1833
+ "username": user.name,
1834
+ "password": user.password,
1835
+ "database": db.name,
1836
+ })
1837
+ destination = gcp.datastream.ConnectionProfile("destination",
1838
+ display_name="BigQuery Destination",
1839
+ location="us-central1",
1840
+ connection_profile_id="destination-profile",
1841
+ bigquery_profile={})
1842
+ default = gcp.datastream.Stream("default",
1843
+ display_name="SQL Server to BigQuery",
1844
+ location="us-central1",
1845
+ stream_id="stream",
1846
+ source_config={
1847
+ "source_connection_profile": source.id,
1848
+ "sql_server_source_config": {
1849
+ "include_objects": {
1850
+ "schemas": [{
1851
+ "schema": "schema",
1852
+ "tables": [{
1853
+ "table": "table",
1854
+ }],
1855
+ }],
1856
+ },
1857
+ "change_tables": {},
1673
1858
  },
1674
1859
  },
1675
1860
  destination_config={
@@ -2075,7 +2260,8 @@ class Stream(pulumi.CustomResource):
2075
2260
  :param pulumi.Input[bool] create_without_validation: Create the stream without validating it.
2076
2261
  :param pulumi.Input[str] customer_managed_encryption_key: A reference to a KMS encryption key. If provided, it will be used to encrypt the data. If left blank, data will be
2077
2262
  encrypted using an internal Stream-specific encryption key provisioned through KMS.
2078
- :param pulumi.Input[str] desired_state: Desired state of the Stream. Set this field to 'RUNNING' to start the stream, and 'PAUSED' to pause the stream.
2263
+ :param pulumi.Input[str] desired_state: Desired state of the Stream. Set this field to 'RUNNING' to start the stream, and 'PAUSED' to pause the stream. Possible
2264
+ values: NOT_STARTED, RUNNING, PAUSED. Default: NOT_STARTED
2079
2265
  :param pulumi.Input[Union['StreamDestinationConfigArgs', 'StreamDestinationConfigArgsDict']] destination_config: Destination connection profile configuration.
2080
2266
  Structure is documented below.
2081
2267
  :param pulumi.Input[str] display_name: Display name.
@@ -2150,7 +2336,8 @@ class Stream(pulumi.CustomResource):
2150
2336
  @pulumi.getter(name="desiredState")
2151
2337
  def desired_state(self) -> pulumi.Output[Optional[str]]:
2152
2338
  """
2153
- Desired state of the Stream. Set this field to 'RUNNING' to start the stream, and 'PAUSED' to pause the stream.
2339
+ Desired state of the Stream. Set this field to 'RUNNING' to start the stream, and 'PAUSED' to pause the stream. Possible
2340
+ values: NOT_STARTED, RUNNING, PAUSED. Default: NOT_STARTED
2154
2341
  """
2155
2342
  return pulumi.get(self, "desired_state")
2156
2343
 
@@ -25,16 +25,24 @@ __all__ = [
25
25
  'ChatEngineCommonConfigArgsDict',
26
26
  'DataStoreDocumentProcessingConfigArgs',
27
27
  'DataStoreDocumentProcessingConfigArgsDict',
28
+ 'DataStoreDocumentProcessingConfigChunkingConfigArgs',
29
+ 'DataStoreDocumentProcessingConfigChunkingConfigArgsDict',
30
+ 'DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgs',
31
+ 'DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgsDict',
28
32
  'DataStoreDocumentProcessingConfigDefaultParsingConfigArgs',
29
33
  'DataStoreDocumentProcessingConfigDefaultParsingConfigArgsDict',
30
34
  'DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigArgs',
31
35
  'DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigArgsDict',
36
+ 'DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigArgs',
37
+ 'DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigArgsDict',
32
38
  'DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs',
33
39
  'DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgsDict',
34
40
  'DataStoreDocumentProcessingConfigParsingConfigOverrideArgs',
35
41
  'DataStoreDocumentProcessingConfigParsingConfigOverrideArgsDict',
36
42
  'DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigArgs',
37
43
  'DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigArgsDict',
44
+ 'DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigArgs',
45
+ 'DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigArgsDict',
38
46
  'DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs',
39
47
  'DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgsDict',
40
48
  'SearchEngineCommonConfigArgs',
@@ -244,6 +252,11 @@ class ChatEngineCommonConfigArgs:
244
252
 
245
253
  if not MYPY:
246
254
  class DataStoreDocumentProcessingConfigArgsDict(TypedDict):
255
+ chunking_config: NotRequired[pulumi.Input['DataStoreDocumentProcessingConfigChunkingConfigArgsDict']]
256
+ """
257
+ Whether chunking mode is enabled.
258
+ Structure is documented below.
259
+ """
247
260
  default_parsing_config: NotRequired[pulumi.Input['DataStoreDocumentProcessingConfigDefaultParsingConfigArgsDict']]
248
261
  """
249
262
  Configurations for default Document parser. If not specified, this resource
@@ -267,10 +280,13 @@ elif False:
267
280
  @pulumi.input_type
268
281
  class DataStoreDocumentProcessingConfigArgs:
269
282
  def __init__(__self__, *,
283
+ chunking_config: Optional[pulumi.Input['DataStoreDocumentProcessingConfigChunkingConfigArgs']] = None,
270
284
  default_parsing_config: Optional[pulumi.Input['DataStoreDocumentProcessingConfigDefaultParsingConfigArgs']] = None,
271
285
  name: Optional[pulumi.Input[str]] = None,
272
286
  parsing_config_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['DataStoreDocumentProcessingConfigParsingConfigOverrideArgs']]]] = None):
273
287
  """
288
+ :param pulumi.Input['DataStoreDocumentProcessingConfigChunkingConfigArgs'] chunking_config: Whether chunking mode is enabled.
289
+ Structure is documented below.
274
290
  :param pulumi.Input['DataStoreDocumentProcessingConfigDefaultParsingConfigArgs'] default_parsing_config: Configurations for default Document parser. If not specified, this resource
275
291
  will be configured to use a default DigitalParsingConfig, and the default parsing
276
292
  config will be applied to all file types for Document parsing.
@@ -280,6 +296,8 @@ class DataStoreDocumentProcessingConfigArgs:
280
296
  `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/documentProcessingConfig`.
281
297
  :param pulumi.Input[Sequence[pulumi.Input['DataStoreDocumentProcessingConfigParsingConfigOverrideArgs']]] parsing_config_overrides: Map from file type to override the default parsing configuration based on the file type. Supported keys:
282
298
  """
299
+ if chunking_config is not None:
300
+ pulumi.set(__self__, "chunking_config", chunking_config)
283
301
  if default_parsing_config is not None:
284
302
  pulumi.set(__self__, "default_parsing_config", default_parsing_config)
285
303
  if name is not None:
@@ -287,6 +305,19 @@ class DataStoreDocumentProcessingConfigArgs:
287
305
  if parsing_config_overrides is not None:
288
306
  pulumi.set(__self__, "parsing_config_overrides", parsing_config_overrides)
289
307
 
308
+ @property
309
+ @pulumi.getter(name="chunkingConfig")
310
+ def chunking_config(self) -> Optional[pulumi.Input['DataStoreDocumentProcessingConfigChunkingConfigArgs']]:
311
+ """
312
+ Whether chunking mode is enabled.
313
+ Structure is documented below.
314
+ """
315
+ return pulumi.get(self, "chunking_config")
316
+
317
+ @chunking_config.setter
318
+ def chunking_config(self, value: Optional[pulumi.Input['DataStoreDocumentProcessingConfigChunkingConfigArgs']]):
319
+ pulumi.set(self, "chunking_config", value)
320
+
290
321
  @property
291
322
  @pulumi.getter(name="defaultParsingConfig")
292
323
  def default_parsing_config(self) -> Optional[pulumi.Input['DataStoreDocumentProcessingConfigDefaultParsingConfigArgs']]:
@@ -329,12 +360,109 @@ class DataStoreDocumentProcessingConfigArgs:
329
360
  pulumi.set(self, "parsing_config_overrides", value)
330
361
 
331
362
 
363
+ if not MYPY:
364
+ class DataStoreDocumentProcessingConfigChunkingConfigArgsDict(TypedDict):
365
+ layout_based_chunking_config: NotRequired[pulumi.Input['DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgsDict']]
366
+ """
367
+ Configuration for the layout based chunking.
368
+ Structure is documented below.
369
+ """
370
+ elif False:
371
+ DataStoreDocumentProcessingConfigChunkingConfigArgsDict: TypeAlias = Mapping[str, Any]
372
+
373
+ @pulumi.input_type
374
+ class DataStoreDocumentProcessingConfigChunkingConfigArgs:
375
+ def __init__(__self__, *,
376
+ layout_based_chunking_config: Optional[pulumi.Input['DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgs']] = None):
377
+ """
378
+ :param pulumi.Input['DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgs'] layout_based_chunking_config: Configuration for the layout based chunking.
379
+ Structure is documented below.
380
+ """
381
+ if layout_based_chunking_config is not None:
382
+ pulumi.set(__self__, "layout_based_chunking_config", layout_based_chunking_config)
383
+
384
+ @property
385
+ @pulumi.getter(name="layoutBasedChunkingConfig")
386
+ def layout_based_chunking_config(self) -> Optional[pulumi.Input['DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgs']]:
387
+ """
388
+ Configuration for the layout based chunking.
389
+ Structure is documented below.
390
+ """
391
+ return pulumi.get(self, "layout_based_chunking_config")
392
+
393
+ @layout_based_chunking_config.setter
394
+ def layout_based_chunking_config(self, value: Optional[pulumi.Input['DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgs']]):
395
+ pulumi.set(self, "layout_based_chunking_config", value)
396
+
397
+
398
+ if not MYPY:
399
+ class DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgsDict(TypedDict):
400
+ chunk_size: NotRequired[pulumi.Input[int]]
401
+ """
402
+ The token size limit for each chunk.
403
+ Supported values: 100-500 (inclusive). Default value: 500.
404
+ """
405
+ include_ancestor_headings: NotRequired[pulumi.Input[bool]]
406
+ """
407
+ Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss.
408
+ Default value: False.
409
+ """
410
+ elif False:
411
+ DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgsDict: TypeAlias = Mapping[str, Any]
412
+
413
+ @pulumi.input_type
414
+ class DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgs:
415
+ def __init__(__self__, *,
416
+ chunk_size: Optional[pulumi.Input[int]] = None,
417
+ include_ancestor_headings: Optional[pulumi.Input[bool]] = None):
418
+ """
419
+ :param pulumi.Input[int] chunk_size: The token size limit for each chunk.
420
+ Supported values: 100-500 (inclusive). Default value: 500.
421
+ :param pulumi.Input[bool] include_ancestor_headings: Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss.
422
+ Default value: False.
423
+ """
424
+ if chunk_size is not None:
425
+ pulumi.set(__self__, "chunk_size", chunk_size)
426
+ if include_ancestor_headings is not None:
427
+ pulumi.set(__self__, "include_ancestor_headings", include_ancestor_headings)
428
+
429
+ @property
430
+ @pulumi.getter(name="chunkSize")
431
+ def chunk_size(self) -> Optional[pulumi.Input[int]]:
432
+ """
433
+ The token size limit for each chunk.
434
+ Supported values: 100-500 (inclusive). Default value: 500.
435
+ """
436
+ return pulumi.get(self, "chunk_size")
437
+
438
+ @chunk_size.setter
439
+ def chunk_size(self, value: Optional[pulumi.Input[int]]):
440
+ pulumi.set(self, "chunk_size", value)
441
+
442
+ @property
443
+ @pulumi.getter(name="includeAncestorHeadings")
444
+ def include_ancestor_headings(self) -> Optional[pulumi.Input[bool]]:
445
+ """
446
+ Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss.
447
+ Default value: False.
448
+ """
449
+ return pulumi.get(self, "include_ancestor_headings")
450
+
451
+ @include_ancestor_headings.setter
452
+ def include_ancestor_headings(self, value: Optional[pulumi.Input[bool]]):
453
+ pulumi.set(self, "include_ancestor_headings", value)
454
+
455
+
332
456
  if not MYPY:
333
457
  class DataStoreDocumentProcessingConfigDefaultParsingConfigArgsDict(TypedDict):
334
458
  digital_parsing_config: NotRequired[pulumi.Input['DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigArgsDict']]
335
459
  """
336
460
  Configurations applied to digital parser.
337
461
  """
462
+ layout_parsing_config: NotRequired[pulumi.Input['DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigArgsDict']]
463
+ """
464
+ Configurations applied to layout parser.
465
+ """
338
466
  ocr_parsing_config: NotRequired[pulumi.Input['DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgsDict']]
339
467
  """
340
468
  Configurations applied to OCR parser. Currently it only applies to PDFs.
@@ -347,14 +475,18 @@ elif False:
347
475
  class DataStoreDocumentProcessingConfigDefaultParsingConfigArgs:
348
476
  def __init__(__self__, *,
349
477
  digital_parsing_config: Optional[pulumi.Input['DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigArgs']] = None,
478
+ layout_parsing_config: Optional[pulumi.Input['DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigArgs']] = None,
350
479
  ocr_parsing_config: Optional[pulumi.Input['DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs']] = None):
351
480
  """
352
481
  :param pulumi.Input['DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigArgs'] digital_parsing_config: Configurations applied to digital parser.
482
+ :param pulumi.Input['DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigArgs'] layout_parsing_config: Configurations applied to layout parser.
353
483
  :param pulumi.Input['DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs'] ocr_parsing_config: Configurations applied to OCR parser. Currently it only applies to PDFs.
354
484
  Structure is documented below.
355
485
  """
356
486
  if digital_parsing_config is not None:
357
487
  pulumi.set(__self__, "digital_parsing_config", digital_parsing_config)
488
+ if layout_parsing_config is not None:
489
+ pulumi.set(__self__, "layout_parsing_config", layout_parsing_config)
358
490
  if ocr_parsing_config is not None:
359
491
  pulumi.set(__self__, "ocr_parsing_config", ocr_parsing_config)
360
492
 
@@ -370,6 +502,18 @@ class DataStoreDocumentProcessingConfigDefaultParsingConfigArgs:
370
502
  def digital_parsing_config(self, value: Optional[pulumi.Input['DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigArgs']]):
371
503
  pulumi.set(self, "digital_parsing_config", value)
372
504
 
505
+ @property
506
+ @pulumi.getter(name="layoutParsingConfig")
507
+ def layout_parsing_config(self) -> Optional[pulumi.Input['DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigArgs']]:
508
+ """
509
+ Configurations applied to layout parser.
510
+ """
511
+ return pulumi.get(self, "layout_parsing_config")
512
+
513
+ @layout_parsing_config.setter
514
+ def layout_parsing_config(self, value: Optional[pulumi.Input['DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigArgs']]):
515
+ pulumi.set(self, "layout_parsing_config", value)
516
+
373
517
  @property
374
518
  @pulumi.getter(name="ocrParsingConfig")
375
519
  def ocr_parsing_config(self) -> Optional[pulumi.Input['DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs']]:
@@ -396,6 +540,18 @@ class DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigA
396
540
  pass
397
541
 
398
542
 
543
+ if not MYPY:
544
+ class DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigArgsDict(TypedDict):
545
+ pass
546
+ elif False:
547
+ DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigArgsDict: TypeAlias = Mapping[str, Any]
548
+
549
+ @pulumi.input_type
550
+ class DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigArgs:
551
+ def __init__(__self__):
552
+ pass
553
+
554
+
399
555
  if not MYPY:
400
556
  class DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgsDict(TypedDict):
401
557
  use_native_text: NotRequired[pulumi.Input[bool]]
@@ -438,6 +594,10 @@ if not MYPY:
438
594
  """
439
595
  Configurations applied to digital parser.
440
596
  """
597
+ layout_parsing_config: NotRequired[pulumi.Input['DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigArgsDict']]
598
+ """
599
+ Configurations applied to layout parser.
600
+ """
441
601
  ocr_parsing_config: NotRequired[pulumi.Input['DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgsDict']]
442
602
  """
443
603
  Configurations applied to OCR parser. Currently it only applies to PDFs.
@@ -451,16 +611,20 @@ class DataStoreDocumentProcessingConfigParsingConfigOverrideArgs:
451
611
  def __init__(__self__, *,
452
612
  file_type: pulumi.Input[str],
453
613
  digital_parsing_config: Optional[pulumi.Input['DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigArgs']] = None,
614
+ layout_parsing_config: Optional[pulumi.Input['DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigArgs']] = None,
454
615
  ocr_parsing_config: Optional[pulumi.Input['DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs']] = None):
455
616
  """
456
617
  :param pulumi.Input[str] file_type: The identifier for this object. Format specified above.
457
618
  :param pulumi.Input['DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigArgs'] digital_parsing_config: Configurations applied to digital parser.
619
+ :param pulumi.Input['DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigArgs'] layout_parsing_config: Configurations applied to layout parser.
458
620
  :param pulumi.Input['DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs'] ocr_parsing_config: Configurations applied to OCR parser. Currently it only applies to PDFs.
459
621
  Structure is documented below.
460
622
  """
461
623
  pulumi.set(__self__, "file_type", file_type)
462
624
  if digital_parsing_config is not None:
463
625
  pulumi.set(__self__, "digital_parsing_config", digital_parsing_config)
626
+ if layout_parsing_config is not None:
627
+ pulumi.set(__self__, "layout_parsing_config", layout_parsing_config)
464
628
  if ocr_parsing_config is not None:
465
629
  pulumi.set(__self__, "ocr_parsing_config", ocr_parsing_config)
466
630
 
@@ -488,6 +652,18 @@ class DataStoreDocumentProcessingConfigParsingConfigOverrideArgs:
488
652
  def digital_parsing_config(self, value: Optional[pulumi.Input['DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigArgs']]):
489
653
  pulumi.set(self, "digital_parsing_config", value)
490
654
 
655
+ @property
656
+ @pulumi.getter(name="layoutParsingConfig")
657
+ def layout_parsing_config(self) -> Optional[pulumi.Input['DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigArgs']]:
658
+ """
659
+ Configurations applied to layout parser.
660
+ """
661
+ return pulumi.get(self, "layout_parsing_config")
662
+
663
+ @layout_parsing_config.setter
664
+ def layout_parsing_config(self, value: Optional[pulumi.Input['DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigArgs']]):
665
+ pulumi.set(self, "layout_parsing_config", value)
666
+
491
667
  @property
492
668
  @pulumi.getter(name="ocrParsingConfig")
493
669
  def ocr_parsing_config(self) -> Optional[pulumi.Input['DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs']]:
@@ -514,6 +690,18 @@ class DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfig
514
690
  pass
515
691
 
516
692
 
693
+ if not MYPY:
694
+ class DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigArgsDict(TypedDict):
695
+ pass
696
+ elif False:
697
+ DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigArgsDict: TypeAlias = Mapping[str, Any]
698
+
699
+ @pulumi.input_type
700
+ class DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigArgs:
701
+ def __init__(__self__):
702
+ pass
703
+
704
+
517
705
  if not MYPY:
518
706
  class DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgsDict(TypedDict):
519
707
  use_native_text: NotRequired[pulumi.Input[bool]]