Class: Google::Apis::CloudtraceV2::BatchWriteSpansRequest
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::CloudtraceV2::BatchWriteSpansRequest
 
 
- Defined in:
 - generated/google/apis/cloudtrace_v2/classes.rb,
generated/google/apis/cloudtrace_v2/representations.rb,
generated/google/apis/cloudtrace_v2/representations.rb 
Overview
The request message for the BatchWriteSpans method.
Instance Attribute Summary collapse
- 
  
    
      #spans  ⇒ Array<Google::Apis::CloudtraceV2::Span> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A list of new spans.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ BatchWriteSpansRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of BatchWriteSpansRequest.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ BatchWriteSpansRequest
Returns a new instance of BatchWriteSpansRequest
      125 126 127  | 
    
      # File 'generated/google/apis/cloudtrace_v2/classes.rb', line 125 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#spans ⇒ Array<Google::Apis::CloudtraceV2::Span>
A list of new spans. The span names must not match existing
spans, or the results are undefined.
Corresponds to the JSON property spans
      123 124 125  | 
    
      # File 'generated/google/apis/cloudtrace_v2/classes.rb', line 123 def spans @spans end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      130 131 132  | 
    
      # File 'generated/google/apis/cloudtrace_v2/classes.rb', line 130 def update!(**args) @spans = args[:spans] if args.key?(:spans) end  |