Class: Google::Apis::CloudtraceV2::Links
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::CloudtraceV2::Links
 
- Defined in:
- generated/google/apis/cloudtrace_v2/classes.rb,
 generated/google/apis/cloudtrace_v2/representations.rb,
 generated/google/apis/cloudtrace_v2/representations.rb
Overview
A collection of links, which are references from this span to a span in the same or different trace.
Instance Attribute Summary collapse
- 
  
    
      #dropped_links_count  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The number of dropped links after the maximum size was enforced. 
- 
  
    
      #link  ⇒ Array<Google::Apis::CloudtraceV2::Link> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A collection of links. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Links 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Links. 
- 
  
    
      #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) ⇒ Links
Returns a new instance of Links
| 210 211 212 | # File 'generated/google/apis/cloudtrace_v2/classes.rb', line 210 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#dropped_links_count ⇒ Fixnum
The number of dropped links after the maximum size was enforced. If
this value is 0, then no links were dropped.
Corresponds to the JSON property droppedLinksCount
| 203 204 205 | # File 'generated/google/apis/cloudtrace_v2/classes.rb', line 203 def dropped_links_count @dropped_links_count end | 
#link ⇒ Array<Google::Apis::CloudtraceV2::Link>
A collection of links.
Corresponds to the JSON property link
| 208 209 210 | # File 'generated/google/apis/cloudtrace_v2/classes.rb', line 208 def link @link end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 215 216 217 218 | # File 'generated/google/apis/cloudtrace_v2/classes.rb', line 215 def update!(**args) @dropped_links_count = args[:dropped_links_count] if args.key?(:dropped_links_count) @link = args[:link] if args.key?(:link) end |