# Cloud Trace V2 API - Class Google::Cloud::Trace::V2::Span::Links (v1.5.0)

1.5.0 (latest) 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.9.0 0.8.2 0.7.0 0.6.1 0.5.0 0.4.1 0.3.5 Reference documentation and code samples for the Cloud Trace V2 API class Google::Cloud::Trace::V2::Span::Links.

A collection of links, which are references from this span to a span
in the same or different trace.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #dropped_links_count

    def dropped_links_count() -> ::Integer

**Returns**

- (::Integer) --- The number of dropped links after the maximum size was enforced. If this value is 0, then no links were dropped.

### #dropped_links_count=

    def dropped_links_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The number of dropped links after the maximum size was enforced. If this value is 0, then no links were dropped.
**Returns**

- (::Integer) --- The number of dropped links after the maximum size was enforced. If this value is 0, then no links were dropped.

### #link

    def link() -> ::Array<::Google::Cloud::Trace::V2::Span::Link>

**Returns**

- (::Array\<[::Google::Cloud::Trace::V2::Span::Link](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-trace-v2/latest/Google-Cloud-Trace-V2-Span-Link)\>) --- A collection of links.

### #link=

    def link=(value) -> ::Array<::Google::Cloud::Trace::V2::Span::Link>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Trace::V2::Span::Link](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-trace-v2/latest/Google-Cloud-Trace-V2-Span-Link)\>) --- A collection of links.
**Returns**

- (::Array\<[::Google::Cloud::Trace::V2::Span::Link](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-trace-v2/latest/Google-Cloud-Trace-V2-Span-Link)\>) --- A collection of links.