module RestMethod:sig..end
module Response:sig..end
module Request:sig..end
module MediaUpload:sig..end
type t = {
|
description : |
(* |
Description of this method.
| *) |
|
etagRequired : |
(* |
Whether this method requires an ETag to be specified. The ETag is sent as an HTTP If-Match or If-None-Match header.
| *) |
|
httpMethod : |
(* |
HTTP method used by this method.
| *) |
|
id : |
(* |
A unique ID for this method. This property can be used to match methods between different versions of Discovery.
| *) |
|
mediaUpload : |
(* |
Media upload parameters.
| *) |
|
parameterOrder : |
(* |
Ordered list of required parameters, serves as a hint to clients on how to structure their method signatures. The array is ordered such that the "most-significant" parameter appears first.
| *) |
|
parameters : |
(* |
Details for all parameters in this method.
| *) |
|
path : |
(* |
The URI path of this REST method. Should be used in conjunction with the basePath property at the api-level.
| *) |
|
request : |
(* |
The schema for the request.
| *) |
|
response : |
(* |
The schema for the response.
| *) |
|
scopes : |
(* |
OAuth 2.0 scopes applicable to this method.
| *) |
|
supportsMediaDownload : |
(* |
Whether this method supports media downloads.
| *) |
|
supportsMediaUpload : |
(* |
Whether this method supports media uploads.
| *) |
|
supportsSubscription : |
(* |
Whether this method supports subscriptions.
| *) |
|
useMediaDownloadService : |
(* |
Indicates that downloads from this method should use the download service URL (i.e. "/download"). Only applies if the method supports media download.
| *) |
val description : (t, string) GapiLens.t
val etagRequired : (t, bool) GapiLens.t
val httpMethod : (t, string) GapiLens.t
val id : (t, string) GapiLens.t
val mediaUpload : (t,
MediaUpload.t)
GapiLens.t
val parameterOrder : (t, string list) GapiLens.t
val parameters : (t,
(string * GapiDiscoveryV1Model.JsonSchema.t) list)
GapiLens.t
val path : (t, string) GapiLens.t
val request : (t,
Request.t)
GapiLens.t
val response : (t,
Response.t)
GapiLens.t
val scopes : (t, string list) GapiLens.t
val supportsMediaDownload : (t, bool) GapiLens.t
val supportsMediaUpload : (t, bool) GapiLens.t
val supportsSubscription : (t, bool) GapiLens.t
val useMediaDownloadService : (t, bool) 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