make regen-apis

This commit is contained in:
OMGeeky
2023-10-23 12:55:17 +02:00
parent 8fc78fe0ae
commit c356d5fd0e
887 changed files with 9716 additions and 8753 deletions

View File

@@ -1392,7 +1392,7 @@ where
}
let mut params = Params::with_capacity(5 + self._additional_params.len());
params.push("name", self._name);
params.push("name", &self._name);
if let Some(value) = self._page_token.as_ref() {
params.push("pageToken", value);
}
@@ -2549,7 +2549,7 @@ where
}
let mut params = Params::with_capacity(3 + self._additional_params.len());
params.push("name", self._name);
params.push("name", &self._name);
params.extend(self._additional_params.iter());
@@ -2813,7 +2813,7 @@ where
}
let mut params = Params::with_capacity(4 + self._additional_params.len());
params.push("resource", self._resource);
params.push("resource", &self._resource);
if let Some(value) = self._options_requested_policy_version.as_ref() {
params.push("options.requestedPolicyVersion", value.to_string());
}
@@ -3677,7 +3677,7 @@ where
}
let mut params = Params::with_capacity(5 + self._additional_params.len());
params.push("name", self._name);
params.push("name", &self._name);
if let Some(value) = self._update_mask.as_ref() {
params.push("updateMask", value.to_string());
}
@@ -3979,7 +3979,7 @@ where
}
let mut params = Params::with_capacity(4 + self._additional_params.len());
params.push("resource", self._resource);
params.push("resource", &self._resource);
params.extend(self._additional_params.iter());
@@ -4271,7 +4271,7 @@ where
}
let mut params = Params::with_capacity(4 + self._additional_params.len());
params.push("resource", self._resource);
params.push("resource", &self._resource);
params.extend(self._additional_params.iter());
@@ -5420,7 +5420,7 @@ where
}
let mut params = Params::with_capacity(3 + self._additional_params.len());
params.push("name", self._name);
params.push("name", &self._name);
params.extend(self._additional_params.iter());
@@ -5689,7 +5689,7 @@ where
}
let mut params = Params::with_capacity(4 + self._additional_params.len());
params.push("name", self._name);
params.push("name", &self._name);
params.extend(self._additional_params.iter());
@@ -5984,7 +5984,7 @@ where
}
let mut params = Params::with_capacity(8 + self._additional_params.len());
params.push("parent", self._parent);
params.push("parent", &self._parent);
if let Some(value) = self._start_time.as_ref() {
params.push("startTime", ::client::serde::datetime_to_string(&value));
}

View File

@@ -30,3 +30,6 @@ pub use method_builders::*;
mod call_builders;
pub use call_builders::*;
mod enums;
pub use enums::*;

View File

@@ -13,11 +13,11 @@ pub struct AggregationInfo {
/// no description provided
#[serde(rename="aggregationInterval")]
pub aggregation_interval: Option<String>,
pub aggregation_interval: Option<AggregationInfoAggregationIntervalEnum>,
/// no description provided
#[serde(rename="aggregationLevel")]
pub aggregation_level: Option<String>,
pub aggregation_level: Option<AggregationInfoAggregationLevelEnum>,
}
impl client::Part for AggregationInfo {}
@@ -56,7 +56,7 @@ pub struct AuditLogConfig {
/// The log type that this config enables.
#[serde(rename="logType")]
pub log_type: Option<String>,
pub log_type: Option<AuditLogConfigLogTypeEnum>,
}
impl client::Part for AuditLogConfig {}
@@ -187,7 +187,7 @@ pub struct GeoTaxonomy {
/// The type of Geo Taxonomy: GLOBAL, REGIONAL, or MULTI_REGIONAL.
#[serde(rename="type")]
pub type_: Option<String>,
pub type_: Option<GeoTaxonomyTypeEnum>,
}
impl client::Part for GeoTaxonomy {}