Struct google_api_proto::google::cloud::securitycentermanagement::v1::EffectiveSecurityHealthAnalyticsCustomModule
source · pub struct EffectiveSecurityHealthAnalyticsCustomModule {
pub name: String,
pub custom_config: Option<CustomConfig>,
pub enablement_state: i32,
pub display_name: String,
}
Expand description
An EffectiveSecurityHealthAnalyticsCustomModule is the representation of
a Security Health Analytics 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
enablementState
property in EffectiveSecurityHealthAnalyticsCustomModule 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
. EffectiveSecurityHealthAnalyticsCustomModule is read-only.
Fields§
§name: String
Identifier. The full resource name of the custom module, specified in one of the following formats:
organizations/organization/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}
folders/folder/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}
projects/project/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}
custom_config: Option<CustomConfig>
Output only. The user-specified configuration for the module.
enablement_state: i32
Output only. The effective state of enablement for the module at the given level of the hierarchy.
display_name: String
Output only. The display name for the custom module. The name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only.
Implementations§
source§impl EffectiveSecurityHealthAnalyticsCustomModule
impl EffectiveSecurityHealthAnalyticsCustomModule
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 EffectiveSecurityHealthAnalyticsCustomModule
impl Clone for EffectiveSecurityHealthAnalyticsCustomModule
source§fn clone(&self) -> EffectiveSecurityHealthAnalyticsCustomModule
fn clone(&self) -> EffectiveSecurityHealthAnalyticsCustomModule
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for EffectiveSecurityHealthAnalyticsCustomModule
impl Message for EffectiveSecurityHealthAnalyticsCustomModule
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 EffectiveSecurityHealthAnalyticsCustomModule
impl PartialEq for EffectiveSecurityHealthAnalyticsCustomModule
source§fn eq(&self, other: &EffectiveSecurityHealthAnalyticsCustomModule) -> bool
fn eq(&self, other: &EffectiveSecurityHealthAnalyticsCustomModule) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EffectiveSecurityHealthAnalyticsCustomModule
Auto Trait Implementations§
impl Freeze for EffectiveSecurityHealthAnalyticsCustomModule
impl RefUnwindSafe for EffectiveSecurityHealthAnalyticsCustomModule
impl Send for EffectiveSecurityHealthAnalyticsCustomModule
impl Sync for EffectiveSecurityHealthAnalyticsCustomModule
impl Unpin for EffectiveSecurityHealthAnalyticsCustomModule
impl UnwindSafe for EffectiveSecurityHealthAnalyticsCustomModule
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