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:
@@ -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());
|
||||
}
|
||||
|
||||
@@ -30,3 +30,6 @@ pub use method_builders::*;
|
||||
|
||||
mod call_builders;
|
||||
pub use call_builders::*;
|
||||
|
||||
mod enums;
|
||||
pub use enums::*;
|
||||
|
||||
@@ -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 {}
|
||||
|
||||
Reference in New Issue
Block a user