[][src]Enum gcp_client::google::cloud::securitycenter::v1p1beta1::organization_settings::asset_discovery_config::InclusionMode

#[repr(i32)]pub enum InclusionMode {
    Unspecified,
    IncludeOnly,
    Exclude,
}

The mode of inclusion when running Asset Discovery. Asset discovery can be limited by explicitly identifying projects to be included or excluded. If INCLUDE_ONLY is set, then only those projects within the organization and their children are discovered during asset discovery. If EXCLUDE is set, then projects that don't match those projects are discovered during asset discovery. If neither are set, then all projects within the organization are discovered during asset discovery.

Variants

Unspecified

Unspecified. Setting the mode with this value will disable inclusion/exclusion filtering for Asset Discovery.

IncludeOnly

Asset Discovery will capture only the resources within the projects specified. All other resources will be ignored.

Exclude

Asset Discovery will ignore all resources under the projects specified. All other resources will be retrieved.

Implementations

impl InclusionMode[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of InclusionMode.

pub fn from_i32(value: i32) -> Option<InclusionMode>[src]

Converts an i32 to a InclusionMode, or None if value is not a valid variant.

Trait Implementations

impl Clone for InclusionMode[src]

impl Copy for InclusionMode[src]

impl Debug for InclusionMode[src]

impl Default for InclusionMode[src]

impl Eq for InclusionMode[src]

impl From<InclusionMode> for i32[src]

impl Hash for InclusionMode[src]

impl Ord for InclusionMode[src]

impl PartialEq<InclusionMode> for InclusionMode[src]

impl PartialOrd<InclusionMode> for InclusionMode[src]

impl StructuralEq for InclusionMode[src]

impl StructuralPartialEq for InclusionMode[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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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]