Class: Google::Cloud::Channel::V1::Period

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/channel/v1/offers.rb

Overview

Represents period in days/months/years.

Instance Attribute Summary collapse

Instance Attribute Details

#duration::Integer

Returns Total duration of Period Type defined.

Returns:

  • (::Integer)

    Total duration of Period Type defined.



245
246
247
248
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 245

class Period
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#period_type::Google::Cloud::Channel::V1::PeriodType

Returns Period Type.

Returns:



245
246
247
248
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 245

class Period
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end