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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/searchconsole_v1/classes.rb,
generated/google/apis/searchconsole_v1/representations.rb,
generated/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.



186
187
188
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 186

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#ruleString

Rule violated. Corresponds to the JSON property rule

Returns:

  • (String)


184
185
186
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 184

def rule
  @rule
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



191
192
193
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 191

def update!(**args)
  @rule = args[:rule] if args.key?(:rule)
end