package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module GapiDriveV3Model.FileListSource

Sourcetype t = {
  1. 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. The page token is typically valid for several hours. However, if new items are added or removed, your expected results might differ.

    *)
  2. kind : string;
    (*

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

    *)
  3. incompleteSearch : bool;
    (*

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

    *)
  4. 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.

    *)
}
Sourceval nextPageToken : (t, string) GapiLens.t
Sourceval kind : (t, string) GapiLens.t
Sourceval incompleteSearch : (t, bool) GapiLens.t
Sourceval files : (t, File.t list) GapiLens.t
Sourceval empty : t
Sourceval render : t -> GapiJson.json_data_model list
Sourceval to_data_model : t -> GapiJson.json_data_model
Sourceval of_data_model : GapiJson.json_data_model -> t