# ServiceLatency

- [JSON representation](https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/ServiceLatency#SCHEMA_REPRESENTATION)
- [InternalServiceLatency](https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/ServiceLatency#InternalServiceLatency)
  - [JSON representation](https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/ServiceLatency#InternalServiceLatency.SCHEMA_REPRESENTATION)

Message to represent the latency of the service.

| JSON representation |
|---|
| ``` { "internalServiceLatencies": [ { object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/ServiceLatency#InternalServiceLatency`) } ] } ``` |

| Fields ||
|---|---|
| `internalServiceLatencies[]` | ``object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/ServiceLatency#InternalServiceLatency`)`` A list of internal service latencies. |

## InternalServiceLatency

Message to represent the latency of an internal service.

| JSON representation |
|---|
| ``` { "step": string, "latencyMs": number, "startTime": string, "completeTime": string } ``` |

| Fields ||
|---|---|
| `step` | `string` The name of the internal service. |
| `latencyMs` | `number` The latency of the internal service in milliseconds. |
| `startTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` The start time of the internal service. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `completeTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` The completion time of the internal service. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |