package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module GapiDriveV3Model.DriveSource

Sourcemodule Restrictions : sig ... end
Sourcemodule BackgroundImageFile : sig ... end
Sourcemodule Capabilities : sig ... end
Sourcetype t = {
  1. id : string;
    (*

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

    *)
  2. name : string;
    (*

    The name of 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. kind : string;
    (*

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

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

    Output only. Capabilities the current user has on this shared drive.

    *)
  6. 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`.

    *)
  7. 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.

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

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

    *)
  9. hidden : bool;
    (*

    Whether the shared drive is hidden from default view.

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

    A set of restrictions that apply to this shared drive or items inside this shared drive. Note that restrictions can't be set when creating a shared drive. To add a restriction, first create a shared drive and then use `drives.update` to add restrictions.

    *)
  11. orgUnitId : string;
    (*

    Output only. The organizational unit of this shared drive. This field is only populated on `drives.list` responses when the `useDomainAdminAccess` parameter is set to `true`.

    *)
}
Sourceval id : (t, string) GapiLens.t
Sourceval name : (t, string) GapiLens.t
Sourceval colorRgb : (t, string) GapiLens.t
Sourceval kind : (t, string) GapiLens.t
Sourceval capabilities : (t, Capabilities.t) GapiLens.t
Sourceval themeId : (t, string) GapiLens.t
Sourceval backgroundImageFile : (t, BackgroundImageFile.t) GapiLens.t
Sourceval createdTime : (t, GapiDate.t) GapiLens.t
Sourceval hidden : (t, bool) GapiLens.t
Sourceval restrictions : (t, Restrictions.t) GapiLens.t
Sourceval orgUnitId : (t, string) GapiLens.t
Sourceval empty : t
Sourceval render : t -> GapiJson.json_data_model list
Sourceval to_data_model : t -> GapiJson.json_data_model
Sourceval of_data_model : GapiJson.json_data_model -> t
OCaml

Innovation. Community. Security.