package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Query : sig ... end
module ProfileInfo : sig ... end
module ColumnHeaders : sig ... end
type t = {
  1. columnHeaders : ColumnHeaders.t list;
    (*

    Column headers that list dimension names followed by the metric names. The order of dimensions and metrics is same as specified in the request.

    *)
  2. id : string;
    (*

    Unique ID for this data response.

    *)
  3. kind : string;
    (*

    Resource type.

    *)
  4. profileInfo : ProfileInfo.t;
    (*

    Information for the view (profile), for which the real time data was requested.

    *)
  5. query : Query.t;
    (*

    Real time data request query parameters.

    *)
  6. rows : string list list;
    (*

    Real time data rows, where each row contains a list of dimension values followed by the metric values. The order of dimensions and metrics is same as specified in the request.

    *)
  7. totalResults : int;
    (*

    The total number of rows for the query, regardless of the number of rows in the response.

    *)
  8. totalsForAllResults : (string * string) list;
    (*

    Total values for the requested metrics over all the results, not just the results returned in this response. The order of the metric totals is same as the metric order specified in the request.

    *)
}
val columnHeaders : (t, ColumnHeaders.t list) GapiLens.t
val id : (t, string) GapiLens.t
val kind : (t, string) GapiLens.t
val profileInfo : (t, ProfileInfo.t) GapiLens.t
val query : (t, Query.t) GapiLens.t
val rows : (t, string list list) GapiLens.t
val totalResults : (t, int) GapiLens.t
val totalsForAllResults : (t, (string * string) list) 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.