Class: Google::Apis::ToolresultsV1beta3::ListStepsResponse

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

Response message for StepService.List.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListStepsResponse

Returns a new instance of ListStepsResponse



1221
1222
1223
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1221

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 steps to read, by calling list again with this value in the page_token field. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1214
1215
1216
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1214

def next_page_token
  @next_page_token
end

#stepsArray<Google::Apis::ToolresultsV1beta3::Step>

Steps. Corresponds to the JSON property steps



1219
1220
1221
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1219

def steps
  @steps
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1226
1227
1228
1229
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1226

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