pulumi-gcp 7.28.0a1718863699__py3-none-any.whl → 7.28.0a1718995220__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 +59 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +58 -74
- pulumi_gcp/accesscontextmanager/access_levels.py +0 -20
- pulumi_gcp/accesscontextmanager/outputs.py +58 -74
- pulumi_gcp/accesscontextmanager/service_perimeter.py +2 -0
- pulumi_gcp/bigtable/_inputs.py +40 -0
- pulumi_gcp/bigtable/outputs.py +49 -0
- pulumi_gcp/bigtable/table.py +54 -0
- pulumi_gcp/cloudbuildv2/_inputs.py +383 -0
- pulumi_gcp/cloudbuildv2/connection.py +110 -2
- pulumi_gcp/cloudbuildv2/outputs.py +421 -0
- pulumi_gcp/composer/__init__.py +3 -0
- pulumi_gcp/composer/get_user_workloads_config_map.py +190 -0
- pulumi_gcp/composer/get_user_workloads_secret.py +188 -0
- pulumi_gcp/composer/user_workloads_config_map.py +475 -0
- pulumi_gcp/compute/_inputs.py +4 -2
- pulumi_gcp/compute/backend_service.py +28 -48
- pulumi_gcp/compute/interconnect.py +4 -4
- pulumi_gcp/compute/outputs.py +10 -4
- pulumi_gcp/compute/region_backend_service.py +35 -48
- pulumi_gcp/compute/region_network_endpoint.py +187 -0
- pulumi_gcp/compute/region_network_endpoint_group.py +49 -9
- pulumi_gcp/compute/region_target_https_proxy.py +7 -14
- pulumi_gcp/compute/target_https_proxy.py +28 -14
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +2 -2
- pulumi_gcp/container/outputs.py +4 -4
- pulumi_gcp/discoveryengine/_inputs.py +227 -0
- pulumi_gcp/discoveryengine/data_store.py +108 -0
- pulumi_gcp/discoveryengine/outputs.py +280 -0
- pulumi_gcp/edgecontainer/_inputs.py +107 -1
- pulumi_gcp/edgecontainer/outputs.py +123 -1
- pulumi_gcp/gkehub/_inputs.py +16 -0
- pulumi_gcp/gkehub/outputs.py +15 -1
- pulumi_gcp/logging/folder_sink.py +14 -14
- pulumi_gcp/logging/organization_sink.py +14 -14
- pulumi_gcp/managedkafka/__init__.py +11 -0
- pulumi_gcp/managedkafka/_inputs.py +169 -0
- pulumi_gcp/managedkafka/cluster.py +807 -0
- pulumi_gcp/managedkafka/outputs.py +197 -0
- pulumi_gcp/managedkafka/topic.py +599 -0
- pulumi_gcp/netapp/__init__.py +1 -0
- pulumi_gcp/netapp/active_directory.py +55 -0
- pulumi_gcp/netapp/backup.py +903 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securitycenter/__init__.py +3 -0
- pulumi_gcp/securitycenter/_inputs.py +1105 -0
- pulumi_gcp/securitycenter/management_folder_security_health_analytics_custom_module.py +725 -0
- pulumi_gcp/securitycenter/management_organization_security_health_analytics_custom_module.py +713 -0
- pulumi_gcp/securitycenter/management_project_security_health_analytics_custom_module.py +706 -0
- pulumi_gcp/securitycenter/outputs.py +1048 -0
- pulumi_gcp/vertex/ai_feature_online_store.py +37 -8
- {pulumi_gcp-7.28.0a1718863699.dist-info → pulumi_gcp-7.28.0a1718995220.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.28.0a1718863699.dist-info → pulumi_gcp-7.28.0a1718995220.dist-info}/RECORD +58 -46
- {pulumi_gcp-7.28.0a1718863699.dist-info → pulumi_gcp-7.28.0a1718995220.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.28.0a1718863699.dist-info → pulumi_gcp-7.28.0a1718995220.dist-info}/top_level.txt +0 -0
@@ -8,6 +8,8 @@ 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 *
|
11
13
|
|
12
14
|
__all__ = ['DataStoreArgs', 'DataStore']
|
13
15
|
|
@@ -20,6 +22,7 @@ class DataStoreArgs:
|
|
20
22
|
industry_vertical: pulumi.Input[str],
|
21
23
|
location: pulumi.Input[str],
|
22
24
|
create_advanced_site_search: Optional[pulumi.Input[bool]] = None,
|
25
|
+
document_processing_config: Optional[pulumi.Input['DataStoreDocumentProcessingConfigArgs']] = None,
|
23
26
|
project: Optional[pulumi.Input[str]] = None,
|
24
27
|
solution_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
25
28
|
"""
|
@@ -39,6 +42,8 @@ class DataStoreArgs:
|
|
39
42
|
:param pulumi.Input[bool] create_advanced_site_search: If true, an advanced data store for site search will be created. If the
|
40
43
|
data store is not configured as site search (GENERIC vertical and
|
41
44
|
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.
|
42
47
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
43
48
|
If it is not provided, the provider project is used.
|
44
49
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] solution_types: The solutions that the data store enrolls.
|
@@ -51,6 +56,8 @@ class DataStoreArgs:
|
|
51
56
|
pulumi.set(__self__, "location", location)
|
52
57
|
if create_advanced_site_search is not None:
|
53
58
|
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)
|
54
61
|
if project is not None:
|
55
62
|
pulumi.set(__self__, "project", project)
|
56
63
|
if solution_types is not None:
|
@@ -137,6 +144,19 @@ class DataStoreArgs:
|
|
137
144
|
def create_advanced_site_search(self, value: Optional[pulumi.Input[bool]]):
|
138
145
|
pulumi.set(self, "create_advanced_site_search", value)
|
139
146
|
|
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
|
+
|
140
160
|
@property
|
141
161
|
@pulumi.getter
|
142
162
|
def project(self) -> Optional[pulumi.Input[str]]:
|
@@ -173,6 +193,7 @@ class _DataStoreState:
|
|
173
193
|
data_store_id: Optional[pulumi.Input[str]] = None,
|
174
194
|
default_schema_id: Optional[pulumi.Input[str]] = None,
|
175
195
|
display_name: Optional[pulumi.Input[str]] = None,
|
196
|
+
document_processing_config: Optional[pulumi.Input['DataStoreDocumentProcessingConfigArgs']] = None,
|
176
197
|
industry_vertical: Optional[pulumi.Input[str]] = None,
|
177
198
|
location: Optional[pulumi.Input[str]] = None,
|
178
199
|
name: Optional[pulumi.Input[str]] = None,
|
@@ -193,6 +214,8 @@ class _DataStoreState:
|
|
193
214
|
:param pulumi.Input[str] default_schema_id: The id of the default Schema associated with this data store.
|
194
215
|
:param pulumi.Input[str] display_name: The display name of the data store. This field must be a UTF-8 encoded
|
195
216
|
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.
|
196
219
|
:param pulumi.Input[str] industry_vertical: The industry vertical that the data store registers.
|
197
220
|
Possible values are: `GENERIC`, `MEDIA`.
|
198
221
|
:param pulumi.Input[str] location: The geographic location where the data store should reside. The value can
|
@@ -218,6 +241,8 @@ class _DataStoreState:
|
|
218
241
|
pulumi.set(__self__, "default_schema_id", default_schema_id)
|
219
242
|
if display_name is not None:
|
220
243
|
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)
|
221
246
|
if industry_vertical is not None:
|
222
247
|
pulumi.set(__self__, "industry_vertical", industry_vertical)
|
223
248
|
if location is not None:
|
@@ -308,6 +333,19 @@ class _DataStoreState:
|
|
308
333
|
def display_name(self, value: Optional[pulumi.Input[str]]):
|
309
334
|
pulumi.set(self, "display_name", value)
|
310
335
|
|
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
|
+
|
311
349
|
@property
|
312
350
|
@pulumi.getter(name="industryVertical")
|
313
351
|
def industry_vertical(self) -> Optional[pulumi.Input[str]]:
|
@@ -385,6 +423,7 @@ class DataStore(pulumi.CustomResource):
|
|
385
423
|
create_advanced_site_search: Optional[pulumi.Input[bool]] = None,
|
386
424
|
data_store_id: Optional[pulumi.Input[str]] = None,
|
387
425
|
display_name: Optional[pulumi.Input[str]] = None,
|
426
|
+
document_processing_config: Optional[pulumi.Input[pulumi.InputType['DataStoreDocumentProcessingConfigArgs']]] = None,
|
388
427
|
industry_vertical: Optional[pulumi.Input[str]] = None,
|
389
428
|
location: Optional[pulumi.Input[str]] = None,
|
390
429
|
project: Optional[pulumi.Input[str]] = None,
|
@@ -418,6 +457,32 @@ class DataStore(pulumi.CustomResource):
|
|
418
457
|
solution_types=["SOLUTION_TYPE_SEARCH"],
|
419
458
|
create_advanced_site_search=False)
|
420
459
|
```
|
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
|
+
```
|
421
486
|
|
422
487
|
## Import
|
423
488
|
|
@@ -456,6 +521,8 @@ class DataStore(pulumi.CustomResource):
|
|
456
521
|
- - -
|
457
522
|
:param pulumi.Input[str] display_name: The display name of the data store. This field must be a UTF-8 encoded
|
458
523
|
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.
|
459
526
|
:param pulumi.Input[str] industry_vertical: The industry vertical that the data store registers.
|
460
527
|
Possible values are: `GENERIC`, `MEDIA`.
|
461
528
|
:param pulumi.Input[str] location: The geographic location where the data store should reside. The value can
|
@@ -499,6 +566,32 @@ class DataStore(pulumi.CustomResource):
|
|
499
566
|
solution_types=["SOLUTION_TYPE_SEARCH"],
|
500
567
|
create_advanced_site_search=False)
|
501
568
|
```
|
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
|
+
```
|
502
595
|
|
503
596
|
## Import
|
504
597
|
|
@@ -543,6 +636,7 @@ class DataStore(pulumi.CustomResource):
|
|
543
636
|
create_advanced_site_search: Optional[pulumi.Input[bool]] = None,
|
544
637
|
data_store_id: Optional[pulumi.Input[str]] = None,
|
545
638
|
display_name: Optional[pulumi.Input[str]] = None,
|
639
|
+
document_processing_config: Optional[pulumi.Input[pulumi.InputType['DataStoreDocumentProcessingConfigArgs']]] = None,
|
546
640
|
industry_vertical: Optional[pulumi.Input[str]] = None,
|
547
641
|
location: Optional[pulumi.Input[str]] = None,
|
548
642
|
project: Optional[pulumi.Input[str]] = None,
|
@@ -566,6 +660,7 @@ class DataStore(pulumi.CustomResource):
|
|
566
660
|
if display_name is None and not opts.urn:
|
567
661
|
raise TypeError("Missing required property 'display_name'")
|
568
662
|
__props__.__dict__["display_name"] = display_name
|
663
|
+
__props__.__dict__["document_processing_config"] = document_processing_config
|
569
664
|
if industry_vertical is None and not opts.urn:
|
570
665
|
raise TypeError("Missing required property 'industry_vertical'")
|
571
666
|
__props__.__dict__["industry_vertical"] = industry_vertical
|
@@ -593,6 +688,7 @@ class DataStore(pulumi.CustomResource):
|
|
593
688
|
data_store_id: Optional[pulumi.Input[str]] = None,
|
594
689
|
default_schema_id: Optional[pulumi.Input[str]] = None,
|
595
690
|
display_name: Optional[pulumi.Input[str]] = None,
|
691
|
+
document_processing_config: Optional[pulumi.Input[pulumi.InputType['DataStoreDocumentProcessingConfigArgs']]] = None,
|
596
692
|
industry_vertical: Optional[pulumi.Input[str]] = None,
|
597
693
|
location: Optional[pulumi.Input[str]] = None,
|
598
694
|
name: Optional[pulumi.Input[str]] = None,
|
@@ -618,6 +714,8 @@ class DataStore(pulumi.CustomResource):
|
|
618
714
|
:param pulumi.Input[str] default_schema_id: The id of the default Schema associated with this data store.
|
619
715
|
:param pulumi.Input[str] display_name: The display name of the data store. This field must be a UTF-8 encoded
|
620
716
|
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.
|
621
719
|
:param pulumi.Input[str] industry_vertical: The industry vertical that the data store registers.
|
622
720
|
Possible values are: `GENERIC`, `MEDIA`.
|
623
721
|
:param pulumi.Input[str] location: The geographic location where the data store should reside. The value can
|
@@ -641,6 +739,7 @@ class DataStore(pulumi.CustomResource):
|
|
641
739
|
__props__.__dict__["data_store_id"] = data_store_id
|
642
740
|
__props__.__dict__["default_schema_id"] = default_schema_id
|
643
741
|
__props__.__dict__["display_name"] = display_name
|
742
|
+
__props__.__dict__["document_processing_config"] = document_processing_config
|
644
743
|
__props__.__dict__["industry_vertical"] = industry_vertical
|
645
744
|
__props__.__dict__["location"] = location
|
646
745
|
__props__.__dict__["name"] = name
|
@@ -703,6 +802,15 @@ class DataStore(pulumi.CustomResource):
|
|
703
802
|
"""
|
704
803
|
return pulumi.get(self, "display_name")
|
705
804
|
|
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
|
+
|
706
814
|
@property
|
707
815
|
@pulumi.getter(name="industryVertical")
|
708
816
|
def industry_vertical(self) -> pulumi.Output[str]:
|
@@ -15,6 +15,13 @@ __all__ = [
|
|
15
15
|
'ChatEngineChatEngineConfigAgentCreationConfig',
|
16
16
|
'ChatEngineChatEngineMetadata',
|
17
17
|
'ChatEngineCommonConfig',
|
18
|
+
'DataStoreDocumentProcessingConfig',
|
19
|
+
'DataStoreDocumentProcessingConfigDefaultParsingConfig',
|
20
|
+
'DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfig',
|
21
|
+
'DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfig',
|
22
|
+
'DataStoreDocumentProcessingConfigParsingConfigOverride',
|
23
|
+
'DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfig',
|
24
|
+
'DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfig',
|
18
25
|
'SearchEngineCommonConfig',
|
19
26
|
'SearchEngineSearchEngineConfig',
|
20
27
|
]
|
@@ -206,6 +213,279 @@ class ChatEngineCommonConfig(dict):
|
|
206
213
|
return pulumi.get(self, "company_name")
|
207
214
|
|
208
215
|
|
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
|
+
|
209
489
|
@pulumi.output_type
|
210
490
|
class SearchEngineCommonConfig(dict):
|
211
491
|
@staticmethod
|
@@ -20,6 +20,8 @@ __all__ = [
|
|
20
20
|
'ClusterFleetArgs',
|
21
21
|
'ClusterMaintenanceEventArgs',
|
22
22
|
'ClusterMaintenancePolicyArgs',
|
23
|
+
'ClusterMaintenancePolicyMaintenanceExclusionArgs',
|
24
|
+
'ClusterMaintenancePolicyMaintenanceExclusionWindowArgs',
|
23
25
|
'ClusterMaintenancePolicyWindowArgs',
|
24
26
|
'ClusterMaintenancePolicyWindowRecurringWindowArgs',
|
25
27
|
'ClusterMaintenancePolicyWindowRecurringWindowWindowArgs',
|
@@ -627,12 +629,19 @@ class ClusterMaintenanceEventArgs:
|
|
627
629
|
@pulumi.input_type
|
628
630
|
class ClusterMaintenancePolicyArgs:
|
629
631
|
def __init__(__self__, *,
|
630
|
-
window: pulumi.Input['ClusterMaintenancePolicyWindowArgs']
|
632
|
+
window: pulumi.Input['ClusterMaintenancePolicyWindowArgs'],
|
633
|
+
maintenance_exclusions: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterMaintenancePolicyMaintenanceExclusionArgs']]]] = None):
|
631
634
|
"""
|
632
635
|
:param pulumi.Input['ClusterMaintenancePolicyWindowArgs'] window: Specifies the maintenance window in which maintenance may be performed.
|
633
636
|
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.
|
634
641
|
"""
|
635
642
|
pulumi.set(__self__, "window", window)
|
643
|
+
if maintenance_exclusions is not None:
|
644
|
+
pulumi.set(__self__, "maintenance_exclusions", maintenance_exclusions)
|
636
645
|
|
637
646
|
@property
|
638
647
|
@pulumi.getter
|
@@ -647,6 +656,103 @@ class ClusterMaintenancePolicyArgs:
|
|
647
656
|
def window(self, value: pulumi.Input['ClusterMaintenancePolicyWindowArgs']):
|
648
657
|
pulumi.set(self, "window", value)
|
649
658
|
|
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
|
+
|
650
756
|
|
651
757
|
@pulumi.input_type
|
652
758
|
class ClusterMaintenancePolicyWindowArgs:
|