# Google Shopping Merchant Products V1beta Client - Class ProductStructuredDescription (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

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Shopping Merchant Products V1beta Client class ProductStructuredDescription.

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

Generated from protobuf message `google.shopping.merchant.products.v1beta.ProductStructuredDescription`

## Namespace

Google \\ Shopping \\ Merchant \\ Products \\ V1beta

## Methods

### __construct

Constructor.

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

### getDigitalSourceType

The digital source type, for example "trained_algorithmic_media".

Following [IPTC](https://cv.iptc.org/newscodes/digitalsourcetype).
Maximum length is 40 characters.

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

### hasDigitalSourceType

### clearDigitalSourceType

### setDigitalSourceType

The digital source type, for example "trained_algorithmic_media".

Following [IPTC](https://cv.iptc.org/newscodes/digitalsourcetype).
Maximum length is 40 characters.

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

| **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` |   |