package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Scope : sig ... end
type t = {
  1. etag : string;
    (*

    ETag of the resource.

    *)
  2. id : string;
    (*

    Identifier of the ACL rule.

    *)
  3. kind : string;
    (*

    Type of the resource ("calendar#aclRule").

    *)
  4. role : string;
    (*

    The role assigned to the scope. Possible values are:

    • "none" - Provides no access.
    • "freeBusyReader" - Provides read access to free/busy information.
    • "reader" - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden.
    • "writer" - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible.
    • "owner" - Provides ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs.
    *)
  5. scope : Scope.t;
    (*

    The scope of the rule.

    *)
}
val etag : (t, string) GapiLens.t
val id : (t, string) GapiLens.t
val kind : (t, string) GapiLens.t
val role : (t, string) GapiLens.t
val scope : (t, Scope.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