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.
Constructor Details
#initialize(**args) ⇒ GoogleExampleLibraryagentV1ListShelvesResponse
Returns a new instance of GoogleExampleLibraryagentV1ListShelvesResponse.
107 108 109 |
# File 'generated/google/apis/libraryagent_v1/classes.rb', line 107 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
100 101 102 |
# File 'generated/google/apis/libraryagent_v1/classes.rb', line 100 def next_page_token @next_page_token end |
#shelves ⇒ Array<Google::Apis::LibraryagentV1::GoogleExampleLibraryagentV1Shelf>
The list of shelves.
Corresponds to the JSON property shelves
105 106 107 |
# File 'generated/google/apis/libraryagent_v1/classes.rb', line 105 def shelves @shelves end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
112 113 114 115 |
# File 'generated/google/apis/libraryagent_v1/classes.rb', line 112 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @shelves = args[:shelves] if args.key?(:shelves) end |