View Source GoogleApi.AnalyticsReporting.V4.Model.Segment (google_api_analytics_reporting v0.18.0)

The segment definition, if the report needs to be segmented. A Segment is a subset of the Analytics data. For example, of the entire set of users, one Segment might be users from a particular country or city.

Attributes

  • dynamicSegment (type: GoogleApi.AnalyticsReporting.V4.Model.DynamicSegment.t, default: nil) - A dynamic segment definition in the request.
  • segmentId (type: String.t, default: nil) - The segment ID of a built-in or custom segment, for example gaid::-3.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AnalyticsReporting.V4.Model.Segment{
  dynamicSegment:
    GoogleApi.AnalyticsReporting.V4.Model.DynamicSegment.t() | nil,
  segmentId: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.