Class: Google::Apis::MerchantapiProductsV1beta::ProductStructuredDescription
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiProductsV1beta::ProductStructuredDescription
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/merchantapi_products_v1beta/classes.rb,
lib/google/apis/merchantapi_products_v1beta/representations.rb,
lib/google/apis/merchantapi_products_v1beta/representations.rb
Overview
Structured description, for algorithmically (AI)-generated descriptions.
Instance Attribute Summary collapse
-
#content ⇒ String
The description text Maximum length is 5000 characters Corresponds to the JSON property
content
. -
#digital_source_type ⇒ String
The digital source type, for example "trained_algorithmic_media".
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProductStructuredDescription
constructor
A new instance of ProductStructuredDescription.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProductStructuredDescription
Returns a new instance of ProductStructuredDescription.
1563 1564 1565 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 1563 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content ⇒ String
The description text Maximum length is 5000 characters
Corresponds to the JSON property content
1554 1555 1556 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 1554 def content @content end |
#digital_source_type ⇒ String
The digital source type, for example "trained_algorithmic_media". Following
IPTC. Maximum length is 40
characters.
Corresponds to the JSON property digitalSourceType
1561 1562 1563 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 1561 def digital_source_type @digital_source_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1568 1569 1570 1571 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 1568 def update!(**args) @content = args[:content] if args.key?(:content) @digital_source_type = args[:digital_source_type] if args.key?(:digital_source_type) end |