Reference documentation and code samples for the Stackdriver Trace V2 Client class Type.
The relationship of the current span relative to the linked span: child, parent, or unspecified.
Protobuf type google.devtools.cloudtrace.v2.Span.Link.Type
Namespace
Google \ Cloud \ Trace \ V2 \ Span \ LinkMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
TYPE_UNSPECIFIED
Value: 0
The relationship of the two spans is unknown.
Generated from protobuf enum TYPE_UNSPECIFIED = 0;
CHILD_LINKED_SPAN
Value: 1
The linked span is a child of the current span.
Generated from protobuf enum CHILD_LINKED_SPAN = 1;
PARENT_LINKED_SPAN
Value: 2
The linked span is a parent of the current span.
Generated from protobuf enum PARENT_LINKED_SPAN = 2;