package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. id : string;
    (*

    The ID of the revision.

    *)
  2. keepForever : bool;
    (*

    Whether to keep this revision forever, even if it is no longer the head revision. If not set, the revision will be automatically purged 30 days after newer content is uploaded. This can be set on a maximum of 200 revisions for a file. This field is only applicable to files with binary content in Drive.

    *)
  3. kind : string;
    (*

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

    *)
  4. lastModifyingUser : User.t;
    (*

    The last user to modify this revision.

    *)
  5. md5Checksum : string;
    (*

    The MD5 checksum of the revision's content. This is only applicable to files with binary content in Drive.

    *)
  6. mimeType : string;
    (*

    The MIME type of the revision.

    *)
  7. modifiedTime : GapiDate.t;
    (*

    The last time the revision was modified (RFC 3339 date-time).

    *)
  8. originalFilename : string;
    (*

    The original filename used to create this revision. This is only applicable to files with binary content in Drive.

    *)
  9. publishAuto : bool;
    (*

    Whether subsequent revisions will be automatically republished. This is only applicable to Google Docs.

    *)
  10. published : bool;
    (*

    Whether this revision is published. This is only applicable to Google Docs.

    *)
  11. publishedOutsideDomain : bool;
    (*

    Whether this revision is published outside the domain. This is only applicable to Google Docs.

    *)
  12. size : int64;
    (*

    The size of the revision's content in bytes. This is only applicable to files with binary content in Drive.

    *)
}
val id : (t, string) GapiLens.t
val keepForever : (t, bool) GapiLens.t
val kind : (t, string) GapiLens.t
val lastModifyingUser : (t, User.t) GapiLens.t
val md5Checksum : (t, string) GapiLens.t
val mimeType : (t, string) GapiLens.t
val modifiedTime : (t, GapiDate.t) GapiLens.t
val originalFilename : (t, string) GapiLens.t
val publishAuto : (t, bool) GapiLens.t
val published : (t, bool) GapiLens.t
val publishedOutsideDomain : (t, bool) GapiLens.t
val size : (t, int64) 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