Struct gapi_grpc::google::cloud::securitycenter::settings::v1beta1::ComponentSettings[][src]

pub struct ComponentSettings {
    pub name: String,
    pub state: i32,
    pub project_service_account: String,
    pub detector_settings: HashMap<String, DetectorSettings>,
    pub etag: String,
    pub update_time: Option<Timestamp>,
    pub specific_settings: Option<SpecificSettings>,
}

Component Settings for Security Command Center

Fields

name: String

The relative resource name of the component settings. Formats:

state: i32

ENABLE to enable component, DISABLE to disable and INHERIT to inherit setting from ancestors.

project_service_account: String

Output only. The service account to be used for security center component. The component must have permission to “act as” the service account.

detector_settings: HashMap<String, DetectorSettings>

Settings for detectors. Not all detectors must have settings present at each and every level in the hierarchy. If it is not present the setting will be inherited from its ancestors folders, organizations or the defaults.

etag: String

Output only. An fingerprint used for optimistic concurrency. If none is provided on updates then the existing metadata will be blindly overwritten.

update_time: Option<Timestamp>

Output only. The time these settings were last updated.

specific_settings: Option<SpecificSettings>

Component specific settings. This must match the component value.

Implementations

impl ComponentSettings[src]

pub fn state(&self) -> ComponentEnablementState[src]

Returns the enum value of state, or the default if the field is set to an invalid enum value.

pub fn set_state(&mut self, value: ComponentEnablementState)[src]

Sets state to the provided enum value.

Trait Implementations

impl Clone for ComponentSettings[src]

impl Debug for ComponentSettings[src]

impl Default for ComponentSettings[src]

impl Message for ComponentSettings[src]

impl PartialEq<ComponentSettings> for ComponentSettings[src]

impl StructuralPartialEq for ComponentSettings[src]

Auto Trait Implementations

impl RefUnwindSafe for ComponentSettings

impl Send for ComponentSettings

impl Sync for ComponentSettings

impl Unpin for ComponentSettings

impl UnwindSafe for ComponentSettings

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]