Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RateRange

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1RateRange

Returns a new instance of GoogleCloudApigeeV1RateRange.



6808
6809
6810
# File 'lib/google/apis/apigee_v1/classes.rb', line 6808

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#endFixnum

Ending value of the range. Set to 0 or null for the last range of values. Corresponds to the JSON property end

Returns:

  • (Fixnum)


6795
6796
6797
# File 'lib/google/apis/apigee_v1/classes.rb', line 6795

def end
  @end
end

#feeGoogle::Apis::ApigeeV1::GoogleTypeMoney

Represents an amount of money with its currency type. Corresponds to the JSON property fee



6800
6801
6802
# File 'lib/google/apis/apigee_v1/classes.rb', line 6800

def fee
  @fee
end

#startFixnum

Starting value of the range. Set to 0 or null for the initial range of values. Corresponds to the JSON property start

Returns:

  • (Fixnum)


6806
6807
6808
# File 'lib/google/apis/apigee_v1/classes.rb', line 6806

def start
  @start
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6813
6814
6815
6816
6817
# File 'lib/google/apis/apigee_v1/classes.rb', line 6813

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