# Google Shopping Merchant Products V1 Client - Class StructuredDescription (1.6.0)

1.6.0 (latest) 1.5.0 1.4.1 1.3.1 1.2.0 1.1.0 1.0.0 0.7.0 0.6.1 0.5.0 0.4.0 0.3.0 0.2.1 0.1.1 Reference documentation and code samples for the Google Shopping Merchant Products V1 Client class StructuredDescription.

Structured description, for algorithmically (AI)-generated descriptions.

Generated from protobuf message `google.shopping.merchant.products.v1.StructuredDescription`

## Namespace

Google \\ Shopping \\ Merchant \\ Products \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ digital_source_type` | `int` The digital source type. Following [IPTC](https://cv.iptc.org/newscodes/digitalsourcetype). |
| `↳ content` | `string` The description text Maximum length is 5000 characters |

### getDigitalSourceType

The digital source type.

Following [IPTC](https://cv.iptc.org/newscodes/digitalsourcetype).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### hasDigitalSourceType

### clearDigitalSourceType

### setDigitalSourceType

The digital source type.

Following [IPTC](https://cv.iptc.org/newscodes/digitalsourcetype).

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

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

### getContent

The description text
Maximum length is 5000 characters

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasContent

### clearContent

### setContent

The description text
Maximum length is 5000 characters

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

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