module Permission:sig..end
type t = {
|
additionalRoles : |
(* |
Additional roles for this user. Only commenter is currently allowed.
| *) |
|
authKey : |
(* |
The authkey parameter required for this permission.
| *) |
|
domain : |
(* |
The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
| *) |
|
emailAddress : |
(* |
The email address of the user or group this permission refers to. This is an output-only field which is present when the permission type is user or group.
| *) |
|
etag : |
(* |
The ETag of the permission.
| *) |
|
expirationDate : |
(* |
The time at which this permission will expire (RFC 3339 date-time).
| *) |
|
id : |
(* |
The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type anyone, in which case both id and value are ignored.
| *) |
|
kind : |
(* |
This is always drive#permission.
| *) |
|
name : |
(* |
The name for this permission.
| *) |
|
photoLink : |
(* |
A link to the profile photo, if available.
| *) |
|
role : |
(* |
The primary role for this user. Allowed values are:
| *) |
|
selfLink : |
(* |
A link back to this permission.
| *) |
|
_type : |
(* |
The account type. Allowed values are:
| *) |
|
value : |
(* |
The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type anyone, in which case both id and value are ignored.
| *) |
|
withLink : |
(* |
Whether the link is required for this permission.
| *) |
val additionalRoles : (t, string list) GapiLens.t
val authKey : (t, string) GapiLens.t
val domain : (t, string) GapiLens.t
val emailAddress : (t, string) GapiLens.t
val etag : (t, string) GapiLens.t
val expirationDate : (t, GapiDate.t) GapiLens.t
val id : (t, string) GapiLens.t
val kind : (t, string) GapiLens.t
val name : (t, string) GapiLens.t
val photoLink : (t, string) GapiLens.t
val role : (t, string) GapiLens.t
val selfLink : (t, string) GapiLens.t
val _type : (t, string) GapiLens.t
val value : (t, string) GapiLens.t
val withLink : (t, bool) 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