Module api

Source

Structs§

Attachment
An attachment to a note.
BatchCreatePermissionsRequest
The request to add one or more permissions on the note. Currently, only the WRITER role may be specified. If adding a permission fails, then the entire request fails and no changes are made.
BatchCreatePermissionsResponse
The response for creating permissions on a note.
BatchDeletePermissionsRequest
The request to remove one or more permissions from a note. 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.
CreatePermissionRequest
The request to add a single permission on the note.
Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
Family
Describes a single Google Family.
Group
Describes a single Group.
Keep
Central instance to access all Keep related resource activities
ListContent
The list of items for a single list note.
ListItem
A single list item in a note’s list.
ListNotesResponse
The response when listing a page of notes.
MediaDownloadCall
Gets an attachment. To download attachment media via REST requires the alt=media query parameter. Returns a 400 bad request error if attachment media is not available in the requested MIME type.
MediaMethods
A builder providing access to all methods supported on media resources. It is not used directly, but through the Keep hub.
Note
A single note.
NoteCreateCall
Creates a new note.
NoteDeleteCall
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.
NoteGetCall
Gets a note.
NoteListCall
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.
NoteMethods
A builder providing access to all methods supported on note resources. It is not used directly, but through the Keep hub.
NotePermissionBatchCreateCall
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.
NotePermissionBatchDeleteCall
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.
Permission
A single permission on the note. Associates a member with a role.
Section
The content of the note.
TextContent
The block of text for a single text section or list item.
User
Describes a single user.

Enums§

Scope
Identifies the an OAuth2 authorization scope. A scope is needed when requesting an authorization token.