Class: Google::Apis::ContentV2_1::ProductIssueImpact
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ContentV2_1::ProductIssueImpact
 
- 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
Overview
Overall impact of product issue.
Instance Attribute Summary collapse
- 
  
    
      #breakdowns  ⇒ Array<Google::Apis::ContentV2_1::Breakdown> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Detailed impact breakdown. 
- 
  
    
      #message  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional. 
- 
  
    
      #severity  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The severity of the issue. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ProductIssueImpact 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ProductIssueImpact. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ ProductIssueImpact
Returns a new instance of ProductIssueImpact.
| 9693 9694 9695 | # File 'lib/google/apis/content_v2_1/classes.rb', line 9693 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#breakdowns ⇒ Array<Google::Apis::ContentV2_1::Breakdown>
Detailed impact breakdown. Explains the types of restriction the issue has in
different shopping destinations and territory. If present, it should be
rendered to the merchant. Can be shown as a mouse over dropdown or a dialog.
Each breakdown item represents a group of regions with the same impact details.
Corresponds to the JSON property breakdowns
| 9680 9681 9682 | # File 'lib/google/apis/content_v2_1/classes.rb', line 9680 def breakdowns @breakdowns end | 
#message ⇒ String
Optional. Message summarizing the overall impact of the issue. If present, it
should be rendered to the merchant. For example: "Limits visibility in France"
Corresponds to the JSON property message
| 9686 9687 9688 | # File 'lib/google/apis/content_v2_1/classes.rb', line 9686 def @message end | 
#severity ⇒ String
The severity of the issue.
Corresponds to the JSON property severity
| 9691 9692 9693 | # File 'lib/google/apis/content_v2_1/classes.rb', line 9691 def severity @severity end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 9698 9699 9700 9701 9702 | # File 'lib/google/apis/content_v2_1/classes.rb', line 9698 def update!(**args) @breakdowns = args[:breakdowns] if args.key?(:breakdowns) @message = args[:message] if args.key?(:message) @severity = args[:severity] if args.key?(:severity) end |