Class: Google::Apis::SearchconsoleV1::MobileFriendlyIssue
- Inherits:
-
Object
- Object
- Google::Apis::SearchconsoleV1::MobileFriendlyIssue
- 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-friendly issue.
Instance Attribute Summary collapse
-
#rule ⇒ String
Rule violated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MobileFriendlyIssue
constructor
A new instance of MobileFriendlyIssue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MobileFriendlyIssue
Returns a new instance of MobileFriendlyIssue.
474 475 476 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 474 def initialize(**args) update!(**args) end |
Instance Attribute Details
#rule ⇒ String
Rule violated.
Corresponds to the JSON property rule
472 473 474 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 472 def rule @rule end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
479 480 481 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 479 def update!(**args) @rule = args[:rule] if args.key?(:rule) end |