Enum google_api_proto::google::cloud::networkmanagement::v1beta1::firewall_info::FirewallRuleType
source · #[repr(i32)]pub enum FirewallRuleType {
Unspecified = 0,
HierarchicalFirewallPolicyRule = 1,
VpcFirewallRule = 2,
ImpliedVpcFirewallRule = 3,
ServerlessVpcAccessManagedFirewallRule = 4,
NetworkFirewallPolicyRule = 5,
NetworkRegionalFirewallPolicyRule = 6,
UnsupportedFirewallPolicyRule = 100,
TrackingState = 101,
}
Expand description
The firewall rule’s type.
Variants§
Unspecified = 0
Unspecified type.
HierarchicalFirewallPolicyRule = 1
Hierarchical firewall policy rule. For details, see Hierarchical firewall policies overview.
VpcFirewallRule = 2
VPC firewall rule. For details, see VPC firewall rules overview.
ImpliedVpcFirewallRule = 3
Implied VPC firewall rule. For details, see Implied rules.
ServerlessVpcAccessManagedFirewallRule = 4
Implicit firewall rules that are managed by serverless VPC access to allow ingress access. They are not visible in the Google Cloud console. For details, see VPC connector’s implicit rules.
NetworkFirewallPolicyRule = 5
Global network firewall policy rule. For details, see Network firewall policies.
NetworkRegionalFirewallPolicyRule = 6
Regional network firewall policy rule. For details, see Regional network firewall policies.
UnsupportedFirewallPolicyRule = 100
Firewall policy rule containing attributes not yet supported in Connectivity tests. Firewall analysis is skipped if such a rule can potentially be matched. Please see the list of unsupported configurations.
TrackingState = 101
Tracking state for response traffic created when request traffic goes through allow firewall rule. For details, see firewall rules specifications
Implementations§
source§impl FirewallRuleType
impl FirewallRuleType
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for FirewallRuleType
impl Clone for FirewallRuleType
source§fn clone(&self) -> FirewallRuleType
fn clone(&self) -> FirewallRuleType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FirewallRuleType
impl Debug for FirewallRuleType
source§impl Default for FirewallRuleType
impl Default for FirewallRuleType
source§fn default() -> FirewallRuleType
fn default() -> FirewallRuleType
source§impl From<FirewallRuleType> for i32
impl From<FirewallRuleType> for i32
source§fn from(value: FirewallRuleType) -> i32
fn from(value: FirewallRuleType) -> i32
source§impl Hash for FirewallRuleType
impl Hash for FirewallRuleType
source§impl Ord for FirewallRuleType
impl Ord for FirewallRuleType
source§fn cmp(&self, other: &FirewallRuleType) -> Ordering
fn cmp(&self, other: &FirewallRuleType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for FirewallRuleType
impl PartialEq for FirewallRuleType
source§fn eq(&self, other: &FirewallRuleType) -> bool
fn eq(&self, other: &FirewallRuleType) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FirewallRuleType
impl PartialOrd for FirewallRuleType
source§fn partial_cmp(&self, other: &FirewallRuleType) -> Option<Ordering>
fn partial_cmp(&self, other: &FirewallRuleType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for FirewallRuleType
impl TryFrom<i32> for FirewallRuleType
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<FirewallRuleType, DecodeError>
fn try_from(value: i32) -> Result<FirewallRuleType, DecodeError>
impl Copy for FirewallRuleType
impl Eq for FirewallRuleType
impl StructuralPartialEq for FirewallRuleType
Auto Trait Implementations§
impl Freeze for FirewallRuleType
impl RefUnwindSafe for FirewallRuleType
impl Send for FirewallRuleType
impl Sync for FirewallRuleType
impl Unpin for FirewallRuleType
impl UnwindSafe for FirewallRuleType
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§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