Struct google_api_proto::google::cloud::securitycentermanagement::v1::security_center_service::ModuleSettings
source · pub struct ModuleSettings {
pub intended_enablement_state: i32,
pub effective_enablement_state: i32,
}
Expand description
The settings for individual modules.
Fields§
§intended_enablement_state: i32
Optional. The intended state of enablement for the module at its level of the resource hierarchy.
effective_enablement_state: i32
Output only. The effective enablement state for the module at its level of the resource hierarchy. If the intended state is set to INHERITED, the effective state will be inherited from the enablement state of an ancestor. This state may differ from the intended enablement state due to billing eligibility or onboarding status.
Implementations§
source§impl ModuleSettings
impl ModuleSettings
sourcepub fn intended_enablement_state(&self) -> EnablementState
pub fn intended_enablement_state(&self) -> EnablementState
Returns the enum value of intended_enablement_state
, or the default if the field is set to an invalid enum value.
sourcepub fn set_intended_enablement_state(&mut self, value: EnablementState)
pub fn set_intended_enablement_state(&mut self, value: EnablementState)
Sets intended_enablement_state
to the provided enum value.
sourcepub fn effective_enablement_state(&self) -> EnablementState
pub fn effective_enablement_state(&self) -> EnablementState
Returns the enum value of effective_enablement_state
, or the default if the field is set to an invalid enum value.
sourcepub fn set_effective_enablement_state(&mut self, value: EnablementState)
pub fn set_effective_enablement_state(&mut self, value: EnablementState)
Sets effective_enablement_state
to the provided enum value.
Trait Implementations§
source§impl Clone for ModuleSettings
impl Clone for ModuleSettings
source§fn clone(&self) -> ModuleSettings
fn clone(&self) -> ModuleSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ModuleSettings
impl Debug for ModuleSettings
source§impl Default for ModuleSettings
impl Default for ModuleSettings
source§impl Message for ModuleSettings
impl Message for ModuleSettings
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 ModuleSettings
impl PartialEq for ModuleSettings
source§fn eq(&self, other: &ModuleSettings) -> bool
fn eq(&self, other: &ModuleSettings) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for ModuleSettings
impl StructuralPartialEq for ModuleSettings
Auto Trait Implementations§
impl Freeze for ModuleSettings
impl RefUnwindSafe for ModuleSettings
impl Send for ModuleSettings
impl Sync for ModuleSettings
impl Unpin for ModuleSettings
impl UnwindSafe for ModuleSettings
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