Class: Google::Apis::SearchconsoleV1::RichResultsInspectionResult

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

Rich-Results inspection result, including any rich results found at this URL.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RichResultsInspectionResult

Returns a new instance of RichResultsInspectionResult.



574
575
576
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 574

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

Instance Attribute Details

#detected_itemsArray<Google::Apis::SearchconsoleV1::DetectedItems>

A list of zero or more rich results detected on this page. Rich results that cannot even be parsed due to syntactic issues will not be listed here. Corresponds to the JSON property detectedItems



567
568
569
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 567

def detected_items
  @detected_items
end

#verdictString

High-level rich results inspection result for this URL. Corresponds to the JSON property verdict

Returns:

  • (String)


572
573
574
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 572

def verdict
  @verdict
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



579
580
581
582
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 579

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