Class Google::Cloud::Channel::V1::Period (v0.9.5)

Represents period in days/months/years.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#duration

def duration() -> ::Integer
Returns
  • (::Integer) — Total duration of Period Type defined.

#duration=

def duration=(value) -> ::Integer
Parameter
  • value (::Integer) — Total duration of Period Type defined.
Returns
  • (::Integer) — Total duration of Period Type defined.

#period_type

def period_type() -> ::Google::Cloud::Channel::V1::PeriodType
Returns

#period_type=

def period_type=(value) -> ::Google::Cloud::Channel::V1::PeriodType
Parameter
Returns