Struct google_api_proto::google::cloud::osconfig::v1beta::PatchDeployment
source · pub struct PatchDeployment {
pub name: String,
pub description: String,
pub instance_filter: Option<PatchInstanceFilter>,
pub patch_config: Option<PatchConfig>,
pub duration: Option<Duration>,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub last_execute_time: Option<Timestamp>,
pub rollout: Option<PatchRollout>,
pub state: i32,
pub schedule: Option<Schedule>,
}
Expand description
Patch deployments are configurations that individual patch jobs use to complete a patch. These configurations include instance filter, package repository settings, and a schedule. For more information about creating and managing patch deployments, see Scheduling patch jobs.
Fields§
§name: String
Unique name for the patch deployment resource in a project. The patch
deployment name is in the form:
projects/{project_id}/patchDeployments/{patch_deployment_id}
.
This field is ignored when you create a new patch deployment.
description: String
Optional. Description of the patch deployment. Length of the description is limited to 1024 characters.
instance_filter: Option<PatchInstanceFilter>
Required. VM instances to patch.
patch_config: Option<PatchConfig>
Optional. Patch configuration that is applied.
duration: Option<Duration>
Optional. Duration of the patch. After the duration ends, the patch times out.
create_time: Option<Timestamp>
Output only. Time the patch deployment was created. Timestamp is in RFC3339 text format.
update_time: Option<Timestamp>
Output only. Time the patch deployment was last updated. Timestamp is in RFC3339 text format.
last_execute_time: Option<Timestamp>
Output only. The last time a patch job was started by this deployment. Timestamp is in RFC3339 text format.
rollout: Option<PatchRollout>
Optional. Rollout strategy of the patch job.
state: i32
Output only. Current state of the patch deployment.
schedule: Option<Schedule>
Schedule for the patch.
Implementations§
Trait Implementations§
source§impl Clone for PatchDeployment
impl Clone for PatchDeployment
source§fn clone(&self) -> PatchDeployment
fn clone(&self) -> PatchDeployment
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PatchDeployment
impl Debug for PatchDeployment
source§impl Default for PatchDeployment
impl Default for PatchDeployment
source§impl Message for PatchDeployment
impl Message for PatchDeployment
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for PatchDeployment
impl PartialEq for PatchDeployment
source§fn eq(&self, other: &PatchDeployment) -> bool
fn eq(&self, other: &PatchDeployment) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PatchDeployment
Auto Trait Implementations§
impl Freeze for PatchDeployment
impl RefUnwindSafe for PatchDeployment
impl Send for PatchDeployment
impl Sync for PatchDeployment
impl Unpin for PatchDeployment
impl UnwindSafe for PatchDeployment
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request