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
Description of the issue.
-
#severity ⇒ String
The severity of the issue.
-
#timestamp ⇒ String
The timestamp when this issue appeared.
-
#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
114 115 116 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 114 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
112 113 114 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 112 def attribute @attribute end |
#description ⇒ String
Description of the issue.
Corresponds to the JSON property description
99 100 101 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 99 def description @description end |
#severity ⇒ String
The severity of the issue.
Corresponds to the JSON property severity
94 95 96 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 94 def severity @severity end |
#timestamp ⇒ String
The timestamp when this issue appeared.
Corresponds to the JSON property timestamp
89 90 91 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 89 def @timestamp 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
105 106 107 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 105 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
119 120 121 122 123 124 125 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 119 def update!(**args) @timestamp = args[:timestamp] if args.key?(:timestamp) @severity = args[:severity] if args.key?(:severity) @description = args[:description] if args.key?(:description) @type = args[:type] if args.key?(:type) @attribute = args[:attribute] if args.key?(:attribute) end |