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

@@ -497,7 +497,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());
@@ -789,7 +789,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());
@@ -1369,7 +1369,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

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

View File

@@ -16,7 +16,7 @@ pub struct CreateProfileRequest {
/// Required. One or more profile types that the agent is capable of providing.
#[serde(rename="profileType")]
pub profile_type: Option<Vec<String>>,
pub profile_type: Option<Vec<CreateProfileRequestProfileTypeEnum>>,
}
impl client::RequestValue for CreateProfileRequest {}
@@ -78,7 +78,7 @@ pub struct Profile {
/// Type of profile. For offline mode, this must be specified when creating the profile. For online mode it is assigned and returned by the server.
#[serde(rename="profileType")]
pub profile_type: Option<String>,
pub profile_type: Option<ProfileProfileTypeEnum>,
}
impl client::RequestValue for Profile {}