Google Shopping Merchant Products V1 Client - Class StructuredDescription (1.0.0)

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.

↳ content string

The description text Maximum length is 5000 characters

getDigitalSourceType

The digital source type.

Following IPTC.

Returns
Type Description
int

hasDigitalSourceType

clearDigitalSourceType

setDigitalSourceType

The digital source type.

Following IPTC.

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