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



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

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)


1211
1212
1213
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1211

def next_page_token
  @next_page_token
end

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

Steps. Corresponds to the JSON property steps



1216
1217
1218
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1216

def steps
  @steps
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1223
1224
1225
1226
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1223

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