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 \ V1betaMethods
__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. 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. Maximum length is 40 characters.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasDigitalSourceType
clearDigitalSourceType
setDigitalSourceType
The digital source type, for example "trained_algorithmic_media".
Following IPTC. 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 |
|