Reference documentation and code samples for the Google Cloud Channel V1 Client class Period.
Represents period in days/months/years.
Generated from protobuf message google.cloud.channel.v1.Period
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ duration
int
Total duration of Period Type defined.
↳ period_type
int
Period Type.
getDuration
Total duration of Period Type defined.
Generated from protobuf field int32 duration = 1;
int
setDuration
Total duration of Period Type defined.
Generated from protobuf field int32 duration = 1;
var
int
$this
getPeriodType
Period Type.
Generated from protobuf field .google.cloud.channel.v1.PeriodType period_type = 2;
int
setPeriodType
Period Type.
Generated from protobuf field .google.cloud.channel.v1.PeriodType period_type = 2;
var
int
$this