Class: Google::Apis::ToolresultsV1beta3::ListStepThumbnailsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/toolresults_v1beta3/classes.rb,
lib/google/apis/toolresults_v1beta3/representations.rb,
lib/google/apis/toolresults_v1beta3/representations.rb

Overview

A response containing the thumbnails in a step.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListStepThumbnailsResponse

Returns a new instance of ListStepThumbnailsResponse.



1668
1669
1670
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1668

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#next_page_tokenString

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

Returns:

  • (String)


1656
1657
1658
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1656

def next_page_token
  @next_page_token
end

#thumbnailsArray<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



1666
1667
1668
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1666

def thumbnails
  @thumbnails
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1673
1674
1675
1676
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1673

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @thumbnails = args[:thumbnails] if args.key?(:thumbnails)
end