pulumi-gcp 8.1.0a1726293903__py3-none-any.whl → 8.2.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.
- pulumi_gcp/__init__.py +62 -0
- pulumi_gcp/alloydb/_inputs.py +94 -0
- pulumi_gcp/alloydb/cluster.py +94 -1
- pulumi_gcp/alloydb/outputs.py +79 -0
- pulumi_gcp/assuredworkloads/workload.py +135 -16
- pulumi_gcp/backupdisasterrecovery/__init__.py +1 -0
- pulumi_gcp/backupdisasterrecovery/backup_vault.py +1203 -0
- pulumi_gcp/bigquery/__init__.py +1 -0
- pulumi_gcp/bigquery/_inputs.py +33 -0
- pulumi_gcp/bigquery/data_transfer_config.py +134 -6
- pulumi_gcp/bigquery/get_tables.py +143 -0
- pulumi_gcp/bigquery/outputs.py +66 -0
- pulumi_gcp/bigqueryanalyticshub/_inputs.py +169 -7
- pulumi_gcp/bigqueryanalyticshub/data_exchange.py +96 -3
- pulumi_gcp/bigqueryanalyticshub/listing.py +114 -0
- pulumi_gcp/bigqueryanalyticshub/outputs.py +138 -5
- pulumi_gcp/bigtable/_inputs.py +21 -1
- pulumi_gcp/bigtable/outputs.py +13 -1
- pulumi_gcp/bigtable/table.py +34 -0
- pulumi_gcp/certificateauthority/authority.py +14 -7
- pulumi_gcp/certificatemanager/__init__.py +1 -0
- pulumi_gcp/certificatemanager/certificate.py +28 -0
- pulumi_gcp/certificatemanager/get_certificates.py +150 -0
- pulumi_gcp/certificatemanager/outputs.py +322 -0
- pulumi_gcp/cloudbuild/_inputs.py +6 -6
- pulumi_gcp/cloudbuild/outputs.py +4 -4
- pulumi_gcp/cloudrun/_inputs.py +6 -12
- pulumi_gcp/cloudrun/outputs.py +8 -16
- pulumi_gcp/cloudrunv2/_inputs.py +72 -15
- pulumi_gcp/cloudrunv2/outputs.py +82 -16
- pulumi_gcp/cloudrunv2/service.py +50 -4
- pulumi_gcp/cloudtasks/_inputs.py +630 -0
- pulumi_gcp/cloudtasks/outputs.py +479 -0
- pulumi_gcp/cloudtasks/queue.py +238 -0
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +2300 -257
- pulumi_gcp/compute/get_instance.py +4 -1
- pulumi_gcp/compute/health_check.py +114 -0
- pulumi_gcp/compute/instance.py +86 -4
- pulumi_gcp/compute/instance_template.py +66 -0
- pulumi_gcp/compute/interconnect.py +28 -21
- pulumi_gcp/compute/network_firewall_policy_with_rules.py +826 -0
- pulumi_gcp/compute/node_template.py +93 -0
- pulumi_gcp/compute/outputs.py +1491 -6
- pulumi_gcp/compute/region_target_http_proxy.py +159 -0
- pulumi_gcp/compute/region_target_https_proxy.py +175 -0
- pulumi_gcp/compute/service_attachment.py +75 -0
- pulumi_gcp/compute/target_http_proxy.py +49 -28
- pulumi_gcp/compute/target_https_proxy.py +77 -28
- pulumi_gcp/config/__init__.pyi +4 -0
- pulumi_gcp/config/vars.py +8 -0
- pulumi_gcp/container/_inputs.py +236 -3
- pulumi_gcp/container/attached_cluster.py +61 -8
- pulumi_gcp/container/outputs.py +276 -2
- pulumi_gcp/databasemigrationservice/_inputs.py +176 -148
- pulumi_gcp/databasemigrationservice/connection_profile.py +206 -0
- pulumi_gcp/databasemigrationservice/outputs.py +109 -87
- pulumi_gcp/dataloss/_inputs.py +353 -1
- pulumi_gcp/dataloss/outputs.py +274 -3
- pulumi_gcp/dataproc/_inputs.py +27 -27
- pulumi_gcp/dataproc/metastore_federation.py +8 -8
- pulumi_gcp/dataproc/metastore_service.py +2 -0
- pulumi_gcp/dataproc/outputs.py +18 -18
- pulumi_gcp/datastream/_inputs.py +69 -1
- pulumi_gcp/datastream/outputs.py +44 -2
- pulumi_gcp/datastream/stream.py +201 -7
- pulumi_gcp/developerconnect/__init__.py +11 -0
- pulumi_gcp/developerconnect/_inputs.py +301 -0
- pulumi_gcp/developerconnect/connection.py +1034 -0
- pulumi_gcp/developerconnect/git_repository_link.py +873 -0
- pulumi_gcp/developerconnect/outputs.py +247 -0
- pulumi_gcp/discoveryengine/_inputs.py +188 -0
- pulumi_gcp/discoveryengine/data_store.py +14 -14
- pulumi_gcp/discoveryengine/outputs.py +153 -1
- pulumi_gcp/firebase/database_instance.py +7 -7
- pulumi_gcp/gkehub/_inputs.py +25 -1
- pulumi_gcp/gkehub/feature_membership.py +12 -6
- pulumi_gcp/gkehub/outputs.py +17 -1
- pulumi_gcp/gkeonprem/_inputs.py +3 -3
- pulumi_gcp/gkeonprem/outputs.py +2 -2
- pulumi_gcp/iam/_inputs.py +196 -0
- pulumi_gcp/iam/get_workload_identity_pool_provider.py +13 -3
- pulumi_gcp/iam/outputs.py +295 -0
- pulumi_gcp/iam/workload_identity_pool_provider.py +164 -3
- pulumi_gcp/kms/__init__.py +2 -0
- pulumi_gcp/kms/autokey_config.py +10 -2
- pulumi_gcp/kms/get_crypto_key_latest_version.py +222 -0
- pulumi_gcp/kms/get_crypto_key_versions.py +175 -0
- pulumi_gcp/kms/outputs.py +164 -0
- pulumi_gcp/memorystore/__init__.py +10 -0
- pulumi_gcp/memorystore/_inputs.py +731 -0
- pulumi_gcp/memorystore/instance.py +1663 -0
- pulumi_gcp/memorystore/outputs.py +598 -0
- 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 +108 -0
- pulumi_gcp/networkconnectivity/_inputs.py +21 -1
- pulumi_gcp/networkconnectivity/outputs.py +15 -1
- pulumi_gcp/networkconnectivity/spoke.py +8 -0
- pulumi_gcp/networksecurity/client_tls_policy.py +24 -22
- pulumi_gcp/networksecurity/server_tls_policy.py +20 -32
- pulumi_gcp/organizations/folder.py +52 -33
- pulumi_gcp/organizations/get_project.py +13 -3
- pulumi_gcp/organizations/project.py +88 -3
- pulumi_gcp/parallelstore/instance.py +121 -121
- pulumi_gcp/projects/iam_member_remove.py +26 -0
- pulumi_gcp/projects/usage_export_bucket.py +38 -0
- pulumi_gcp/provider.py +40 -0
- pulumi_gcp/pubsub/_inputs.py +40 -0
- pulumi_gcp/pubsub/outputs.py +51 -1
- pulumi_gcp/pubsub/subscription.py +6 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +419 -0
- pulumi_gcp/redis/cluster.py +123 -0
- pulumi_gcp/redis/outputs.py +315 -0
- pulumi_gcp/securitycenter/__init__.py +2 -0
- pulumi_gcp/securitycenter/v2_folder_scc_big_query_export.py +857 -0
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +4 -4
- pulumi_gcp/securitycenter/v2_project_mute_config.py +2 -2
- pulumi_gcp/securitycenter/v2_project_scc_big_query_export.py +796 -0
- pulumi_gcp/vpcaccess/connector.py +21 -28
- {pulumi_gcp-8.1.0a1726293903.dist-info → pulumi_gcp-8.2.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.1.0a1726293903.dist-info → pulumi_gcp-8.2.0.dist-info}/RECORD +128 -111
- {pulumi_gcp-8.1.0a1726293903.dist-info → pulumi_gcp-8.2.0.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.1.0a1726293903.dist-info → pulumi_gcp-8.2.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,247 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
|
18
|
+
__all__ = [
|
19
|
+
'ConnectionGithubConfig',
|
20
|
+
'ConnectionGithubConfigAuthorizerCredential',
|
21
|
+
'ConnectionInstallationState',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class ConnectionGithubConfig(dict):
|
26
|
+
@staticmethod
|
27
|
+
def __key_warning(key: str):
|
28
|
+
suggest = None
|
29
|
+
if key == "githubApp":
|
30
|
+
suggest = "github_app"
|
31
|
+
elif key == "appInstallationId":
|
32
|
+
suggest = "app_installation_id"
|
33
|
+
elif key == "authorizerCredential":
|
34
|
+
suggest = "authorizer_credential"
|
35
|
+
elif key == "installationUri":
|
36
|
+
suggest = "installation_uri"
|
37
|
+
|
38
|
+
if suggest:
|
39
|
+
pulumi.log.warn(f"Key '{key}' not found in ConnectionGithubConfig. Access the value via the '{suggest}' property getter instead.")
|
40
|
+
|
41
|
+
def __getitem__(self, key: str) -> Any:
|
42
|
+
ConnectionGithubConfig.__key_warning(key)
|
43
|
+
return super().__getitem__(key)
|
44
|
+
|
45
|
+
def get(self, key: str, default = None) -> Any:
|
46
|
+
ConnectionGithubConfig.__key_warning(key)
|
47
|
+
return super().get(key, default)
|
48
|
+
|
49
|
+
def __init__(__self__, *,
|
50
|
+
github_app: str,
|
51
|
+
app_installation_id: Optional[str] = None,
|
52
|
+
authorizer_credential: Optional['outputs.ConnectionGithubConfigAuthorizerCredential'] = None,
|
53
|
+
installation_uri: Optional[str] = None):
|
54
|
+
"""
|
55
|
+
:param str github_app: Required. Immutable. The GitHub Application that was installed to the GitHub user or
|
56
|
+
organization.
|
57
|
+
Possible values:
|
58
|
+
GIT_HUB_APP_UNSPECIFIED
|
59
|
+
DEVELOPER_CONNECT
|
60
|
+
FIREBASE
|
61
|
+
:param str app_installation_id: Optional. GitHub App installation id.
|
62
|
+
:param 'ConnectionGithubConfigAuthorizerCredentialArgs' authorizer_credential: Represents an OAuth token of the account that authorized the Connection,
|
63
|
+
and associated metadata.
|
64
|
+
Structure is documented below.
|
65
|
+
:param str installation_uri: (Output)
|
66
|
+
Output only. The URI to navigate to in order to manage the installation associated
|
67
|
+
with this GitHubConfig.
|
68
|
+
"""
|
69
|
+
pulumi.set(__self__, "github_app", github_app)
|
70
|
+
if app_installation_id is not None:
|
71
|
+
pulumi.set(__self__, "app_installation_id", app_installation_id)
|
72
|
+
if authorizer_credential is not None:
|
73
|
+
pulumi.set(__self__, "authorizer_credential", authorizer_credential)
|
74
|
+
if installation_uri is not None:
|
75
|
+
pulumi.set(__self__, "installation_uri", installation_uri)
|
76
|
+
|
77
|
+
@property
|
78
|
+
@pulumi.getter(name="githubApp")
|
79
|
+
def github_app(self) -> str:
|
80
|
+
"""
|
81
|
+
Required. Immutable. The GitHub Application that was installed to the GitHub user or
|
82
|
+
organization.
|
83
|
+
Possible values:
|
84
|
+
GIT_HUB_APP_UNSPECIFIED
|
85
|
+
DEVELOPER_CONNECT
|
86
|
+
FIREBASE
|
87
|
+
"""
|
88
|
+
return pulumi.get(self, "github_app")
|
89
|
+
|
90
|
+
@property
|
91
|
+
@pulumi.getter(name="appInstallationId")
|
92
|
+
def app_installation_id(self) -> Optional[str]:
|
93
|
+
"""
|
94
|
+
Optional. GitHub App installation id.
|
95
|
+
"""
|
96
|
+
return pulumi.get(self, "app_installation_id")
|
97
|
+
|
98
|
+
@property
|
99
|
+
@pulumi.getter(name="authorizerCredential")
|
100
|
+
def authorizer_credential(self) -> Optional['outputs.ConnectionGithubConfigAuthorizerCredential']:
|
101
|
+
"""
|
102
|
+
Represents an OAuth token of the account that authorized the Connection,
|
103
|
+
and associated metadata.
|
104
|
+
Structure is documented below.
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "authorizer_credential")
|
107
|
+
|
108
|
+
@property
|
109
|
+
@pulumi.getter(name="installationUri")
|
110
|
+
def installation_uri(self) -> Optional[str]:
|
111
|
+
"""
|
112
|
+
(Output)
|
113
|
+
Output only. The URI to navigate to in order to manage the installation associated
|
114
|
+
with this GitHubConfig.
|
115
|
+
"""
|
116
|
+
return pulumi.get(self, "installation_uri")
|
117
|
+
|
118
|
+
|
119
|
+
@pulumi.output_type
|
120
|
+
class ConnectionGithubConfigAuthorizerCredential(dict):
|
121
|
+
@staticmethod
|
122
|
+
def __key_warning(key: str):
|
123
|
+
suggest = None
|
124
|
+
if key == "oauthTokenSecretVersion":
|
125
|
+
suggest = "oauth_token_secret_version"
|
126
|
+
|
127
|
+
if suggest:
|
128
|
+
pulumi.log.warn(f"Key '{key}' not found in ConnectionGithubConfigAuthorizerCredential. Access the value via the '{suggest}' property getter instead.")
|
129
|
+
|
130
|
+
def __getitem__(self, key: str) -> Any:
|
131
|
+
ConnectionGithubConfigAuthorizerCredential.__key_warning(key)
|
132
|
+
return super().__getitem__(key)
|
133
|
+
|
134
|
+
def get(self, key: str, default = None) -> Any:
|
135
|
+
ConnectionGithubConfigAuthorizerCredential.__key_warning(key)
|
136
|
+
return super().get(key, default)
|
137
|
+
|
138
|
+
def __init__(__self__, *,
|
139
|
+
oauth_token_secret_version: str,
|
140
|
+
username: Optional[str] = None):
|
141
|
+
"""
|
142
|
+
:param str oauth_token_secret_version: Required. A SecretManager resource containing the OAuth token that authorizes
|
143
|
+
the connection. Format: `projects/*/secrets/*/versions/*`.
|
144
|
+
:param str username: (Output)
|
145
|
+
Output only. The username associated with this token.
|
146
|
+
"""
|
147
|
+
pulumi.set(__self__, "oauth_token_secret_version", oauth_token_secret_version)
|
148
|
+
if username is not None:
|
149
|
+
pulumi.set(__self__, "username", username)
|
150
|
+
|
151
|
+
@property
|
152
|
+
@pulumi.getter(name="oauthTokenSecretVersion")
|
153
|
+
def oauth_token_secret_version(self) -> str:
|
154
|
+
"""
|
155
|
+
Required. A SecretManager resource containing the OAuth token that authorizes
|
156
|
+
the connection. Format: `projects/*/secrets/*/versions/*`.
|
157
|
+
"""
|
158
|
+
return pulumi.get(self, "oauth_token_secret_version")
|
159
|
+
|
160
|
+
@property
|
161
|
+
@pulumi.getter
|
162
|
+
def username(self) -> Optional[str]:
|
163
|
+
"""
|
164
|
+
(Output)
|
165
|
+
Output only. The username associated with this token.
|
166
|
+
"""
|
167
|
+
return pulumi.get(self, "username")
|
168
|
+
|
169
|
+
|
170
|
+
@pulumi.output_type
|
171
|
+
class ConnectionInstallationState(dict):
|
172
|
+
@staticmethod
|
173
|
+
def __key_warning(key: str):
|
174
|
+
suggest = None
|
175
|
+
if key == "actionUri":
|
176
|
+
suggest = "action_uri"
|
177
|
+
|
178
|
+
if suggest:
|
179
|
+
pulumi.log.warn(f"Key '{key}' not found in ConnectionInstallationState. Access the value via the '{suggest}' property getter instead.")
|
180
|
+
|
181
|
+
def __getitem__(self, key: str) -> Any:
|
182
|
+
ConnectionInstallationState.__key_warning(key)
|
183
|
+
return super().__getitem__(key)
|
184
|
+
|
185
|
+
def get(self, key: str, default = None) -> Any:
|
186
|
+
ConnectionInstallationState.__key_warning(key)
|
187
|
+
return super().get(key, default)
|
188
|
+
|
189
|
+
def __init__(__self__, *,
|
190
|
+
action_uri: Optional[str] = None,
|
191
|
+
message: Optional[str] = None,
|
192
|
+
stage: Optional[str] = None):
|
193
|
+
"""
|
194
|
+
:param str action_uri: Output only. Link to follow for next action. Empty string if the installation is already
|
195
|
+
complete.
|
196
|
+
:param str message: Output only. Message of what the user should do next to continue the installation.
|
197
|
+
Empty string if the installation is already complete.
|
198
|
+
:param str stage: (Output)
|
199
|
+
Output only. Current step of the installation process.
|
200
|
+
Possible values:
|
201
|
+
STAGE_UNSPECIFIED
|
202
|
+
PENDING_CREATE_APP
|
203
|
+
PENDING_USER_OAUTH
|
204
|
+
PENDING_INSTALL_APP
|
205
|
+
COMPLETE
|
206
|
+
"""
|
207
|
+
if action_uri is not None:
|
208
|
+
pulumi.set(__self__, "action_uri", action_uri)
|
209
|
+
if message is not None:
|
210
|
+
pulumi.set(__self__, "message", message)
|
211
|
+
if stage is not None:
|
212
|
+
pulumi.set(__self__, "stage", stage)
|
213
|
+
|
214
|
+
@property
|
215
|
+
@pulumi.getter(name="actionUri")
|
216
|
+
def action_uri(self) -> Optional[str]:
|
217
|
+
"""
|
218
|
+
Output only. Link to follow for next action. Empty string if the installation is already
|
219
|
+
complete.
|
220
|
+
"""
|
221
|
+
return pulumi.get(self, "action_uri")
|
222
|
+
|
223
|
+
@property
|
224
|
+
@pulumi.getter
|
225
|
+
def message(self) -> Optional[str]:
|
226
|
+
"""
|
227
|
+
Output only. Message of what the user should do next to continue the installation.
|
228
|
+
Empty string if the installation is already complete.
|
229
|
+
"""
|
230
|
+
return pulumi.get(self, "message")
|
231
|
+
|
232
|
+
@property
|
233
|
+
@pulumi.getter
|
234
|
+
def stage(self) -> Optional[str]:
|
235
|
+
"""
|
236
|
+
(Output)
|
237
|
+
Output only. Current step of the installation process.
|
238
|
+
Possible values:
|
239
|
+
STAGE_UNSPECIFIED
|
240
|
+
PENDING_CREATE_APP
|
241
|
+
PENDING_USER_OAUTH
|
242
|
+
PENDING_INSTALL_APP
|
243
|
+
COMPLETE
|
244
|
+
"""
|
245
|
+
return pulumi.get(self, "stage")
|
246
|
+
|
247
|
+
|
@@ -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]]
|