View Source GoogleApi.Analytics.V3.Model.CustomMetric (google_api_analytics v0.15.0)

JSON template for Analytics Custom Metric.

Attributes

  • accountId (type: String.t, default: nil) - Account ID.
  • active (type: boolean(), default: nil) - Boolean indicating whether the custom metric is active.
  • created (type: DateTime.t, default: nil) - Time the custom metric was created.
  • id (type: String.t, default: nil) - Custom metric ID.
  • index (type: integer(), default: nil) - Index of the custom metric.
  • kind (type: String.t, default: analytics#customMetric) - Kind value for a custom metric. Set to "analytics#customMetric". It is a read-only field.
  • max_value (type: String.t, default: nil) - Max value of custom metric.
  • min_value (type: String.t, default: nil) - Min value of custom metric.
  • name (type: String.t, default: nil) - Name of the custom metric.
  • parentLink (type: GoogleApi.Analytics.V3.Model.CustomMetricParentLink.t, default: nil) - Parent link for the custom metric. Points to the property to which the custom metric belongs.
  • scope (type: String.t, default: nil) - Scope of the custom metric: HIT or PRODUCT.
  • selfLink (type: String.t, default: nil) - Link for the custom metric
  • type (type: String.t, default: nil) - Data type of custom metric.
  • updated (type: DateTime.t, default: nil) - Time the custom metric was last modified.
  • webPropertyId (type: String.t, default: nil) - Property ID.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Analytics.V3.Model.CustomMetric{
  accountId: String.t() | nil,
  active: boolean() | nil,
  created: DateTime.t() | nil,
  id: String.t() | nil,
  index: integer() | nil,
  kind: String.t() | nil,
  max_value: String.t() | nil,
  min_value: String.t() | nil,
  name: String.t() | nil,
  parentLink: GoogleApi.Analytics.V3.Model.CustomMetricParentLink.t() | nil,
  scope: String.t() | nil,
  selfLink: String.t() | nil,
  type: String.t() | nil,
  updated: DateTime.t() | nil,
  webPropertyId: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.