package gapi-ocaml

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

    The effective access role that the authenticated user has on the calendar. Read-only. Possible values are:

    • "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.
    *)
  2. backgroundColor : string;
    (*

    The main color of the calendar in the hexadecimal format "#0088aa". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional.

    *)
  3. colorId : string;
    (*

    The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). This property is superseded by the backgroundColor and foregroundColor properties and can be ignored when using these properties. Optional.

    *)
  4. conferenceProperties : ConferenceProperties.t;
    (*

    Conferencing properties for this calendar, for example what types of conferences are allowed.

    *)
  5. defaultReminders : EventReminder.t list;
    (*

    The default reminders that the authenticated user has for this calendar.

    *)
  6. deleted : bool;
    (*

    Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.

    *)
  7. description : string;
    (*

    Description of the calendar. Optional. Read-only.

    *)
  8. etag : string;
    (*

    ETag of the resource.

    *)
  9. foregroundColor : string;
    (*

    The foreground color of the calendar in the hexadecimal format "#ffffff". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional.

    *)
  10. hidden : bool;
    (*

    Whether the calendar has been hidden from the list. Optional. The default is False.

    *)
  11. id : string;
    (*

    Identifier of the calendar.

    *)
  12. kind : string;
    (*

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

    *)
  13. location : string;
    (*

    Geographic location of the calendar as free-form text. Optional. Read-only.

    *)
  14. notificationSettings : NotificationSettings.t;
    (*

    The notifications that the authenticated user is receiving for this calendar.

    *)
  15. primary : bool;
    (*

    Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False.

    *)
  16. selected : bool;
    (*

    Whether the calendar content shows up in the calendar UI. Optional. The default is False.

    *)
  17. summary : string;
    (*

    Title of the calendar. Read-only.

    *)
  18. summaryOverride : string;
    (*

    The summary that the authenticated user has set for this calendar. Optional.

    *)
  19. timeZone : string;
    (*

    The time zone of the calendar. Optional. Read-only.

    *)
}
val accessRole : (t, string) GapiLens.t
val backgroundColor : (t, string) GapiLens.t
val colorId : (t, string) GapiLens.t
val conferenceProperties : (t, ConferenceProperties.t) GapiLens.t
val defaultReminders : (t, EventReminder.t list) GapiLens.t
val deleted : (t, bool) GapiLens.t
val description : (t, string) GapiLens.t
val etag : (t, string) GapiLens.t
val foregroundColor : (t, string) GapiLens.t
val hidden : (t, bool) GapiLens.t
val id : (t, string) GapiLens.t
val kind : (t, string) GapiLens.t
val location : (t, string) GapiLens.t
val notificationSettings : (t, NotificationSettings.t) GapiLens.t
val primary : (t, bool) GapiLens.t
val selected : (t, bool) GapiLens.t
val summary : (t, string) GapiLens.t
val summaryOverride : (t, string) GapiLens.t
val timeZone : (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