pulumi-gcp 8.1.0__py3-none-any.whl → 8.1.0a1726293903__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.
- pulumi_gcp/__init__.py +0 -24
- pulumi_gcp/alloydb/_inputs.py +0 -94
- pulumi_gcp/alloydb/cluster.py +1 -94
- pulumi_gcp/alloydb/outputs.py +0 -79
- pulumi_gcp/assuredworkloads/workload.py +16 -135
- pulumi_gcp/backupdisasterrecovery/__init__.py +0 -1
- pulumi_gcp/bigquery/_inputs.py +0 -33
- pulumi_gcp/bigquery/data_transfer_config.py +6 -134
- pulumi_gcp/bigquery/outputs.py +0 -36
- pulumi_gcp/bigqueryanalyticshub/_inputs.py +7 -169
- pulumi_gcp/bigqueryanalyticshub/data_exchange.py +3 -96
- pulumi_gcp/bigqueryanalyticshub/listing.py +0 -114
- pulumi_gcp/bigqueryanalyticshub/outputs.py +5 -138
- pulumi_gcp/bigtable/_inputs.py +1 -21
- pulumi_gcp/bigtable/outputs.py +1 -13
- pulumi_gcp/bigtable/table.py +0 -34
- pulumi_gcp/certificateauthority/authority.py +7 -14
- pulumi_gcp/certificatemanager/__init__.py +0 -1
- pulumi_gcp/certificatemanager/certificate.py +0 -28
- pulumi_gcp/certificatemanager/outputs.py +0 -322
- pulumi_gcp/cloudbuild/_inputs.py +6 -6
- pulumi_gcp/cloudbuild/outputs.py +4 -4
- pulumi_gcp/cloudrun/_inputs.py +12 -6
- pulumi_gcp/cloudrun/outputs.py +16 -8
- pulumi_gcp/cloudrunv2/_inputs.py +15 -72
- pulumi_gcp/cloudrunv2/outputs.py +16 -82
- pulumi_gcp/cloudrunv2/service.py +4 -50
- pulumi_gcp/cloudtasks/_inputs.py +0 -630
- pulumi_gcp/cloudtasks/outputs.py +0 -479
- pulumi_gcp/cloudtasks/queue.py +0 -238
- pulumi_gcp/compute/_inputs.py +9 -129
- pulumi_gcp/compute/get_instance.py +1 -1
- pulumi_gcp/compute/health_check.py +0 -114
- pulumi_gcp/compute/instance.py +4 -86
- pulumi_gcp/compute/instance_template.py +0 -66
- pulumi_gcp/compute/interconnect.py +21 -28
- pulumi_gcp/compute/node_template.py +0 -93
- pulumi_gcp/compute/outputs.py +6 -108
- pulumi_gcp/compute/target_https_proxy.py +0 -28
- pulumi_gcp/container/_inputs.py +3 -140
- pulumi_gcp/container/attached_cluster.py +7 -7
- pulumi_gcp/container/outputs.py +2 -174
- pulumi_gcp/databasemigrationservice/_inputs.py +148 -176
- pulumi_gcp/databasemigrationservice/connection_profile.py +0 -206
- pulumi_gcp/databasemigrationservice/outputs.py +87 -109
- pulumi_gcp/dataloss/_inputs.py +1 -353
- pulumi_gcp/dataloss/outputs.py +3 -274
- pulumi_gcp/dataproc/_inputs.py +27 -27
- pulumi_gcp/dataproc/outputs.py +18 -18
- pulumi_gcp/datastream/_inputs.py +1 -69
- pulumi_gcp/datastream/outputs.py +2 -44
- pulumi_gcp/datastream/stream.py +7 -194
- pulumi_gcp/discoveryengine/_inputs.py +0 -188
- pulumi_gcp/discoveryengine/data_store.py +14 -14
- pulumi_gcp/discoveryengine/outputs.py +1 -153
- pulumi_gcp/firebase/database_instance.py +7 -7
- pulumi_gcp/gkehub/_inputs.py +1 -25
- pulumi_gcp/gkehub/feature_membership.py +6 -12
- pulumi_gcp/gkehub/outputs.py +1 -17
- pulumi_gcp/iam/_inputs.py +0 -196
- pulumi_gcp/iam/get_workload_identity_pool_provider.py +3 -13
- pulumi_gcp/iam/outputs.py +0 -295
- pulumi_gcp/iam/workload_identity_pool_provider.py +3 -164
- pulumi_gcp/kms/__init__.py +0 -2
- pulumi_gcp/kms/autokey_config.py +2 -10
- pulumi_gcp/kms/outputs.py +0 -164
- pulumi_gcp/netapp/active_directory.py +6 -6
- pulumi_gcp/netapp/backup.py +6 -6
- pulumi_gcp/netapp/backup_policy.py +6 -6
- pulumi_gcp/netapp/backup_vault.py +6 -6
- pulumi_gcp/netapp/storage_pool.py +4 -4
- pulumi_gcp/netapp/volume.py +0 -7
- pulumi_gcp/networkconnectivity/_inputs.py +1 -21
- pulumi_gcp/networkconnectivity/outputs.py +1 -15
- pulumi_gcp/networkconnectivity/spoke.py +0 -8
- pulumi_gcp/networksecurity/client_tls_policy.py +22 -24
- pulumi_gcp/networksecurity/server_tls_policy.py +32 -20
- pulumi_gcp/organizations/get_project.py +3 -13
- pulumi_gcp/organizations/project.py +3 -88
- pulumi_gcp/parallelstore/instance.py +121 -121
- pulumi_gcp/projects/iam_member_remove.py +0 -26
- pulumi_gcp/projects/usage_export_bucket.py +0 -38
- pulumi_gcp/pubsub/_inputs.py +0 -40
- pulumi_gcp/pubsub/outputs.py +1 -51
- pulumi_gcp/pubsub/subscription.py +0 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +0 -419
- pulumi_gcp/redis/cluster.py +0 -123
- pulumi_gcp/redis/outputs.py +0 -315
- pulumi_gcp/securitycenter/__init__.py +0 -2
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +4 -4
- {pulumi_gcp-8.1.0.dist-info → pulumi_gcp-8.1.0a1726293903.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.1.0.dist-info → pulumi_gcp-8.1.0a1726293903.dist-info}/RECORD +95 -101
- {pulumi_gcp-8.1.0.dist-info → pulumi_gcp-8.1.0a1726293903.dist-info}/WHEEL +1 -1
- pulumi_gcp/backupdisasterrecovery/backup_vault.py +0 -1203
- pulumi_gcp/certificatemanager/get_certificates.py +0 -150
- pulumi_gcp/kms/get_crypto_key_latest_version.py +0 -222
- pulumi_gcp/kms/get_crypto_key_versions.py +0 -175
- pulumi_gcp/securitycenter/v2_folder_scc_big_query_export.py +0 -857
- pulumi_gcp/securitycenter/v2_project_scc_big_query_export.py +0 -796
- {pulumi_gcp-8.1.0.dist-info → pulumi_gcp-8.1.0a1726293903.dist-info}/top_level.txt +0 -0
pulumi_gcp/datastream/stream.py
CHANGED
@@ -47,8 +47,7 @@ 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.
|
51
|
-
values: NOT_STARTED, RUNNING, PAUSED. Default: NOT_STARTED
|
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.
|
52
51
|
: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
|
53
52
|
refer to the field 'effective_labels' for all of the labels present on the resource.
|
54
53
|
"""
|
@@ -187,8 +186,7 @@ class StreamArgs:
|
|
187
186
|
@pulumi.getter(name="desiredState")
|
188
187
|
def desired_state(self) -> Optional[pulumi.Input[str]]:
|
189
188
|
"""
|
190
|
-
Desired state of the Stream. Set this field to 'RUNNING' to start the stream, and 'PAUSED' to pause the stream.
|
191
|
-
values: NOT_STARTED, RUNNING, PAUSED. Default: NOT_STARTED
|
189
|
+
Desired state of the Stream. Set this field to 'RUNNING' to start the stream, and 'PAUSED' to pause the stream.
|
192
190
|
"""
|
193
191
|
return pulumi.get(self, "desired_state")
|
194
192
|
|
@@ -245,8 +243,7 @@ class _StreamState:
|
|
245
243
|
:param pulumi.Input[bool] create_without_validation: Create the stream without validating it.
|
246
244
|
: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
|
247
245
|
encrypted using an internal Stream-specific encryption key provisioned through KMS.
|
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.
|
249
|
-
values: NOT_STARTED, RUNNING, PAUSED. Default: NOT_STARTED
|
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.
|
250
247
|
:param pulumi.Input['StreamDestinationConfigArgs'] destination_config: Destination connection profile configuration.
|
251
248
|
Structure is documented below.
|
252
249
|
:param pulumi.Input[str] display_name: Display name.
|
@@ -348,8 +345,7 @@ class _StreamState:
|
|
348
345
|
@pulumi.getter(name="desiredState")
|
349
346
|
def desired_state(self) -> Optional[pulumi.Input[str]]:
|
350
347
|
"""
|
351
|
-
Desired state of the Stream. Set this field to 'RUNNING' to start the stream, and 'PAUSED' to pause the stream.
|
352
|
-
values: NOT_STARTED, RUNNING, PAUSED. Default: NOT_STARTED
|
348
|
+
Desired state of the Stream. Set this field to 'RUNNING' to start the stream, and 'PAUSED' to pause the stream.
|
353
349
|
"""
|
354
350
|
return pulumi.get(self, "desired_state")
|
355
351
|
|
@@ -928,96 +924,6 @@ class Stream(pulumi.CustomResource):
|
|
928
924
|
}],
|
929
925
|
}],
|
930
926
|
},
|
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": {},
|
1021
927
|
},
|
1022
928
|
},
|
1023
929
|
destination_config={
|
@@ -1328,8 +1234,7 @@ class Stream(pulumi.CustomResource):
|
|
1328
1234
|
:param pulumi.Input[bool] create_without_validation: Create the stream without validating it.
|
1329
1235
|
: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
|
1330
1236
|
encrypted using an internal Stream-specific encryption key provisioned through KMS.
|
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.
|
1332
|
-
values: NOT_STARTED, RUNNING, PAUSED. Default: NOT_STARTED
|
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.
|
1333
1238
|
:param pulumi.Input[Union['StreamDestinationConfigArgs', 'StreamDestinationConfigArgsDict']] destination_config: Destination connection profile configuration.
|
1334
1239
|
Structure is documented below.
|
1335
1240
|
:param pulumi.Input[str] display_name: Display name.
|
@@ -1765,96 +1670,6 @@ class Stream(pulumi.CustomResource):
|
|
1765
1670
|
}],
|
1766
1671
|
}],
|
1767
1672
|
},
|
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": {},
|
1858
1673
|
},
|
1859
1674
|
},
|
1860
1675
|
destination_config={
|
@@ -2260,8 +2075,7 @@ class Stream(pulumi.CustomResource):
|
|
2260
2075
|
:param pulumi.Input[bool] create_without_validation: Create the stream without validating it.
|
2261
2076
|
: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
|
2262
2077
|
encrypted using an internal Stream-specific encryption key provisioned through KMS.
|
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.
|
2264
|
-
values: NOT_STARTED, RUNNING, PAUSED. Default: NOT_STARTED
|
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.
|
2265
2079
|
:param pulumi.Input[Union['StreamDestinationConfigArgs', 'StreamDestinationConfigArgsDict']] destination_config: Destination connection profile configuration.
|
2266
2080
|
Structure is documented below.
|
2267
2081
|
:param pulumi.Input[str] display_name: Display name.
|
@@ -2336,8 +2150,7 @@ class Stream(pulumi.CustomResource):
|
|
2336
2150
|
@pulumi.getter(name="desiredState")
|
2337
2151
|
def desired_state(self) -> pulumi.Output[Optional[str]]:
|
2338
2152
|
"""
|
2339
|
-
Desired state of the Stream. Set this field to 'RUNNING' to start the stream, and 'PAUSED' to pause the stream.
|
2340
|
-
values: NOT_STARTED, RUNNING, PAUSED. Default: NOT_STARTED
|
2153
|
+
Desired state of the Stream. Set this field to 'RUNNING' to start the stream, and 'PAUSED' to pause the stream.
|
2341
2154
|
"""
|
2342
2155
|
return pulumi.get(self, "desired_state")
|
2343
2156
|
|
@@ -25,24 +25,16 @@ __all__ = [
|
|
25
25
|
'ChatEngineCommonConfigArgsDict',
|
26
26
|
'DataStoreDocumentProcessingConfigArgs',
|
27
27
|
'DataStoreDocumentProcessingConfigArgsDict',
|
28
|
-
'DataStoreDocumentProcessingConfigChunkingConfigArgs',
|
29
|
-
'DataStoreDocumentProcessingConfigChunkingConfigArgsDict',
|
30
|
-
'DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgs',
|
31
|
-
'DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgsDict',
|
32
28
|
'DataStoreDocumentProcessingConfigDefaultParsingConfigArgs',
|
33
29
|
'DataStoreDocumentProcessingConfigDefaultParsingConfigArgsDict',
|
34
30
|
'DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigArgs',
|
35
31
|
'DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigArgsDict',
|
36
|
-
'DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigArgs',
|
37
|
-
'DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigArgsDict',
|
38
32
|
'DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs',
|
39
33
|
'DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgsDict',
|
40
34
|
'DataStoreDocumentProcessingConfigParsingConfigOverrideArgs',
|
41
35
|
'DataStoreDocumentProcessingConfigParsingConfigOverrideArgsDict',
|
42
36
|
'DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigArgs',
|
43
37
|
'DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigArgsDict',
|
44
|
-
'DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigArgs',
|
45
|
-
'DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigArgsDict',
|
46
38
|
'DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs',
|
47
39
|
'DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgsDict',
|
48
40
|
'SearchEngineCommonConfigArgs',
|
@@ -252,11 +244,6 @@ class ChatEngineCommonConfigArgs:
|
|
252
244
|
|
253
245
|
if not MYPY:
|
254
246
|
class DataStoreDocumentProcessingConfigArgsDict(TypedDict):
|
255
|
-
chunking_config: NotRequired[pulumi.Input['DataStoreDocumentProcessingConfigChunkingConfigArgsDict']]
|
256
|
-
"""
|
257
|
-
Whether chunking mode is enabled.
|
258
|
-
Structure is documented below.
|
259
|
-
"""
|
260
247
|
default_parsing_config: NotRequired[pulumi.Input['DataStoreDocumentProcessingConfigDefaultParsingConfigArgsDict']]
|
261
248
|
"""
|
262
249
|
Configurations for default Document parser. If not specified, this resource
|
@@ -280,13 +267,10 @@ elif False:
|
|
280
267
|
@pulumi.input_type
|
281
268
|
class DataStoreDocumentProcessingConfigArgs:
|
282
269
|
def __init__(__self__, *,
|
283
|
-
chunking_config: Optional[pulumi.Input['DataStoreDocumentProcessingConfigChunkingConfigArgs']] = None,
|
284
270
|
default_parsing_config: Optional[pulumi.Input['DataStoreDocumentProcessingConfigDefaultParsingConfigArgs']] = None,
|
285
271
|
name: Optional[pulumi.Input[str]] = None,
|
286
272
|
parsing_config_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['DataStoreDocumentProcessingConfigParsingConfigOverrideArgs']]]] = None):
|
287
273
|
"""
|
288
|
-
:param pulumi.Input['DataStoreDocumentProcessingConfigChunkingConfigArgs'] chunking_config: Whether chunking mode is enabled.
|
289
|
-
Structure is documented below.
|
290
274
|
:param pulumi.Input['DataStoreDocumentProcessingConfigDefaultParsingConfigArgs'] default_parsing_config: Configurations for default Document parser. If not specified, this resource
|
291
275
|
will be configured to use a default DigitalParsingConfig, and the default parsing
|
292
276
|
config will be applied to all file types for Document parsing.
|
@@ -296,8 +280,6 @@ class DataStoreDocumentProcessingConfigArgs:
|
|
296
280
|
`projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/documentProcessingConfig`.
|
297
281
|
: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:
|
298
282
|
"""
|
299
|
-
if chunking_config is not None:
|
300
|
-
pulumi.set(__self__, "chunking_config", chunking_config)
|
301
283
|
if default_parsing_config is not None:
|
302
284
|
pulumi.set(__self__, "default_parsing_config", default_parsing_config)
|
303
285
|
if name is not None:
|
@@ -305,19 +287,6 @@ class DataStoreDocumentProcessingConfigArgs:
|
|
305
287
|
if parsing_config_overrides is not None:
|
306
288
|
pulumi.set(__self__, "parsing_config_overrides", parsing_config_overrides)
|
307
289
|
|
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
|
-
|
321
290
|
@property
|
322
291
|
@pulumi.getter(name="defaultParsingConfig")
|
323
292
|
def default_parsing_config(self) -> Optional[pulumi.Input['DataStoreDocumentProcessingConfigDefaultParsingConfigArgs']]:
|
@@ -360,109 +329,12 @@ class DataStoreDocumentProcessingConfigArgs:
|
|
360
329
|
pulumi.set(self, "parsing_config_overrides", value)
|
361
330
|
|
362
331
|
|
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
|
-
|
456
332
|
if not MYPY:
|
457
333
|
class DataStoreDocumentProcessingConfigDefaultParsingConfigArgsDict(TypedDict):
|
458
334
|
digital_parsing_config: NotRequired[pulumi.Input['DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigArgsDict']]
|
459
335
|
"""
|
460
336
|
Configurations applied to digital parser.
|
461
337
|
"""
|
462
|
-
layout_parsing_config: NotRequired[pulumi.Input['DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigArgsDict']]
|
463
|
-
"""
|
464
|
-
Configurations applied to layout parser.
|
465
|
-
"""
|
466
338
|
ocr_parsing_config: NotRequired[pulumi.Input['DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgsDict']]
|
467
339
|
"""
|
468
340
|
Configurations applied to OCR parser. Currently it only applies to PDFs.
|
@@ -475,18 +347,14 @@ elif False:
|
|
475
347
|
class DataStoreDocumentProcessingConfigDefaultParsingConfigArgs:
|
476
348
|
def __init__(__self__, *,
|
477
349
|
digital_parsing_config: Optional[pulumi.Input['DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigArgs']] = None,
|
478
|
-
layout_parsing_config: Optional[pulumi.Input['DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigArgs']] = None,
|
479
350
|
ocr_parsing_config: Optional[pulumi.Input['DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs']] = None):
|
480
351
|
"""
|
481
352
|
: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.
|
483
353
|
:param pulumi.Input['DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs'] ocr_parsing_config: Configurations applied to OCR parser. Currently it only applies to PDFs.
|
484
354
|
Structure is documented below.
|
485
355
|
"""
|
486
356
|
if digital_parsing_config is not None:
|
487
357
|
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)
|
490
358
|
if ocr_parsing_config is not None:
|
491
359
|
pulumi.set(__self__, "ocr_parsing_config", ocr_parsing_config)
|
492
360
|
|
@@ -502,18 +370,6 @@ class DataStoreDocumentProcessingConfigDefaultParsingConfigArgs:
|
|
502
370
|
def digital_parsing_config(self, value: Optional[pulumi.Input['DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigArgs']]):
|
503
371
|
pulumi.set(self, "digital_parsing_config", value)
|
504
372
|
|
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
|
-
|
517
373
|
@property
|
518
374
|
@pulumi.getter(name="ocrParsingConfig")
|
519
375
|
def ocr_parsing_config(self) -> Optional[pulumi.Input['DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs']]:
|
@@ -540,18 +396,6 @@ class DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigA
|
|
540
396
|
pass
|
541
397
|
|
542
398
|
|
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
|
-
|
555
399
|
if not MYPY:
|
556
400
|
class DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgsDict(TypedDict):
|
557
401
|
use_native_text: NotRequired[pulumi.Input[bool]]
|
@@ -594,10 +438,6 @@ if not MYPY:
|
|
594
438
|
"""
|
595
439
|
Configurations applied to digital parser.
|
596
440
|
"""
|
597
|
-
layout_parsing_config: NotRequired[pulumi.Input['DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigArgsDict']]
|
598
|
-
"""
|
599
|
-
Configurations applied to layout parser.
|
600
|
-
"""
|
601
441
|
ocr_parsing_config: NotRequired[pulumi.Input['DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgsDict']]
|
602
442
|
"""
|
603
443
|
Configurations applied to OCR parser. Currently it only applies to PDFs.
|
@@ -611,20 +451,16 @@ class DataStoreDocumentProcessingConfigParsingConfigOverrideArgs:
|
|
611
451
|
def __init__(__self__, *,
|
612
452
|
file_type: pulumi.Input[str],
|
613
453
|
digital_parsing_config: Optional[pulumi.Input['DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigArgs']] = None,
|
614
|
-
layout_parsing_config: Optional[pulumi.Input['DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigArgs']] = None,
|
615
454
|
ocr_parsing_config: Optional[pulumi.Input['DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs']] = None):
|
616
455
|
"""
|
617
456
|
:param pulumi.Input[str] file_type: The identifier for this object. Format specified above.
|
618
457
|
: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.
|
620
458
|
:param pulumi.Input['DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs'] ocr_parsing_config: Configurations applied to OCR parser. Currently it only applies to PDFs.
|
621
459
|
Structure is documented below.
|
622
460
|
"""
|
623
461
|
pulumi.set(__self__, "file_type", file_type)
|
624
462
|
if digital_parsing_config is not None:
|
625
463
|
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)
|
628
464
|
if ocr_parsing_config is not None:
|
629
465
|
pulumi.set(__self__, "ocr_parsing_config", ocr_parsing_config)
|
630
466
|
|
@@ -652,18 +488,6 @@ class DataStoreDocumentProcessingConfigParsingConfigOverrideArgs:
|
|
652
488
|
def digital_parsing_config(self, value: Optional[pulumi.Input['DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigArgs']]):
|
653
489
|
pulumi.set(self, "digital_parsing_config", value)
|
654
490
|
|
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
|
-
|
667
491
|
@property
|
668
492
|
@pulumi.getter(name="ocrParsingConfig")
|
669
493
|
def ocr_parsing_config(self) -> Optional[pulumi.Input['DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs']]:
|
@@ -690,18 +514,6 @@ class DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfig
|
|
690
514
|
pass
|
691
515
|
|
692
516
|
|
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
|
-
|
705
517
|
if not MYPY:
|
706
518
|
class DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgsDict(TypedDict):
|
707
519
|
use_native_text: NotRequired[pulumi.Input[bool]]
|