Stackdriver Trace V2 Client - Class Links (1.8.0)

Reference documentation and code samples for the Stackdriver Trace V2 Client class Links.

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

Generated from protobuf message google.devtools.cloudtrace.v2.Span.Links

Namespace

Google \ Cloud \ Trace \ V2 \ Span

Methods

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ link array<Google\Cloud\Trace\V2\Span\Link>

A collection of links.

↳ dropped_links_count int

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

A collection of links.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

A collection of links.

Parameter
NameDescription
var array<Google\Cloud\Trace\V2\Span\Link>
Returns
TypeDescription
$this

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

Returns
TypeDescription
int

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this