class Google::Apis::ContentV2_1::ReportRow

Result row returned from the search query.

Attributes

metrics[RW]

Performance metrics. Values are only set for metrics requested explicitly in the request's search query. Corresponds to the JSON property `metrics` @return [Google::Apis::ContentV2_1::Metrics]

segments[RW]

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` @return [Google::Apis::ContentV2_1::Segments]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 12207
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/content_v2_1/classes.rb, line 12212
def update!(**args)
  @metrics = args[:metrics] if args.key?(:metrics)
  @segments = args[:segments] if args.key?(:segments)
end