Enum google_api_proto::google::cloud::securitycenter::settings::v1beta1::component_settings::SpecificSettings
source · pub enum SpecificSettings {
ContainerThreatDetectionSettings(ContainerThreatDetectionSettings),
EventThreatDetectionSettings(EventThreatDetectionSettings),
SecurityHealthAnalyticsSettings(SecurityHealthAnalyticsSettings),
WebSecurityScannerSettings(WebSecurityScanner),
}
Expand description
Component specific settings. This must match the component value.
Variants§
ContainerThreatDetectionSettings(ContainerThreatDetectionSettings)
Container Threate Detection specific settings For component, expect CONTAINER_THREAT_DETECTION
EventThreatDetectionSettings(EventThreatDetectionSettings)
Event Threat Detection specific settings For component, expect EVENT_THREAT_DETECTION
SecurityHealthAnalyticsSettings(SecurityHealthAnalyticsSettings)
Security Health Analytics specific settings For component, expect SECURITY_HEALTH_ANALYTICS
WebSecurityScannerSettings(WebSecurityScanner)
Web Security Scanner specific settings For component, expect WEB_SECURITY_SCANNER
Implementations§
source§impl SpecificSettings
impl SpecificSettings
sourcepub fn merge(
field: &mut Option<SpecificSettings>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<SpecificSettings>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl Clone for SpecificSettings
impl Clone for SpecificSettings
source§fn clone(&self) -> SpecificSettings
fn clone(&self) -> SpecificSettings
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SpecificSettings
impl Debug for SpecificSettings
source§impl PartialEq for SpecificSettings
impl PartialEq for SpecificSettings
source§fn eq(&self, other: &SpecificSettings) -> bool
fn eq(&self, other: &SpecificSettings) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SpecificSettings
Auto Trait Implementations§
impl Freeze for SpecificSettings
impl RefUnwindSafe for SpecificSettings
impl Send for SpecificSettings
impl Sync for SpecificSettings
impl Unpin for SpecificSettings
impl UnwindSafe for SpecificSettings
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
Mutably borrows from an owned value. Read more
§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>
Wrap the input message
T
in a tonic::Request