Class: Google::Apis::SearchconsoleV1::AmpIssue
- Inherits:
-
Object
- Object
- Google::Apis::SearchconsoleV1::AmpIssue
- 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
AMP issue.
Instance Attribute Summary collapse
-
#issue_message ⇒ String
Brief description of this issue.
-
#severity ⇒ String
Severity of this issue: WARNING or ERROR.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AmpIssue
constructor
A new instance of AmpIssue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AmpIssue
Returns a new instance of AmpIssue.
105 106 107 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 105 def initialize(**args) update!(**args) end |
Instance Attribute Details
#issue_message ⇒ String
Brief description of this issue.
Corresponds to the JSON property issueMessage
98 99 100 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 98 def @issue_message end |
#severity ⇒ String
Severity of this issue: WARNING or ERROR.
Corresponds to the JSON property severity
103 104 105 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 103 def severity @severity end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
110 111 112 113 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 110 def update!(**args) @issue_message = args[:issue_message] if args.key?(:issue_message) @severity = args[:severity] if args.key?(:severity) end |