Class: Google::Apis::MerchantapiProductsV1beta::ProductStructuredTitle
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiProductsV1beta::ProductStructuredTitle
- 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 title, for algorithmically (AI)-generated titles.
Instance Attribute Summary collapse
-
#content ⇒ String
The title text Maximum length is 150 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) ⇒ ProductStructuredTitle
constructor
A new instance of ProductStructuredTitle.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProductStructuredTitle
Returns a new instance of ProductStructuredTitle.
1590 1591 1592 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 1590 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content ⇒ String
The title text Maximum length is 150 characters
Corresponds to the JSON property content
1581 1582 1583 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 1581 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
1588 1589 1590 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 1588 def digital_source_type @digital_source_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1595 1596 1597 1598 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 1595 def update!(**args) @content = args[:content] if args.key?(:content) @digital_source_type = args[:digital_source_type] if args.key?(:digital_source_type) end |