Class: Google::Apis::SearchconsoleV1::MobileUsabilityIssue
- Inherits:
-
Object
- Object
- Google::Apis::SearchconsoleV1::MobileUsabilityIssue
- 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
Mobile-usability issue.
Instance Attribute Summary collapse
-
#issue_type ⇒ String
Mobile-usability issue type.
-
#message ⇒ String
Additional information regarding the issue.
-
#severity ⇒ String
Not returned; reserved for future use.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MobileUsabilityIssue
constructor
A new instance of MobileUsabilityIssue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MobileUsabilityIssue
Returns a new instance of MobileUsabilityIssue.
528 529 530 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 528 def initialize(**args) update!(**args) end |
Instance Attribute Details
#issue_type ⇒ String
Mobile-usability issue type.
Corresponds to the JSON property issueType
516 517 518 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 516 def issue_type @issue_type end |
#message ⇒ String
Additional information regarding the issue.
Corresponds to the JSON property message
521 522 523 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 521 def @message end |
#severity ⇒ String
Not returned; reserved for future use.
Corresponds to the JSON property severity
526 527 528 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 526 def severity @severity end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
533 534 535 536 537 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 533 def update!(**args) @issue_type = args[:issue_type] if args.key?(:issue_type) @message = args[:message] if args.key?(:message) @severity = args[:severity] if args.key?(:severity) end |