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

@@ -1399,7 +1399,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._dns_peering_id.as_ref() {
params.push("dnsPeeringId", value);
}
@@ -1694,7 +1694,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());
@@ -1960,7 +1960,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);
}
@@ -2251,7 +2251,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._instance_id.as_ref() {
params.push("instanceId", value);
}
@@ -2546,7 +2546,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());
@@ -2808,7 +2808,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());
@@ -3072,7 +3072,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());
}
@@ -3352,7 +3352,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);
}
@@ -3663,7 +3663,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());
}
@@ -3965,7 +3965,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());
@@ -4257,7 +4257,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());
@@ -4549,7 +4549,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());
@@ -4841,7 +4841,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());
@@ -5126,7 +5126,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());
@@ -5388,7 +5388,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());
@@ -5656,7 +5656,7 @@ where
}
let mut params = Params::with_capacity(6 + 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);
}
@@ -5954,7 +5954,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);
}
@@ -6246,7 +6246,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());
@@ -6516,7 +6516,7 @@ where
}
let mut params = Params::with_capacity(7 + 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);
}

View File

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

View File

@@ -9,10 +9,10 @@ pub struct Accelerator {
/// The type of an accelator for a CDF instance.
#[serde(rename="acceleratorType")]
pub accelerator_type: Option<String>,
pub accelerator_type: Option<AcceleratorAcceleratorTypeEnum>,
/// The state of the accelerator.
pub state: Option<String>,
pub state: Option<AcceleratorStateEnum>,
}
impl client::Part for Accelerator {}
@@ -51,7 +51,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 {}
@@ -244,7 +244,7 @@ pub struct Instance {
/// Output only. If the instance state is DISABLED, the reason for disabling the instance.
#[serde(rename="disabledReason")]
pub disabled_reason: Option<Vec<String>>,
pub disabled_reason: Option<Vec<InstanceDisabledReasonEnum>>,
/// Display name for an instance.
#[serde(rename="displayName")]
@@ -304,7 +304,7 @@ pub struct Instance {
pub service_endpoint: Option<String>,
/// Output only. The current state of this Data Fusion instance.
pub state: Option<String>,
pub state: Option<InstanceStateEnum>,
/// Output only. Additional information about the current state of this Data Fusion instance if available.
#[serde(rename="stateMessage")]
@@ -316,7 +316,7 @@ pub struct Instance {
/// Required. Instance type.
#[serde(rename="type")]
pub type_: Option<String>,
pub type_: Option<InstanceTypeEnum>,
/// Output only. The time the instance was last updated.
#[serde(rename="updateTime")]
@@ -686,7 +686,7 @@ pub struct Version {
/// Type represents the release availability of the version
#[serde(rename="type")]
pub type_: Option<String>,
pub type_: Option<VersionTypeEnum>,
/// The version number of the Data Fusion instance, such as '6.0.1.0'.
#[serde(rename="versionNumber")]