View Source GoogleApi.BackupDR.V1.Model.SchedulingDuration (google_api_backup_dr v0.13.0)

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.

Attributes

  • nanos (type: integer(), default: nil) - Optional. Span of time that's a fraction of a second at nanosecond resolution.
  • seconds (type: String.t, default: nil) - Optional. Span of time at a resolution of a second.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.BackupDR.V1.Model.SchedulingDuration{
  nanos: integer() | nil,
  seconds: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.