View Source GoogleApi.Keep.V1.Model.Permission (google_api_keep v0.2.2)
A single permission on the note. Associates a member
with a role
.
Attributes
-
deleted
(type:boolean()
, default:nil
) - Output only. Whether this member has been deleted. If the member is recovered, this value is set to false and the recovered member retains the role on the note. -
email
(type:String.t
, default:nil
) - The email associated with the member. If set on create, theemail
field in theUser
orGroup
message must either be empty or match this field. On read, may be unset if the member does not have an associated email. -
family
(type:GoogleApi.Keep.V1.Model.Family.t
, default:nil
) - Output only. The Google Family to which this role applies. -
group
(type:GoogleApi.Keep.V1.Model.Group.t
, default:nil
) - Output only. The group to which this role applies. -
name
(type:String.t
, default:nil
) - Output only. The resource name. -
role
(type:String.t
, default:nil
) - The role granted by this permission. The role determines the entity’s ability to read, write, and share notes. -
user
(type:GoogleApi.Keep.V1.Model.User.t
, default:nil
) - Output only. The user to whom this role applies.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Keep.V1.Model.Permission{ deleted: boolean() | nil, email: String.t() | nil, family: GoogleApi.Keep.V1.Model.Family.t() | nil, group: GoogleApi.Keep.V1.Model.Group.t() | nil, name: String.t() | nil, role: String.t() | nil, user: GoogleApi.Keep.V1.Model.User.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.