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 \ SpanMethods
__construct
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. |
getLink
A collection of links.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setLink
A collection of links.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Link>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDroppedLinksCount
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 |
|
setDroppedLinksCount
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 |
|