Struct google_compute1::api::SecurityPolicyRule [−][src]
Represents a rule that describes one or more match conditions along with the action to be taken when traffic matches this condition (allow or deny).
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).
- add rule security policies (request)
- get rule security policies (response)
- patch rule security policies (request)
Fields
action: Option<String>The Action to perform when the client connection triggers the rule. Can currently be either "allow" or "deny()" where valid values for status are 403, 404, and 502.
description: Option<String>An optional description of this resource. Provide this property when you create the resource.
kind: Option<String>[Output only] Type of the resource. Always compute#securityPolicyRule for security policy rules
match_: Option<SecurityPolicyRuleMatcher>A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
preview: Option<bool>If set to true, the specified action is not enforced.
priority: Option<i32>An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.
Trait Implementations
impl Clone for SecurityPolicyRule[src]
fn clone(&self) -> SecurityPolicyRule[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for SecurityPolicyRule[src]
impl Default for SecurityPolicyRule[src]
fn default() -> SecurityPolicyRule[src]
impl<'de> Deserialize<'de> for SecurityPolicyRule[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl RequestValue for SecurityPolicyRule[src]
impl ResponseResult for SecurityPolicyRule[src]
impl Serialize for SecurityPolicyRule[src]
Auto Trait Implementations
impl RefUnwindSafe for SecurityPolicyRule[src]
impl Send for SecurityPolicyRule[src]
impl Sync for SecurityPolicyRule[src]
impl Unpin for SecurityPolicyRule[src]
impl UnwindSafe for SecurityPolicyRule[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,