Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#nanos
def nanos() -> ::Integer
Returns
- (::Integer) — Optional. Span of time that's a fraction of a second at nanosecond resolution.
#nanos=
def nanos=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. Span of time that's a fraction of a second at nanosecond resolution.
Returns
- (::Integer) — Optional. Span of time that's a fraction of a second at nanosecond resolution.
#seconds
def seconds() -> ::Integer
Returns
- (::Integer) — Optional. Span of time at a resolution of a second.
#seconds=
def seconds=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. Span of time at a resolution of a second.
Returns
- (::Integer) — Optional. Span of time at a resolution of a second.