class Google::Apis::ApigeeV1::GoogleCloudApigeeV1RevenueShareRange

API call volume range and the percentage of revenue to share with the developer when the total number of API calls is within the range.

Attributes

end[RW]

Ending value of the range. Set to 0 or `null` for the last range of values. Corresponds to the JSON property `end` @return [Fixnum]

share_percentage[RW]

Percentage of the revenue to be shared with the developer. For example, to share 21 percent of the total revenue with the developer, set this value to 21. Specify a decimal number with a maximum of two digits following the decimal point. Corresponds to the JSON property `sharePercentage` @return [Float]

start[RW]

Starting value of the range. Set to 0 or `null` for the initial range of values. Corresponds to the JSON property `start` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/apigee_v1/classes.rb, line 6108
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/apigee_v1/classes.rb, line 6113
def update!(**args)
  @end = args[:end] if args.key?(:end)
  @share_percentage = args[:share_percentage] if args.key?(:share_percentage)
  @start = args[:start] if args.key?(:start)
end