make regen-apis

This commit is contained in:
OMGeeky
2023-10-23 12:55:17 +02:00
parent a4b0f56b8c
commit 4a258a57a6
1025 changed files with 29943 additions and 28980 deletions

View File

@@ -70,7 +70,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());
@@ -340,7 +340,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);
}
@@ -649,7 +649,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());
@@ -947,7 +947,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._validate_only.as_ref() {
params.push("validateOnly", value.to_string());
}
@@ -1262,7 +1262,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());
@@ -1532,7 +1532,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);
}
@@ -1841,7 +1841,7 @@ where
}
let mut params = Params::with_capacity(4 + self._additional_params.len());
params.push("rollout", self._rollout);
params.push("rollout", &self._rollout);
params.extend(self._additional_params.iter());
@@ -2133,7 +2133,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());
@@ -2431,7 +2431,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._validate_only.as_ref() {
params.push("validateOnly", value.to_string());
}
@@ -2746,7 +2746,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());
@@ -3016,7 +3016,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);
}
@@ -3331,7 +3331,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._validate_only.as_ref() {
params.push("validateOnly", value.to_string());
}
@@ -3656,7 +3656,7 @@ where
}
let mut params = Params::with_capacity(8 + self._additional_params.len());
params.push("name", self._name);
params.push("name", &self._name);
if let Some(value) = self._validate_only.as_ref() {
params.push("validateOnly", value.to_string());
}
@@ -3968,7 +3968,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());
@@ -4232,7 +4232,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());
}
@@ -4512,7 +4512,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);
}
@@ -4829,7 +4829,7 @@ where
}
let mut params = Params::with_capacity(8 + self._additional_params.len());
params.push("name", self._name);
params.push("name", &self._name);
if let Some(value) = self._validate_only.as_ref() {
params.push("validateOnly", value.to_string());
}
@@ -5161,7 +5161,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());
@@ -5453,7 +5453,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());
@@ -5745,7 +5745,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());
@@ -6030,7 +6030,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());
@@ -6292,7 +6292,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());
@@ -6560,7 +6560,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);
}
@@ -6865,7 +6865,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._validate_only.as_ref() {
params.push("validateOnly", value.to_string());
}
@@ -7188,7 +7188,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._validate_only.as_ref() {
params.push("validateOnly", value.to_string());
}
@@ -7490,7 +7490,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());
@@ -7754,7 +7754,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());
}
@@ -8034,7 +8034,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);
}
@@ -8351,7 +8351,7 @@ where
}
let mut params = Params::with_capacity(8 + self._additional_params.len());
params.push("name", self._name);
params.push("name", &self._name);
if let Some(value) = self._validate_only.as_ref() {
params.push("validateOnly", value.to_string());
}
@@ -8683,7 +8683,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());
@@ -8975,7 +8975,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());
@@ -9260,7 +9260,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());
@@ -9522,7 +9522,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());
@@ -9790,7 +9790,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

@@ -111,7 +111,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 {}
@@ -355,7 +355,7 @@ pub struct DeployJobRun {
/// Output only. The reason the deploy failed. This will always be unspecified while the deploy is in progress or if it succeeded.
#[serde(rename="failureCause")]
pub failure_cause: Option<String>,
pub failure_cause: Option<DeployJobRunFailureCauseEnum>,
/// Output only. Additional information about the deploy failure, if available.
#[serde(rename="failureMessage")]
@@ -450,7 +450,7 @@ pub struct ExecutionConfig {
pub service_account: Option<String>,
/// Required. Usages when this configuration should be applied.
pub usages: Option<Vec<String>>,
pub usages: Option<Vec<ExecutionConfigUsagesEnum>>,
/// Optional. The resource name of the `WorkerPool`, with the format `projects/{project}/locations/{location}/workerPools/{worker_pool}`. If this optional field is unspecified, the default Cloud Build pool will be used.
#[serde(rename="workerPool")]
@@ -523,7 +523,7 @@ pub struct Job {
pub job_run: Option<String>,
/// Output only. The current state of the Job.
pub state: Option<String>,
pub state: Option<JobStateEnum>,
/// Output only. A verify Job.
#[serde(rename="verifyJob")]
@@ -576,7 +576,7 @@ pub struct JobRun {
pub start_time: Option<client::chrono::DateTime<client::chrono::offset::Utc>>,
/// Output only. The current state of the `JobRun`.
pub state: Option<String>,
pub state: Option<JobRunStateEnum>,
/// Output only. Unique identifier of the `JobRun`.
pub uid: Option<String>,
@@ -871,7 +871,7 @@ pub struct Phase {
pub id: Option<String>,
/// Output only. Current state of the Phase.
pub state: Option<String>,
pub state: Option<PhaseStateEnum>,
}
impl client::Part for Phase {}
@@ -1030,7 +1030,7 @@ pub struct Release {
/// Output only. Current state of the render operation.
#[serde(rename="renderState")]
pub render_state: Option<String>,
pub render_state: Option<ReleaseRenderStateEnum>,
/// Filepath of the Skaffold config inside of the config URI.
#[serde(rename="skaffoldConfigPath")]
@@ -1121,7 +1121,7 @@ pub struct Rollout {
/// Output only. Approval state of the `Rollout`.
#[serde(rename="approvalState")]
pub approval_state: Option<String>,
pub approval_state: Option<RolloutApprovalStateEnum>,
/// Output only. Time at which the `Rollout` was approved.
#[serde(rename="approveTime")]
@@ -1137,7 +1137,7 @@ pub struct Rollout {
/// Output only. The reason this rollout failed. This will always be unspecified while the rollout is in progress.
#[serde(rename="deployFailureCause")]
pub deploy_failure_cause: Option<String>,
pub deploy_failure_cause: Option<RolloutDeployFailureCauseEnum>,
/// Output only. Time at which the `Rollout` started deploying.
#[serde(rename="deployStartTime")]
@@ -1174,7 +1174,7 @@ pub struct Rollout {
pub phases: Option<Vec<Phase>>,
/// Output only. Current state of the `Rollout`.
pub state: Option<String>,
pub state: Option<RolloutStateEnum>,
/// Required. The ID of Target to which this `Rollout` is deploying.
#[serde(rename="targetId")]
@@ -1420,7 +1420,7 @@ pub struct TargetRender {
/// Output only. Reason this render failed. This will always be unspecified while the render in progress.
#[serde(rename="failureCause")]
pub failure_cause: Option<String>,
pub failure_cause: Option<TargetRenderFailureCauseEnum>,
/// Output only. Additional information about the render failure, if available.
#[serde(rename="failureMessage")]
@@ -1432,7 +1432,7 @@ pub struct TargetRender {
/// Output only. Current state of the render operation for this Target.
#[serde(rename="renderingState")]
pub rendering_state: Option<String>,
pub rendering_state: Option<TargetRenderRenderingStateEnum>,
}
impl client::Part for TargetRender {}
@@ -1552,7 +1552,7 @@ pub struct VerifyJobRun {
/// Output only. The reason the verify failed. This will always be unspecified while the verify is in progress or if it succeeded.
#[serde(rename="failureCause")]
pub failure_cause: Option<String>,
pub failure_cause: Option<VerifyJobRunFailureCauseEnum>,
/// Output only. Additional information about the verify failure, if available.
#[serde(rename="failureMessage")]