View Source GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1QueryMetric (google_api_apigee v0.46.0)

More info about Metric: https://docs.apigee.com/api-platform/analytics/analytics-reference#metrics

Attributes

  • alias (type: String.t, default: nil) - Alias for the metric. Alias will be used to replace metric name in query results.
  • function (type: String.t, default: nil) - Aggregation function: avg, min, max, or sum.
  • name (type: String.t, default: nil) - Required. Metric name.
  • operator (type: String.t, default: nil) - One of +, -, /, %, *.
  • value (type: String.t, default: nil) - Operand value should be provided when operator is set.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1QueryMetric{
  alias: String.t() | nil,
  function: String.t() | nil,
  name: String.t() | nil,
  operator: String.t() | nil,
  value: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.