Backup and DR Service v1 API - Class SchedulingDuration (2.0.0)

public sealed class SchedulingDuration : IMessage<SchedulingDuration>, IEquatable<SchedulingDuration>, IDeepCloneable<SchedulingDuration>, IBufferMessage, IMessage

Reference documentation and code samples for the Backup and DR Service v1 API 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.

Inheritance

object > SchedulingDuration

Namespace

Google.Cloud.BackupDR.V1

Assembly

Google.Cloud.BackupDR.V1.dll

Constructors

SchedulingDuration()

public SchedulingDuration()

SchedulingDuration(SchedulingDuration)

public SchedulingDuration(SchedulingDuration other)
Parameter
Name Description
other SchedulingDuration

Properties

HasNanos

public bool HasNanos { get; }

Gets whether the "nanos" field is set

Property Value
Type Description
bool

HasSeconds

public bool HasSeconds { get; }

Gets whether the "seconds" field is set

Property Value
Type Description
bool

Nanos

public int Nanos { get; set; }

Optional. Span of time that's a fraction of a second at nanosecond resolution.

Property Value
Type Description
int

Seconds

public long Seconds { get; set; }

Optional. Span of time at a resolution of a second.

Property Value
Type Description
long