Class: Google::Apis::ContentV2_1::ProductProductDetail
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::ProductProductDetail
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Instance Attribute Summary collapse
-
#attribute_name ⇒ String
The name of the product detail.
-
#attribute_value ⇒ String
The value of the product detail.
-
#section_name ⇒ String
The section header used to group a set of product details.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProductProductDetail
constructor
A new instance of ProductProductDetail.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProductProductDetail
Returns a new instance of ProductProductDetail.
9739 9740 9741 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 9739 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attribute_name ⇒ String
The name of the product detail.
Corresponds to the JSON property attributeName
9727 9728 9729 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 9727 def attribute_name @attribute_name end |
#attribute_value ⇒ String
The value of the product detail.
Corresponds to the JSON property attributeValue
9732 9733 9734 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 9732 def attribute_value @attribute_value end |
#section_name ⇒ String
The section header used to group a set of product details.
Corresponds to the JSON property sectionName
9737 9738 9739 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 9737 def section_name @section_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9744 9745 9746 9747 9748 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 9744 def update!(**args) @attribute_name = args[:attribute_name] if args.key?(:attribute_name) @attribute_value = args[:attribute_value] if args.key?(:attribute_value) @section_name = args[:section_name] if args.key?(:section_name) end |