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

JSON template for an Analytics segment.

Attributes

  • created (type: DateTime.t, default: nil) - Time the segment was created.
  • definition (type: String.t, default: nil) - Segment definition.
  • id (type: String.t, default: nil) - Segment ID.
  • kind (type: String.t, default: analytics#segment) - Resource type for Analytics segment.
  • name (type: String.t, default: nil) - Segment name.
  • segmentId (type: String.t, default: nil) - Segment ID. Can be used with the 'segment' parameter in Core Reporting API.
  • selfLink (type: String.t, default: nil) - Link for this segment.
  • type (type: String.t, default: nil) - Type for a segment. Possible values are "BUILT_IN" or "CUSTOM".
  • updated (type: DateTime.t, default: nil) - Time the segment was last modified.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Analytics.V3.Model.Segment{
  created: DateTime.t() | nil,
  definition: String.t() | nil,
  id: String.t() | nil,
  kind: String.t() | nil,
  name: String.t() | nil,
  segmentId: String.t() | nil,
  selfLink: String.t() | nil,
  type: String.t() | nil,
  updated: DateTime.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.