package gapi-ocaml

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

    Whether the user has installed the requesting app.

    *)
  2. canCreateDrives : bool;
    (*

    Whether the user can create shared drives.

    *)
  3. canCreateTeamDrives : bool;
    (*

    Deprecated - use canCreateDrives instead.

    *)
  4. driveThemes : DriveThemes.t list;
    (*

    A list of themes that are supported for shared drives.

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

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

    *)
  6. folderColorPalette : string list;
    (*

    The currently supported folder colors as RGB hex strings.

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

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

    *)
  8. kind : string;
    (*

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

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

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

    *)
  10. maxUploadSize : int64;
    (*

    The maximum upload size in bytes.

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

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

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

    Deprecated - use driveThemes instead.

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

    The authenticated user.

    *)
}
val appInstalled : (t, bool) GapiLens.t
val canCreateDrives : (t, bool) GapiLens.t
val canCreateTeamDrives : (t, bool) GapiLens.t
val driveThemes : (t, DriveThemes.t list) 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.