pub struct GatewaySecurityPolicyRule {
pub application_matcher: Option<String>,
pub basic_profile: Option<String>,
pub create_time: Option<DateTime<Utc>>,
pub description: Option<String>,
pub enabled: Option<bool>,
pub name: Option<String>,
pub priority: Option<i32>,
pub session_matcher: Option<String>,
pub tls_inspection_enabled: Option<bool>,
pub update_time: Option<DateTime<Utc>>,
}
Expand description
The GatewaySecurityPolicyRule resource is in a nested collection within a GatewaySecurityPolicy and represents a traffic matching condition and associated action to perform.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§application_matcher: Option<String>
Optional. CEL expression for matching on L7/application level criteria.
basic_profile: Option<String>
Required. Profile which tells what the primitive action should be.
create_time: Option<DateTime<Utc>>
Output only. Time when the rule was created.
description: Option<String>
Optional. Free-text description of the resource.
enabled: Option<bool>
Required. Whether the rule is enforced.
name: Option<String>
Required. Immutable. Name of the resource. ame is the full resource name so projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy}/rules/{rule} rule should match the pattern: (^a-z?$).
priority: Option<i32>
Required. Priority of the rule. Lower number corresponds to higher precedence.
session_matcher: Option<String>
Required. CEL expression for matching on session criteria.
tls_inspection_enabled: Option<bool>
Optional. Flag to enable TLS inspection of traffic matching on , can only be true if the parent GatewaySecurityPolicy references a TLSInspectionConfig.
update_time: Option<DateTime<Utc>>
Output only. Time when the rule was updated.
Trait Implementations§
Source§impl Clone for GatewaySecurityPolicyRule
impl Clone for GatewaySecurityPolicyRule
Source§fn clone(&self) -> GatewaySecurityPolicyRule
fn clone(&self) -> GatewaySecurityPolicyRule
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for GatewaySecurityPolicyRule
impl Debug for GatewaySecurityPolicyRule
Source§impl Default for GatewaySecurityPolicyRule
impl Default for GatewaySecurityPolicyRule
Source§fn default() -> GatewaySecurityPolicyRule
fn default() -> GatewaySecurityPolicyRule
Source§impl<'de> Deserialize<'de> for GatewaySecurityPolicyRule
impl<'de> Deserialize<'de> for GatewaySecurityPolicyRule
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl RequestValue for GatewaySecurityPolicyRule
impl ResponseResult for GatewaySecurityPolicyRule
Auto Trait Implementations§
impl Freeze for GatewaySecurityPolicyRule
impl RefUnwindSafe for GatewaySecurityPolicyRule
impl Send for GatewaySecurityPolicyRule
impl Sync for GatewaySecurityPolicyRule
impl Unpin for GatewaySecurityPolicyRule
impl UnwindSafe for GatewaySecurityPolicyRule
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more