# Class DependencyEdge (2.21.0)

2.21.0 (latest) 2.20.0 2.19.0 2.18.0 2.17.2 2.16.0 2.15.1 2.14.0 2.13.4 2.12.0 2.11.0 2.10.1 2.9.1 2.8.1 2.7.0 2.6.1 2.5.2 2.4.3 2.3.2 2.2.2 2.1.0 2.0.0 1.3.2

    DependencyEdge(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents dependency parse tree information for a token.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `head_token_index` | `int` Represents the head of this token in the dependency tree. This is the index of the token which has an arc going to this token. The index is the position of the token in the array of tokens returned by the API method. If this token is a root token, then the `head_token_index` is its own index. |
| `label` | `https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.DependencyEdge.Label` The parse label for the token. |

## Classes

### Label

    Label(value)

The parse label enum for the token.