Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RateRange
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1RateRange
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb
Overview
API call volume range and the fees charged when the total number of API calls is within the range.
Instance Attribute Summary collapse
-
#end ⇒ Fixnum
Ending value of the range.
-
#fee ⇒ Google::Apis::ApigeeV1::GoogleTypeMoney
Represents an amount of money with its currency type.
-
#start ⇒ Fixnum
Starting value of the range.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1RateRange
constructor
A new instance of GoogleCloudApigeeV1RateRange.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1RateRange
Returns a new instance of GoogleCloudApigeeV1RateRange.
5788 5789 5790 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 5788 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end ⇒ Fixnum
Ending value of the range. Set to 0 or null for the last range of values.
Corresponds to the JSON property end
5775 5776 5777 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 5775 def end @end end |
#fee ⇒ Google::Apis::ApigeeV1::GoogleTypeMoney
Represents an amount of money with its currency type.
Corresponds to the JSON property fee
5780 5781 5782 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 5780 def fee @fee end |
#start ⇒ Fixnum
Starting value of the range. Set to 0 or null for the initial range of
values.
Corresponds to the JSON property start
5786 5787 5788 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 5786 def start @start end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5793 5794 5795 5796 5797 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 5793 def update!(**args) @end = args[:end] if args.key?(:end) @fee = args[:fee] if args.key?(:fee) @start = args[:start] if args.key?(:start) end |