Interface DurationLike (6.4.1)

Simplified interface analogous to the tc39 Temporal.Duration parameter to from(). This doesn't support the full gamut (years, days).

Package

@google-cloud/pubsub

Properties

hours

hours?: number;

millis

millis?: number;

tc39 has renamed this to milliseconds.

milliseconds

milliseconds?: number;

minutes

minutes?: number;

seconds

seconds?: number;