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

MetricFilter specifies the filter on a metric.

Attributes

  • comparisonValue (type: String.t, default: nil) - The value to compare against.
  • metricName (type: String.t, default: nil) - The metric that will be filtered on. A metricFilter must contain a metric name. A metric name can be an alias earlier defined as a metric or it can also be a metric expression.
  • not (type: boolean(), default: nil) - Logical NOT operator. If this boolean is set to true, then the matching metric values will be excluded in the report. The default is false.
  • operator (type: String.t, default: nil) - Is the metric EQUAL, LESS_THAN or GREATER_THAN the comparisonValue, the default is EQUAL. If the operator is IS_MISSING, checks if the metric is missing and would ignore the comparisonValue.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AnalyticsReporting.V4.Model.MetricFilter{
  comparisonValue: String.t() | nil,
  metricName: String.t() | nil,
  not: boolean() | nil,
  operator: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.