Skip to content

Commit 5af62df

Browse files
feat(discoveryengine): update the api
#### discoveryengine:v1 The following keys were added: - resources.projects.resources.locations.resources.collections.resources.engines.resources.operations.methods.cancel (Total Keys: 12) - schemas.GoogleCloudDiscoveryengineV1AnswerGenerationSpec (Total Keys: 17) - schemas.GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim.properties.score (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1CheckGroundingSpec.properties.enableClaimLevelScore.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.excludeHtmlClasses (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.excludeHtmlElements (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.excludeHtmlIds (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1Engine.properties.mediaRecommendationEngineConfig.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig (Total Keys: 23) - schemas.GoogleCloudDiscoveryengineV1FactChunk.properties.domain.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1FactChunk.properties.uri.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1ServingConfig.properties.answerGenerationSpec.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaDataConnector.properties.aclEnabled.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaDataConnector.properties.connectorModes (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaDataConnector.properties.endUserConfig.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig (Total Keys: 6) - schemas.GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.excludeHtmlClasses (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.excludeHtmlElements (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.excludeHtmlIds (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig.properties.engineFeaturesConfig.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig (Total Keys: 3) - schemas.GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.excludeHtmlClasses (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.excludeHtmlElements (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.excludeHtmlIds (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaEngine.properties.mediaRecommendationEngineConfig.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig (Total Keys: 23) #### discoveryengine:v1alpha The following keys were added: - schemas.GoogleCloudDiscoveryengineV1AnswerGenerationSpec (Total Keys: 17) - schemas.GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.excludeHtmlClasses (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.excludeHtmlElements (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.excludeHtmlIds (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1Engine.properties.mediaRecommendationEngineConfig.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig (Total Keys: 23) - schemas.GoogleCloudDiscoveryengineV1ServingConfig.properties.answerGenerationSpec.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest.properties.experimentIds (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaAnswerGenerationSpec (Total Keys: 17) - schemas.GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseClaim.properties.score (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaCheckGroundingSpec.properties.enableClaimLevelScore.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaDataConnector.properties.aclEnabled.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaDataConnector.properties.connectorModes (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaDataConnector.properties.endUserConfig.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig (Total Keys: 6) - schemas.GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.excludeHtmlClasses (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.excludeHtmlElements (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.excludeHtmlIds (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig.properties.engineFeaturesConfig.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig (Total Keys: 3) - schemas.GoogleCloudDiscoveryengineV1alphaFactChunk.properties.domain.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaFactChunk.properties.uri.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse.properties.authorizationUri.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaServingConfig.properties.answerGenerationSpec.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaWidgetConfigAssistantSettings.properties.googleSearchGroundingEnabled.deprecated (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaWidgetConfigAssistantSettings.properties.webGroundingType.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings.properties.enablePeopleSearch.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.excludeHtmlClasses (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.excludeHtmlElements (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.excludeHtmlIds (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaEngine.properties.mediaRecommendationEngineConfig.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig (Total Keys: 23) #### discoveryengine:v1beta The following keys were added: - schemas.GoogleCloudDiscoveryengineV1AnswerGenerationSpec (Total Keys: 17) - schemas.GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.excludeHtmlClasses (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.excludeHtmlElements (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.excludeHtmlIds (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1Engine.properties.mediaRecommendationEngineConfig.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig (Total Keys: 23) - schemas.GoogleCloudDiscoveryengineV1ServingConfig.properties.answerGenerationSpec.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaDataConnector.properties.aclEnabled.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaDataConnector.properties.connectorModes (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaDataConnector.properties.endUserConfig.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig (Total Keys: 6) - schemas.GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.excludeHtmlClasses (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.excludeHtmlElements (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.excludeHtmlIds (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig.properties.engineFeaturesConfig.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig (Total Keys: 4) - schemas.GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig (Total Keys: 3) - schemas.GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest.properties.experimentIds (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaAnswerGenerationSpec (Total Keys: 17) - schemas.GoogleCloudDiscoveryengineV1betaCheckGroundingResponseClaim.properties.score (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaCheckGroundingSpec.properties.enableClaimLevelScore.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.excludeHtmlClasses (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.excludeHtmlElements (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig.properties.excludeHtmlIds (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaEngine.properties.mediaRecommendationEngineConfig.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig (Total Keys: 23) - schemas.GoogleCloudDiscoveryengineV1betaFactChunk.properties.domain.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaFactChunk.properties.uri.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaServingConfig.properties.answerGenerationSpec.$ref (Total Keys: 1)
1 parent bb0b59e commit 5af62df

File tree

52 files changed

+2992
-112
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+2992
-112
lines changed

docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.branches.documents.html

Lines changed: 7 additions & 7 deletions
Large diffs are not rendered by default.

docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.conversations.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ <h3>Method Details</h3>
403403
],
404404
},
405405
&quot;content&quot;: { # Unstructured data linked to this document. # The unstructured data linked to this document. Content can only be set and must be set if this document is under a `CONTENT_REQUIRED` data store.
406-
&quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the content. Supported types: * `application/pdf` (PDF, only native PDFs are supported for now) * `text/html` (HTML) * `text/plain` (TXT) * `text/xml` (XML) * `application/json` (JSON) * `application/vnd.openxmlformats-officedocument.wordprocessingml.document` (DOCX) * `application/vnd.openxmlformats-officedocument.presentationml.presentation` (PPTX) * `application/vnd.openxmlformats-officedocument.spreadsheetml.sheet` (XLSX) * `application/vnd.ms-excel.sheet.macroenabled.12` (XLSM) The following types are supported only if layout parser is enabled in the data store: * `image/bmp` (BMP) * `image/gif` (GIF) * `image/jpeg` (JPEG) * `image/png` (PNG) * `image/tiff` (TIFF) See https://www.iana.org/assignments/media-types/media-types.xhtml.
406+
&quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the content. Supported types: * `application/pdf` (PDF, only native PDFs are supported for now) * `text/html` (HTML) * `text/plain` (TXT) * `application/xml` or `text/xml` (XML) * `application/json` (JSON) * `application/vnd.openxmlformats-officedocument.wordprocessingml.document` (DOCX) * `application/vnd.openxmlformats-officedocument.presentationml.presentation` (PPTX) * `application/vnd.openxmlformats-officedocument.spreadsheetml.sheet` (XLSX) * `application/vnd.ms-excel.sheet.macroenabled.12` (XLSM) The following types are supported only if layout parser is enabled in the data store: * `image/bmp` (BMP) * `image/gif` (GIF) * `image/jpeg` (JPEG) * `image/png` (PNG) * `image/tiff` (TIFF) See https://www.iana.org/assignments/media-types/media-types.xhtml.
407407
&quot;rawBytes&quot;: &quot;A String&quot;, # The content represented as a stream of bytes. The maximum length is 1,000,000 bytes (1 MB / ~0.95 MiB). Note: As with all `bytes` fields, this field is represented as pure binary in Protocol Buffers and base64-encoded string in JSON. For example, `abc123!?$*&amp;()&#x27;-=@~` should be represented as `YWJjMTIzIT8kKiYoKSctPUB+` in JSON. See https://developers.google.com/protocol-buffers/docs/proto3#json.
408408
&quot;uri&quot;: &quot;A String&quot;, # The URI of the content. Only Cloud Storage URIs (e.g. `gs://bucket-name/path/to/file`) are supported. The maximum file size is 2.5 MB for text-based formats, 200 MB for other formats.
409409
},

docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.html

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,15 @@ <h3>Method Details</h3>
260260
&quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
261261
&quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
262262
&quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
263+
&quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
264+
&quot;A String&quot;,
265+
],
266+
&quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
267+
&quot;A String&quot;,
268+
],
269+
&quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
270+
&quot;A String&quot;,
271+
],
263272
},
264273
&quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
265274
&quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
@@ -276,6 +285,15 @@ <h3>Method Details</h3>
276285
&quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
277286
&quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
278287
&quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
288+
&quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
289+
&quot;A String&quot;,
290+
],
291+
&quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
292+
&quot;A String&quot;,
293+
],
294+
&quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
295+
&quot;A String&quot;,
296+
],
279297
},
280298
&quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
281299
&quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
@@ -444,6 +462,15 @@ <h3>Method Details</h3>
444462
&quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
445463
&quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
446464
&quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
465+
&quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
466+
&quot;A String&quot;,
467+
],
468+
&quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
469+
&quot;A String&quot;,
470+
],
471+
&quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
472+
&quot;A String&quot;,
473+
],
447474
},
448475
&quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
449476
&quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
@@ -460,6 +487,15 @@ <h3>Method Details</h3>
460487
&quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
461488
&quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
462489
&quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
490+
&quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
491+
&quot;A String&quot;,
492+
],
493+
&quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
494+
&quot;A String&quot;,
495+
],
496+
&quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
497+
&quot;A String&quot;,
498+
],
463499
},
464500
&quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
465501
&quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
@@ -584,6 +620,15 @@ <h3>Method Details</h3>
584620
&quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
585621
&quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
586622
&quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
623+
&quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
624+
&quot;A String&quot;,
625+
],
626+
&quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
627+
&quot;A String&quot;,
628+
],
629+
&quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
630+
&quot;A String&quot;,
631+
],
587632
},
588633
&quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
589634
&quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
@@ -600,6 +645,15 @@ <h3>Method Details</h3>
600645
&quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
601646
&quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
602647
&quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
648+
&quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
649+
&quot;A String&quot;,
650+
],
651+
&quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
652+
&quot;A String&quot;,
653+
],
654+
&quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
655+
&quot;A String&quot;,
656+
],
603657
},
604658
&quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
605659
&quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
@@ -712,6 +766,15 @@ <h3>Method Details</h3>
712766
&quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
713767
&quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
714768
&quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
769+
&quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
770+
&quot;A String&quot;,
771+
],
772+
&quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
773+
&quot;A String&quot;,
774+
],
775+
&quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
776+
&quot;A String&quot;,
777+
],
715778
},
716779
&quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
717780
&quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
@@ -728,6 +791,15 @@ <h3>Method Details</h3>
728791
&quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
729792
&quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
730793
&quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
794+
&quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
795+
&quot;A String&quot;,
796+
],
797+
&quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
798+
&quot;A String&quot;,
799+
],
800+
&quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
801+
&quot;A String&quot;,
802+
],
731803
},
732804
&quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
733805
&quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
@@ -822,6 +894,15 @@ <h3>Method Details</h3>
822894
&quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
823895
&quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
824896
&quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
897+
&quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
898+
&quot;A String&quot;,
899+
],
900+
&quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
901+
&quot;A String&quot;,
902+
],
903+
&quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
904+
&quot;A String&quot;,
905+
],
825906
},
826907
&quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
827908
&quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
@@ -838,6 +919,15 @@ <h3>Method Details</h3>
838919
&quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
839920
&quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
840921
&quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
922+
&quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
923+
&quot;A String&quot;,
924+
],
925+
&quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
926+
&quot;A String&quot;,
927+
],
928+
&quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
929+
&quot;A String&quot;,
930+
],
841931
},
842932
&quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
843933
&quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.

0 commit comments

Comments
 (0)