class Shelves extends Resource (View source)

The "shelves" collection of methods.

Typical usage is:

 $libraryagentService = new Google\Service\Libraryagent(...);
 $shelves = $libraryagentService->shelves;

Methods

get(string $name, array $optParams = [])

Gets a shelf. Returns NOT_FOUND if the shelf does not exist. (shelves.get)

listShelves(array $optParams = [])

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

Details

GoogleExampleLibraryagentV1Shelf get(string $name, array $optParams = [])

Gets a shelf. Returns NOT_FOUND if the shelf does not exist. (shelves.get)

Parameters

string $name

Required. The name of the shelf to retrieve.

array $optParams

Optional parameters.

Return Value

GoogleExampleLibraryagentV1Shelf

Exceptions

Exception

GoogleExampleLibraryagentV1ListShelvesResponse listShelves(array $optParams = [])

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

(shelves.listShelves)

Parameters

array $optParams

Optional parameters.

Return Value

GoogleExampleLibraryagentV1ListShelvesResponse

Exceptions

Exception