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



794
795
796
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 794

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)


787
788
789
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 787

def next_page_token
  @next_page_token
end

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

Steps. Corresponds to the JSON property steps



792
793
794
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 792

def steps
  @steps
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



799
800
801
802
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 799

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