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

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

- [4.6.0 (latest)](https://docs.cloud.google.com/nodejs/docs/reference/billing/latest/billing/protos.google.protobuf.iduration)
- [4.2.0](https://docs.cloud.google.com/nodejs/docs/reference/billing/4.2.0/billing/protos.google.protobuf.iduration)
- [4.1.0](https://docs.cloud.google.com/nodejs/docs/reference/billing/4.1.0/billing/protos.google.protobuf.iduration)
- [4.0.0](https://docs.cloud.google.com/nodejs/docs/reference/billing/4.0.0/billing/protos.google.protobuf.iduration)
- [3.3.2](https://docs.cloud.google.com/nodejs/docs/reference/billing/3.3.2/billing/protos.google.protobuf.iduration)
- [3.1.3](https://docs.cloud.google.com/nodejs/docs/reference/billing/3.1.3/billing/protos.google.protobuf.iduration)
- [2.4.0](https://docs.cloud.google.com/nodejs/docs/reference/billing/2.4.0/billing/protos.google.protobuf.iduration)
- [2.3.0](https://docs.cloud.google.com/nodejs/docs/reference/billing/2.3.0/billing/protos.google.protobuf.iduration)
- [2.2.7](https://docs.cloud.google.com/nodejs/docs/reference/billing/2.2.7/billing/protos.google.protobuf.iduration)
Properties of a Duration.

## Package

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

## Properties

### nanos

    nanos?: (number|null);

Duration nanos

### seconds

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

Duration seconds