[][src]Struct gcp_client::google::cloud::osconfig::v1beta::PatchDeployment

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 schedule: Option<Schedule>,
}

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.

schedule: Option<Schedule>

Schedule for the patch.

Trait Implementations

impl Clone for PatchDeployment[src]

impl Debug for PatchDeployment[src]

impl Default for PatchDeployment[src]

impl Message for PatchDeployment[src]

impl PartialEq<PatchDeployment> for PatchDeployment[src]

impl StructuralPartialEq for PatchDeployment[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]