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
767 768 769 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 767 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
754 755 756 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 754 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
765 766 767 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 765 def thumbnails @thumbnails end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
772 773 774 775 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 772 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @thumbnails = args[:thumbnails] if args.key?(:thumbnails) end |