GapiAnalyticsV3Model.CustomMetric
module ParentLink : sig ... end
type t = {
accountId : string; | (* Account ID. *) |
active : bool; | (* Boolean indicating whether the custom metric is active. *) |
created : GapiDate.t; | (* Time the custom metric was created. *) |
id : string; | (* Custom metric ID. *) |
index : int; | (* Index of the custom metric. *) |
kind : string; | (* Kind value for a custom metric. Set to "analytics#customMetric". It is a read-only field. *) |
max_value : string; | (* Max value of custom metric. *) |
min_value : string; | (* Min value of custom metric. *) |
name : string; | (* Name of the custom metric. *) |
parentLink : ParentLink.t; | (* Parent link for the custom metric. Points to the property to which the custom metric belongs. *) |
scope : string; | (* Scope of the custom metric: HIT or PRODUCT. *) |
selfLink : string; | (* Link for the custom metric *) |
_type : string; | (* Data type of custom metric. *) |
updated : GapiDate.t; | (* Time the custom metric was last modified. *) |
webPropertyId : string; | (* Property ID. *) |
}
val accountId : ( t, string ) GapiLens.t
val active : ( t, bool ) GapiLens.t
val created : ( t, GapiDate.t ) GapiLens.t
val id : ( t, string ) GapiLens.t
val index : ( t, int ) GapiLens.t
val kind : ( t, string ) GapiLens.t
val max_value : ( t, string ) GapiLens.t
val min_value : ( t, string ) GapiLens.t
val name : ( t, string ) GapiLens.t
val parentLink : ( t, ParentLink.t ) GapiLens.t
val scope : ( t, string ) GapiLens.t
val selfLink : ( t, string ) GapiLens.t
val _type : ( t, string ) GapiLens.t
val updated : ( t, GapiDate.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