Struct google_api_proto::google::cloud::securitycenter::v1::EffectiveEventThreatDetectionCustomModule
source · pub struct EffectiveEventThreatDetectionCustomModule {
pub name: String,
pub config: Option<Struct>,
pub enablement_state: i32,
pub type: String,
pub display_name: String,
pub description: String,
}
Expand description
An EffectiveEventThreatDetectionCustomModule is the representation of
an Event Threat Detection custom module at a specified level of the
resource hierarchy: organization, folder, or project. If a custom module is
inherited from a parent organization or folder, the value of the
enablement_state
property in EffectiveEventThreatDetectionCustomModule is
set to the value that is effective in the parent, instead of INHERITED
.
For example, if the module is enabled in a parent organization or folder, the
effective enablement_state
for the module in all child folders or projects
is also enabled
. EffectiveEventThreatDetectionCustomModule is read-only.
Fields§
§name: String
Output only. The resource name of the effective ETD custom module.
Its format is:
organizations/{organization}/eventThreatDetectionSettings/effectiveCustomModules/{module}
.folders/{folder}/eventThreatDetectionSettings/effectiveCustomModules/{module}
.projects/{project}/eventThreatDetectionSettings/effectiveCustomModules/{module}
.
config: Option<Struct>
Output only. Config for the effective module.
enablement_state: i32
Output only. The effective state of enablement for the module at the given level of the hierarchy.
type: String
Output only. Type for the module. e.g. CONFIGURABLE_BAD_IP.
display_name: String
Output only. The human readable name to be displayed for the module.
description: String
Output only. The description for the module.
Implementations§
source§impl EffectiveEventThreatDetectionCustomModule
impl EffectiveEventThreatDetectionCustomModule
sourcepub fn enablement_state(&self) -> EnablementState
pub fn enablement_state(&self) -> EnablementState
Returns the enum value of enablement_state
, or the default if the field is set to an invalid enum value.
sourcepub fn set_enablement_state(&mut self, value: EnablementState)
pub fn set_enablement_state(&mut self, value: EnablementState)
Sets enablement_state
to the provided enum value.
Trait Implementations§
source§impl Clone for EffectiveEventThreatDetectionCustomModule
impl Clone for EffectiveEventThreatDetectionCustomModule
source§fn clone(&self) -> EffectiveEventThreatDetectionCustomModule
fn clone(&self) -> EffectiveEventThreatDetectionCustomModule
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for EffectiveEventThreatDetectionCustomModule
impl Message for EffectiveEventThreatDetectionCustomModule
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 EffectiveEventThreatDetectionCustomModule
impl PartialEq for EffectiveEventThreatDetectionCustomModule
source§fn eq(&self, other: &EffectiveEventThreatDetectionCustomModule) -> bool
fn eq(&self, other: &EffectiveEventThreatDetectionCustomModule) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EffectiveEventThreatDetectionCustomModule
Auto Trait Implementations§
impl Freeze for EffectiveEventThreatDetectionCustomModule
impl RefUnwindSafe for EffectiveEventThreatDetectionCustomModule
impl Send for EffectiveEventThreatDetectionCustomModule
impl Sync for EffectiveEventThreatDetectionCustomModule
impl Unpin for EffectiveEventThreatDetectionCustomModule
impl UnwindSafe for EffectiveEventThreatDetectionCustomModule
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