# Interface protos.google.protobuf.IDuration (5.5.2)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [5.5.2 (latest)](https://docs.cloud.google.com/nodejs/docs/reference/tasks/latest/tasks/protos.google.protobuf.iduration)
- [5.5.1](https://docs.cloud.google.com/nodejs/docs/reference/tasks/5.5.1/tasks/protos.google.protobuf.iduration)
- [3.1.2](https://docs.cloud.google.com/nodejs/docs/reference/tasks/3.1.2/tasks/protos.google.protobuf.iduration)
- [3.0.5](https://docs.cloud.google.com/nodejs/docs/reference/tasks/3.0.5/tasks/protos.google.protobuf.iduration)
- [2.5.0](https://docs.cloud.google.com/nodejs/docs/reference/tasks/2.5.0/tasks/protos.google.protobuf.iduration)
- [2.4.2](https://docs.cloud.google.com/nodejs/docs/reference/tasks/2.4.2/tasks/protos.google.protobuf.iduration)
- [2.3.6](https://docs.cloud.google.com/nodejs/docs/reference/tasks/2.3.6/tasks/protos.google.protobuf.iduration)
Properties of a Duration.

## Package

[@google-cloud/tasks](https://docs.cloud.google.com/nodejs/docs/reference/tasks/latest/overview.html)

## Properties

### nanos

    nanos?: (number|null);

Duration nanos

### seconds

    seconds?: (number|Long|string|null);

Duration seconds