Class: Google::Apis::SearchconsoleV1::MobileFriendlyIssue

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#ruleString

Rule violated. Corresponds to the JSON property rule

Returns:

  • (String)


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