package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module QuotaBytesByService : sig ... end
module MaxUploadSizes : sig ... end
module ImportFormats : sig ... end
module Features : sig ... end
module ExportFormats : sig ... end
module AdditionalRoleInfo : sig ... end
type t = {
  1. additionalRoleInfo : AdditionalRoleInfo.t list;
    (*

    Information about supported additional roles per file type. The most specific type takes precedence.

    *)
  2. domainSharingPolicy : string;
    (*

    The domain sharing policy for the current user. Possible values are:

    • allowed
    • allowedWithWarning
    • incomingOnly
    • disallowed
    *)
  3. etag : string;
    (*

    The ETag of the item.

    *)
  4. exportFormats : ExportFormats.t list;
    (*

    The allowable export formats.

    *)
  5. features : Features.t list;
    (*

    List of additional features enabled on this account.

    *)
  6. folderColorPalette : string list;
    (*

    The palette of allowable folder colors as RGB hex strings.

    *)
  7. importFormats : ImportFormats.t list;
    (*

    The allowable import formats.

    *)
  8. isCurrentAppInstalled : bool;
    (*

    A boolean indicating whether the authenticated app is installed by the authenticated user.

    *)
  9. kind : string;
    (*

    This is always drive#about.

    *)
  10. languageCode : string;
    (*

    The user's language or locale code, as defined by BCP 47, with some extensions from Unicode's LDML format (http://www.unicode.org/reports/tr35/).

    *)
  11. largestChangeId : int64;
    (*

    The largest change id.

    *)
  12. maxUploadSizes : MaxUploadSizes.t list;
    (*

    List of max upload sizes for each file type. The most specific type takes precedence.

    *)
  13. name : string;
    (*

    The name of the current user.

    *)
  14. permissionId : string;
    (*

    The current user's ID as visible in the permissions collection.

    *)
  15. quotaBytesByService : QuotaBytesByService.t list;
    (*

    The amount of storage quota used by different Google services.

    *)
  16. quotaBytesTotal : int64;
    (*

    The total number of quota bytes.

    *)
  17. quotaBytesUsed : int64;
    (*

    The number of quota bytes used by Google Drive.

    *)
  18. quotaBytesUsedAggregate : int64;
    (*

    The number of quota bytes used by all Google apps (Drive, Picasa, etc.).

    *)
  19. quotaBytesUsedInTrash : int64;
    (*

    The number of quota bytes used by trashed items.

    *)
  20. quotaType : string;
    (*

    The type of the user's storage quota. Possible values are:

    • LIMITED
    • UNLIMITED
    *)
  21. remainingChangeIds : int64;
    (*

    The number of remaining change ids, limited to no more than 2500.

    *)
  22. rootFolderId : string;
    (*

    The id of the root folder.

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

    The authenticated user.

    *)
}
val additionalRoleInfo : (t, AdditionalRoleInfo.t list) GapiLens.t
val domainSharingPolicy : (t, string) GapiLens.t
val etag : (t, string) GapiLens.t
val exportFormats : (t, ExportFormats.t list) GapiLens.t
val features : (t, Features.t list) GapiLens.t
val folderColorPalette : (t, string list) GapiLens.t
val importFormats : (t, ImportFormats.t list) GapiLens.t
val isCurrentAppInstalled : (t, bool) GapiLens.t
val kind : (t, string) GapiLens.t
val languageCode : (t, string) GapiLens.t
val largestChangeId : (t, int64) GapiLens.t
val maxUploadSizes : (t, MaxUploadSizes.t list) GapiLens.t
val name : (t, string) GapiLens.t
val permissionId : (t, string) GapiLens.t
val quotaBytesByService : (t, QuotaBytesByService.t list) GapiLens.t
val quotaBytesTotal : (t, int64) GapiLens.t
val quotaBytesUsed : (t, int64) GapiLens.t
val quotaBytesUsedAggregate : (t, int64) GapiLens.t
val quotaBytesUsedInTrash : (t, int64) GapiLens.t
val quotaType : (t, string) GapiLens.t
val remainingChangeIds : (t, int64) GapiLens.t
val rootFolderId : (t, string) 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.