Class: Google::Apis::ContentV2_1::ReportRow
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::ReportRow
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Overview
Result row returned from the search query.
Instance Attribute Summary collapse
-
#metrics ⇒ Google::Apis::ContentV2_1::Metrics
Performance metrics.
-
#segments ⇒ Google::Apis::ContentV2_1::Segments
Dimensions according to which metrics are segmented in the response.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReportRow
constructor
A new instance of ReportRow.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReportRow
Returns a new instance of ReportRow.
11372 11373 11374 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 11372 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metrics ⇒ Google::Apis::ContentV2_1::Metrics
Performance metrics. Values are only set for metrics requested explicitly in
the request's search query.
Corresponds to the JSON property metrics
11360 11361 11362 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 11360 def metrics @metrics end |
#segments ⇒ Google::Apis::ContentV2_1::Segments
Dimensions according to which metrics are segmented in the response. Values of
product dimensions, e.g., offer id, reflect the state of a product at the time
of the corresponding event, e.g., impression or order. Segment fields cannot
be selected in queries without also selecting at least one metric field.
Values are only set for dimensions requested explicitly in the request's
search query.
Corresponds to the JSON property segments
11370 11371 11372 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 11370 def segments @segments end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11377 11378 11379 11380 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 11377 def update!(**args) @metrics = args[:metrics] if args.key?(:metrics) @segments = args[:segments] if args.key?(:segments) end |