#[non_exhaustive]pub struct RetryJobRequest {
pub rollout: String,
pub phase_id: String,
pub job_id: String,
pub override_deploy_policy: Vec<String>,
/* private fields */
}
Expand description
RetryJobRequest is the request object used by RetryJob
.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.rollout: String
Required. Name of the Rollout. Format is
projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}
.
phase_id: String
Required. The phase ID the Job to retry belongs to.
job_id: String
Required. The job ID for the Job to retry.
override_deploy_policy: Vec<String>
Optional. Deploy policies to override. Format is
projects/{project}/locations/{location}/deployPolicies/{deployPolicy}
.
Implementations§
Source§impl RetryJobRequest
impl RetryJobRequest
pub fn new() -> Self
Sourcepub fn set_rollout<T: Into<String>>(self, v: T) -> Self
pub fn set_rollout<T: Into<String>>(self, v: T) -> Self
Sets the value of rollout.
Sourcepub fn set_phase_id<T: Into<String>>(self, v: T) -> Self
pub fn set_phase_id<T: Into<String>>(self, v: T) -> Self
Sets the value of phase_id.
Sourcepub fn set_job_id<T: Into<String>>(self, v: T) -> Self
pub fn set_job_id<T: Into<String>>(self, v: T) -> Self
Sets the value of job_id.
Sourcepub fn set_override_deploy_policy<T, V>(self, v: T) -> Self
pub fn set_override_deploy_policy<T, V>(self, v: T) -> Self
Sets the value of override_deploy_policy.
Trait Implementations§
Source§impl Clone for RetryJobRequest
impl Clone for RetryJobRequest
Source§fn clone(&self) -> RetryJobRequest
fn clone(&self) -> RetryJobRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RetryJobRequest
impl Debug for RetryJobRequest
Source§impl Default for RetryJobRequest
impl Default for RetryJobRequest
Source§fn default() -> RetryJobRequest
fn default() -> RetryJobRequest
Returns the “default value” for a type. Read more
Source§impl Message for RetryJobRequest
impl Message for RetryJobRequest
Source§impl PartialEq for RetryJobRequest
impl PartialEq for RetryJobRequest
impl StructuralPartialEq for RetryJobRequest
Auto Trait Implementations§
impl Freeze for RetryJobRequest
impl RefUnwindSafe for RetryJobRequest
impl Send for RetryJobRequest
impl Sync for RetryJobRequest
impl Unpin for RetryJobRequest
impl UnwindSafe for RetryJobRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more