Struct google_compute1::api::FirewallPolicyRuleMatcherLayer4Config[][src]

pub struct FirewallPolicyRuleMatcherLayer4Config {
    pub ip_protocol: Option<String>,
    pub ports: Option<Vec<String>>,
}

There is no detailed description.

This type is not used in any activity, and only used as part of another schema.

Fields

ip_protocol: Option<String>

The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.

ports: Option<Vec<String>>

An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port.

Example inputs include: ["22"], ["80","443"], and ["12345-12349"].

Trait Implementations

impl Clone for FirewallPolicyRuleMatcherLayer4Config[src]

impl Debug for FirewallPolicyRuleMatcherLayer4Config[src]

impl Default for FirewallPolicyRuleMatcherLayer4Config[src]

impl<'de> Deserialize<'de> for FirewallPolicyRuleMatcherLayer4Config[src]

impl Part for FirewallPolicyRuleMatcherLayer4Config[src]

impl Serialize for FirewallPolicyRuleMatcherLayer4Config[src]

Auto Trait Implementations

impl RefUnwindSafe for FirewallPolicyRuleMatcherLayer4Config[src]

impl Send for FirewallPolicyRuleMatcherLayer4Config[src]

impl Sync for FirewallPolicyRuleMatcherLayer4Config[src]

impl Unpin for FirewallPolicyRuleMatcherLayer4Config[src]

impl UnwindSafe for FirewallPolicyRuleMatcherLayer4Config[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.