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

A custom metric collection lists Analytics custom metrics to which the user has access. Each resource in the collection corresponds to a single Analytics custom metric.

Attributes

  • items (type: list(GoogleApi.Analytics.V3.Model.CustomMetric.t), default: nil) - Collection of custom metrics.
  • itemsPerPage (type: integer(), default: nil) - The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.
  • kind (type: String.t, default: analytics#customMetrics) - Collection type.
  • nextLink (type: String.t, default: nil) - Link to next page for this custom metric collection.
  • previousLink (type: String.t, default: nil) - Link to previous page for this custom metric collection.
  • startIndex (type: integer(), default: nil) - The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.
  • totalResults (type: integer(), default: nil) - The total number of results for the query, regardless of the number of results in the response.
  • username (type: String.t, default: nil) - Email ID of the authenticated user

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Analytics.V3.Model.CustomMetrics{
  items: [GoogleApi.Analytics.V3.Model.CustomMetric.t()] | nil,
  itemsPerPage: integer() | nil,
  kind: String.t() | nil,
  nextLink: String.t() | nil,
  previousLink: String.t() | nil,
  startIndex: integer() | nil,
  totalResults: integer() | nil,
  username: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.