Class: Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/toolresults_v1beta3/classes.rb,
lib/google/apis/toolresults_v1beta3/representations.rb,
lib/google/apis/toolresults_v1beta3/representations.rb

Overview

The request must provide up to a maximum of 5000 samples to be created; a larger sample size will cause an INVALID_ARGUMENT error

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchCreatePerfSamplesRequest

Returns a new instance of BatchCreatePerfSamplesRequest.



404
405
406
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 404

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

Instance Attribute Details

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

The set of PerfSamples to create should not include existing timestamps Corresponds to the JSON property perfSamples



402
403
404
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 402

def perf_samples
  @perf_samples
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



409
410
411
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 409

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