@@ -353,9 +353,10 @@ def update!(**args)
353353 end
354354 end
355355
356- # Dimensions are attributes of your data. For example, the dimension City
357- # indicates the city, for example, "Paris" or "New York", from which an event
358- # originates. Requests are allowed up to 8 dimensions.
356+ # Dimensions are attributes of your data. For example, the dimension city
357+ # indicates the city from which an event originates. Dimension values in report
358+ # responses are strings; for example, city could be "Paris" or "New York".
359+ # Requests are allowed up to 8 dimensions.
359360 class Dimension
360361 include Google ::Apis ::Core ::Hashable
361362
@@ -366,7 +367,13 @@ class Dimension
366367 # @return [Google::Apis::AnalyticsdataV1alpha::DimensionExpression]
367368 attr_accessor :dimension_expression
368369
369- # The name of the dimension.
370+ # The name of the dimension. See the [API Dimensions](https://developers.google.
371+ # com/analytics/trusted-testing/analytics-data/api-schema#dimensions) for the
372+ # list of dimension names. If `dimensionExpression` is specified, `name` can be
373+ # any string that you would like. For example if a `dimensionExpression`
374+ # concatenates `country` and `city`, you could call that dimension `
375+ # countryAndCity`. Dimensions are referenced by `name` in `dimensionFilter`, `
376+ # orderBys`, `dimensionExpression`, and `pivots`.
370377 # Corresponds to the JSON property `name`
371378 # @return [String]
372379 attr_accessor :name
@@ -527,7 +534,9 @@ def update!(**args)
527534 class Entity
528535 include Google ::Apis ::Core ::Hashable
529536
530- # A Google Analytics GA4 property id.
537+ # A Google Analytics GA4 property id. To learn more, see [where to find your
538+ # Property ID](https://developers.google.com/analytics/trusted-testing/analytics-
539+ # data/property-id).
531540 # Corresponds to the JSON property `propertyId`
532541 # @return [String]
533542 attr_accessor :property_id
@@ -708,26 +717,31 @@ def update!(**args)
708717 end
709718 end
710719
711- # The quantitative measurements of a report. For example, the metric eventCount
720+ # The quantitative measurements of a report. For example, the metric ` eventCount`
712721 # is the total number of events. Requests are allowed up to 10 metrics.
713722 class Metric
714723 include Google ::Apis ::Core ::Hashable
715724
716725 # A mathematical expression for derived metrics. For example, the metric Event
717- # count per user is eventCount/totalUsers.
726+ # count per user is ` eventCount/totalUsers` .
718727 # Corresponds to the JSON property `expression`
719728 # @return [String]
720729 attr_accessor :expression
721730
722- # Indicates if a metric is invisible. If a metric is invisible, the metric is
723- # not in the response, but can be used in filters, order_bys or being referred
724- # to in a metric expression.
731+ # Indicates if a metric is invisible in the report response. If a metric is
732+ # invisible, the metric will not produce a column in the response, but can be
733+ # used in `metricFilter`, `orderBys`, or a metric ` expression` .
725734 # Corresponds to the JSON property `invisible`
726735 # @return [Boolean]
727736 attr_accessor :invisible
728737 alias_method :invisible? , :invisible
729738
730- # The name of the metric.
739+ # The name of the metric. See the [API Metrics](https://developers.google.com/
740+ # analytics/trusted-testing/analytics-data/api-schema#metrics) for the list of
741+ # metric names. If `expression` is specified, `name` can be any string that you
742+ # would like. For example if `expression` is `screenPageViews/sessions`, you
743+ # could call that metric's name = `viewsPerSession`. Metrics are referenced by `
744+ # name` in `metricFilter`, `orderBys`, and metric `expression`.
731745 # Corresponds to the JSON property `name`
732746 # @return [String]
733747 attr_accessor :name
0 commit comments