make regen-apis

This commit is contained in:
OMGeeky
2023-10-23 12:55:17 +02:00
parent a4b0f56b8c
commit 4a258a57a6
1025 changed files with 29943 additions and 28980 deletions

View File

@@ -70,7 +70,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());
@@ -294,7 +294,7 @@ where
/// // execute the final call using `doit()`.
/// // Values shown here are possibly random and not representative !
/// let result = hub.projects().sites_channels_releases_create(req, "parent")
/// .version_name("Lorem")
/// .version_name("duo")
/// .doit().await;
/// # }
/// ```
@@ -341,7 +341,7 @@ where
}
let mut params = Params::with_capacity(5 + self._additional_params.len());
params.push("parent", self._parent);
params.push("parent", &self._parent);
if let Some(value) = self._version_name.as_ref() {
params.push("versionName", value);
}
@@ -592,8 +592,8 @@ where
/// // execute the final call using `doit()`.
/// // Values shown here are possibly random and not representative !
/// let result = hub.projects().sites_channels_releases_list("parent")
/// .page_token("eos")
/// .page_size(-4)
/// .page_token("gubergren")
/// .page_size(-51)
/// .doit().await;
/// # }
/// ```
@@ -640,7 +640,7 @@ where
}
let mut params = Params::with_capacity(5 + self._additional_params.len());
params.push("parent", self._parent);
params.push("parent", &self._parent);
if let Some(value) = self._page_token.as_ref() {
params.push("pageToken", value);
}
@@ -884,7 +884,7 @@ where
/// // execute the final call using `doit()`.
/// // Values shown here are possibly random and not representative !
/// let result = hub.projects().sites_channels_create(req, "parent")
/// .channel_id("ipsum")
/// .channel_id("eos")
/// .doit().await;
/// # }
/// ```
@@ -931,7 +931,7 @@ where
}
let mut params = Params::with_capacity(5 + self._additional_params.len());
params.push("parent", self._parent);
params.push("parent", &self._parent);
if let Some(value) = self._channel_id.as_ref() {
params.push("channelId", value);
}
@@ -1226,7 +1226,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());
@@ -1488,7 +1488,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());
@@ -1706,8 +1706,8 @@ where
/// // execute the final call using `doit()`.
/// // Values shown here are possibly random and not representative !
/// let result = hub.projects().sites_channels_list("parent")
/// .page_token("ipsum")
/// .page_size(-93)
/// .page_token("invidunt")
/// .page_size(-47)
/// .doit().await;
/// # }
/// ```
@@ -1754,7 +1754,7 @@ where
}
let mut params = Params::with_capacity(5 + self._additional_params.len());
params.push("parent", self._parent);
params.push("parent", &self._parent);
if let Some(value) = self._page_token.as_ref() {
params.push("pageToken", value);
}
@@ -2045,7 +2045,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());
}
@@ -2347,7 +2347,7 @@ where
}
let mut params = Params::with_capacity(4 + self._additional_params.len());
params.push("parent", self._parent);
params.push("parent", &self._parent);
params.extend(self._additional_params.iter());
@@ -2632,7 +2632,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());
@@ -2894,7 +2894,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());
@@ -3112,8 +3112,8 @@ where
/// // execute the final call using `doit()`.
/// // Values shown here are possibly random and not representative !
/// let result = hub.projects().sites_domains_list("parent")
/// .page_token("ipsum")
/// .page_size(-7)
/// .page_token("rebum.")
/// .page_size(-57)
/// .doit().await;
/// # }
/// ```
@@ -3160,7 +3160,7 @@ where
}
let mut params = Params::with_capacity(5 + self._additional_params.len());
params.push("parent", self._parent);
params.push("parent", &self._parent);
if let Some(value) = self._page_token.as_ref() {
params.push("pageToken", value);
}
@@ -3449,7 +3449,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());
@@ -3696,7 +3696,7 @@ where
/// // execute the final call using `doit()`.
/// // Values shown here are possibly random and not representative !
/// let result = hub.projects().sites_releases_create(req, "parent")
/// .version_name("dolor")
/// .version_name("est")
/// .doit().await;
/// # }
/// ```
@@ -3743,7 +3743,7 @@ where
}
let mut params = Params::with_capacity(5 + self._additional_params.len());
params.push("parent", self._parent);
params.push("parent", &self._parent);
if let Some(value) = self._version_name.as_ref() {
params.push("versionName", value);
}
@@ -3994,8 +3994,8 @@ where
/// // execute the final call using `doit()`.
/// // Values shown here are possibly random and not representative !
/// let result = hub.projects().sites_releases_list("parent")
/// .page_token("eos")
/// .page_size(-86)
/// .page_token("ea")
/// .page_size(-99)
/// .doit().await;
/// # }
/// ```
@@ -4042,7 +4042,7 @@ where
}
let mut params = Params::with_capacity(5 + self._additional_params.len());
params.push("parent", self._parent);
params.push("parent", &self._parent);
if let Some(value) = self._page_token.as_ref() {
params.push("pageToken", value);
}
@@ -4280,9 +4280,9 @@ where
/// // execute the final call using `doit()`.
/// // Values shown here are possibly random and not representative !
/// let result = hub.projects().sites_versions_files_list("parent")
/// .status("duo")
/// .page_token("sed")
/// .page_size(-61)
/// .status(&Default::default())
/// .page_token("eos")
/// .page_size(-86)
/// .doit().await;
/// # }
/// ```
@@ -4291,7 +4291,7 @@ pub struct ProjectSiteVersionFileListCall<'a, S>
pub(super) hub: &'a FirebaseHosting<S>,
pub(super) _parent: String,
pub(super) _status: Option<String>,
pub(super) _status: Option<ProjectStatusEnum>,
pub(super) _page_token: Option<String>,
pub(super) _page_size: Option<i32>,
pub(super) _delegate: Option<&'a mut dyn client::Delegate>,
@@ -4330,7 +4330,7 @@ where
}
let mut params = Params::with_capacity(6 + self._additional_params.len());
params.push("parent", self._parent);
params.push("parent", &self._parent);
if let Some(value) = self._status.as_ref() {
params.push("status", value);
}
@@ -4457,8 +4457,8 @@ where
/// The type of files that should be listed for the specified version.
///
/// Sets the *status* query property to the given value.
pub fn status(mut self, new_value: &str) -> ProjectSiteVersionFileListCall<'a, S> {
self._status = Some(new_value.to_string());
pub fn status(mut self, new_value: &ProjectStatusEnum) -> ProjectSiteVersionFileListCall<'a, S> {
self._status = Some(new_value.clone());
self
}
/// A token from a previous call to `ListVersionFiles` that tells the server where to resume listing.
@@ -4629,7 +4629,7 @@ where
}
let mut params = Params::with_capacity(4 + self._additional_params.len());
params.push("parent", self._parent);
params.push("parent", &self._parent);
params.extend(self._additional_params.iter());
@@ -4876,8 +4876,8 @@ where
/// // execute the final call using `doit()`.
/// // Values shown here are possibly random and not representative !
/// let result = hub.projects().sites_versions_create(req, "parent")
/// .version_id("et")
/// .size_bytes(-43)
/// .version_id("sed")
/// .size_bytes(-61)
/// .doit().await;
/// # }
/// ```
@@ -4925,7 +4925,7 @@ where
}
let mut params = Params::with_capacity(6 + self._additional_params.len());
params.push("parent", self._parent);
params.push("parent", &self._parent);
if let Some(value) = self._version_id.as_ref() {
params.push("versionId", value);
}
@@ -5230,7 +5230,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());
@@ -5448,9 +5448,9 @@ where
/// // execute the final call using `doit()`.
/// // Values shown here are possibly random and not representative !
/// let result = hub.projects().sites_versions_list("parent")
/// .page_token("vero")
/// .page_size(-31)
/// .filter("sed")
/// .page_token("et")
/// .page_size(-43)
/// .filter("et")
/// .doit().await;
/// # }
/// ```
@@ -5498,7 +5498,7 @@ where
}
let mut params = Params::with_capacity(6 + self._additional_params.len());
params.push("parent", self._parent);
params.push("parent", &self._parent);
if let Some(value) = self._page_token.as_ref() {
params.push("pageToken", value);
}
@@ -5799,7 +5799,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());
}
@@ -6101,7 +6101,7 @@ where
}
let mut params = Params::with_capacity(4 + self._additional_params.len());
params.push("parent", self._parent);
params.push("parent", &self._parent);
params.extend(self._additional_params.iter());
@@ -6348,7 +6348,7 @@ where
/// // execute the final call using `doit()`.
/// // Values shown here are possibly random and not representative !
/// let result = hub.projects().sites_create(req, "parent")
/// .site_id("voluptua.")
/// .site_id("sed")
/// .doit().await;
/// # }
/// ```
@@ -6395,7 +6395,7 @@ where
}
let mut params = Params::with_capacity(5 + self._additional_params.len());
params.push("parent", self._parent);
params.push("parent", &self._parent);
if let Some(value) = self._site_id.as_ref() {
params.push("siteId", value);
}
@@ -6690,7 +6690,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());
@@ -6952,7 +6952,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());
@@ -7214,7 +7214,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());
@@ -7432,8 +7432,8 @@ where
/// // execute the final call using `doit()`.
/// // Values shown here are possibly random and not representative !
/// let result = hub.projects().sites_list("parent")
/// .page_token("et")
/// .page_size(-22)
/// .page_token("amet.")
/// .page_size(-96)
/// .doit().await;
/// # }
/// ```
@@ -7480,7 +7480,7 @@ where
}
let mut params = Params::with_capacity(5 + self._additional_params.len());
params.push("parent", self._parent);
params.push("parent", &self._parent);
if let Some(value) = self._page_token.as_ref() {
params.push("pageToken", value);
}
@@ -7771,7 +7771,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());
}
@@ -8075,7 +8075,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());
}
@@ -8332,7 +8332,7 @@ where
/// // execute the final call using `doit()`.
/// // Values shown here are possibly random and not representative !
/// let result = hub.sites().channels_releases_create(req, "parent")
/// .version_name("duo")
/// .version_name("et")
/// .doit().await;
/// # }
/// ```
@@ -8379,7 +8379,7 @@ where
}
let mut params = Params::with_capacity(5 + self._additional_params.len());
params.push("parent", self._parent);
params.push("parent", &self._parent);
if let Some(value) = self._version_name.as_ref() {
params.push("versionName", value);
}
@@ -8630,8 +8630,8 @@ where
/// // execute the final call using `doit()`.
/// // Values shown here are possibly random and not representative !
/// let result = hub.sites().channels_releases_list("parent")
/// .page_token("vero")
/// .page_size(-88)
/// .page_token("Stet")
/// .page_size(-99)
/// .doit().await;
/// # }
/// ```
@@ -8678,7 +8678,7 @@ where
}
let mut params = Params::with_capacity(5 + self._additional_params.len());
params.push("parent", self._parent);
params.push("parent", &self._parent);
if let Some(value) = self._page_token.as_ref() {
params.push("pageToken", value);
}
@@ -8969,7 +8969,7 @@ where
}
let mut params = Params::with_capacity(5 + self._additional_params.len());
params.push("parent", self._parent);
params.push("parent", &self._parent);
if let Some(value) = self._channel_id.as_ref() {
params.push("channelId", value);
}
@@ -9264,7 +9264,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());
@@ -9526,7 +9526,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());
@@ -9744,8 +9744,8 @@ where
/// // execute the final call using `doit()`.
/// // Values shown here are possibly random and not representative !
/// let result = hub.sites().channels_list("parent")
/// .page_token("no")
/// .page_size(-100)
/// .page_token("vero")
/// .page_size(-44)
/// .doit().await;
/// # }
/// ```
@@ -9792,7 +9792,7 @@ where
}
let mut params = Params::with_capacity(5 + self._additional_params.len());
params.push("parent", self._parent);
params.push("parent", &self._parent);
if let Some(value) = self._page_token.as_ref() {
params.push("pageToken", value);
}
@@ -10083,7 +10083,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());
}
@@ -10385,7 +10385,7 @@ where
}
let mut params = Params::with_capacity(4 + self._additional_params.len());
params.push("parent", self._parent);
params.push("parent", &self._parent);
params.extend(self._additional_params.iter());
@@ -10670,7 +10670,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());
@@ -10932,7 +10932,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());
@@ -11150,8 +11150,8 @@ where
/// // execute the final call using `doit()`.
/// // Values shown here are possibly random and not representative !
/// let result = hub.sites().domains_list("parent")
/// .page_token("erat")
/// .page_size(-96)
/// .page_token("takimata")
/// .page_size(-46)
/// .doit().await;
/// # }
/// ```
@@ -11198,7 +11198,7 @@ where
}
let mut params = Params::with_capacity(5 + self._additional_params.len());
params.push("parent", self._parent);
params.push("parent", &self._parent);
if let Some(value) = self._page_token.as_ref() {
params.push("pageToken", value);
}
@@ -11487,7 +11487,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());
@@ -11734,7 +11734,7 @@ where
/// // execute the final call using `doit()`.
/// // Values shown here are possibly random and not representative !
/// let result = hub.sites().releases_create(req, "parent")
/// .version_name("takimata")
/// .version_name("erat")
/// .doit().await;
/// # }
/// ```
@@ -11781,7 +11781,7 @@ where
}
let mut params = Params::with_capacity(5 + self._additional_params.len());
params.push("parent", self._parent);
params.push("parent", &self._parent);
if let Some(value) = self._version_name.as_ref() {
params.push("versionName", value);
}
@@ -12032,8 +12032,8 @@ where
/// // execute the final call using `doit()`.
/// // Values shown here are possibly random and not representative !
/// let result = hub.sites().releases_list("parent")
/// .page_token("gubergren")
/// .page_size(-74)
/// .page_token("amet.")
/// .page_size(-30)
/// .doit().await;
/// # }
/// ```
@@ -12080,7 +12080,7 @@ where
}
let mut params = Params::with_capacity(5 + self._additional_params.len());
params.push("parent", self._parent);
params.push("parent", &self._parent);
if let Some(value) = self._page_token.as_ref() {
params.push("pageToken", value);
}
@@ -12318,9 +12318,9 @@ where
/// // execute the final call using `doit()`.
/// // Values shown here are possibly random and not representative !
/// let result = hub.sites().versions_files_list("parent")
/// .status("voluptua.")
/// .page_token("dolore")
/// .page_size(-34)
/// .status(&Default::default())
/// .page_token("dolores")
/// .page_size(-62)
/// .doit().await;
/// # }
/// ```
@@ -12329,7 +12329,7 @@ pub struct SiteVersionFileListCall<'a, S>
pub(super) hub: &'a FirebaseHosting<S>,
pub(super) _parent: String,
pub(super) _status: Option<String>,
pub(super) _status: Option<SiteStatusEnum>,
pub(super) _page_token: Option<String>,
pub(super) _page_size: Option<i32>,
pub(super) _delegate: Option<&'a mut dyn client::Delegate>,
@@ -12368,7 +12368,7 @@ where
}
let mut params = Params::with_capacity(6 + self._additional_params.len());
params.push("parent", self._parent);
params.push("parent", &self._parent);
if let Some(value) = self._status.as_ref() {
params.push("status", value);
}
@@ -12495,8 +12495,8 @@ where
/// The type of files that should be listed for the specified version.
///
/// Sets the *status* query property to the given value.
pub fn status(mut self, new_value: &str) -> SiteVersionFileListCall<'a, S> {
self._status = Some(new_value.to_string());
pub fn status(mut self, new_value: &SiteStatusEnum) -> SiteVersionFileListCall<'a, S> {
self._status = Some(new_value.clone());
self
}
/// A token from a previous call to `ListVersionFiles` that tells the server where to resume listing.
@@ -12667,7 +12667,7 @@ where
}
let mut params = Params::with_capacity(4 + self._additional_params.len());
params.push("parent", self._parent);
params.push("parent", &self._parent);
params.extend(self._additional_params.iter());
@@ -12914,8 +12914,8 @@ where
/// // execute the final call using `doit()`.
/// // Values shown here are possibly random and not representative !
/// let result = hub.sites().versions_create(req, "parent")
/// .version_id("amet.")
/// .size_bytes(-17)
/// .version_id("voluptua.")
/// .size_bytes(-34)
/// .doit().await;
/// # }
/// ```
@@ -12963,7 +12963,7 @@ where
}
let mut params = Params::with_capacity(6 + self._additional_params.len());
params.push("parent", self._parent);
params.push("parent", &self._parent);
if let Some(value) = self._version_id.as_ref() {
params.push("versionId", value);
}
@@ -13268,7 +13268,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());
@@ -13486,9 +13486,9 @@ where
/// // execute the final call using `doit()`.
/// // Values shown here are possibly random and not representative !
/// let result = hub.sites().versions_list("parent")
/// .page_token("invidunt")
/// .page_size(-11)
/// .filter("est")
/// .page_token("voluptua.")
/// .page_size(-2)
/// .filter("ea")
/// .doit().await;
/// # }
/// ```
@@ -13536,7 +13536,7 @@ where
}
let mut params = Params::with_capacity(6 + self._additional_params.len());
params.push("parent", self._parent);
params.push("parent", &self._parent);
if let Some(value) = self._page_token.as_ref() {
params.push("pageToken", value);
}
@@ -13837,7 +13837,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());
}
@@ -14139,7 +14139,7 @@ where
}
let mut params = Params::with_capacity(4 + self._additional_params.len());
params.push("parent", self._parent);
params.push("parent", &self._parent);
params.extend(self._additional_params.iter());
@@ -14424,7 +14424,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());
@@ -14695,7 +14695,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());
}

View File

@@ -32,9 +32,9 @@ use super::*;
/// // execute the final call using `doit()`.
/// // Values shown here are possibly random and not representative !
/// let result = hub.sites().versions_files_list("parent")
/// .status("takimata")
/// .page_token("amet.")
/// .page_size(-20)
/// .status(&Default::default())
/// .page_token("sed")
/// .page_size(-2)
/// .doit().await;
///
/// match result {

View File

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

View File

@@ -190,7 +190,7 @@ pub struct Domain {
pub site: Option<String>,
/// Output only. Additional status of the domain association.
pub status: Option<String>,
pub status: Option<DomainStatusEnum>,
/// Output only. The time at which the domain was last updated.
#[serde(rename="updateTime")]
@@ -223,7 +223,7 @@ pub struct DomainProvisioning {
/// The certificate provisioning status; updated when Firebase Hosting provisions an SSL certificate for the domain.
#[serde(rename="certStatus")]
pub cert_status: Option<String>,
pub cert_status: Option<DomainProvisioningCertStatusEnum>,
/// The IPs found at the last DNS fetch.
#[serde(rename="discoveredIps")]
@@ -235,7 +235,7 @@ pub struct DomainProvisioning {
/// The DNS record match status as of the last DNS fetch.
#[serde(rename="dnsStatus")]
pub dns_status: Option<String>,
pub dns_status: Option<DomainProvisioningDnsStatusEnum>,
/// The list of IPs to which the domain is expected to resolve.
#[serde(rename="expectedIps")]
@@ -259,7 +259,7 @@ pub struct DomainRedirect {
/// Required. The redirect status code.
#[serde(rename="type")]
pub type_: Option<String>,
pub type_: Option<DomainRedirectTypeEnum>,
}
impl client::Part for DomainRedirect {}
@@ -616,7 +616,7 @@ pub struct Release {
/// Explains the reason for the release. Specify a value for this field only when creating a `SITE_DISABLE` type release.
#[serde(rename="type")]
pub type_: Option<String>,
pub type_: Option<ReleaseTypeEnum>,
/// Output only. The configuration and content that was released.
pub version: Option<Version>,
@@ -671,7 +671,7 @@ pub struct ServingConfig {
/// How to handle well known App Association files.
#[serde(rename="appAssociation")]
pub app_association: Option<String>,
pub app_association: Option<ServingConfigAppAssociationEnum>,
/// Defines whether to drop the file extension from uploaded files.
#[serde(rename="cleanUrls")]
@@ -691,7 +691,7 @@ pub struct ServingConfig {
/// Defines how to handle a trailing slash in the URL path.
#[serde(rename="trailingSlashBehavior")]
pub trailing_slash_behavior: Option<String>,
pub trailing_slash_behavior: Option<ServingConfigTrailingSlashBehaviorEnum>,
}
impl client::Part for ServingConfig {}
@@ -750,7 +750,7 @@ pub struct Site {
/// Output only. The type of Hosting site. Every Firebase project has a `DEFAULT_SITE`, which is created when Hosting is provisioned for the project. All additional sites are `USER_SITE`.
#[serde(rename="type")]
pub type_: Option<String>,
pub type_: Option<SiteTypeEnum>,
}
impl client::RequestValue for Site {}
@@ -862,7 +862,7 @@ pub struct Version {
pub name: Option<String>,
/// The deploy status of the version. For a successful deploy, call [`CreateVersion`](sites.versions/create) to make a new version (`CREATED` status), [upload all desired files](sites.versions/populateFiles) to the version, then [update](sites.versions/patch) the version to the `FINALIZED` status. Note that if you leave the version in the `CREATED` state for more than 12 hours, the system will automatically mark the version as `ABANDONED`. You can also change the status of a version to `DELETED` by calling [`DeleteVersion`](sites.versions/delete).
pub status: Option<String>,
pub status: Option<VersionStatusEnum>,
/// Output only. The total stored bytesize of the version. This value is calculated after a version is `FINALIZED`.
#[serde(rename="versionBytes")]
@@ -889,7 +889,7 @@ pub struct VersionFile {
pub path: Option<String>,
/// Output only. The current status of a particular file in the specified version. The value will be either `pending upload` or `uploaded`.
pub status: Option<String>,
pub status: Option<VersionFileStatusEnum>,
}
impl client::Part for VersionFile {}

View File

@@ -123,9 +123,9 @@
//! // execute the final call using `doit()`.
//! // Values shown here are possibly random and not representative !
//! let result = hub.sites().versions_files_list("parent")
//! .status("At")
//! .page_token("sanctus")
//! .page_size(-80)
//! .status(&Default::default())
//! .page_token("voluptua.")
//! .page_size(-27)
//! .doit().await;
//!
//! match result {