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.
-
#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
439 440 441 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 439 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
416 417 418 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 416 def attribute @attribute end |
#description ⇒ String
Longer description of the issue focused on how to resolve it.
Corresponds to the JSON property description
421 422 423 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 421 def description @description end |
#severity ⇒ String
The severity of the issue.
Corresponds to the JSON property severity
426 427 428 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 426 def severity @severity end |
#timestamp ⇒ String
The timestamp when this issue appeared.
Corresponds to the JSON property timestamp
431 432 433 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 431 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
437 438 439 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 437 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
444 445 446 447 448 449 450 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 444 def update!(**args) @attribute = args[:attribute] if args.key?(:attribute) @description = args[:description] if args.key?(:description) @severity = args[:severity] if args.key?(:severity) @timestamp = args[:timestamp] if args.key?(:timestamp) @type = args[:type] if args.key?(:type) end |