Class: Google::Apis::ManufacturersV1::Issue
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ManufacturersV1::Issue
 
- 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
Product issue.
Instance Attribute Summary collapse
- 
  
    
      #attribute  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    If present, the attribute that triggered the issue. 
- 
  
    
      #description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Longer description of the issue focused on how to resolve it. 
- 
  
    
      #destination  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The destination this issue applies to. 
- 
  
    
      #resolution  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    What needs to happen to resolve the issue. 
- 
  
    
      #severity  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The severity of the issue. 
- 
  
    
      #timestamp  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The timestamp when this issue appeared. 
- 
  
    
      #title  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Short title describing the nature of the issue. 
- 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The server-generated type of the issue, for example, “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Issue 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Issue. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Issue
Returns a new instance of Issue
| 491 492 493 | # File 'generated/google/apis/manufacturers_v1/classes.rb', line 491 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#attribute ⇒ String
If present, the attribute that triggered the issue. For more information
about attributes, see
https://support.google.com/manufacturers/answer/6124116.
Corresponds to the JSON property attribute
| 453 454 455 | # File 'generated/google/apis/manufacturers_v1/classes.rb', line 453 def attribute @attribute end | 
#description ⇒ String
Longer description of the issue focused on how to resolve it.
Corresponds to the JSON property description
| 458 459 460 | # File 'generated/google/apis/manufacturers_v1/classes.rb', line 458 def description @description end | 
#destination ⇒ String
The destination this issue applies to.
Corresponds to the JSON property destination
| 463 464 465 | # File 'generated/google/apis/manufacturers_v1/classes.rb', line 463 def destination @destination end | 
#resolution ⇒ String
What needs to happen to resolve the issue.
Corresponds to the JSON property resolution
| 468 469 470 | # File 'generated/google/apis/manufacturers_v1/classes.rb', line 468 def resolution @resolution end | 
#severity ⇒ String
The severity of the issue.
Corresponds to the JSON property severity
| 473 474 475 | # File 'generated/google/apis/manufacturers_v1/classes.rb', line 473 def severity @severity end | 
#timestamp ⇒ String
The timestamp when this issue appeared.
Corresponds to the JSON property timestamp
| 478 479 480 | # File 'generated/google/apis/manufacturers_v1/classes.rb', line 478 def @timestamp end | 
#title ⇒ String
Short title describing the nature of the issue.
Corresponds to the JSON property title
| 483 484 485 | # File 'generated/google/apis/manufacturers_v1/classes.rb', line 483 def title @title end | 
#type ⇒ String
The server-generated type of the issue, for example,
“INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.
Corresponds to the JSON property type
| 489 490 491 | # File 'generated/google/apis/manufacturers_v1/classes.rb', line 489 def type @type end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 496 497 498 499 500 501 502 503 504 505 | # File 'generated/google/apis/manufacturers_v1/classes.rb', line 496 def update!(**args) @attribute = args[:attribute] if args.key?(:attribute) @description = args[:description] if args.key?(:description) @destination = args[:destination] if args.key?(:destination) @resolution = args[:resolution] if args.key?(:resolution) @severity = args[:severity] if args.key?(:severity) @timestamp = args[:timestamp] if args.key?(:timestamp) @title = args[:title] if args.key?(:title) @type = args[:type] if args.key?(:type) end |