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
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

A collection of links.

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

Parameter
Name Description
var array<Google\Cloud\Trace\V2\Span\Link>
Returns
Type Description
$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
Type Description
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
Name Description
var int
Returns
Type Description
$this