Class: Google::Cloud::Compute::V1::Duration
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::Duration
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/compute/v1/compute.rb
Overview
A Duration 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.
Instance Attribute Summary collapse
-
#nanos ⇒ ::Integer
Span of time that's a fraction of a second at nanosecond resolution.
-
#seconds ⇒ ::Integer
Span of time at a resolution of a second.