Class: Google::Apis::SearchconsoleV1::Item
- Inherits:
-
Object
- Object
- Google::Apis::SearchconsoleV1::Item
- 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
A specific rich result found on the page.
Instance Attribute Summary collapse
-
#issues ⇒ Array<Google::Apis::SearchconsoleV1::RichResultsIssue>
A list of zero or more rich result issues found for this instance.
-
#name ⇒ String
The user-provided name of this item.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Item
constructor
A new instance of Item.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Item
Returns a new instance of Item.
454 455 456 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 454 def initialize(**args) update!(**args) end |
Instance Attribute Details
#issues ⇒ Array<Google::Apis::SearchconsoleV1::RichResultsIssue>
A list of zero or more rich result issues found for this instance.
Corresponds to the JSON property issues
447 448 449 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 447 def issues @issues end |
#name ⇒ String
The user-provided name of this item.
Corresponds to the JSON property name
452 453 454 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 452 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
459 460 461 462 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 459 def update!(**args) @issues = args[:issues] if args.key?(:issues) @name = args[:name] if args.key?(:name) end |