Module GapiDriveV2Model.Channel

module Channel: sig .. end

type t = {
   address : string; (*
The address where notifications are delivered for this channel.
*)
   expiration : int64; (*
Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
*)
   id : string; (*
A UUID or similar unique string that identifies this channel.
*)
   kind : string; (*
Identifies this as a notification channel used to watch for changes to a resource. Value: the fixed string "api#channel".
*)
   params : (string * string) list; (*
Additional parameters controlling delivery channel behavior. Optional.
*)
   payload : bool; (*
A Boolean value to indicate whether payload is wanted. Optional.
*)
   resourceId : string; (*
An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
*)
   resourceUri : string; (*
A version-specific identifier for the watched resource.
*)
   token : string; (*
An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
*)
   _type : string; (*
The type of delivery mechanism used for this channel.
*)
}
val address : (t, string) GapiLens.t
val expiration : (t, int64) GapiLens.t
val id : (t, string) GapiLens.t
val kind : (t, string) GapiLens.t
val params : (t, (string * string) list) GapiLens.t
val payload : (t, bool) GapiLens.t
val resourceId : (t, string) GapiLens.t
val resourceUri : (t, string) GapiLens.t
val token : (t, string) GapiLens.t
val _type : (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