Class Permission
A single permission on the note. Associates a member
with a role
.
Implements
Inherited Members
Namespace: Google.Apis.Keep.v1.Data
Assembly: Google.Apis.Keep.v1.dll
Syntax
public class Permission : IDirectResponseSchema
Properties
Deleted
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.
Declaration
[JsonProperty("deleted")]
public virtual bool? Deleted { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
The email associated with the member. If set on create, the email
field in the User
or Group
message
must either be empty or match this field. On read, may be unset if the member does not have an associated
email.
Declaration
[JsonProperty("email")]
public virtual string Email { get; set; }
Property Value
Type | Description |
---|---|
string |
Family
Output only. The Google Family to which this role applies.
Declaration
[JsonProperty("family")]
public virtual Family Family { get; set; }
Property Value
Type | Description |
---|---|
Family |
Group
Output only. The group to which this role applies.
Declaration
[JsonProperty("group")]
public virtual Group Group { get; set; }
Property Value
Type | Description |
---|---|
Group |
Name
Output only. The resource name.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Role
The role granted by this permission. The role determines the entity’s ability to read, write, and share notes.
Declaration
[JsonProperty("role")]
public virtual string Role { get; set; }
Property Value
Type | Description |
---|---|
string |
User
Output only. The user to whom this role applies.
Declaration
[JsonProperty("user")]
public virtual User User { get; set; }
Property Value
Type | Description |
---|---|
User |