Show / Hide Table of Contents

Class NotesResource.PermissionsResource

The "permissions" collection of methods.

Inheritance
object
NotesResource.PermissionsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Keep.v1
Assembly: Google.Apis.Keep.v1.dll
Syntax
public class NotesResource.PermissionsResource

Constructors

PermissionsResource(IClientService)

Constructs a new resource.

Declaration
public PermissionsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

BatchCreate(BatchCreatePermissionsRequest, string)

Creates one or more permissions on the note. Only permissions with the WRITER role may be created. If adding any permission fails, then the entire request fails and no changes are made.

Declaration
public virtual NotesResource.PermissionsResource.BatchCreateRequest BatchCreate(BatchCreatePermissionsRequest body, string parent)
Parameters
Type Name Description
BatchCreatePermissionsRequest body

The body of the request.

string parent

The parent resource shared by all Permissions being created. Format: notes/{note} If this is set, the parent field in the CreatePermission messages must either be empty or match this field.

Returns
Type Description
NotesResource.PermissionsResource.BatchCreateRequest

BatchDelete(BatchDeletePermissionsRequest, string)

Deletes one or more permissions on the note. The specified entities will immediately lose access. A permission with the OWNER role can't be removed. If removing a permission fails, then the entire request fails and no changes are made. Returns a 400 bad request error if a specified permission does not exist on the note.

Declaration
public virtual NotesResource.PermissionsResource.BatchDeleteRequest BatchDelete(BatchDeletePermissionsRequest body, string parent)
Parameters
Type Name Description
BatchDeletePermissionsRequest body

The body of the request.

string parent

The parent resource shared by all permissions being deleted. Format: notes/{note} If this is set, the parent of all of the permissions specified in the DeletePermissionRequest messages must match this field.

Returns
Type Description
NotesResource.PermissionsResource.BatchDeleteRequest
In this article
Back to top Generated by DocFX