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

@@ -1197,7 +1197,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());
@@ -1489,7 +1489,7 @@ where
}
let mut params = Params::with_capacity(4 + self._additional_params.len());
params.push("instance", self._instance);
params.push("instance", &self._instance);
params.extend(self._additional_params.iter());
@@ -1783,7 +1783,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);
}
@@ -2078,7 +2078,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());
@@ -2340,7 +2340,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());
@@ -2610,7 +2610,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);
}
@@ -2921,7 +2921,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());
}
@@ -3223,7 +3223,7 @@ where
}
let mut params = Params::with_capacity(4 + self._additional_params.len());
params.push("instance", self._instance);
params.push("instance", &self._instance);
params.extend(self._additional_params.iter());
@@ -3515,7 +3515,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());
@@ -4099,7 +4099,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());
@@ -4384,7 +4384,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());
@@ -4646,7 +4646,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());
@@ -4914,7 +4914,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);
}
@@ -5206,7 +5206,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());
@@ -5474,7 +5474,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);
}

View File

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

View File

@@ -160,7 +160,7 @@ pub struct Instance {
/// The major version of Memcached software. If not provided, latest supported version will be used. Currently the latest supported major version is `MEMCACHE_1_5`. The minor version will be automatically determined by our system based on the latest supported minor version.
#[serde(rename="memcacheVersion")]
pub memcache_version: Option<String>,
pub memcache_version: Option<InstanceMemcacheVersionEnum>,
/// Required. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` Note: Memcached instances are managed and addressed at the regional level so `location_id` here refers to a Google Cloud region; however, users may choose which zones Memcached nodes should be provisioned in within an instance. Refer to zones field for more details.
pub name: Option<String>,
@@ -177,7 +177,7 @@ pub struct Instance {
pub parameters: Option<MemcacheParameters>,
/// Output only. The state of this Memcached instance.
pub state: Option<String>,
pub state: Option<InstanceStateEnum>,
/// Output only. Returns true if there is an update waiting to be applied
#[serde(rename="updateAvailable")]
@@ -204,7 +204,7 @@ impl client::ResponseResult for Instance {}
pub struct InstanceMessage {
/// A code that correspond to one type of user-facing message.
pub code: Option<String>,
pub code: Option<InstanceMessageCodeEnum>,
/// Message on memcached instance which will be exposed to users.
pub message: Option<String>,
@@ -382,7 +382,7 @@ pub struct Node {
pub port: Option<i32>,
/// Output only. Current state of the Memcached node.
pub state: Option<String>,
pub state: Option<NodeStateEnum>,
/// Output only. Returns true if there is an update waiting to be applied
#[serde(rename="updateAvailable")]
@@ -467,7 +467,7 @@ pub struct RescheduleMaintenanceRequest {
/// Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as well.
#[serde(rename="rescheduleType")]
pub reschedule_type: Option<String>,
pub reschedule_type: Option<RescheduleMaintenanceRequestRescheduleTypeEnum>,
/// Timestamp when the maintenance shall be rescheduled to if reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for example `2012-11-15T16:19:00.094Z`.
#[serde(rename="scheduleTime")]
@@ -554,7 +554,7 @@ impl client::RequestValue for UpdateParametersRequest {}
pub struct WeeklyMaintenanceWindow {
/// Required. Allows to define schedule that runs specified day of the week.
pub day: Option<String>,
pub day: Option<WeeklyMaintenanceWindowDayEnum>,
/// Required. Duration of the time window.
#[serde_as(as = "Option<::client::serde::duration::Wrapper>")]