Class: Google::Apis::SearchconsoleV1::SearchAnalyticsQueryResponse
- Inherits:
-
Object
- Object
- Google::Apis::SearchconsoleV1::SearchAnalyticsQueryResponse
- 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
A list of rows, one per result, grouped by key. Metrics in each row are aggregated for all data grouped by that key either by page or property, as specified by the aggregation type parameter.
Instance Attribute Summary collapse
-
#response_aggregation_type ⇒ String
How the results were aggregated.
-
#rows ⇒ Array<Google::Apis::SearchconsoleV1::ApiDataRow>
A list of rows grouped by the key values in the order given in the query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SearchAnalyticsQueryResponse
constructor
A new instance of SearchAnalyticsQueryResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SearchAnalyticsQueryResponse
Returns a new instance of SearchAnalyticsQueryResponse.
390 391 392 |
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 390 def initialize(**args) update!(**args) end |
Instance Attribute Details
#response_aggregation_type ⇒ String
How the results were aggregated.
Corresponds to the JSON property responseAggregationType
383 384 385 |
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 383 def response_aggregation_type @response_aggregation_type end |
#rows ⇒ Array<Google::Apis::SearchconsoleV1::ApiDataRow>
A list of rows grouped by the key values in the order given in the query.
Corresponds to the JSON property rows
388 389 390 |
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 388 def rows @rows end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
395 396 397 398 |
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 395 def update!(**args) @response_aggregation_type = args[:response_aggregation_type] if args.key?(:response_aggregation_type) @rows = args[:rows] if args.key?(:rows) end |