package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. created : GapiDate.t;
    (*

    Time the segment was created.

    *)
  2. definition : string;
    (*

    Segment definition.

    *)
  3. id : string;
    (*

    Segment ID.

    *)
  4. kind : string;
    (*

    Resource type for Analytics segment.

    *)
  5. name : string;
    (*

    Segment name.

    *)
  6. segmentId : string;
    (*

    Segment ID. Can be used with the 'segment' parameter in Core Reporting API.

    *)
  7. _type : string;
    (*

    Type for a segment. Possible values are "BUILT_IN" or "CUSTOM".

    *)
  8. updated : GapiDate.t;
    (*

    Time the segment was last modified.

    *)
}
val created : (t, GapiDate.t) GapiLens.t
val definition : (t, string) GapiLens.t
val id : (t, string) GapiLens.t
val kind : (t, string) GapiLens.t
val name : (t, string) GapiLens.t
val segmentId : (t, string) GapiLens.t
val _type : (t, string) GapiLens.t
val updated : (t, GapiDate.t) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t
val to_data_model : t -> GapiJson.json_data_model
val of_data_model : GapiJson.json_data_model -> t
OCaml

Innovation. Community. Security.