Class: Google::Apis::ToolresultsV1beta3::ListPerfSamplesResponse

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

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) ⇒ ListPerfSamplesResponse

Returns a new instance of ListPerfSamplesResponse.



1456
1457
1458
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1456

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

Instance Attribute Details

#next_page_tokenString

Optional, returned if result size exceeds the page size specified in the request (or the default page size, 500, if unspecified). It indicates the last sample timestamp to be used as page_token in subsequent request Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1449
1450
1451
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1449

def next_page_token
  @next_page_token
end

#perf_samplesArray<Google::Apis::ToolresultsV1beta3::PerfSample>

Corresponds to the JSON property perfSamples



1454
1455
1456
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1454

def perf_samples
  @perf_samples
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1461
1462
1463
1464
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1461

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