Class: Google::Apis::ToolresultsV1beta3::ListStepThumbnailsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1beta3::ListStepThumbnailsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/toolresults_v1beta3/classes.rb,
generated/google/apis/toolresults_v1beta3/representations.rb,
generated/google/apis/toolresults_v1beta3/representations.rb
Overview
A response containing the thumbnails in a step.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A continuation token to resume the query at the next item.
-
#thumbnails ⇒ Array<Google::Apis::ToolresultsV1beta3::Image>
A list of image data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListStepThumbnailsResponse
constructor
A new instance of ListStepThumbnailsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListStepThumbnailsResponse
Returns a new instance of ListStepThumbnailsResponse
1194 1195 1196 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1194 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A continuation token to resume the query at the next item.
If set, indicates that there are more thumbnails to read, by calling list
again with this value in the page_token field.
Corresponds to the JSON property nextPageToken
1181 1182 1183 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1181 def next_page_token @next_page_token end |
#thumbnails ⇒ Array<Google::Apis::ToolresultsV1beta3::Image>
A list of image data.
Images are returned in a deterministic order; they are ordered by these
factors, in order of importance: * First, by their associated test case.
Images without a test case are considered greater than images with one. *
Second, by their creation time. Images without a creation time are greater
than images with one. * Third, by the order in which they were added to the
step (by calls to CreateStep or UpdateStep).
Corresponds to the JSON property thumbnails
1192 1193 1194 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1192 def thumbnails @thumbnails end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1199 1200 1201 1202 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1199 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @thumbnails = args[:thumbnails] if args.key?(:thumbnails) end |