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 shared drive is set. This is a write only field; it can only be set on drive.drives.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 shared drive.

    *)
  3. colorRgb : string;
    (*

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

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

    The time at which the shared drive was created (RFC 3339 date-time).

    *)
  5. hidden : bool;
    (*

    Whether the shared drive is hidden from default view.

    *)
  6. id : string;
    (*

    The ID of this shared drive which is also the ID of the top level folder of this shared drive.

    *)
  7. kind : string;
    (*

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

    *)
  8. name : string;
    (*

    The name of this shared drive.

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

    A set of restrictions that apply to this shared drive or items inside this shared drive.

    *)
  10. themeId : string;
    (*

    The ID of the theme from which the background image and color will be set. The set of possible driveThemes can be retrieved from a drive.about.get response. When not specified on a drive.drives.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 hidden : (t, bool) 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