Struct google_api_proto::google::cloud::compute::v1::SecurityPolicyRulePreconfiguredWafConfigExclusion
source · pub struct SecurityPolicyRulePreconfiguredWafConfigExclusion {
pub request_cookies_to_exclude: Vec<SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>,
pub request_headers_to_exclude: Vec<SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>,
pub request_query_params_to_exclude: Vec<SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>,
pub request_uris_to_exclude: Vec<SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>,
pub target_rule_ids: Vec<String>,
pub target_rule_set: Option<String>,
}
Expand description
Fields§
A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.
request_headers_to_exclude: Vec<SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>
A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.
request_query_params_to_exclude: Vec<SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>
A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in the POST body.
request_uris_to_exclude: Vec<SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>
A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be excluded.
target_rule_ids: Vec<String>
A list of target rule IDs under the WAF rule set to apply the preconfigured WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule set.
target_rule_set: Option<String>
Target WAF rule set to apply the preconfigured WAF exclusion.
Implementations§
source§impl SecurityPolicyRulePreconfiguredWafConfigExclusion
impl SecurityPolicyRulePreconfiguredWafConfigExclusion
sourcepub fn target_rule_set(&self) -> &str
pub fn target_rule_set(&self) -> &str
Returns the value of target_rule_set
, or the default value if target_rule_set
is unset.
Trait Implementations§
source§impl Clone for SecurityPolicyRulePreconfiguredWafConfigExclusion
impl Clone for SecurityPolicyRulePreconfiguredWafConfigExclusion
source§fn clone(&self) -> SecurityPolicyRulePreconfiguredWafConfigExclusion
fn clone(&self) -> SecurityPolicyRulePreconfiguredWafConfigExclusion
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for SecurityPolicyRulePreconfiguredWafConfigExclusion
impl Message for SecurityPolicyRulePreconfiguredWafConfigExclusion
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 SecurityPolicyRulePreconfiguredWafConfigExclusion
impl PartialEq for SecurityPolicyRulePreconfiguredWafConfigExclusion
source§fn eq(&self, other: &SecurityPolicyRulePreconfiguredWafConfigExclusion) -> bool
fn eq(&self, other: &SecurityPolicyRulePreconfiguredWafConfigExclusion) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SecurityPolicyRulePreconfiguredWafConfigExclusion
Auto Trait Implementations§
impl Freeze for SecurityPolicyRulePreconfiguredWafConfigExclusion
impl RefUnwindSafe for SecurityPolicyRulePreconfiguredWafConfigExclusion
impl Send for SecurityPolicyRulePreconfiguredWafConfigExclusion
impl Sync for SecurityPolicyRulePreconfiguredWafConfigExclusion
impl Unpin for SecurityPolicyRulePreconfiguredWafConfigExclusion
impl UnwindSafe for SecurityPolicyRulePreconfiguredWafConfigExclusion
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