package gapi-ocaml

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

    Whether the app is authorized to access data on the user's Drive.

    *)
  2. createInFolderTemplate : string;
    (*

    The template url to create a new file with this app in a given folder. The template will contain {folderId} to be replaced by the folder to create the new file in.

    *)
  3. createUrl : string;
    (*

    The url to create a new file with this app.

    *)
  4. hasDriveWideScope : bool;
    (*

    Whether the app has drive-wide scope. An app with drive-wide scope can access all files in the user's drive.

    *)
  5. icons : Icons.t list;
    (*

    The various icons for the app.

    *)
  6. id : string;
    (*

    The ID of the app.

    *)
  7. installed : bool;
    (*

    Whether the app is installed.

    *)
  8. kind : string;
    (*

    This is always drive#app.

    *)
  9. longDescription : string;
    (*

    A long description of the app.

    *)
  10. name : string;
    (*

    The name of the app.

    *)
  11. objectType : string;
    (*

    The type of object this app creates (e.g. Chart). If empty, the app name should be used instead.

    *)
  12. openUrlTemplate : string;
    (*

    The template url for opening files with this app. The template will contain {ids} and/or {exportIds} to be replaced by the actual file ids. See Open Files for the full documentation.

    *)
  13. primaryFileExtensions : string list;
    (*

    The list of primary file extensions.

    *)
  14. primaryMimeTypes : string list;
    (*

    The list of primary mime types.

    *)
  15. productId : string;
    (*

    The ID of the product listing for this app.

    *)
  16. productUrl : string;
    (*

    A link to the product listing for this app.

    *)
  17. secondaryFileExtensions : string list;
    (*

    The list of secondary file extensions.

    *)
  18. secondaryMimeTypes : string list;
    (*

    The list of secondary mime types.

    *)
  19. shortDescription : string;
    (*

    A short description of the app.

    *)
  20. supportsCreate : bool;
    (*

    Whether this app supports creating new objects.

    *)
  21. supportsImport : bool;
    (*

    Whether this app supports importing Google Docs.

    *)
  22. supportsMultiOpen : bool;
    (*

    Whether this app supports opening more than one file.

    *)
  23. supportsOfflineCreate : bool;
    (*

    Whether this app supports creating new files when offline.

    *)
  24. useByDefault : bool;
    (*

    Whether the app is selected as the default handler for the types it supports.

    *)
}
val authorized : (t, bool) GapiLens.t
val createInFolderTemplate : (t, string) GapiLens.t
val createUrl : (t, string) GapiLens.t
val hasDriveWideScope : (t, bool) GapiLens.t
val icons : (t, Icons.t list) GapiLens.t
val id : (t, string) GapiLens.t
val installed : (t, bool) GapiLens.t
val kind : (t, string) GapiLens.t
val longDescription : (t, string) GapiLens.t
val name : (t, string) GapiLens.t
val objectType : (t, string) GapiLens.t
val openUrlTemplate : (t, string) GapiLens.t
val primaryFileExtensions : (t, string list) GapiLens.t
val primaryMimeTypes : (t, string list) GapiLens.t
val productId : (t, string) GapiLens.t
val productUrl : (t, string) GapiLens.t
val secondaryFileExtensions : (t, string list) GapiLens.t
val secondaryMimeTypes : (t, string list) GapiLens.t
val shortDescription : (t, string) GapiLens.t
val supportsCreate : (t, bool) GapiLens.t
val supportsImport : (t, bool) GapiLens.t
val supportsMultiOpen : (t, bool) GapiLens.t
val supportsOfflineCreate : (t, bool) GapiLens.t
val useByDefault : (t, bool) 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.