Class: Google::Apis::SearchconsoleV1::MobileUsabilityInspectionResult

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-usability inspection results.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MobileUsabilityInspectionResult

Returns a new instance of MobileUsabilityInspectionResult.



498
499
500
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 498

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

Instance Attribute Details

#issuesArray<Google::Apis::SearchconsoleV1::MobileUsabilityIssue>

A list of zero or more mobile-usability issues detected for this URL. Corresponds to the JSON property issues



491
492
493
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 491

def issues
  @issues
end

#verdictString

High-level mobile-usability inspection result for this URL. Corresponds to the JSON property verdict

Returns:

  • (String)


496
497
498
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 496

def verdict
  @verdict
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



503
504
505
506
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 503

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