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