Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RevenueShareRange
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ApigeeV1::GoogleCloudApigeeV1RevenueShareRange
 
 
- 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 percentage of revenue to share with the developer when the total number of API calls is within the range.
Instance Attribute Summary collapse
- 
  
    
      #end  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Ending value of the range.
 - 
  
    
      #share_percentage  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Percentage of the revenue to be shared with the developer.
 - 
  
    
      #start  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Starting value of the range.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleCloudApigeeV1RevenueShareRange 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GoogleCloudApigeeV1RevenueShareRange.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1RevenueShareRange
Returns a new instance of GoogleCloudApigeeV1RevenueShareRange.
      8677 8678 8679  | 
    
      # File 'lib/google/apis/apigee_v1/classes.rb', line 8677 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
      8661 8662 8663  | 
    
      # File 'lib/google/apis/apigee_v1/classes.rb', line 8661 def end @end end  | 
  
#share_percentage ⇒ Float
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
      8669 8670 8671  | 
    
      # File 'lib/google/apis/apigee_v1/classes.rb', line 8669 def share_percentage @share_percentage 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
      8675 8676 8677  | 
    
      # File 'lib/google/apis/apigee_v1/classes.rb', line 8675 def start @start end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      8682 8683 8684 8685 8686  | 
    
      # File 'lib/google/apis/apigee_v1/classes.rb', line 8682 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  |