Stackdriver Trace V2 Client - Class Links (1.4.11)

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

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.

Generated from protobuf field repeated .google.devtools.cloudtrace.v2.Span.Link link = 1;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

A collection of links.

Generated from protobuf field repeated .google.devtools.cloudtrace.v2.Span.Link link = 1;

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.

Generated from protobuf field int32 dropped_links_count = 2;

Returns
TypeDescription
int

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

Generated from protobuf field int32 dropped_links_count = 2;

Parameter
NameDescription
var int
Returns
TypeDescription
$this