Cloud Channel v1 API - Class Period (2.11.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
int

PeriodType

public PeriodType PeriodType { get; set; }

Period Type.

Property Value
TypeDescription
PeriodType