google_api_analytics v0.4.0 GoogleApi.Analytics.V3.Model.CustomMetric View Source

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.

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.Analytics.V3.Model.CustomMetric{
  accountId: String.t(),
  active: boolean(),
  created: DateTime.t(),
  id: String.t(),
  index: integer(),
  kind: String.t(),
  max_value: String.t(),
  min_value: String.t(),
  name: String.t(),
  parentLink: GoogleApi.Analytics.V3.Model.CustomMetricParentLink.t(),
  scope: String.t(),
  selfLink: String.t(),
  type: String.t(),
  updated: DateTime.t(),
  webPropertyId: String.t()
}

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.