# DataConnectPathSegment

# DataConnectPathSegment


```
interface DataConnectPathSegment
```

<br />

Known direct subclasses [DataConnectPathSegment.Field](https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dataconnect/DataConnectPathSegment.Field), [DataConnectPathSegment.ListIndex](https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dataconnect/DataConnectPathSegment.ListIndex)

|---|---|
| `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dataconnect/DataConnectPathSegment.Field` | A named field in a path to a field in the response data. |
| `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dataconnect/DataConnectPathSegment.ListIndex` | An index of a list in a path to a field in the response data. |

*** ** * ** ***

The "segment" of a path to a field in the response data.

## Summary

| ### Nested types |
|---|
| `value class https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dataconnect/DataConnectPathSegment.Field : https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dataconnect/DataConnectPathSegment` A named field in a path to a field in the response data. |
| `value class https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dataconnect/DataConnectPathSegment.ListIndex : https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dataconnect/DataConnectPathSegment` An index of a list in a path to a field in the response data. |