Show / Hide Table of Contents

Class NotesResource

The "notes" collection of methods.

Inheritance
object
NotesResource
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

Constructors

NotesResource(IClientService)

Constructs a new resource.

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

Properties

Permissions

Gets the Permissions resource.

Declaration
public virtual NotesResource.PermissionsResource Permissions { get; }
Property Value
Type Description
NotesResource.PermissionsResource

Methods

Create(Note)

Creates a new note.

Declaration
public virtual NotesResource.CreateRequest Create(Note body)
Parameters
Type Name Description
Note body

The body of the request.

Returns
Type Description
NotesResource.CreateRequest

Delete(string)

Deletes a note. Caller must have the OWNER role on the note to delete. Deleting a note removes the resource immediately and cannot be undone. Any collaborators will lose access to the note.

Declaration
public virtual NotesResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. Name of the note to delete.

Returns
Type Description
NotesResource.DeleteRequest

Get(string)

Gets a note.

Declaration
public virtual NotesResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Name of the resource.

Returns
Type Description
NotesResource.GetRequest

List()

Lists notes. Every list call returns a page of results with page_size as the upper bound of returned items. A page_size of zero allows the server to choose the upper bound. The ListNotesResponse contains at most page_size entries. If there are more things left to list, it provides a next_page_token value. (Page tokens are opaque values.) To get the next page of results, copy the result's next_page_token into the next request's page_token. Repeat until the next_page_token returned with a page of results is empty. ListNotes return consistent results in the face of concurrent changes, or signals that it cannot with an ABORTED error.

Declaration
public virtual NotesResource.ListRequest List()
Returns
Type Description
NotesResource.ListRequest
In this article
Back to top Generated by DocFX