Module AclRule.Scope

type t = {
_type : string;

The type of the scope. Possible values are:

  • "default" - The public scope. This is the default value.
  • "user" - Limits the scope to a single user.
  • "group" - Limits the scope to a group.
  • "domain" - Limits the scope to a domain. Note: The permissions granted to the "default", or public, scope apply to any user, authenticated or not.
value : string;

The email address of a user or group, or the name of a domain, depending on the scope type. Omitted for type "default".

}
val _type : (t, string) GapiLens.t
val value : (t, string) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t