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

@@ -79,7 +79,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._job_template_id.as_ref() {
params.push("jobTemplateId", value);
}
@@ -376,7 +376,7 @@ where
}
let mut params = Params::with_capacity(4 + self._additional_params.len());
params.push("name", self._name);
params.push("name", &self._name);
if let Some(value) = self._allow_missing.as_ref() {
params.push("allowMissing", value.to_string());
}
@@ -648,7 +648,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());
@@ -918,7 +918,7 @@ where
}
let mut params = Params::with_capacity(7 + 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);
}
@@ -1227,7 +1227,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());
@@ -1514,7 +1514,7 @@ where
}
let mut params = Params::with_capacity(4 + self._additional_params.len());
params.push("name", self._name);
params.push("name", &self._name);
if let Some(value) = self._allow_missing.as_ref() {
params.push("allowMissing", value.to_string());
}
@@ -1786,7 +1786,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());
@@ -2056,7 +2056,7 @@ where
}
let mut params = Params::with_capacity(7 + 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);
}

View File

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

View File

@@ -72,7 +72,7 @@ pub struct AnimationFade {
/// Required. Type of fade animation: `FADE_IN` or `FADE_OUT`.
#[serde(rename="fadeType")]
pub fade_type: Option<String>,
pub fade_type: Option<AnimationFadeFadeTypeEnum>,
/// The time to start the fade animation, in seconds. Default: 0
#[serde(rename="startTimeOffset")]
@@ -660,7 +660,7 @@ pub struct Job {
pub start_time: Option<client::chrono::DateTime<client::chrono::offset::Utc>>,
/// Output only. The current state of the job.
pub state: Option<String>,
pub state: Option<JobStateEnum>,
/// Input only. Specify the `template_id` to use for populating `Job.config`. The default is `preset/web-hd`. Preset Transcoder templates: - `preset/{preset_id}` - User defined JobTemplate: `{job_template_id}`
#[serde(rename="templateId")]
@@ -821,7 +821,7 @@ pub struct Manifest {
/// Required. Type of the manifest, can be `HLS` or `DASH`.
#[serde(rename="type")]
pub type_: Option<String>,
pub type_: Option<ManifestTypeEnum>,
}
impl client::Part for Manifest {}