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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListStepThumbnailsResponse

Returns a new instance of ListStepThumbnailsResponse.



1641
1642
1643
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1641

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)


1629
1630
1631
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1629

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



1639
1640
1641
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1639

def thumbnails
  @thumbnails
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1646
1647
1648
1649
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1646

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