FirewallInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)
For display only. Metadata associated with a VPC firewall rule, an implied VPC firewall rule, or a hierarchical firewall policy rule.
Attributes | |
---|---|
Name | Description |
display_name |
str
The display name of the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules. |
uri |
str
The URI of the VPC firewall rule. This field is not applicable to implied firewall rules or hierarchical firewall policy rules. |
direction |
str
Possible values: INGRESS, EGRESS |
action |
str
Possible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUP |
priority |
int
The priority of the firewall rule. |
network_uri |
str
The URI of the VPC network that the firewall rule is associated with. This field is not applicable to hierarchical firewall policy rules. |
target_tags |
MutableSequence[str]
The target tags defined by the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules. |
target_service_accounts |
MutableSequence[str]
The target service accounts specified by the firewall rule. |
policy |
str
The hierarchical firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules. |
firewall_rule_type |
google.cloud.network_management_v1.types.FirewallInfo.FirewallRuleType
The firewall rule's type. |
Classes
FirewallRuleType
FirewallRuleType(value)
The firewall rule's type.
Values:
FIREWALL_RULE_TYPE_UNSPECIFIED (0):
Unspecified type.
HIERARCHICAL_FIREWALL_POLICY_RULE (1):
Hierarchical firewall policy rule. For details, see
Hierarchical firewall policies
overview <https://cloud.google.com/vpc/docs/firewall-policies>
.
VPC_FIREWALL_RULE (2):
VPC firewall rule. For details, see VPC firewall rules
overview <https://cloud.google.com/vpc/docs/firewalls>
.
IMPLIED_VPC_FIREWALL_RULE (3):
Implied VPC firewall rule. For details, see Implied
rules <https://cloud.google.com/vpc/docs/firewalls#default_firewall_rules>
.
SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE (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 <https://cloud.google.com/functions/docs/networking/connecting-vpc#restrict-access>
.
NETWORK_FIREWALL_POLICY_RULE (5):
Global network firewall policy rule. For details, see
Network firewall
policies <https://cloud.google.com/vpc/docs/network-firewall-policies>
.
NETWORK_REGIONAL_FIREWALL_POLICY_RULE (6):
Regional network firewall policy rule. For details, see
Regional network firewall
policies <https://cloud.google.com/firewall/docs/regional-firewall-policies>
.
UNSUPPORTED_FIREWALL_POLICY_RULE (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 <https://cloud.google.com/network-intelligence-center/docs/connectivity-tests/concepts/overview#unsupported-configs>
.
TRACKING_STATE (101):
Tracking state for response traffic created when request
traffic goes through allow firewall rule. For details, see
firewall rules
specifications <https://cloud.google.com/firewall/docs/firewalls#specifications>