|
629 | 629 | ], |
630 | 630 | "parameters": { |
631 | 631 | "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`.", |
633 | 633 | "location": "path", |
634 | 634 | "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/documentProcessingConfig$", |
635 | 635 | "required": true, |
|
3134 | 3134 | ], |
3135 | 3135 | "parameters": { |
3136 | 3136 | "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`.", |
3138 | 3138 | "location": "path", |
3139 | 3139 | "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/documentProcessingConfig$", |
3140 | 3140 | "required": true, |
|
4596 | 4596 | } |
4597 | 4597 | } |
4598 | 4598 | }, |
4599 | | - "revision": "20240123", |
| 4599 | + "revision": "20240129", |
4600 | 4600 | "rootUrl": "https://discoveryengine.googleapis.com/", |
4601 | 4601 | "schemas": { |
4602 | 4602 | "GoogleApiHttpBody": { |
|
6203 | 6203 | }, |
6204 | 6204 | "type": "object" |
6205 | 6205 | }, |
| 6206 | + "GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig": { |
| 6207 | + "description": "The digital parsing configurations for documents.", |
| 6208 | + "id": "GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig", |
| 6209 | + "properties": {}, |
| 6210 | + "type": "object" |
| 6211 | + }, |
6206 | 6212 | "GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata": { |
6207 | 6213 | "description": "Metadata related to the progress of the SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.", |
6208 | 6214 | "id": "GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata", |
|
6335 | 6341 | "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.", |
6336 | 6342 | "id": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig", |
6337 | 6343 | "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 | + }, |
6338 | 6348 | "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`.", |
6341 | 6350 | "type": "string" |
6342 | 6351 | }, |
6343 | 6352 | "ocrConfig": { |
6344 | 6353 | "$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." |
6346 | 6382 | } |
6347 | 6383 | }, |
6348 | 6384 | "type": "object" |
|
7248 | 7284 | }, |
7249 | 7285 | "type": "object" |
7250 | 7286 | }, |
| 7287 | + "GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig": { |
| 7288 | + "description": "The layout parsing configurations for documents.", |
| 7289 | + "id": "GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig", |
| 7290 | + "properties": {}, |
| 7291 | + "type": "object" |
| 7292 | + }, |
7251 | 7293 | "GoogleCloudDiscoveryengineV1alphaListConversationsResponse": { |
7252 | 7294 | "description": "Response for ListConversations method.", |
7253 | 7295 | "id": "GoogleCloudDiscoveryengineV1alphaListConversationsResponse", |
|
7401 | 7443 | "type": "object" |
7402 | 7444 | }, |
7403 | 7445 | "GoogleCloudDiscoveryengineV1alphaOcrConfig": { |
| 7446 | + "deprecated": true, |
7404 | 7447 | "description": "The OCR options for parsing documents.", |
7405 | 7448 | "id": "GoogleCloudDiscoveryengineV1alphaOcrConfig", |
7406 | 7449 | "properties": { |
|
7422 | 7465 | }, |
7423 | 7466 | "type": "object" |
7424 | 7467 | }, |
| 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 | + }, |
7425 | 7486 | "GoogleCloudDiscoveryengineV1alphaPageInfo": { |
7426 | 7487 | "description": "Detailed page information.", |
7427 | 7488 | "id": "GoogleCloudDiscoveryengineV1alphaPageInfo", |
|
0 commit comments