package gapi-ocaml

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

Module GapiDriveV3Model.AboutSource

Sourcemodule TeamDriveThemes : sig ... end
Sourcemodule DriveThemes : sig ... end
Sourcemodule StorageQuota : sig ... end
Sourcetype t = {
  1. kind : string;
    (*

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

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

    The user's storage quota limits and usage. For users that are part of an organization with pooled storage, information about the limit and usage across all services is for the organization, rather than the individual user. All fields are measured in bytes.

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

    A list of themes that are supported for shared drives.

    *)
  4. canCreateDrives : bool;
    (*

    Whether the user can create shared drives.

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

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

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

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

    *)
  7. appInstalled : bool;
    (*

    Whether the user has installed the requesting app.

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

    The authenticated user.

    *)
  9. folderColorPalette : string list;
    (*

    The currently supported folder colors as RGB hex strings.

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

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

    *)
  11. maxUploadSize : int64;
    (*

    The maximum upload size in bytes.

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

    Deprecated: Use `driveThemes` instead.

    *)
  13. canCreateTeamDrives : bool;
    (*

    Deprecated: Use `canCreateDrives` instead.

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