View Source GoogleApi.AnalyticsReporting.V4.Model.SegmentMetricFilter (google_api_analytics_reporting v0.18.0)

Metric filter to be used in a segment filter clause.

Attributes

  • comparisonValue (type: String.t, default: nil) - The value to compare against. If the operator is BETWEEN, this value is treated as minimum comparison value.
  • maxComparisonValue (type: String.t, default: nil) - Max comparison value is only used for BETWEEN operator.
  • metricName (type: String.t, default: nil) - The metric that will be filtered on. A metricFilter must contain a metric name.
  • operator (type: String.t, default: nil) - Specifies is the operation to perform to compare the metric. The default is EQUAL.
  • scope (type: String.t, default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AnalyticsReporting.V4.Model.SegmentMetricFilter{
  comparisonValue: String.t() | nil,
  maxComparisonValue: String.t() | nil,
  metricName: String.t() | nil,
  operator: String.t() | nil,
  scope: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.