package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module VisitTimeOnSiteDetails : sig ... end
module VisitNumPagesDetails : sig ... end
module UrlDestinationDetails : sig ... end
module EventDetails : sig ... end
type t = {
  1. accountId : string;
    (*

    Account ID to which this goal belongs.

    *)
  2. active : bool;
    (*

    Determines whether this goal is active.

    *)
  3. created : GapiDate.t;
    (*

    Time this goal was created.

    *)
  4. eventDetails : EventDetails.t;
    (*

    Details for the goal of the type EVENT.

    *)
  5. id : string;
    (*

    Goal ID.

    *)
  6. internalWebPropertyId : string;
    (*

    Internal ID for the web property to which this goal belongs.

    *)
  7. kind : string;
    (*

    Resource type for an Analytics goal.

    *)
  8. name : string;
    (*

    Goal name.

    *)
  9. profileId : string;
    (*

    View (Profile) ID to which this goal belongs.

    *)
  10. _type : string;
    (*

    Goal type. Possible values are URL_DESTINATION, VISIT_TIME_ON_SITE, VISIT_NUM_PAGES, AND EVENT.

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

    Time this goal was last modified.

    *)
  12. urlDestinationDetails : UrlDestinationDetails.t;
    (*

    Details for the goal of the type URL_DESTINATION.

    *)
  13. value : float;
    (*

    Goal value.

    *)
  14. visitNumPagesDetails : VisitNumPagesDetails.t;
    (*

    Details for the goal of the type VISIT_NUM_PAGES.

    *)
  15. visitTimeOnSiteDetails : VisitTimeOnSiteDetails.t;
    (*

    Details for the goal of the type VISIT_TIME_ON_SITE.

    *)
  16. webPropertyId : string;
    (*

    Web property ID to which this goal belongs. The web property ID is of the form UA-XXXXX-YY.

    *)
}
val accountId : (t, string) GapiLens.t
val active : (t, bool) GapiLens.t
val created : (t, GapiDate.t) GapiLens.t
val eventDetails : (t, EventDetails.t) GapiLens.t
val id : (t, string) GapiLens.t
val internalWebPropertyId : (t, string) GapiLens.t
val kind : (t, string) GapiLens.t
val name : (t, string) GapiLens.t
val profileId : (t, string) GapiLens.t
val _type : (t, string) GapiLens.t
val updated : (t, GapiDate.t) GapiLens.t
val urlDestinationDetails : (t, UrlDestinationDetails.t) GapiLens.t
val value : (t, float) GapiLens.t
val visitNumPagesDetails : (t, VisitNumPagesDetails.t) GapiLens.t
val visitTimeOnSiteDetails : (t, VisitTimeOnSiteDetails.t) GapiLens.t
val webPropertyId : (t, string) 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.