Stackdriver Trace V2 Client - Class Links (1.8.7)

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
Name Description
data array

Optional. Data for populating the Message object.

↳ link array<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
Type Description
Google\Protobuf\Internal\RepeatedField

A collection of links.

Parameter
Name Description
var array<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.

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.

Parameter
Name Description
var int
Returns
Type Description
$this