Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class SchedulingDuration.
A SchedulingDuration represents a fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like "day" or "month". Range is approximately 10,000 years.
Generated from protobuf message google.cloud.backupdr.v1.SchedulingDuration
Namespace
Google \ Cloud \ BackupDR \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ seconds
int|string
Optional. Span of time at a resolution of a second.
↳ nanos
int
Optional. Span of time that's a fraction of a second at nanosecond resolution.
getSeconds
Optional. Span of time at a resolution of a second.
int|string
hasSeconds
clearSeconds
setSeconds
Optional. Span of time at a resolution of a second.
var
int|string
$this
getNanos
Optional. Span of time that's a fraction of a second at nanosecond resolution.
int
hasNanos
clearNanos
setNanos
Optional. Span of time that's a fraction of a second at nanosecond resolution.
var
int
$this