Skip to main content

shelves

Creates, updates, deletes, gets or lists a shelves resource.

Overview

Nameshelves
TypeResource
Idgoogle.libraryagent.shelves

Fields

NameDatatypeDescription
namestringOutput only. The resource name of the shelf. Shelf names have the form shelves/{shelf_id}. The name is ignored when creating a shelf.
themestringThe theme of the shelf

Methods

NameAccessible byRequired ParamsDescription
getSELECTshelvesIdGets a shelf. Returns NOT_FOUND if the shelf does not exist.
listSELECTLists shelves. The order is unspecified but deterministic. Newly created shelves will not necessarily be added to the end of this list.

SELECT examples

Lists shelves. The order is unspecified but deterministic. Newly created shelves will not necessarily be added to the end of this list.

SELECT
name,
theme
FROM google.libraryagent.shelves
;