# Google Cloud Discovery Engine V1 Client - Class LayoutParsingConfig (1.11.1)

1.11.1 (latest) 1.11.0 1.10.1 1.9.1 1.8.0 1.7.0 1.6.1 1.5.1 1.4.0 1.3.3 1.2.0 1.1.0 1.0.0 0.11.3 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class LayoutParsingConfig.

The layout parsing configurations for documents.

Generated from protobuf message `google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig`

## Namespace

Google \\ Cloud \\ DiscoveryEngine \\ V1 \\ DocumentProcessingConfig \\ ParsingConfig

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ enable_table_annotation` | `bool` Optional. If true, the LLM based annotation is added to the table during parsing. |
| `↳ enable_image_annotation` | `bool` Optional. If true, the LLM based annotation is added to the image during parsing. |
| `↳ structured_content_types` | `string[]` Optional. Contains the required structure types to extract from the document. Supported values: \* \* `shareholder-structure` |
| `↳ exclude_html_elements` | `string[]` Optional. List of HTML elements to exclude from the parsed content. |
| `↳ exclude_html_classes` | `string[]` Optional. List of HTML classes to exclude from the parsed content. |
| `↳ exclude_html_ids` | `string[]` Optional. List of HTML ids to exclude from the parsed content. |

### getEnableTableAnnotation

Optional. If true, the LLM based annotation is added to the table
during parsing.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setEnableTableAnnotation

Optional. If true, the LLM based annotation is added to the table
during parsing.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getEnableImageAnnotation

Optional. If true, the LLM based annotation is added to the image
during parsing.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setEnableImageAnnotation

Optional. If true, the LLM based annotation is added to the image
during parsing.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getStructuredContentTypes

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

- `shareholder-structure`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setStructuredContentTypes

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

- `shareholder-structure`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getExcludeHtmlElements

Optional. List of HTML elements to exclude from the parsed content.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setExcludeHtmlElements

Optional. List of HTML elements to exclude from the parsed content.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getExcludeHtmlClasses

Optional. List of HTML classes to exclude from the parsed content.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setExcludeHtmlClasses

Optional. List of HTML classes to exclude from the parsed content.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getExcludeHtmlIds

Optional. List of HTML ids to exclude from the parsed content.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setExcludeHtmlIds

Optional. List of HTML ids to exclude from the parsed content.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |