Class: Google::Apis::SearchconsoleV1::RichResultsIssue
- Inherits:
-
Object
- Object
- Google::Apis::SearchconsoleV1::RichResultsIssue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchconsole_v1/classes.rb,
lib/google/apis/searchconsole_v1/representations.rb,
lib/google/apis/searchconsole_v1/representations.rb
Overview
Severity and status of a single issue affecting a single rich result instance on a page.
Instance Attribute Summary collapse
-
#issue_message ⇒ String
Rich Results issue type.
-
#severity ⇒ String
Severity of this issue: WARNING, or ERROR.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RichResultsIssue
constructor
A new instance of RichResultsIssue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RichResultsIssue
Returns a new instance of RichResultsIssue.
601 602 603 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 601 def initialize(**args) update!(**args) end |
Instance Attribute Details
#issue_message ⇒ String
Rich Results issue type.
Corresponds to the JSON property issueMessage
593 594 595 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 593 def @issue_message end |
#severity ⇒ String
Severity of this issue: WARNING, or ERROR. Items with an issue of status ERROR
cannot appear with rich result features in Google Search results.
Corresponds to the JSON property severity
599 600 601 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 599 def severity @severity end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
606 607 608 609 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 606 def update!(**args) @issue_message = args[:issue_message] if args.key?(:issue_message) @severity = args[:severity] if args.key?(:severity) end |