mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-05 11:06:05 +01:00
make regen-apis
This commit is contained in:
@@ -1865,7 +1865,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._attestor_id.as_ref() {
|
||||
params.push("attestorId", value);
|
||||
}
|
||||
@@ -2160,7 +2160,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());
|
||||
|
||||
@@ -2422,7 +2422,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());
|
||||
|
||||
@@ -2686,7 +2686,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());
|
||||
}
|
||||
@@ -2962,7 +2962,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);
|
||||
}
|
||||
@@ -3251,7 +3251,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());
|
||||
|
||||
@@ -3543,7 +3543,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());
|
||||
|
||||
@@ -3835,7 +3835,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());
|
||||
|
||||
@@ -4127,7 +4127,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("attestor", self._attestor);
|
||||
params.push("attestor", &self._attestor);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -6112,7 +6112,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());
|
||||
}
|
||||
@@ -6391,7 +6391,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());
|
||||
|
||||
@@ -6683,7 +6683,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());
|
||||
|
||||
@@ -6968,7 +6968,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());
|
||||
|
||||
@@ -7237,7 +7237,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());
|
||||
|
||||
@@ -7522,7 +7522,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());
|
||||
|
||||
|
||||
@@ -30,3 +30,6 @@ pub use method_builders::*;
|
||||
|
||||
mod call_builders;
|
||||
pub use call_builders::*;
|
||||
|
||||
mod enums;
|
||||
pub use enums::*;
|
||||
|
||||
@@ -9,11 +9,11 @@ pub struct AdmissionRule {
|
||||
/// Required. The action when a pod creation is denied by the admission rule.
|
||||
#[serde(rename="enforcementMode")]
|
||||
|
||||
pub enforcement_mode: Option<String>,
|
||||
pub enforcement_mode: Option<AdmissionRuleEnforcementModeEnum>,
|
||||
/// Required. How this admission rule will be evaluated.
|
||||
#[serde(rename="evaluationMode")]
|
||||
|
||||
pub evaluation_mode: Option<String>,
|
||||
pub evaluation_mode: Option<AdmissionRuleEvaluationModeEnum>,
|
||||
/// Optional. The resource names of the attestors that must attest to a container image, in the format `projects/*/attestors/*`. Each attestor must exist before a policy can reference it. To add an attestor to a policy the principal issuing the policy change request must be able to read the attestor resource. Note: this field must be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION, otherwise it must be empty.
|
||||
#[serde(rename="requireAttestationsBy")]
|
||||
|
||||
@@ -266,7 +266,7 @@ pub struct PkixPublicKey {
|
||||
/// The signature algorithm used to verify a message against a signature using this key. These signature algorithm must match the structure and any object identifiers encoded in `public_key_pem` (i.e. this algorithm must match that of the public key).
|
||||
#[serde(rename="signatureAlgorithm")]
|
||||
|
||||
pub signature_algorithm: Option<String>,
|
||||
pub signature_algorithm: Option<PkixPublicKeySignatureAlgorithmEnum>,
|
||||
}
|
||||
|
||||
impl client::Part for PkixPublicKey {}
|
||||
@@ -306,7 +306,7 @@ pub struct Policy {
|
||||
/// Optional. Controls the evaluation of a Google-maintained global admission policy for common system-level images. Images not covered by the global policy will be subject to the project admission policy. This setting has no effect when specified inside a global admission policy.
|
||||
#[serde(rename="globalPolicyEvaluationMode")]
|
||||
|
||||
pub global_policy_evaluation_mode: Option<String>,
|
||||
pub global_policy_evaluation_mode: Option<PolicyGlobalPolicyEvaluationModeEnum>,
|
||||
/// Optional. Per-istio-service-identity admission rules. Istio service identity spec format: `spiffe:///ns//sa/` or `/ns//sa/` e.g. `spiffe://example.com/ns/test-ns/sa/default`
|
||||
#[serde(rename="istioServiceIdentityAdmissionRules")]
|
||||
|
||||
@@ -480,7 +480,7 @@ pub struct ValidateAttestationOccurrenceResponse {
|
||||
pub denial_reason: Option<String>,
|
||||
/// The result of the Attestation validation.
|
||||
|
||||
pub result: Option<String>,
|
||||
pub result: Option<ValidateAttestationOccurrenceResponseResultEnum>,
|
||||
}
|
||||
|
||||
impl client::ResponseResult for ValidateAttestationOccurrenceResponse {}
|
||||
|
||||
Reference in New Issue
Block a user