Class: Google::Apis::SearchconsoleV1::DetectedItems
- Inherits:
-
Object
- Object
- Google::Apis::SearchconsoleV1::DetectedItems
- 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 items grouped by type.
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::SearchconsoleV1::Item>
List of Rich Results items.
-
#rich_result_type ⇒ String
Rich Results type Corresponds to the JSON property
richResultType
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DetectedItems
constructor
A new instance of DetectedItems.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DetectedItems
Returns a new instance of DetectedItems.
255 256 257 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 255 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::SearchconsoleV1::Item>
List of Rich Results items.
Corresponds to the JSON property items
248 249 250 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 248 def items @items end |
#rich_result_type ⇒ String
Rich Results type
Corresponds to the JSON property richResultType
253 254 255 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 253 def rich_result_type @rich_result_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
260 261 262 263 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 260 def update!(**args) @items = args[:items] if args.key?(:items) @rich_result_type = args[:rich_result_type] if args.key?(:rich_result_type) end |