mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
make regen-apis
This commit is contained in:
@@ -30,3 +30,6 @@ pub use method_builders::*;
|
||||
|
||||
mod call_builders;
|
||||
pub use call_builders::*;
|
||||
|
||||
mod enums;
|
||||
pub use enums::*;
|
||||
|
||||
@@ -139,7 +139,7 @@ pub struct GoogleCloudBillingBudgetsV1beta1Filter {
|
||||
/// Optional. Specifies to track usage for recurring calendar period. For example, assume that CalendarPeriod.QUARTER is set. The budget will track usage from April 1 to June 30, when the current calendar month is April, May, June. After that, it will track usage from July 1 to September 30 when the current calendar month is July, August, September, so on.
|
||||
#[serde(rename="calendarPeriod")]
|
||||
|
||||
pub calendar_period: Option<String>,
|
||||
pub calendar_period: Option<GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodEnum>,
|
||||
/// Optional. If Filter.credit_types_treatment is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be subtracted from gross cost to determine the spend for threshold calculations. See [a list of acceptable credit type values](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type). If Filter.credit_types_treatment is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty.
|
||||
#[serde(rename="creditTypes")]
|
||||
|
||||
@@ -147,7 +147,7 @@ pub struct GoogleCloudBillingBudgetsV1beta1Filter {
|
||||
/// Optional. If not set, default behavior is `INCLUDE_ALL_CREDITS`.
|
||||
#[serde(rename="creditTypesTreatment")]
|
||||
|
||||
pub credit_types_treatment: Option<String>,
|
||||
pub credit_types_treatment: Option<GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentEnum>,
|
||||
/// Optional. Specifies to track usage from any start date (required) to any end date (optional). This time period is static, it does not recur.
|
||||
#[serde(rename="customPeriod")]
|
||||
|
||||
@@ -212,7 +212,7 @@ pub struct GoogleCloudBillingBudgetsV1beta1ThresholdRule {
|
||||
/// Optional. The type of basis used to determine if spend has passed the threshold. Behavior defaults to CURRENT_SPEND if not set.
|
||||
#[serde(rename="spendBasis")]
|
||||
|
||||
pub spend_basis: Option<String>,
|
||||
pub spend_basis: Option<GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisEnum>,
|
||||
/// Required. Send an alert when this threshold is exceeded. This is a 1.0-based percentage, so 0.5 = 50%. Validation: non-negative number.
|
||||
#[serde(rename="thresholdPercent")]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user