Struct google_apigee1::api::GoogleCloudApigeeV1RatePlan
source · pub struct GoogleCloudApigeeV1RatePlan {Show 19 fields
pub apiproduct: Option<String>,
pub billing_period: Option<String>,
pub consumption_pricing_rates: Option<Vec<GoogleCloudApigeeV1RateRange>>,
pub consumption_pricing_type: Option<String>,
pub created_at: Option<i64>,
pub currency_code: Option<String>,
pub description: Option<String>,
pub display_name: Option<String>,
pub end_time: Option<i64>,
pub fixed_fee_frequency: Option<i32>,
pub fixed_recurring_fee: Option<GoogleTypeMoney>,
pub last_modified_at: Option<i64>,
pub name: Option<String>,
pub payment_funding_model: Option<String>,
pub revenue_share_rates: Option<Vec<GoogleCloudApigeeV1RevenueShareRange>>,
pub revenue_share_type: Option<String>,
pub setup_fee: Option<GoogleTypeMoney>,
pub start_time: Option<i64>,
pub state: Option<String>,
}
Expand description
Rate plan details.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- apiproducts rateplans create organizations (request|response)
- apiproducts rateplans delete organizations (response)
- apiproducts rateplans get organizations (response)
- apiproducts rateplans update organizations (request|response)
Fields§
§apiproduct: Option<String>
Name of the API product that the rate plan is associated with.
billing_period: Option<String>
Frequency at which the customer will be billed.
consumption_pricing_rates: Option<Vec<GoogleCloudApigeeV1RateRange>>
API call volume ranges and the fees charged when the total number of API calls is within a given range. The method used to calculate the final fee depends on the selected pricing model. For example, if the pricing model is STAIRSTEP
and the ranges are defined as follows: { "start": 1, "end": 100, "fee": 75 }, { "start": 101, "end": 200, "fee": 100 }, }
Then the following fees would be charged based on the total number of API calls (assuming the currency selected is USD
): * 1 call costs $75 * 50 calls cost $75 * 150 calls cost $100 The number of API calls cannot exceed 200.
consumption_pricing_type: Option<String>
Pricing model used for consumption-based charges.
created_at: Option<i64>
Output only. Time that the rate plan was created in milliseconds since epoch.
currency_code: Option<String>
Currency to be used for billing. Consists of a three-letter code as defined by the ISO 4217 standard.
description: Option<String>
Description of the rate plan.
display_name: Option<String>
Display name of the rate plan.
end_time: Option<i64>
Time when the rate plan will expire in milliseconds since epoch. Set to 0 or null
to indicate that the rate plan should never expire.
fixed_fee_frequency: Option<i32>
Frequency at which the fixed fee is charged.
fixed_recurring_fee: Option<GoogleTypeMoney>
Fixed amount that is charged at a defined interval and billed in advance of use of the API product. The fee will be prorated for the first billing period.
last_modified_at: Option<i64>
Output only. Time the rate plan was last modified in milliseconds since epoch.
name: Option<String>
Output only. Name of the rate plan.
payment_funding_model: Option<String>
DEPRECATED: This field is no longer supported and will eventually be removed when Apigee Hybrid 1.5/1.6 is no longer supported. Instead, use the billingType
field inside DeveloperMonetizationConfig
resource. Flag that specifies the billing account type, prepaid or postpaid.
Details of the revenue sharing model.
Method used to calculate the revenue that is shared with developers.
setup_fee: Option<GoogleTypeMoney>
Initial, one-time fee paid when purchasing the API product.
start_time: Option<i64>
Time when the rate plan becomes active in milliseconds since epoch.
state: Option<String>
Current state of the rate plan (draft or published).
Trait Implementations§
source§impl Clone for GoogleCloudApigeeV1RatePlan
impl Clone for GoogleCloudApigeeV1RatePlan
source§fn clone(&self) -> GoogleCloudApigeeV1RatePlan
fn clone(&self) -> GoogleCloudApigeeV1RatePlan
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more