Cloud Channel V1 API - Class Google::Cloud::Channel::V1::Period (v0.19.0)

Reference documentation and code samples for the Cloud Channel V1 API class Google::Cloud::Channel::V1::Period.

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