Class: Google::Apis::PhotoslibraryV1::SearchMediaItemsResponse
- Inherits:
-
Object
- Object
- Google::Apis::PhotoslibraryV1::SearchMediaItemsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/photoslibrary_v1/classes.rb,
generated/google/apis/photoslibrary_v1/representations.rb,
generated/google/apis/photoslibrary_v1/representations.rb
Instance Attribute Summary collapse
-
#media_items ⇒ Array<Google::Apis::PhotoslibraryV1::MediaItem>
[Output only] List of media items that match the search parameters.
-
#next_page_token ⇒ String
[Output only] Token to use to get the next set of media items.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SearchMediaItemsResponse
constructor
A new instance of SearchMediaItemsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SearchMediaItemsResponse
Returns a new instance of SearchMediaItemsResponse
1065 1066 1067 |
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 1065 def initialize(**args) update!(**args) end |
Instance Attribute Details
#media_items ⇒ Array<Google::Apis::PhotoslibraryV1::MediaItem>
[Output only] List of media items that match the search parameters.
Corresponds to the JSON property mediaItems
1056 1057 1058 |
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 1056 def media_items @media_items end |
#next_page_token ⇒ String
[Output only] Token to use to get the next set of media items. Its presence
is the only reliable indicator of more media items being available in the
next request.
Corresponds to the JSON property nextPageToken
1063 1064 1065 |
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 1063 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1070 1071 1072 1073 |
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 1070 def update!(**args) @media_items = args[:media_items] if args.key?(:media_items) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |