package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. files : File.t list;
    (*

    The list of files. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched.

    *)
  2. incompleteSearch : bool;
    (*

    Whether the search process was incomplete. If true, then some search results may be missing, since all documents were not searched. This may occur when searching multiple drives with the "allDrives" corpora, but all corpora could not be searched. When this happens, it is suggested that clients narrow their query by choosing a different corpus such as "user" or "drive".

    *)
  3. kind : string;
    (*

    Identifies what kind of resource this is. Value: the fixed string "drive#fileList".

    *)
  4. nextPageToken : string;
    (*

    The page token for the next page of files. This will be absent if the end of the files list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results.

    *)
}
val files : (t, File.t list) GapiLens.t
val incompleteSearch : (t, bool) GapiLens.t
val kind : (t, string) GapiLens.t
val nextPageToken : (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