---
title: TLSRoute
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > TLSRoute
---

# TLSRoute

TLSRoute is a Google Cloud resource used in Traffic Director and Gateway API to define how TLS traffic is routed within a service mesh or gateway. It specifies rules for matching incoming TLS connections based on attributes like SNI hostnames and directs them to appropriate backend services. This enables secure, policy-driven routing for encrypted traffic.

```
gcp.networkservices_tls_route
```

## Fields

| Title                | ID   | Type          | Data Type                                                                                                                                                                                                                                                                  | Description |
| -------------------- | ---- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                 | core | string        |
| ancestors            | core | array<string> |
| create_time          | core | timestamp     | Output only. The timestamp when the resource was created.                                                                                                                                                                                                                  |
| datadog_display_name | core | string        |
| description          | core | string        | Optional. A free-text description of the resource. Max length 1024 characters.                                                                                                                                                                                             |
| gateways             | core | array<string> | Optional. Gateways defines a list of gateways this TlsRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern: `projects/*/locations/*/gateways/`                                   |
| labels               | core | array<string> | Optional. Set of label tags associated with the TlsRoute resource.                                                                                                                                                                                                         |
| meshes               | core | array<string> | Optional. Meshes defines a list of meshes this TlsRoute is attached to, as one of the routing rules to route the requests served by the mesh. Each mesh reference should match the pattern: `projects/*/locations/*/meshes/` The attached Mesh should be of a type SIDECAR |
| name                 | core | string        | Identifier. Name of the TlsRoute resource. It matches pattern `projects/*/locations/*/tlsRoutes/tls_route_name>`.                                                                                                                                                          |
| organization_id      | core | string        |
| parent               | core | string        |
| project_id           | core | string        |
| project_number       | core | string        |
| region_id            | core | string        |
| resource_name        | core | string        |
| rules                | core | json          | Required. Rules that define how traffic is routed and handled. At least one RouteRule must be supplied. If there are multiple rules then the action taken will be the first rule to match.                                                                                 |
| self_link            | core | string        | Output only. Server-defined URL of this resource                                                                                                                                                                                                                           |
| tags                 | core | hstore_csv    |
| update_time          | core | timestamp     | Output only. The timestamp when the resource was updated.                                                                                                                                                                                                                  |
| zone_id              | core | string        |
