Class: Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesRequest
 
- 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
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
- 
  
    
      #perf_samples  ⇒ Array<Google::Apis::ToolresultsV1beta3::PerfSample> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The set of PerfSamples to create should not include existing timestamps Corresponds to the JSON property perfSamples.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ BatchCreatePerfSamplesRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of BatchCreatePerfSamplesRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ BatchCreatePerfSamplesRequest
Returns a new instance of BatchCreatePerfSamplesRequest
| 417 418 419 | # File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 417 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#perf_samples ⇒ Array<Google::Apis::ToolresultsV1beta3::PerfSample>
The set of PerfSamples to create should not include existing timestamps
Corresponds to the JSON property perfSamples
| 415 416 417 | # File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 415 def perf_samples @perf_samples end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 422 423 424 | # File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 422 def update!(**args) @perf_samples = args[:perf_samples] if args.key?(:perf_samples) end |