package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Restrictions : sig ... end
module Capabilities : sig ... end
module BackgroundImageFile : sig ... end
type t = {
  1. backgroundImageFile : BackgroundImageFile.t;
    (*

    An image file and cropping parameters from which a background image for this Team Drive is set. This is a write only field; it can only be set on drive.teamdrives.update requests that don't set themeId. When specified, all fields of the backgroundImageFile must be set.

    *)
  2. capabilities : Capabilities.t;
    (*

    Capabilities the current user has on this Team Drive.

    *)
  3. colorRgb : string;
    (*

    The color of this Team Drive as an RGB hex string. It can only be set on a drive.teamdrives.update request that does not set themeId.

    *)
  4. createdTime : GapiDate.t;
    (*

    The time at which the Team Drive was created (RFC 3339 date-time).

    *)
  5. id : string;
    (*

    The ID of this Team Drive which is also the ID of the top level folder of this Team Drive.

    *)
  6. kind : string;
    (*

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

    *)
  7. name : string;
    (*

    The name of this Team Drive.

    *)
  8. restrictions : Restrictions.t;
    (*

    A set of restrictions that apply to this Team Drive or items inside this Team Drive.

    *)
  9. themeId : string;
    (*

    The ID of the theme from which the background image and color will be set. The set of possible teamDriveThemes can be retrieved from a drive.about.get response. When not specified on a drive.teamdrives.create request, a random theme is chosen from which the background image and color are set. This is a write-only field; it can only be set on requests that don't set colorRgb or backgroundImageFile.

    *)
}
val backgroundImageFile : (t, BackgroundImageFile.t) GapiLens.t
val capabilities : (t, Capabilities.t) GapiLens.t
val colorRgb : (t, string) GapiLens.t
val createdTime : (t, GapiDate.t) GapiLens.t
val id : (t, string) GapiLens.t
val kind : (t, string) GapiLens.t
val name : (t, string) GapiLens.t
val restrictions : (t, Restrictions.t) GapiLens.t
val themeId : (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