pulumi-gcp 7.28.0__py3-none-any.whl → 7.28.0a1718431623__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 -59
- pulumi_gcp/accesscontextmanager/_inputs.py +74 -58
- pulumi_gcp/accesscontextmanager/access_levels.py +20 -0
- pulumi_gcp/accesscontextmanager/outputs.py +74 -58
- pulumi_gcp/accesscontextmanager/service_perimeter.py +0 -2
- pulumi_gcp/bigtable/_inputs.py +0 -40
- pulumi_gcp/bigtable/outputs.py +0 -49
- pulumi_gcp/bigtable/table.py +0 -54
- pulumi_gcp/cloudbuildv2/_inputs.py +0 -383
- pulumi_gcp/cloudbuildv2/connection.py +2 -110
- pulumi_gcp/cloudbuildv2/outputs.py +0 -421
- pulumi_gcp/composer/__init__.py +0 -3
- pulumi_gcp/compute/_inputs.py +2 -4
- pulumi_gcp/compute/backend_service.py +48 -28
- pulumi_gcp/compute/interconnect.py +4 -4
- pulumi_gcp/compute/outputs.py +4 -10
- pulumi_gcp/compute/region_backend_service.py +48 -35
- pulumi_gcp/compute/region_network_endpoint.py +0 -187
- pulumi_gcp/compute/region_network_endpoint_group.py +9 -49
- pulumi_gcp/compute/region_target_https_proxy.py +14 -7
- pulumi_gcp/compute/target_https_proxy.py +14 -28
- pulumi_gcp/config/__init__.pyi +0 -2
- pulumi_gcp/config/vars.py +0 -4
- pulumi_gcp/container/_inputs.py +2 -2
- pulumi_gcp/container/outputs.py +4 -4
- pulumi_gcp/discoveryengine/_inputs.py +0 -227
- pulumi_gcp/discoveryengine/data_store.py +0 -108
- pulumi_gcp/discoveryengine/outputs.py +0 -280
- pulumi_gcp/edgecontainer/_inputs.py +1 -107
- pulumi_gcp/edgecontainer/outputs.py +1 -123
- pulumi_gcp/gkehub/_inputs.py +0 -16
- pulumi_gcp/gkehub/outputs.py +1 -15
- pulumi_gcp/kms/crypto_key.py +6 -2
- pulumi_gcp/logging/folder_sink.py +14 -14
- pulumi_gcp/logging/organization_sink.py +14 -14
- pulumi_gcp/netapp/__init__.py +0 -1
- pulumi_gcp/netapp/active_directory.py +0 -55
- pulumi_gcp/provider.py +0 -20
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securitycenter/__init__.py +0 -3
- pulumi_gcp/securitycenter/_inputs.py +0 -1105
- pulumi_gcp/securitycenter/outputs.py +0 -1048
- pulumi_gcp/vertex/ai_feature_online_store.py +8 -37
- {pulumi_gcp-7.28.0.dist-info → pulumi_gcp-7.28.0a1718431623.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.28.0.dist-info → pulumi_gcp-7.28.0a1718431623.dist-info}/RECORD +47 -59
- {pulumi_gcp-7.28.0.dist-info → pulumi_gcp-7.28.0a1718431623.dist-info}/WHEEL +1 -1
- pulumi_gcp/composer/get_user_workloads_config_map.py +0 -190
- pulumi_gcp/composer/get_user_workloads_secret.py +0 -188
- pulumi_gcp/composer/user_workloads_config_map.py +0 -475
- pulumi_gcp/managedkafka/__init__.py +0 -11
- pulumi_gcp/managedkafka/_inputs.py +0 -169
- pulumi_gcp/managedkafka/cluster.py +0 -807
- pulumi_gcp/managedkafka/outputs.py +0 -197
- pulumi_gcp/managedkafka/topic.py +0 -599
- pulumi_gcp/netapp/backup.py +0 -903
- pulumi_gcp/securitycenter/management_folder_security_health_analytics_custom_module.py +0 -725
- pulumi_gcp/securitycenter/management_organization_security_health_analytics_custom_module.py +0 -713
- pulumi_gcp/securitycenter/management_project_security_health_analytics_custom_module.py +0 -706
- {pulumi_gcp-7.28.0.dist-info → pulumi_gcp-7.28.0a1718431623.dist-info}/top_level.txt +0 -0
@@ -8,8 +8,6 @@ import pulumi
|
|
8
8
|
import pulumi.runtime
|
9
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
10
|
from .. import _utilities
|
11
|
-
from . import outputs
|
12
|
-
from ._inputs import *
|
13
11
|
|
14
12
|
__all__ = ['DataStoreArgs', 'DataStore']
|
15
13
|
|
@@ -22,7 +20,6 @@ class DataStoreArgs:
|
|
22
20
|
industry_vertical: pulumi.Input[str],
|
23
21
|
location: pulumi.Input[str],
|
24
22
|
create_advanced_site_search: Optional[pulumi.Input[bool]] = None,
|
25
|
-
document_processing_config: Optional[pulumi.Input['DataStoreDocumentProcessingConfigArgs']] = None,
|
26
23
|
project: Optional[pulumi.Input[str]] = None,
|
27
24
|
solution_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
28
25
|
"""
|
@@ -42,8 +39,6 @@ class DataStoreArgs:
|
|
42
39
|
:param pulumi.Input[bool] create_advanced_site_search: If true, an advanced data store for site search will be created. If the
|
43
40
|
data store is not configured as site search (GENERIC vertical and
|
44
41
|
PUBLIC_WEBSITE contentConfig), this flag will be ignored.
|
45
|
-
:param pulumi.Input['DataStoreDocumentProcessingConfigArgs'] document_processing_config: Configuration for Document understanding and enrichment.
|
46
|
-
Structure is documented below.
|
47
42
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
48
43
|
If it is not provided, the provider project is used.
|
49
44
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] solution_types: The solutions that the data store enrolls.
|
@@ -56,8 +51,6 @@ class DataStoreArgs:
|
|
56
51
|
pulumi.set(__self__, "location", location)
|
57
52
|
if create_advanced_site_search is not None:
|
58
53
|
pulumi.set(__self__, "create_advanced_site_search", create_advanced_site_search)
|
59
|
-
if document_processing_config is not None:
|
60
|
-
pulumi.set(__self__, "document_processing_config", document_processing_config)
|
61
54
|
if project is not None:
|
62
55
|
pulumi.set(__self__, "project", project)
|
63
56
|
if solution_types is not None:
|
@@ -144,19 +137,6 @@ class DataStoreArgs:
|
|
144
137
|
def create_advanced_site_search(self, value: Optional[pulumi.Input[bool]]):
|
145
138
|
pulumi.set(self, "create_advanced_site_search", value)
|
146
139
|
|
147
|
-
@property
|
148
|
-
@pulumi.getter(name="documentProcessingConfig")
|
149
|
-
def document_processing_config(self) -> Optional[pulumi.Input['DataStoreDocumentProcessingConfigArgs']]:
|
150
|
-
"""
|
151
|
-
Configuration for Document understanding and enrichment.
|
152
|
-
Structure is documented below.
|
153
|
-
"""
|
154
|
-
return pulumi.get(self, "document_processing_config")
|
155
|
-
|
156
|
-
@document_processing_config.setter
|
157
|
-
def document_processing_config(self, value: Optional[pulumi.Input['DataStoreDocumentProcessingConfigArgs']]):
|
158
|
-
pulumi.set(self, "document_processing_config", value)
|
159
|
-
|
160
140
|
@property
|
161
141
|
@pulumi.getter
|
162
142
|
def project(self) -> Optional[pulumi.Input[str]]:
|
@@ -193,7 +173,6 @@ class _DataStoreState:
|
|
193
173
|
data_store_id: Optional[pulumi.Input[str]] = None,
|
194
174
|
default_schema_id: Optional[pulumi.Input[str]] = None,
|
195
175
|
display_name: Optional[pulumi.Input[str]] = None,
|
196
|
-
document_processing_config: Optional[pulumi.Input['DataStoreDocumentProcessingConfigArgs']] = None,
|
197
176
|
industry_vertical: Optional[pulumi.Input[str]] = None,
|
198
177
|
location: Optional[pulumi.Input[str]] = None,
|
199
178
|
name: Optional[pulumi.Input[str]] = None,
|
@@ -214,8 +193,6 @@ class _DataStoreState:
|
|
214
193
|
:param pulumi.Input[str] default_schema_id: The id of the default Schema associated with this data store.
|
215
194
|
:param pulumi.Input[str] display_name: The display name of the data store. This field must be a UTF-8 encoded
|
216
195
|
string with a length limit of 128 characters.
|
217
|
-
:param pulumi.Input['DataStoreDocumentProcessingConfigArgs'] document_processing_config: Configuration for Document understanding and enrichment.
|
218
|
-
Structure is documented below.
|
219
196
|
:param pulumi.Input[str] industry_vertical: The industry vertical that the data store registers.
|
220
197
|
Possible values are: `GENERIC`, `MEDIA`.
|
221
198
|
:param pulumi.Input[str] location: The geographic location where the data store should reside. The value can
|
@@ -241,8 +218,6 @@ class _DataStoreState:
|
|
241
218
|
pulumi.set(__self__, "default_schema_id", default_schema_id)
|
242
219
|
if display_name is not None:
|
243
220
|
pulumi.set(__self__, "display_name", display_name)
|
244
|
-
if document_processing_config is not None:
|
245
|
-
pulumi.set(__self__, "document_processing_config", document_processing_config)
|
246
221
|
if industry_vertical is not None:
|
247
222
|
pulumi.set(__self__, "industry_vertical", industry_vertical)
|
248
223
|
if location is not None:
|
@@ -333,19 +308,6 @@ class _DataStoreState:
|
|
333
308
|
def display_name(self, value: Optional[pulumi.Input[str]]):
|
334
309
|
pulumi.set(self, "display_name", value)
|
335
310
|
|
336
|
-
@property
|
337
|
-
@pulumi.getter(name="documentProcessingConfig")
|
338
|
-
def document_processing_config(self) -> Optional[pulumi.Input['DataStoreDocumentProcessingConfigArgs']]:
|
339
|
-
"""
|
340
|
-
Configuration for Document understanding and enrichment.
|
341
|
-
Structure is documented below.
|
342
|
-
"""
|
343
|
-
return pulumi.get(self, "document_processing_config")
|
344
|
-
|
345
|
-
@document_processing_config.setter
|
346
|
-
def document_processing_config(self, value: Optional[pulumi.Input['DataStoreDocumentProcessingConfigArgs']]):
|
347
|
-
pulumi.set(self, "document_processing_config", value)
|
348
|
-
|
349
311
|
@property
|
350
312
|
@pulumi.getter(name="industryVertical")
|
351
313
|
def industry_vertical(self) -> Optional[pulumi.Input[str]]:
|
@@ -423,7 +385,6 @@ class DataStore(pulumi.CustomResource):
|
|
423
385
|
create_advanced_site_search: Optional[pulumi.Input[bool]] = None,
|
424
386
|
data_store_id: Optional[pulumi.Input[str]] = None,
|
425
387
|
display_name: Optional[pulumi.Input[str]] = None,
|
426
|
-
document_processing_config: Optional[pulumi.Input[pulumi.InputType['DataStoreDocumentProcessingConfigArgs']]] = None,
|
427
388
|
industry_vertical: Optional[pulumi.Input[str]] = None,
|
428
389
|
location: Optional[pulumi.Input[str]] = None,
|
429
390
|
project: Optional[pulumi.Input[str]] = None,
|
@@ -457,32 +418,6 @@ class DataStore(pulumi.CustomResource):
|
|
457
418
|
solution_types=["SOLUTION_TYPE_SEARCH"],
|
458
419
|
create_advanced_site_search=False)
|
459
420
|
```
|
460
|
-
### Discoveryengine Datastore Document Processing Config
|
461
|
-
|
462
|
-
```python
|
463
|
-
import pulumi
|
464
|
-
import pulumi_gcp as gcp
|
465
|
-
|
466
|
-
document_processing_config = gcp.discoveryengine.DataStore("document_processing_config",
|
467
|
-
location="global",
|
468
|
-
data_store_id="data-store-id",
|
469
|
-
display_name="tf-test-structured-datastore",
|
470
|
-
industry_vertical="GENERIC",
|
471
|
-
content_config="NO_CONTENT",
|
472
|
-
solution_types=["SOLUTION_TYPE_SEARCH"],
|
473
|
-
create_advanced_site_search=False,
|
474
|
-
document_processing_config=gcp.discoveryengine.DataStoreDocumentProcessingConfigArgs(
|
475
|
-
default_parsing_config=gcp.discoveryengine.DataStoreDocumentProcessingConfigDefaultParsingConfigArgs(
|
476
|
-
digital_parsing_config=gcp.discoveryengine.DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigArgs(),
|
477
|
-
),
|
478
|
-
parsing_config_overrides=[gcp.discoveryengine.DataStoreDocumentProcessingConfigParsingConfigOverrideArgs(
|
479
|
-
file_type="pdf",
|
480
|
-
ocr_parsing_config=gcp.discoveryengine.DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs(
|
481
|
-
use_native_text=True,
|
482
|
-
),
|
483
|
-
)],
|
484
|
-
))
|
485
|
-
```
|
486
421
|
|
487
422
|
## Import
|
488
423
|
|
@@ -521,8 +456,6 @@ class DataStore(pulumi.CustomResource):
|
|
521
456
|
- - -
|
522
457
|
:param pulumi.Input[str] display_name: The display name of the data store. This field must be a UTF-8 encoded
|
523
458
|
string with a length limit of 128 characters.
|
524
|
-
:param pulumi.Input[pulumi.InputType['DataStoreDocumentProcessingConfigArgs']] document_processing_config: Configuration for Document understanding and enrichment.
|
525
|
-
Structure is documented below.
|
526
459
|
:param pulumi.Input[str] industry_vertical: The industry vertical that the data store registers.
|
527
460
|
Possible values are: `GENERIC`, `MEDIA`.
|
528
461
|
:param pulumi.Input[str] location: The geographic location where the data store should reside. The value can
|
@@ -566,32 +499,6 @@ class DataStore(pulumi.CustomResource):
|
|
566
499
|
solution_types=["SOLUTION_TYPE_SEARCH"],
|
567
500
|
create_advanced_site_search=False)
|
568
501
|
```
|
569
|
-
### Discoveryengine Datastore Document Processing Config
|
570
|
-
|
571
|
-
```python
|
572
|
-
import pulumi
|
573
|
-
import pulumi_gcp as gcp
|
574
|
-
|
575
|
-
document_processing_config = gcp.discoveryengine.DataStore("document_processing_config",
|
576
|
-
location="global",
|
577
|
-
data_store_id="data-store-id",
|
578
|
-
display_name="tf-test-structured-datastore",
|
579
|
-
industry_vertical="GENERIC",
|
580
|
-
content_config="NO_CONTENT",
|
581
|
-
solution_types=["SOLUTION_TYPE_SEARCH"],
|
582
|
-
create_advanced_site_search=False,
|
583
|
-
document_processing_config=gcp.discoveryengine.DataStoreDocumentProcessingConfigArgs(
|
584
|
-
default_parsing_config=gcp.discoveryengine.DataStoreDocumentProcessingConfigDefaultParsingConfigArgs(
|
585
|
-
digital_parsing_config=gcp.discoveryengine.DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigArgs(),
|
586
|
-
),
|
587
|
-
parsing_config_overrides=[gcp.discoveryengine.DataStoreDocumentProcessingConfigParsingConfigOverrideArgs(
|
588
|
-
file_type="pdf",
|
589
|
-
ocr_parsing_config=gcp.discoveryengine.DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs(
|
590
|
-
use_native_text=True,
|
591
|
-
),
|
592
|
-
)],
|
593
|
-
))
|
594
|
-
```
|
595
502
|
|
596
503
|
## Import
|
597
504
|
|
@@ -636,7 +543,6 @@ class DataStore(pulumi.CustomResource):
|
|
636
543
|
create_advanced_site_search: Optional[pulumi.Input[bool]] = None,
|
637
544
|
data_store_id: Optional[pulumi.Input[str]] = None,
|
638
545
|
display_name: Optional[pulumi.Input[str]] = None,
|
639
|
-
document_processing_config: Optional[pulumi.Input[pulumi.InputType['DataStoreDocumentProcessingConfigArgs']]] = None,
|
640
546
|
industry_vertical: Optional[pulumi.Input[str]] = None,
|
641
547
|
location: Optional[pulumi.Input[str]] = None,
|
642
548
|
project: Optional[pulumi.Input[str]] = None,
|
@@ -660,7 +566,6 @@ class DataStore(pulumi.CustomResource):
|
|
660
566
|
if display_name is None and not opts.urn:
|
661
567
|
raise TypeError("Missing required property 'display_name'")
|
662
568
|
__props__.__dict__["display_name"] = display_name
|
663
|
-
__props__.__dict__["document_processing_config"] = document_processing_config
|
664
569
|
if industry_vertical is None and not opts.urn:
|
665
570
|
raise TypeError("Missing required property 'industry_vertical'")
|
666
571
|
__props__.__dict__["industry_vertical"] = industry_vertical
|
@@ -688,7 +593,6 @@ class DataStore(pulumi.CustomResource):
|
|
688
593
|
data_store_id: Optional[pulumi.Input[str]] = None,
|
689
594
|
default_schema_id: Optional[pulumi.Input[str]] = None,
|
690
595
|
display_name: Optional[pulumi.Input[str]] = None,
|
691
|
-
document_processing_config: Optional[pulumi.Input[pulumi.InputType['DataStoreDocumentProcessingConfigArgs']]] = None,
|
692
596
|
industry_vertical: Optional[pulumi.Input[str]] = None,
|
693
597
|
location: Optional[pulumi.Input[str]] = None,
|
694
598
|
name: Optional[pulumi.Input[str]] = None,
|
@@ -714,8 +618,6 @@ class DataStore(pulumi.CustomResource):
|
|
714
618
|
:param pulumi.Input[str] default_schema_id: The id of the default Schema associated with this data store.
|
715
619
|
:param pulumi.Input[str] display_name: The display name of the data store. This field must be a UTF-8 encoded
|
716
620
|
string with a length limit of 128 characters.
|
717
|
-
:param pulumi.Input[pulumi.InputType['DataStoreDocumentProcessingConfigArgs']] document_processing_config: Configuration for Document understanding and enrichment.
|
718
|
-
Structure is documented below.
|
719
621
|
:param pulumi.Input[str] industry_vertical: The industry vertical that the data store registers.
|
720
622
|
Possible values are: `GENERIC`, `MEDIA`.
|
721
623
|
:param pulumi.Input[str] location: The geographic location where the data store should reside. The value can
|
@@ -739,7 +641,6 @@ class DataStore(pulumi.CustomResource):
|
|
739
641
|
__props__.__dict__["data_store_id"] = data_store_id
|
740
642
|
__props__.__dict__["default_schema_id"] = default_schema_id
|
741
643
|
__props__.__dict__["display_name"] = display_name
|
742
|
-
__props__.__dict__["document_processing_config"] = document_processing_config
|
743
644
|
__props__.__dict__["industry_vertical"] = industry_vertical
|
744
645
|
__props__.__dict__["location"] = location
|
745
646
|
__props__.__dict__["name"] = name
|
@@ -802,15 +703,6 @@ class DataStore(pulumi.CustomResource):
|
|
802
703
|
"""
|
803
704
|
return pulumi.get(self, "display_name")
|
804
705
|
|
805
|
-
@property
|
806
|
-
@pulumi.getter(name="documentProcessingConfig")
|
807
|
-
def document_processing_config(self) -> pulumi.Output[Optional['outputs.DataStoreDocumentProcessingConfig']]:
|
808
|
-
"""
|
809
|
-
Configuration for Document understanding and enrichment.
|
810
|
-
Structure is documented below.
|
811
|
-
"""
|
812
|
-
return pulumi.get(self, "document_processing_config")
|
813
|
-
|
814
706
|
@property
|
815
707
|
@pulumi.getter(name="industryVertical")
|
816
708
|
def industry_vertical(self) -> pulumi.Output[str]:
|
@@ -15,13 +15,6 @@ __all__ = [
|
|
15
15
|
'ChatEngineChatEngineConfigAgentCreationConfig',
|
16
16
|
'ChatEngineChatEngineMetadata',
|
17
17
|
'ChatEngineCommonConfig',
|
18
|
-
'DataStoreDocumentProcessingConfig',
|
19
|
-
'DataStoreDocumentProcessingConfigDefaultParsingConfig',
|
20
|
-
'DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfig',
|
21
|
-
'DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfig',
|
22
|
-
'DataStoreDocumentProcessingConfigParsingConfigOverride',
|
23
|
-
'DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfig',
|
24
|
-
'DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfig',
|
25
18
|
'SearchEngineCommonConfig',
|
26
19
|
'SearchEngineSearchEngineConfig',
|
27
20
|
]
|
@@ -213,279 +206,6 @@ class ChatEngineCommonConfig(dict):
|
|
213
206
|
return pulumi.get(self, "company_name")
|
214
207
|
|
215
208
|
|
216
|
-
@pulumi.output_type
|
217
|
-
class DataStoreDocumentProcessingConfig(dict):
|
218
|
-
@staticmethod
|
219
|
-
def __key_warning(key: str):
|
220
|
-
suggest = None
|
221
|
-
if key == "defaultParsingConfig":
|
222
|
-
suggest = "default_parsing_config"
|
223
|
-
elif key == "parsingConfigOverrides":
|
224
|
-
suggest = "parsing_config_overrides"
|
225
|
-
|
226
|
-
if suggest:
|
227
|
-
pulumi.log.warn(f"Key '{key}' not found in DataStoreDocumentProcessingConfig. Access the value via the '{suggest}' property getter instead.")
|
228
|
-
|
229
|
-
def __getitem__(self, key: str) -> Any:
|
230
|
-
DataStoreDocumentProcessingConfig.__key_warning(key)
|
231
|
-
return super().__getitem__(key)
|
232
|
-
|
233
|
-
def get(self, key: str, default = None) -> Any:
|
234
|
-
DataStoreDocumentProcessingConfig.__key_warning(key)
|
235
|
-
return super().get(key, default)
|
236
|
-
|
237
|
-
def __init__(__self__, *,
|
238
|
-
default_parsing_config: Optional['outputs.DataStoreDocumentProcessingConfigDefaultParsingConfig'] = None,
|
239
|
-
name: Optional[str] = None,
|
240
|
-
parsing_config_overrides: Optional[Sequence['outputs.DataStoreDocumentProcessingConfigParsingConfigOverride']] = None):
|
241
|
-
"""
|
242
|
-
:param 'DataStoreDocumentProcessingConfigDefaultParsingConfigArgs' default_parsing_config: Configurations for default Document parser. If not specified, this resource
|
243
|
-
will be configured to use a default DigitalParsingConfig, and the default parsing
|
244
|
-
config will be applied to all file types for Document parsing.
|
245
|
-
Structure is documented below.
|
246
|
-
:param str name: (Output)
|
247
|
-
The full resource name of the Document Processing Config. Format:
|
248
|
-
`projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/documentProcessingConfig`.
|
249
|
-
:param Sequence['DataStoreDocumentProcessingConfigParsingConfigOverrideArgs'] parsing_config_overrides: Map from file type to override the default parsing configuration based on the file type. Supported keys:
|
250
|
-
"""
|
251
|
-
if default_parsing_config is not None:
|
252
|
-
pulumi.set(__self__, "default_parsing_config", default_parsing_config)
|
253
|
-
if name is not None:
|
254
|
-
pulumi.set(__self__, "name", name)
|
255
|
-
if parsing_config_overrides is not None:
|
256
|
-
pulumi.set(__self__, "parsing_config_overrides", parsing_config_overrides)
|
257
|
-
|
258
|
-
@property
|
259
|
-
@pulumi.getter(name="defaultParsingConfig")
|
260
|
-
def default_parsing_config(self) -> Optional['outputs.DataStoreDocumentProcessingConfigDefaultParsingConfig']:
|
261
|
-
"""
|
262
|
-
Configurations for default Document parser. If not specified, this resource
|
263
|
-
will be configured to use a default DigitalParsingConfig, and the default parsing
|
264
|
-
config will be applied to all file types for Document parsing.
|
265
|
-
Structure is documented below.
|
266
|
-
"""
|
267
|
-
return pulumi.get(self, "default_parsing_config")
|
268
|
-
|
269
|
-
@property
|
270
|
-
@pulumi.getter
|
271
|
-
def name(self) -> Optional[str]:
|
272
|
-
"""
|
273
|
-
(Output)
|
274
|
-
The full resource name of the Document Processing Config. Format:
|
275
|
-
`projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/documentProcessingConfig`.
|
276
|
-
"""
|
277
|
-
return pulumi.get(self, "name")
|
278
|
-
|
279
|
-
@property
|
280
|
-
@pulumi.getter(name="parsingConfigOverrides")
|
281
|
-
def parsing_config_overrides(self) -> Optional[Sequence['outputs.DataStoreDocumentProcessingConfigParsingConfigOverride']]:
|
282
|
-
"""
|
283
|
-
Map from file type to override the default parsing configuration based on the file type. Supported keys:
|
284
|
-
"""
|
285
|
-
return pulumi.get(self, "parsing_config_overrides")
|
286
|
-
|
287
|
-
|
288
|
-
@pulumi.output_type
|
289
|
-
class DataStoreDocumentProcessingConfigDefaultParsingConfig(dict):
|
290
|
-
@staticmethod
|
291
|
-
def __key_warning(key: str):
|
292
|
-
suggest = None
|
293
|
-
if key == "digitalParsingConfig":
|
294
|
-
suggest = "digital_parsing_config"
|
295
|
-
elif key == "ocrParsingConfig":
|
296
|
-
suggest = "ocr_parsing_config"
|
297
|
-
|
298
|
-
if suggest:
|
299
|
-
pulumi.log.warn(f"Key '{key}' not found in DataStoreDocumentProcessingConfigDefaultParsingConfig. Access the value via the '{suggest}' property getter instead.")
|
300
|
-
|
301
|
-
def __getitem__(self, key: str) -> Any:
|
302
|
-
DataStoreDocumentProcessingConfigDefaultParsingConfig.__key_warning(key)
|
303
|
-
return super().__getitem__(key)
|
304
|
-
|
305
|
-
def get(self, key: str, default = None) -> Any:
|
306
|
-
DataStoreDocumentProcessingConfigDefaultParsingConfig.__key_warning(key)
|
307
|
-
return super().get(key, default)
|
308
|
-
|
309
|
-
def __init__(__self__, *,
|
310
|
-
digital_parsing_config: Optional['outputs.DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfig'] = None,
|
311
|
-
ocr_parsing_config: Optional['outputs.DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfig'] = None):
|
312
|
-
"""
|
313
|
-
:param 'DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigArgs' digital_parsing_config: Configurations applied to digital parser.
|
314
|
-
:param 'DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs' ocr_parsing_config: Configurations applied to OCR parser. Currently it only applies to PDFs.
|
315
|
-
Structure is documented below.
|
316
|
-
"""
|
317
|
-
if digital_parsing_config is not None:
|
318
|
-
pulumi.set(__self__, "digital_parsing_config", digital_parsing_config)
|
319
|
-
if ocr_parsing_config is not None:
|
320
|
-
pulumi.set(__self__, "ocr_parsing_config", ocr_parsing_config)
|
321
|
-
|
322
|
-
@property
|
323
|
-
@pulumi.getter(name="digitalParsingConfig")
|
324
|
-
def digital_parsing_config(self) -> Optional['outputs.DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfig']:
|
325
|
-
"""
|
326
|
-
Configurations applied to digital parser.
|
327
|
-
"""
|
328
|
-
return pulumi.get(self, "digital_parsing_config")
|
329
|
-
|
330
|
-
@property
|
331
|
-
@pulumi.getter(name="ocrParsingConfig")
|
332
|
-
def ocr_parsing_config(self) -> Optional['outputs.DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfig']:
|
333
|
-
"""
|
334
|
-
Configurations applied to OCR parser. Currently it only applies to PDFs.
|
335
|
-
Structure is documented below.
|
336
|
-
"""
|
337
|
-
return pulumi.get(self, "ocr_parsing_config")
|
338
|
-
|
339
|
-
|
340
|
-
@pulumi.output_type
|
341
|
-
class DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfig(dict):
|
342
|
-
def __init__(__self__):
|
343
|
-
pass
|
344
|
-
|
345
|
-
|
346
|
-
@pulumi.output_type
|
347
|
-
class DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfig(dict):
|
348
|
-
@staticmethod
|
349
|
-
def __key_warning(key: str):
|
350
|
-
suggest = None
|
351
|
-
if key == "useNativeText":
|
352
|
-
suggest = "use_native_text"
|
353
|
-
|
354
|
-
if suggest:
|
355
|
-
pulumi.log.warn(f"Key '{key}' not found in DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfig. Access the value via the '{suggest}' property getter instead.")
|
356
|
-
|
357
|
-
def __getitem__(self, key: str) -> Any:
|
358
|
-
DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfig.__key_warning(key)
|
359
|
-
return super().__getitem__(key)
|
360
|
-
|
361
|
-
def get(self, key: str, default = None) -> Any:
|
362
|
-
DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfig.__key_warning(key)
|
363
|
-
return super().get(key, default)
|
364
|
-
|
365
|
-
def __init__(__self__, *,
|
366
|
-
use_native_text: Optional[bool] = None):
|
367
|
-
"""
|
368
|
-
:param bool use_native_text: If true, will use native text instead of OCR text on pages containing native text.
|
369
|
-
"""
|
370
|
-
if use_native_text is not None:
|
371
|
-
pulumi.set(__self__, "use_native_text", use_native_text)
|
372
|
-
|
373
|
-
@property
|
374
|
-
@pulumi.getter(name="useNativeText")
|
375
|
-
def use_native_text(self) -> Optional[bool]:
|
376
|
-
"""
|
377
|
-
If true, will use native text instead of OCR text on pages containing native text.
|
378
|
-
"""
|
379
|
-
return pulumi.get(self, "use_native_text")
|
380
|
-
|
381
|
-
|
382
|
-
@pulumi.output_type
|
383
|
-
class DataStoreDocumentProcessingConfigParsingConfigOverride(dict):
|
384
|
-
@staticmethod
|
385
|
-
def __key_warning(key: str):
|
386
|
-
suggest = None
|
387
|
-
if key == "fileType":
|
388
|
-
suggest = "file_type"
|
389
|
-
elif key == "digitalParsingConfig":
|
390
|
-
suggest = "digital_parsing_config"
|
391
|
-
elif key == "ocrParsingConfig":
|
392
|
-
suggest = "ocr_parsing_config"
|
393
|
-
|
394
|
-
if suggest:
|
395
|
-
pulumi.log.warn(f"Key '{key}' not found in DataStoreDocumentProcessingConfigParsingConfigOverride. Access the value via the '{suggest}' property getter instead.")
|
396
|
-
|
397
|
-
def __getitem__(self, key: str) -> Any:
|
398
|
-
DataStoreDocumentProcessingConfigParsingConfigOverride.__key_warning(key)
|
399
|
-
return super().__getitem__(key)
|
400
|
-
|
401
|
-
def get(self, key: str, default = None) -> Any:
|
402
|
-
DataStoreDocumentProcessingConfigParsingConfigOverride.__key_warning(key)
|
403
|
-
return super().get(key, default)
|
404
|
-
|
405
|
-
def __init__(__self__, *,
|
406
|
-
file_type: str,
|
407
|
-
digital_parsing_config: Optional['outputs.DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfig'] = None,
|
408
|
-
ocr_parsing_config: Optional['outputs.DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfig'] = None):
|
409
|
-
"""
|
410
|
-
:param str file_type: The identifier for this object. Format specified above.
|
411
|
-
:param 'DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigArgs' digital_parsing_config: Configurations applied to digital parser.
|
412
|
-
:param 'DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs' ocr_parsing_config: Configurations applied to OCR parser. Currently it only applies to PDFs.
|
413
|
-
Structure is documented below.
|
414
|
-
"""
|
415
|
-
pulumi.set(__self__, "file_type", file_type)
|
416
|
-
if digital_parsing_config is not None:
|
417
|
-
pulumi.set(__self__, "digital_parsing_config", digital_parsing_config)
|
418
|
-
if ocr_parsing_config is not None:
|
419
|
-
pulumi.set(__self__, "ocr_parsing_config", ocr_parsing_config)
|
420
|
-
|
421
|
-
@property
|
422
|
-
@pulumi.getter(name="fileType")
|
423
|
-
def file_type(self) -> str:
|
424
|
-
"""
|
425
|
-
The identifier for this object. Format specified above.
|
426
|
-
"""
|
427
|
-
return pulumi.get(self, "file_type")
|
428
|
-
|
429
|
-
@property
|
430
|
-
@pulumi.getter(name="digitalParsingConfig")
|
431
|
-
def digital_parsing_config(self) -> Optional['outputs.DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfig']:
|
432
|
-
"""
|
433
|
-
Configurations applied to digital parser.
|
434
|
-
"""
|
435
|
-
return pulumi.get(self, "digital_parsing_config")
|
436
|
-
|
437
|
-
@property
|
438
|
-
@pulumi.getter(name="ocrParsingConfig")
|
439
|
-
def ocr_parsing_config(self) -> Optional['outputs.DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfig']:
|
440
|
-
"""
|
441
|
-
Configurations applied to OCR parser. Currently it only applies to PDFs.
|
442
|
-
Structure is documented below.
|
443
|
-
"""
|
444
|
-
return pulumi.get(self, "ocr_parsing_config")
|
445
|
-
|
446
|
-
|
447
|
-
@pulumi.output_type
|
448
|
-
class DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfig(dict):
|
449
|
-
def __init__(__self__):
|
450
|
-
pass
|
451
|
-
|
452
|
-
|
453
|
-
@pulumi.output_type
|
454
|
-
class DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfig(dict):
|
455
|
-
@staticmethod
|
456
|
-
def __key_warning(key: str):
|
457
|
-
suggest = None
|
458
|
-
if key == "useNativeText":
|
459
|
-
suggest = "use_native_text"
|
460
|
-
|
461
|
-
if suggest:
|
462
|
-
pulumi.log.warn(f"Key '{key}' not found in DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfig. Access the value via the '{suggest}' property getter instead.")
|
463
|
-
|
464
|
-
def __getitem__(self, key: str) -> Any:
|
465
|
-
DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfig.__key_warning(key)
|
466
|
-
return super().__getitem__(key)
|
467
|
-
|
468
|
-
def get(self, key: str, default = None) -> Any:
|
469
|
-
DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfig.__key_warning(key)
|
470
|
-
return super().get(key, default)
|
471
|
-
|
472
|
-
def __init__(__self__, *,
|
473
|
-
use_native_text: Optional[bool] = None):
|
474
|
-
"""
|
475
|
-
:param bool use_native_text: If true, will use native text instead of OCR text on pages containing native text.
|
476
|
-
"""
|
477
|
-
if use_native_text is not None:
|
478
|
-
pulumi.set(__self__, "use_native_text", use_native_text)
|
479
|
-
|
480
|
-
@property
|
481
|
-
@pulumi.getter(name="useNativeText")
|
482
|
-
def use_native_text(self) -> Optional[bool]:
|
483
|
-
"""
|
484
|
-
If true, will use native text instead of OCR text on pages containing native text.
|
485
|
-
"""
|
486
|
-
return pulumi.get(self, "use_native_text")
|
487
|
-
|
488
|
-
|
489
209
|
@pulumi.output_type
|
490
210
|
class SearchEngineCommonConfig(dict):
|
491
211
|
@staticmethod
|
@@ -20,8 +20,6 @@ __all__ = [
|
|
20
20
|
'ClusterFleetArgs',
|
21
21
|
'ClusterMaintenanceEventArgs',
|
22
22
|
'ClusterMaintenancePolicyArgs',
|
23
|
-
'ClusterMaintenancePolicyMaintenanceExclusionArgs',
|
24
|
-
'ClusterMaintenancePolicyMaintenanceExclusionWindowArgs',
|
25
23
|
'ClusterMaintenancePolicyWindowArgs',
|
26
24
|
'ClusterMaintenancePolicyWindowRecurringWindowArgs',
|
27
25
|
'ClusterMaintenancePolicyWindowRecurringWindowWindowArgs',
|
@@ -629,19 +627,12 @@ class ClusterMaintenanceEventArgs:
|
|
629
627
|
@pulumi.input_type
|
630
628
|
class ClusterMaintenancePolicyArgs:
|
631
629
|
def __init__(__self__, *,
|
632
|
-
window: pulumi.Input['ClusterMaintenancePolicyWindowArgs']
|
633
|
-
maintenance_exclusions: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterMaintenancePolicyMaintenanceExclusionArgs']]]] = None):
|
630
|
+
window: pulumi.Input['ClusterMaintenancePolicyWindowArgs']):
|
634
631
|
"""
|
635
632
|
:param pulumi.Input['ClusterMaintenancePolicyWindowArgs'] window: Specifies the maintenance window in which maintenance may be performed.
|
636
633
|
Structure is documented below.
|
637
|
-
:param pulumi.Input[Sequence[pulumi.Input['ClusterMaintenancePolicyMaintenanceExclusionArgs']]] maintenance_exclusions: Exclusions to automatic maintenance. Non-emergency maintenance should not occur
|
638
|
-
in these windows. Each exclusion has a unique name and may be active or expired.
|
639
|
-
The max number of maintenance exclusions allowed at a given time is 3.
|
640
|
-
Structure is documented below.
|
641
634
|
"""
|
642
635
|
pulumi.set(__self__, "window", window)
|
643
|
-
if maintenance_exclusions is not None:
|
644
|
-
pulumi.set(__self__, "maintenance_exclusions", maintenance_exclusions)
|
645
636
|
|
646
637
|
@property
|
647
638
|
@pulumi.getter
|
@@ -656,103 +647,6 @@ class ClusterMaintenancePolicyArgs:
|
|
656
647
|
def window(self, value: pulumi.Input['ClusterMaintenancePolicyWindowArgs']):
|
657
648
|
pulumi.set(self, "window", value)
|
658
649
|
|
659
|
-
@property
|
660
|
-
@pulumi.getter(name="maintenanceExclusions")
|
661
|
-
def maintenance_exclusions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClusterMaintenancePolicyMaintenanceExclusionArgs']]]]:
|
662
|
-
"""
|
663
|
-
Exclusions to automatic maintenance. Non-emergency maintenance should not occur
|
664
|
-
in these windows. Each exclusion has a unique name and may be active or expired.
|
665
|
-
The max number of maintenance exclusions allowed at a given time is 3.
|
666
|
-
Structure is documented below.
|
667
|
-
"""
|
668
|
-
return pulumi.get(self, "maintenance_exclusions")
|
669
|
-
|
670
|
-
@maintenance_exclusions.setter
|
671
|
-
def maintenance_exclusions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterMaintenancePolicyMaintenanceExclusionArgs']]]]):
|
672
|
-
pulumi.set(self, "maintenance_exclusions", value)
|
673
|
-
|
674
|
-
|
675
|
-
@pulumi.input_type
|
676
|
-
class ClusterMaintenancePolicyMaintenanceExclusionArgs:
|
677
|
-
def __init__(__self__, *,
|
678
|
-
id: Optional[pulumi.Input[str]] = None,
|
679
|
-
window: Optional[pulumi.Input['ClusterMaintenancePolicyMaintenanceExclusionWindowArgs']] = None):
|
680
|
-
"""
|
681
|
-
:param pulumi.Input[str] id: A unique (per cluster) id for the window.
|
682
|
-
:param pulumi.Input['ClusterMaintenancePolicyMaintenanceExclusionWindowArgs'] window: Represents an arbitrary window of time.
|
683
|
-
Structure is documented below.
|
684
|
-
"""
|
685
|
-
if id is not None:
|
686
|
-
pulumi.set(__self__, "id", id)
|
687
|
-
if window is not None:
|
688
|
-
pulumi.set(__self__, "window", window)
|
689
|
-
|
690
|
-
@property
|
691
|
-
@pulumi.getter
|
692
|
-
def id(self) -> Optional[pulumi.Input[str]]:
|
693
|
-
"""
|
694
|
-
A unique (per cluster) id for the window.
|
695
|
-
"""
|
696
|
-
return pulumi.get(self, "id")
|
697
|
-
|
698
|
-
@id.setter
|
699
|
-
def id(self, value: Optional[pulumi.Input[str]]):
|
700
|
-
pulumi.set(self, "id", value)
|
701
|
-
|
702
|
-
@property
|
703
|
-
@pulumi.getter
|
704
|
-
def window(self) -> Optional[pulumi.Input['ClusterMaintenancePolicyMaintenanceExclusionWindowArgs']]:
|
705
|
-
"""
|
706
|
-
Represents an arbitrary window of time.
|
707
|
-
Structure is documented below.
|
708
|
-
"""
|
709
|
-
return pulumi.get(self, "window")
|
710
|
-
|
711
|
-
@window.setter
|
712
|
-
def window(self, value: Optional[pulumi.Input['ClusterMaintenancePolicyMaintenanceExclusionWindowArgs']]):
|
713
|
-
pulumi.set(self, "window", value)
|
714
|
-
|
715
|
-
|
716
|
-
@pulumi.input_type
|
717
|
-
class ClusterMaintenancePolicyMaintenanceExclusionWindowArgs:
|
718
|
-
def __init__(__self__, *,
|
719
|
-
end_time: Optional[pulumi.Input[str]] = None,
|
720
|
-
start_time: Optional[pulumi.Input[str]] = None):
|
721
|
-
"""
|
722
|
-
:param pulumi.Input[str] end_time: The time that the window ends. The end time must take place after the
|
723
|
-
start time.
|
724
|
-
:param pulumi.Input[str] start_time: The time that the window first starts.
|
725
|
-
"""
|
726
|
-
if end_time is not None:
|
727
|
-
pulumi.set(__self__, "end_time", end_time)
|
728
|
-
if start_time is not None:
|
729
|
-
pulumi.set(__self__, "start_time", start_time)
|
730
|
-
|
731
|
-
@property
|
732
|
-
@pulumi.getter(name="endTime")
|
733
|
-
def end_time(self) -> Optional[pulumi.Input[str]]:
|
734
|
-
"""
|
735
|
-
The time that the window ends. The end time must take place after the
|
736
|
-
start time.
|
737
|
-
"""
|
738
|
-
return pulumi.get(self, "end_time")
|
739
|
-
|
740
|
-
@end_time.setter
|
741
|
-
def end_time(self, value: Optional[pulumi.Input[str]]):
|
742
|
-
pulumi.set(self, "end_time", value)
|
743
|
-
|
744
|
-
@property
|
745
|
-
@pulumi.getter(name="startTime")
|
746
|
-
def start_time(self) -> Optional[pulumi.Input[str]]:
|
747
|
-
"""
|
748
|
-
The time that the window first starts.
|
749
|
-
"""
|
750
|
-
return pulumi.get(self, "start_time")
|
751
|
-
|
752
|
-
@start_time.setter
|
753
|
-
def start_time(self, value: Optional[pulumi.Input[str]]):
|
754
|
-
pulumi.set(self, "start_time", value)
|
755
|
-
|
756
650
|
|
757
651
|
@pulumi.input_type
|
758
652
|
class ClusterMaintenancePolicyWindowArgs:
|