Class: Google::Apis::LibraryagentV1::GoogleExampleLibraryagentV1ListShelvesResponse
- Inherits:
-
Object
- Object
- Google::Apis::LibraryagentV1::GoogleExampleLibraryagentV1ListShelvesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/libraryagent_v1/classes.rb,
generated/google/apis/libraryagent_v1/representations.rb,
generated/google/apis/libraryagent_v1/representations.rb
Overview
Response message for LibraryAgent.ListShelves.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token to retrieve next page of results.
-
#shelves ⇒ Array<Google::Apis::LibraryagentV1::GoogleExampleLibraryagentV1Shelf>
The list of shelves.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleExampleLibraryagentV1ListShelvesResponse
constructor
A new instance of GoogleExampleLibraryagentV1ListShelvesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleExampleLibraryagentV1ListShelvesResponse
Returns a new instance of GoogleExampleLibraryagentV1ListShelvesResponse
112 113 114 |
# File 'generated/google/apis/libraryagent_v1/classes.rb', line 112 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token to retrieve next page of results.
Pass this value in the
ListShelvesRequest.page_token
field in the subsequent call to ListShelves
method to retrieve the next
page of results.
Corresponds to the JSON property nextPageToken
105 106 107 |
# File 'generated/google/apis/libraryagent_v1/classes.rb', line 105 def next_page_token @next_page_token end |
#shelves ⇒ Array<Google::Apis::LibraryagentV1::GoogleExampleLibraryagentV1Shelf>
The list of shelves.
Corresponds to the JSON property shelves
110 111 112 |
# File 'generated/google/apis/libraryagent_v1/classes.rb', line 110 def shelves @shelves end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
117 118 119 120 |
# File 'generated/google/apis/libraryagent_v1/classes.rb', line 117 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @shelves = args[:shelves] if args.key?(:shelves) end |