Class: Google::Apis::ManufacturersV1::ProductDetail
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ManufacturersV1::ProductDetail
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/manufacturers_v1/classes.rb,
 generated/google/apis/manufacturers_v1/representations.rb,
 generated/google/apis/manufacturers_v1/representations.rb
Overview
A product detail of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productdetail.
Instance Attribute Summary collapse
- 
  
    
      #attribute_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name of the attribute. 
- 
  
    
      #attribute_value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The value of the attribute. 
- 
  
    
      #section_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A short section name that can be reused between multiple product details. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ProductDetail 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ProductDetail. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ProductDetail
Returns a new instance of ProductDetail
| 681 682 683 | # File 'generated/google/apis/manufacturers_v1/classes.rb', line 681 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#attribute_name ⇒ String
The name of the attribute.
Corresponds to the JSON property attributeName
| 669 670 671 | # File 'generated/google/apis/manufacturers_v1/classes.rb', line 669 def attribute_name @attribute_name end | 
#attribute_value ⇒ String
The value of the attribute.
Corresponds to the JSON property attributeValue
| 674 675 676 | # File 'generated/google/apis/manufacturers_v1/classes.rb', line 674 def attribute_value @attribute_value end | 
#section_name ⇒ String
A short section name that can be reused between multiple product details.
Corresponds to the JSON property sectionName
| 679 680 681 | # File 'generated/google/apis/manufacturers_v1/classes.rb', line 679 def section_name @section_name end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 686 687 688 689 690 | # File 'generated/google/apis/manufacturers_v1/classes.rb', line 686 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 |