package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module TeamDriveThemes : sig ... end
module StorageQuota : sig ... end
type t = {
  1. appInstalled : bool;
    (*

    Whether the user has installed the requesting app.

    *)
  2. exportFormats : (string * string list) list;
    (*

    A map of source MIME type to possible targets for all supported exports.

    *)
  3. folderColorPalette : string list;
    (*

    The currently supported folder colors as RGB hex strings.

    *)
  4. importFormats : (string * string list) list;
    (*

    A map of source MIME type to possible targets for all supported imports.

    *)
  5. kind : string;
    (*

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

    *)
  6. maxImportSizes : (string * int64) list;
    (*

    A map of maximum import sizes by MIME type, in bytes.

    *)
  7. maxUploadSize : int64;
    (*

    The maximum upload size in bytes.

    *)
  8. storageQuota : StorageQuota.t;
    (*

    The user's storage quota limits and usage. All fields are measured in bytes.

    *)
  9. teamDriveThemes : TeamDriveThemes.t list;
    (*

    A list of themes that are supported for Team Drives.

    *)
  10. user : User.t;
    (*

    The authenticated user.

    *)
}
val appInstalled : (t, bool) GapiLens.t
val exportFormats : (t, (string * string list) list) GapiLens.t
val folderColorPalette : (t, string list) GapiLens.t
val importFormats : (t, (string * string list) list) GapiLens.t
val kind : (t, string) GapiLens.t
val maxImportSizes : (t, (string * int64) list) GapiLens.t
val maxUploadSize : (t, int64) GapiLens.t
val storageQuota : (t, StorageQuota.t) GapiLens.t
val teamDriveThemes : (t, TeamDriveThemes.t list) GapiLens.t
val user : (t, User.t) 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
OCaml

Innovation. Community. Security.