mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
make regen-apis
This commit is contained in:
@@ -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._dns_peering_id.as_ref() {
|
||||
params.push("dnsPeeringId", value);
|
||||
}
|
||||
@@ -374,7 +374,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());
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
@@ -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._instance_id.as_ref() {
|
||||
params.push("instanceId", 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());
|
||||
|
||||
@@ -1752,7 +1752,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());
|
||||
}
|
||||
@@ -2032,7 +2032,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);
|
||||
}
|
||||
@@ -2343,7 +2343,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());
|
||||
}
|
||||
@@ -2645,7 +2645,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());
|
||||
|
||||
@@ -2937,7 +2937,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());
|
||||
|
||||
@@ -3229,7 +3229,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());
|
||||
|
||||
@@ -3521,7 +3521,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());
|
||||
|
||||
@@ -3806,7 +3806,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());
|
||||
|
||||
@@ -4068,7 +4068,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());
|
||||
|
||||
@@ -4336,7 +4336,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);
|
||||
}
|
||||
@@ -4634,7 +4634,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);
|
||||
}
|
||||
@@ -4926,7 +4926,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());
|
||||
|
||||
@@ -5196,7 +5196,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);
|
||||
}
|
||||
|
||||
@@ -30,3 +30,6 @@ pub use method_builders::*;
|
||||
|
||||
mod call_builders;
|
||||
pub use call_builders::*;
|
||||
|
||||
mod enums;
|
||||
pub use enums::*;
|
||||
|
||||
@@ -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")]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user