package gapi-ocaml

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

    The type of the change. Possible values are file and drive.

    *)
  2. drive : Drive.t;
    (*

    The updated state of the shared drive. Present if the changeType is drive, the user is still a member of the shared drive, and the shared drive has not been deleted.

    *)
  3. driveId : string;
    (*

    The ID of the shared drive associated with this change.

    *)
  4. file : File.t;
    (*

    The updated state of the file. Present if the type is file and the file has not been removed from this list of changes.

    *)
  5. fileId : string;
    (*

    The ID of the file which has changed.

    *)
  6. kind : string;
    (*

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

    *)
  7. removed : bool;
    (*

    Whether the file or shared drive has been removed from this list of changes, for example by deletion or loss of access.

    *)
  8. teamDrive : TeamDrive.t;
    (*

    Deprecated - use drive instead.

    *)
  9. teamDriveId : string;
    (*

    Deprecated - use driveId instead.

    *)
  10. time : GapiDate.t;
    (*

    The time of this change (RFC 3339 date-time).

    *)
  11. _type : string;
    (*

    Deprecated - use changeType instead.

    *)
}
val changeType : (t, string) GapiLens.t
val drive : (t, Drive.t) GapiLens.t
val driveId : (t, string) GapiLens.t
val file : (t, File.t) GapiLens.t
val fileId : (t, string) GapiLens.t
val kind : (t, string) GapiLens.t
val removed : (t, bool) GapiLens.t
val teamDrive : (t, TeamDrive.t) GapiLens.t
val teamDriveId : (t, string) GapiLens.t
val time : (t, GapiDate.t) GapiLens.t
val _type : (t, string) 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