# Stackdriver Trace V2 Client - Class Type (2.0.0)

2.0.0 (latest) 2.0.0-RC1 1.9.5 1.8.10 1.7.0 1.6.5 1.5.3 1.4.11 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 \\ Link

## Methods

### 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;`