Cloud Channel v1 API - Class Period (2.2.0)

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

Reference documentation and code samples for the Cloud Channel v1 API class Period.

Represents period in days/months/years.

Inheritance

Object > Period

Namespace

Google.Cloud.Channel.V1

Assembly

Google.Cloud.Channel.V1.dll

Constructors

Period()

public Period()

Period(Period)

public Period(Period other)
Parameter
NameDescription
otherPeriod

Properties

Duration

public int Duration { get; set; }

Total duration of Period Type defined.

Property Value
TypeDescription
Int32

PeriodType

public PeriodType PeriodType { get; set; }

Period Type.

Property Value
TypeDescription
PeriodType