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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ MobileFriendlyIssue

Returns a new instance of MobileFriendlyIssue.



80
81
82
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 80

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

Instance Attribute Details

#ruleString

Rule violated. Corresponds to the JSON property rule

Returns:

  • (String)


78
79
80
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 78

def rule
  @rule
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



85
86
87
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 85

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