mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-06 19:45:20 +01:00
make regen-apis
This commit is contained in:
@@ -72,9 +72,9 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(5 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("id", self._id.to_string());
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
params.push("id", &self._id.to_string());
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -360,9 +360,9 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(5 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("id", self._id.to_string());
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
params.push("id", &self._id.to_string());
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -653,8 +653,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(5 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -955,8 +955,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(6 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
if let Some(value) = self._page_token.as_ref() {
|
||||
params.push("pageToken", value);
|
||||
}
|
||||
@@ -1251,9 +1251,9 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(5 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("database", self._database);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
params.push("database", &self._database);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -1538,9 +1538,9 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(5 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("database", self._database);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
params.push("database", &self._database);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -1831,8 +1831,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(5 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -2128,8 +2128,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -2411,9 +2411,9 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(6 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("database", self._database);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
params.push("database", &self._database);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -2728,9 +2728,9 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(6 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("database", self._database);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
params.push("database", &self._database);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -3296,8 +3296,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -3578,8 +3578,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(5 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -3876,8 +3876,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -4158,8 +4158,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(5 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -4463,8 +4463,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(5 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -4768,8 +4768,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(5 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -5065,8 +5065,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -5347,8 +5347,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(5 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -5650,7 +5650,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("project", &self._project);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -5942,7 +5942,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(6 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("project", &self._project);
|
||||
if let Some(value) = self._page_token.as_ref() {
|
||||
params.push("pageToken", value);
|
||||
}
|
||||
@@ -6248,8 +6248,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -6530,8 +6530,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(5 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -6828,8 +6828,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -7103,8 +7103,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -7377,8 +7377,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -7659,8 +7659,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(5 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -7964,8 +7964,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(5 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -8261,8 +8261,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -8535,8 +8535,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -8816,8 +8816,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(5 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -9121,8 +9121,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(5 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -9418,8 +9418,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("operation", self._operation);
|
||||
params.push("project", &self._project);
|
||||
params.push("operation", &self._operation);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -9698,7 +9698,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(6 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("project", &self._project);
|
||||
if let Some(value) = self._page_token.as_ref() {
|
||||
params.push("pageToken", value);
|
||||
}
|
||||
@@ -9999,8 +9999,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(5 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -10251,7 +10251,7 @@ where
|
||||
/// // execute the final call using `doit()`.
|
||||
/// // Values shown here are possibly random and not representative !
|
||||
/// let result = hub.projects().instances_start_external_sync("project", "instance")
|
||||
/// .sync_mode("amet.")
|
||||
/// .sync_mode(&Default::default())
|
||||
/// .doit().await;
|
||||
/// # }
|
||||
/// ```
|
||||
@@ -10261,7 +10261,7 @@ pub struct ProjectInstanceStartExternalSyncCall<'a, S>
|
||||
pub(super) hub: &'a SQLAdmin<S>,
|
||||
pub(super) _project: String,
|
||||
pub(super) _instance: String,
|
||||
pub(super) _sync_mode: Option<String>,
|
||||
pub(super) _sync_mode: Option<ProjectSyncModeEnum>,
|
||||
pub(super) _delegate: Option<&'a mut dyn client::Delegate>,
|
||||
pub(super) _additional_params: HashMap<String, String>,
|
||||
pub(super) _scopes: BTreeSet<String>
|
||||
@@ -10298,8 +10298,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(5 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
if let Some(value) = self._sync_mode.as_ref() {
|
||||
params.push("syncMode", value);
|
||||
}
|
||||
@@ -10430,8 +10430,8 @@ where
|
||||
/// External sync mode
|
||||
///
|
||||
/// Sets the *sync mode* query property to the given value.
|
||||
pub fn sync_mode(mut self, new_value: &str) -> ProjectInstanceStartExternalSyncCall<'a, S> {
|
||||
self._sync_mode = Some(new_value.to_string());
|
||||
pub fn sync_mode(mut self, new_value: &ProjectSyncModeEnum) -> ProjectInstanceStartExternalSyncCall<'a, S> {
|
||||
self._sync_mode = Some(new_value.clone());
|
||||
self
|
||||
}
|
||||
/// The delegate implementation is consulted whenever there is an intermediate result, or if something goes wrong
|
||||
@@ -10537,8 +10537,8 @@ where
|
||||
/// // execute the final call using `doit()`.
|
||||
/// // Values shown here are possibly random and not representative !
|
||||
/// let result = hub.projects().instances_verify_external_sync_settings("project", "instance")
|
||||
/// .verify_connection_only(true)
|
||||
/// .sync_mode("no")
|
||||
/// .verify_connection_only(false)
|
||||
/// .sync_mode(&Default::default())
|
||||
/// .doit().await;
|
||||
/// # }
|
||||
/// ```
|
||||
@@ -10549,7 +10549,7 @@ pub struct ProjectInstanceVerifyExternalSyncSettingCall<'a, S>
|
||||
pub(super) _project: String,
|
||||
pub(super) _instance: String,
|
||||
pub(super) _verify_connection_only: Option<bool>,
|
||||
pub(super) _sync_mode: Option<String>,
|
||||
pub(super) _sync_mode: Option<ProjectSyncModeEnum>,
|
||||
pub(super) _delegate: Option<&'a mut dyn client::Delegate>,
|
||||
pub(super) _additional_params: HashMap<String, String>,
|
||||
pub(super) _scopes: BTreeSet<String>
|
||||
@@ -10586,8 +10586,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(6 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
if let Some(value) = self._verify_connection_only.as_ref() {
|
||||
params.push("verifyConnectionOnly", value.to_string());
|
||||
}
|
||||
@@ -10728,8 +10728,8 @@ where
|
||||
/// External sync mode
|
||||
///
|
||||
/// Sets the *sync mode* query property to the given value.
|
||||
pub fn sync_mode(mut self, new_value: &str) -> ProjectInstanceVerifyExternalSyncSettingCall<'a, S> {
|
||||
self._sync_mode = Some(new_value.to_string());
|
||||
pub fn sync_mode(mut self, new_value: &ProjectSyncModeEnum) -> ProjectInstanceVerifyExternalSyncSettingCall<'a, S> {
|
||||
self._sync_mode = Some(new_value.clone());
|
||||
self
|
||||
}
|
||||
/// The delegate implementation is consulted whenever there is an intermediate result, or if something goes wrong
|
||||
@@ -10890,8 +10890,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(5 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -11189,9 +11189,9 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(5 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("sha1Fingerprint", self._sha1_fingerprint);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
params.push("sha1Fingerprint", &self._sha1_fingerprint);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -11477,9 +11477,9 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(5 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("sha1Fingerprint", self._sha1_fingerprint);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
params.push("sha1Fingerprint", &self._sha1_fingerprint);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -11771,8 +11771,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(5 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -12068,8 +12068,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -12343,7 +12343,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(3 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("project", &self._project);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -12561,8 +12561,8 @@ where
|
||||
/// // execute the final call using `doit()`.
|
||||
/// // Values shown here are possibly random and not representative !
|
||||
/// let result = hub.users().delete("project", "instance")
|
||||
/// .name("dolores")
|
||||
/// .host("et")
|
||||
/// .name("sed")
|
||||
/// .host("diam")
|
||||
/// .doit().await;
|
||||
/// # }
|
||||
/// ```
|
||||
@@ -12610,8 +12610,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(6 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
if let Some(value) = self._name.as_ref() {
|
||||
params.push("name", value);
|
||||
}
|
||||
@@ -12911,8 +12911,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(5 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -13208,8 +13208,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -13443,8 +13443,8 @@ where
|
||||
/// // execute the final call using `doit()`.
|
||||
/// // Values shown here are possibly random and not representative !
|
||||
/// let result = hub.users().update(req, "project", "instance")
|
||||
/// .name("nonumy")
|
||||
/// .host("At")
|
||||
/// .name("elitr")
|
||||
/// .host("sed")
|
||||
/// .doit().await;
|
||||
/// # }
|
||||
/// ```
|
||||
@@ -13493,8 +13493,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(7 + self._additional_params.len());
|
||||
params.push("project", self._project);
|
||||
params.push("instance", self._instance);
|
||||
params.push("project", &self._project);
|
||||
params.push("instance", &self._instance);
|
||||
if let Some(value) = self._name.as_ref() {
|
||||
params.push("name", value);
|
||||
}
|
||||
|
||||
@@ -30,3 +30,6 @@ pub use method_builders::*;
|
||||
|
||||
mod call_builders;
|
||||
pub use call_builders::*;
|
||||
|
||||
mod enums;
|
||||
pub use enums::*;
|
||||
|
||||
@@ -35,7 +35,7 @@ impl client::Part for AclEntry {}
|
||||
pub struct ApiWarning {
|
||||
/// Code to uniquely identify the warning type.
|
||||
|
||||
pub code: Option<String>,
|
||||
pub code: Option<ApiWarningCodeEnum>,
|
||||
/// The warning message.
|
||||
|
||||
pub message: Option<String>,
|
||||
@@ -152,11 +152,11 @@ pub struct BackupRun {
|
||||
pub start_time: Option<client::chrono::DateTime<client::chrono::offset::Utc>>,
|
||||
/// The status of this run.
|
||||
|
||||
pub status: Option<String>,
|
||||
pub status: Option<BackupRunStatusEnum>,
|
||||
/// The type of this run; can be either "AUTOMATED" or "ON_DEMAND".
|
||||
#[serde(rename="type")]
|
||||
|
||||
pub type_: Option<String>,
|
||||
pub type_: Option<BackupRunTypeEnum>,
|
||||
/// The start time of the backup window during which this the backup was
|
||||
/// attempted in <a href="https://tools.ietf.org/html/rfc3339">RFC 3339</a>
|
||||
/// format, for example <code>2012-11-15T16:19:00.094Z</code>.
|
||||
@@ -356,7 +356,7 @@ pub struct DatabaseInstance {
|
||||
/// the database type and Second or First Generation.
|
||||
#[serde(rename="backendType")]
|
||||
|
||||
pub backend_type: Option<String>,
|
||||
pub backend_type: Option<DatabaseInstanceBackendTypeEnum>,
|
||||
/// Connection name of the Cloud SQL instance used in connection strings.
|
||||
#[serde(rename="connectionName")]
|
||||
|
||||
@@ -379,7 +379,7 @@ pub struct DatabaseInstance {
|
||||
/// instances: <code>MYSQL_5_6</code> (default) or <code>MYSQL_5_5</code>
|
||||
#[serde(rename="databaseVersion")]
|
||||
|
||||
pub database_version: Option<String>,
|
||||
pub database_version: Option<DatabaseInstanceDatabaseVersionEnum>,
|
||||
/// Disk encryption configuration specific to an instance.
|
||||
/// Applies only to Second Generation instances.
|
||||
#[serde(rename="diskEncryptionConfiguration")]
|
||||
@@ -413,7 +413,7 @@ pub struct DatabaseInstance {
|
||||
/// instance configured as a read-replica.
|
||||
#[serde(rename="instanceType")]
|
||||
|
||||
pub instance_type: Option<String>,
|
||||
pub instance_type: Option<DatabaseInstanceInstanceTypeEnum>,
|
||||
/// The assigned IP addresses for the instance.
|
||||
#[serde(rename="ipAddresses")]
|
||||
|
||||
@@ -496,11 +496,11 @@ pub struct DatabaseInstance {
|
||||
/// <br><code>FAILED</code>: The instance creation failed.
|
||||
/// <br><code>UNKNOWN_STATE</code>: The state of the instance is unknown.
|
||||
|
||||
pub state: Option<String>,
|
||||
pub state: Option<DatabaseInstanceStateEnum>,
|
||||
/// If the instance state is SUSPENDED, the reason for the suspension.
|
||||
#[serde(rename="suspensionReason")]
|
||||
|
||||
pub suspension_reason: Option<Vec<String>>,
|
||||
pub suspension_reason: Option<Vec<DatabaseInstanceSuspensionReasonEnum>>,
|
||||
}
|
||||
|
||||
impl client::RequestValue for DatabaseInstance {}
|
||||
@@ -688,7 +688,7 @@ pub struct ExportContext {
|
||||
/// contains SQL statements. <br><code>CSV</code>: The file contains CSV data.
|
||||
#[serde(rename="fileType")]
|
||||
|
||||
pub file_type: Option<String>,
|
||||
pub file_type: Option<ExportContextFileTypeEnum>,
|
||||
/// This is always <code>sql#exportContext</code>.
|
||||
|
||||
pub kind: Option<String>,
|
||||
@@ -757,7 +757,7 @@ pub struct Flag {
|
||||
/// is applicable only to Second Generation instances.
|
||||
#[serde(rename="appliesTo")]
|
||||
|
||||
pub applies_to: Option<Vec<String>>,
|
||||
pub applies_to: Option<Vec<FlagAppliesToEnum>>,
|
||||
/// Whether or not the flag is considered in beta.
|
||||
#[serde(rename="inBeta")]
|
||||
|
||||
@@ -790,7 +790,7 @@ pub struct Flag {
|
||||
/// <code>skip_grant_tables</code>.
|
||||
#[serde(rename="type")]
|
||||
|
||||
pub type_: Option<String>,
|
||||
pub type_: Option<FlagTypeEnum>,
|
||||
}
|
||||
|
||||
impl client::Resource for Flag {}
|
||||
@@ -844,7 +844,7 @@ pub struct ImportContext {
|
||||
/// contains SQL statements. <br><code>CSV</code>: The file contains CSV data.
|
||||
#[serde(rename="fileType")]
|
||||
|
||||
pub file_type: Option<String>,
|
||||
pub file_type: Option<ImportContextFileTypeEnum>,
|
||||
/// The PostgreSQL user for this import operation. PostgreSQL instances only.
|
||||
#[serde(rename="importUser")]
|
||||
|
||||
@@ -1140,7 +1140,7 @@ pub struct IpMapping {
|
||||
/// originating from the instance, if supported.
|
||||
#[serde(rename="type")]
|
||||
|
||||
pub type_: Option<String>,
|
||||
pub type_: Option<IpMappingTypeEnum>,
|
||||
}
|
||||
|
||||
impl client::Part for IpMapping {}
|
||||
@@ -1197,7 +1197,7 @@ pub struct MaintenanceWindow {
|
||||
/// Learn more</a>.
|
||||
#[serde(rename="updateTrack")]
|
||||
|
||||
pub update_track: Option<String>,
|
||||
pub update_track: Option<MaintenanceWindowUpdateTrackEnum>,
|
||||
}
|
||||
|
||||
impl client::Part for MaintenanceWindow {}
|
||||
@@ -1390,7 +1390,7 @@ pub struct Operation {
|
||||
/// <code>DELETE_DATABASE</code> .
|
||||
#[serde(rename="operationType")]
|
||||
|
||||
pub operation_type: Option<String>,
|
||||
pub operation_type: Option<OperationOperationTypeEnum>,
|
||||
/// The URI of this resource.
|
||||
#[serde(rename="selfLink")]
|
||||
|
||||
@@ -1405,7 +1405,7 @@ pub struct Operation {
|
||||
/// <code>RUNNING</code>, <code>DONE</code>,
|
||||
/// <code>SQL_OPERATION_STATUS_UNSPECIFIED</code>.
|
||||
|
||||
pub status: Option<String>,
|
||||
pub status: Option<OperationStatusEnum>,
|
||||
/// Name of the database instance related to this operation.
|
||||
#[serde(rename="targetId")]
|
||||
|
||||
@@ -1536,7 +1536,7 @@ pub struct Reschedule {
|
||||
/// Required. The type of the reschedule.
|
||||
#[serde(rename="rescheduleType")]
|
||||
|
||||
pub reschedule_type: Option<String>,
|
||||
pub reschedule_type: Option<RescheduleRescheduleTypeEnum>,
|
||||
/// Optional. Timestamp when the maintenance shall be rescheduled to if
|
||||
/// reschedule_type=SPECIFIC_TIME, in <a
|
||||
/// href="https://tools.ietf.org/html/rfc3339">RFC 3339</a> format, for
|
||||
@@ -1616,7 +1616,7 @@ pub struct Settings {
|
||||
/// 12 hours of inactivity.
|
||||
#[serde(rename="activationPolicy")]
|
||||
|
||||
pub activation_policy: Option<String>,
|
||||
pub activation_policy: Option<SettingActivationPolicyEnum>,
|
||||
/// The App Engine app IDs that can access this instance. First Generation
|
||||
/// instances only.
|
||||
#[serde(rename="authorizedGaeApplications")]
|
||||
@@ -1631,7 +1631,7 @@ pub struct Settings {
|
||||
/// of the High Availability Configuration</a>.
|
||||
#[serde(rename="availabilityType")]
|
||||
|
||||
pub availability_type: Option<String>,
|
||||
pub availability_type: Option<SettingAvailabilityTypeEnum>,
|
||||
/// The daily backup configuration for the instance.
|
||||
#[serde(rename="backupConfiguration")]
|
||||
|
||||
@@ -1652,7 +1652,7 @@ pub struct Settings {
|
||||
/// <code>PD_HDD</code>. Not used for First Generation instances.
|
||||
#[serde(rename="dataDiskType")]
|
||||
|
||||
pub data_disk_type: Option<String>,
|
||||
pub data_disk_type: Option<SettingDataDiskTypeEnum>,
|
||||
/// The database flags passed to the instance at startup.
|
||||
#[serde(rename="databaseFlags")]
|
||||
|
||||
@@ -1689,13 +1689,13 @@ pub struct Settings {
|
||||
/// Generation instances.
|
||||
#[serde(rename="pricingPlan")]
|
||||
|
||||
pub pricing_plan: Option<String>,
|
||||
pub pricing_plan: Option<SettingPricingPlanEnum>,
|
||||
/// The type of replication this instance uses. This can be either
|
||||
/// <code>ASYNCHRONOUS</code> or <code>SYNCHRONOUS</code>. This property is
|
||||
/// only applicable to First Generation instances.
|
||||
#[serde(rename="replicationType")]
|
||||
|
||||
pub replication_type: Option<String>,
|
||||
pub replication_type: Option<SettingReplicationTypeEnum>,
|
||||
/// The version of instance settings. This is a required field for update
|
||||
/// method to make sure concurrent updates are handled properly. During update,
|
||||
/// use the most recent settingsVersion value for this instance and do not try
|
||||
@@ -1750,7 +1750,7 @@ pub struct SqlExternalSyncSettingError {
|
||||
/// Identifies the specific error that occurred.
|
||||
#[serde(rename="type")]
|
||||
|
||||
pub type_: Option<String>,
|
||||
pub type_: Option<SqlExternalSyncSettingErrorTypeEnum>,
|
||||
}
|
||||
|
||||
impl client::Part for SqlExternalSyncSettingError {}
|
||||
|
||||
Reference in New Issue
Block a user