Struct gapi_grpc::google::cloud::osconfig::v1alpha::os_policy::ResourceGroup[][src]

pub struct ResourceGroup {
    pub os_filter: Option<OsFilter>,
    pub resources: Vec<Resource>,
}

Resource groups provide a mechanism to group OS policy resources.

Resource groups enable OS policy authors to create a single OS policy to be applied to VMs running different operating Systems.

When the OS policy is applied to a target VM, the appropriate resource group within the OS policy is selected based on the OSFilter specified within the resource group.

Fields

os_filter: Option<OsFilter>

Used to specify the OS filter for a resource group

resources: Vec<Resource>

Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.

Trait Implementations

impl Clone for ResourceGroup[src]

impl Debug for ResourceGroup[src]

impl Default for ResourceGroup[src]

impl Message for ResourceGroup[src]

impl PartialEq<ResourceGroup> for ResourceGroup[src]

impl StructuralPartialEq for ResourceGroup[src]

Auto Trait Implementations

impl RefUnwindSafe for ResourceGroup

impl Send for ResourceGroup

impl Sync for ResourceGroup

impl Unpin for ResourceGroup

impl UnwindSafe for ResourceGroup

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> 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>, 
[src]

impl<T> WithSubscriber for T[src]