Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig::ParsingConfig::LayoutParsingConfig (v2.3.0)

Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig::ParsingConfig::LayoutParsingConfig.

The layout parsing configurations for documents.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#enable_image_annotation

def enable_image_annotation() -> ::Boolean
Returns
  • (::Boolean) — Optional. If true, the LLM based annotation is added to the image during parsing.

#enable_image_annotation=

def enable_image_annotation=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. If true, the LLM based annotation is added to the image during parsing.
Returns
  • (::Boolean) — Optional. If true, the LLM based annotation is added to the image during parsing.

#enable_table_annotation

def enable_table_annotation() -> ::Boolean
Returns
  • (::Boolean) — Optional. If true, the LLM based annotation is added to the table during parsing.

#enable_table_annotation=

def enable_table_annotation=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. If true, the LLM based annotation is added to the table during parsing.
Returns
  • (::Boolean) — Optional. If true, the LLM based annotation is added to the table during parsing.

#exclude_html_classes

def exclude_html_classes() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. List of HTML classes to exclude from the parsed content.

#exclude_html_classes=

def exclude_html_classes=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. List of HTML classes to exclude from the parsed content.
Returns
  • (::Array<::String>) — Optional. List of HTML classes to exclude from the parsed content.

#exclude_html_elements

def exclude_html_elements() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. List of HTML elements to exclude from the parsed content.

#exclude_html_elements=

def exclude_html_elements=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. List of HTML elements to exclude from the parsed content.
Returns
  • (::Array<::String>) — Optional. List of HTML elements to exclude from the parsed content.

#exclude_html_ids

def exclude_html_ids() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. List of HTML ids to exclude from the parsed content.

#exclude_html_ids=

def exclude_html_ids=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. List of HTML ids to exclude from the parsed content.
Returns
  • (::Array<::String>) — Optional. List of HTML ids to exclude from the parsed content.

#structured_content_types

def structured_content_types() -> ::Array<::String>
Returns
  • (::Array<::String>) —

    Optional. Contains the required structure types to extract from the document. Supported values:

    • shareholder-structure

#structured_content_types=

def structured_content_types=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) —

    Optional. Contains the required structure types to extract from the document. Supported values:

    • shareholder-structure
Returns
  • (::Array<::String>) —

    Optional. Contains the required structure types to extract from the document. Supported values:

    • shareholder-structure