google_api_analytics_reporting v0.2.0 GoogleApi.AnalyticsReporting.V4.Model.SegmentMetricFilter View Source

Metric filter to be used in a segment filter clause.

Attributes

  • comparisonValue (String.t): The value to compare against. If the operator is `BETWEEN`, this value is treated as minimum comparison value. Defaults to: null.
  • maxComparisonValue (String.t): Max comparison value is only used for `BETWEEN` operator. Defaults to: null.
  • metricName (String.t): The metric that will be filtered on. A `metricFilter` must contain a metric name. Defaults to: null.
  • operator (String.t): Specifies is the operation to perform to compare the metric. The default is `EQUAL`. Defaults to: null.

    • Enum - one of [UNSPECIFIED_OPERATOR, LESS_THAN, GREATER_THAN, EQUAL, BETWEEN]
  • scope (String.t): Scope for a metric defines the level at which that metric is defined. The specified metric scope must be equal to or greater than its primary scope as defined in the data model. The primary scope is defined by if the segment is selecting users or sessions. Defaults to: null.

    • Enum - one of [UNSPECIFIED_SCOPE, PRODUCT, HIT, SESSION, USER]

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.AnalyticsReporting.V4.Model.SegmentMetricFilter{
  comparisonValue: any(),
  maxComparisonValue: any(),
  metricName: any(),
  operator: any(),
  scope: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.