Skip to content

Commit 03042ec

Browse files
feat(all): auto-regenerate discovery clients (#2386)
1 parent dcb7e96 commit 03042ec

File tree

14 files changed

+633
-67
lines changed

14 files changed

+633
-67
lines changed

discoveryengine/v1alpha/discoveryengine-api.json

Lines changed: 67 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@
629629
],
630630
"parameters": {
631631
"name": {
632-
"description": "Output only. The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.",
632+
"description": "The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.",
633633
"location": "path",
634634
"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/documentProcessingConfig$",
635635
"required": true,
@@ -3134,7 +3134,7 @@
31343134
],
31353135
"parameters": {
31363136
"name": {
3137-
"description": "Output only. The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.",
3137+
"description": "The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.",
31383138
"location": "path",
31393139
"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/documentProcessingConfig$",
31403140
"required": true,
@@ -4596,7 +4596,7 @@
45964596
}
45974597
}
45984598
},
4599-
"revision": "20240123",
4599+
"revision": "20240129",
46004600
"rootUrl": "https://discoveryengine.googleapis.com/",
46014601
"schemas": {
46024602
"GoogleApiHttpBody": {
@@ -6203,6 +6203,12 @@
62036203
},
62046204
"type": "object"
62056205
},
6206+
"GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig": {
6207+
"description": "The digital parsing configurations for documents.",
6208+
"id": "GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig",
6209+
"properties": {},
6210+
"type": "object"
6211+
},
62066212
"GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata": {
62076213
"description": "Metadata related to the progress of the SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.",
62086214
"id": "GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata",
@@ -6335,14 +6341,44 @@
63356341
"description": "A singleton resource of DataStore. It's empty when DataStore is created, which defaults to digital parser. The first call to DataStoreService.UpdateDocumentProcessingConfig method will initialize the config.",
63366342
"id": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig",
63376343
"properties": {
6344+
"defaultParsingConfig": {
6345+
"$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig",
6346+
"description": "Configurations for default Document parser. If not specified, we will configure it as default DigitalParsingConfig, and the default parsing config will be applied to all file types for Document parsing."
6347+
},
63386348
"name": {
6339-
"description": "Output only. The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.",
6340-
"readOnly": true,
6349+
"description": "The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.",
63416350
"type": "string"
63426351
},
63436352
"ocrConfig": {
63446353
"$ref": "GoogleCloudDiscoveryengineV1alphaOcrConfig",
6345-
"description": "The OCR config. Currently it only applies to PDFs."
6354+
"deprecated": true,
6355+
"description": "[DEPRECATED] This field is deprecated. To specify OCR parsing config, please specify `ocr_parsing_config` in `default_parsing_config` field The OCR config. Currently it only applies to PDFs."
6356+
},
6357+
"parsingConfigOverrides": {
6358+
"additionalProperties": {
6359+
"$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig"
6360+
},
6361+
"description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and or layout parsing are supported.",
6362+
"type": "object"
6363+
}
6364+
},
6365+
"type": "object"
6366+
},
6367+
"GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig": {
6368+
"description": "Related configurations applied to a specific type of document parser.",
6369+
"id": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig",
6370+
"properties": {
6371+
"digitalParsingConfig": {
6372+
"$ref": "GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig",
6373+
"description": "Configurations applied to digital parser."
6374+
},
6375+
"layoutParsingConfig": {
6376+
"$ref": "GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig",
6377+
"description": "Configurations applied to layout parser."
6378+
},
6379+
"ocrParsingConfig": {
6380+
"$ref": "GoogleCloudDiscoveryengineV1alphaOcrParsingConfig",
6381+
"description": "Configurations applied to OCR parser. Currently it only applies to PDFs."
63466382
}
63476383
},
63486384
"type": "object"
@@ -7248,6 +7284,12 @@
72487284
},
72497285
"type": "object"
72507286
},
7287+
"GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig": {
7288+
"description": "The layout parsing configurations for documents.",
7289+
"id": "GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig",
7290+
"properties": {},
7291+
"type": "object"
7292+
},
72517293
"GoogleCloudDiscoveryengineV1alphaListConversationsResponse": {
72527294
"description": "Response for ListConversations method.",
72537295
"id": "GoogleCloudDiscoveryengineV1alphaListConversationsResponse",
@@ -7401,6 +7443,7 @@
74017443
"type": "object"
74027444
},
74037445
"GoogleCloudDiscoveryengineV1alphaOcrConfig": {
7446+
"deprecated": true,
74047447
"description": "The OCR options for parsing documents.",
74057448
"id": "GoogleCloudDiscoveryengineV1alphaOcrConfig",
74067449
"properties": {
@@ -7422,6 +7465,24 @@
74227465
},
74237466
"type": "object"
74247467
},
7468+
"GoogleCloudDiscoveryengineV1alphaOcrParsingConfig": {
7469+
"description": "The OCR parsing configurations for documents.",
7470+
"id": "GoogleCloudDiscoveryengineV1alphaOcrParsingConfig",
7471+
"properties": {
7472+
"enhancedDocumentElements": {
7473+
"description": "Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model.",
7474+
"items": {
7475+
"type": "string"
7476+
},
7477+
"type": "array"
7478+
},
7479+
"useNativeText": {
7480+
"description": "If true, will use native text instead of OCR text on pages containing native text.",
7481+
"type": "boolean"
7482+
}
7483+
},
7484+
"type": "object"
7485+
},
74257486
"GoogleCloudDiscoveryengineV1alphaPageInfo": {
74267487
"description": "Detailed page information.",
74277488
"id": "GoogleCloudDiscoveryengineV1alphaPageInfo",

discoveryengine/v1alpha/discoveryengine-gen.go

Lines changed: 126 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)