Module api

Source

Structs§

GoogleExampleLibraryagentV1Book
A single book in the library.
GoogleExampleLibraryagentV1ListBooksResponse
Response message for LibraryAgent.ListBooks.
GoogleExampleLibraryagentV1ListShelvesResponse
Response message for LibraryAgent.ListShelves.
GoogleExampleLibraryagentV1Shelf
A Shelf contains a collection of books with a theme.
Libraryagent
Central instance to access all Libraryagent related resource activities
ShelfBookBorrowCall
Borrow a book from the library. Returns the book if it is borrowed successfully. Returns NOT_FOUND if the book does not exist in the library. Returns quota exceeded error if the amount of books borrowed exceeds allocation quota in any dimensions.
ShelfBookGetCall
Gets a book. Returns NOT_FOUND if the book does not exist.
ShelfBookListCall
Lists books in a shelf. The order is unspecified but deterministic. Newly created books will not necessarily be added to the end of this list. Returns NOT_FOUND if the shelf does not exist.
ShelfBookReturnCall
Return a book to the library. Returns the book if it is returned to the library successfully. Returns error if the book does not belong to the library or the users didn’t borrow before.
ShelfGetCall
Gets a shelf. Returns NOT_FOUND if the shelf does not exist.
ShelfListCall
Lists shelves. The order is unspecified but deterministic. Newly created shelves will not necessarily be added to the end of this list.
ShelfMethods
A builder providing access to all methods supported on shelf resources. It is not used directly, but through the Libraryagent hub.

Enums§

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