Reference documentation and code samples for the Network Management V1 API class Google::Cloud::NetworkManagement::V1::FirewallInfo.
For display only. Metadata associated with a VPC firewall rule, an implied VPC firewall rule, or a firewall policy rule.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#action
def action() -> ::String- (::String) — Possible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUP
#action=
def action=(value) -> ::String- value (::String) — Possible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUP
- (::String) — Possible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUP
#direction
def direction() -> ::String- (::String) — Possible values: INGRESS, EGRESS
#direction=
def direction=(value) -> ::String- value (::String) — Possible values: INGRESS, EGRESS
- (::String) — Possible values: INGRESS, EGRESS
#display_name
def display_name() -> ::String- (::String) — The display name of the firewall rule. This field might be empty for firewall policy rules.
#display_name=
def display_name=(value) -> ::String- value (::String) — The display name of the firewall rule. This field might be empty for firewall policy rules.
- (::String) — The display name of the firewall rule. This field might be empty for firewall policy rules.
#firewall_rule_type
def firewall_rule_type() -> ::Google::Cloud::NetworkManagement::V1::FirewallInfo::FirewallRuleType- (::Google::Cloud::NetworkManagement::V1::FirewallInfo::FirewallRuleType) — The firewall rule's type.
#firewall_rule_type=
def firewall_rule_type=(value) -> ::Google::Cloud::NetworkManagement::V1::FirewallInfo::FirewallRuleType- value (::Google::Cloud::NetworkManagement::V1::FirewallInfo::FirewallRuleType) — The firewall rule's type.
- (::Google::Cloud::NetworkManagement::V1::FirewallInfo::FirewallRuleType) — The firewall rule's type.
#network_uri
def network_uri() -> ::String- (::String) — The URI of the VPC network that the firewall rule is associated with in format "projects/{project}/global/networks/{network}". This field is not applicable to hierarchical firewall policy rules.
#network_uri=
def network_uri=(value) -> ::String- value (::String) — The URI of the VPC network that the firewall rule is associated with in format "projects/{project}/global/networks/{network}". This field is not applicable to hierarchical firewall policy rules.
- (::String) — The URI of the VPC network that the firewall rule is associated with in format "projects/{project}/global/networks/{network}". This field is not applicable to hierarchical firewall policy rules.
#policy
def policy() -> ::String- (::String) — The name of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules.
#policy=
def policy=(value) -> ::String- value (::String) — The name of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules.
- (::String) — The name of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules.
#policy_priority
def policy_priority() -> ::Integer- (::Integer) — The priority of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules.
#policy_priority=
def policy_priority=(value) -> ::Integer- value (::Integer) — The priority of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules.
- (::Integer) — The priority of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules.
#policy_uri
def policy_uri() -> ::String-
(::String) —
The URI of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules. Format:
locations/global/firewallPolicies/{policy_id}(hierarchical policy)projects/{project_id}/global/firewallPolicies/{policy_id}(global network firewall policy)projects/{project_id}/regions/{region}/firewallPolicies/{policy_id}(regional network firewall policy)
#policy_uri=
def policy_uri=(value) -> ::String-
value (::String) —
The URI of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules. Format:
locations/global/firewallPolicies/{policy_id}(hierarchical policy)projects/{project_id}/global/firewallPolicies/{policy_id}(global network firewall policy)projects/{project_id}/regions/{region}/firewallPolicies/{policy_id}(regional network firewall policy)
-
(::String) —
The URI of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules. Format:
locations/global/firewallPolicies/{policy_id}(hierarchical policy)projects/{project_id}/global/firewallPolicies/{policy_id}(global network firewall policy)projects/{project_id}/regions/{region}/firewallPolicies/{policy_id}(regional network firewall policy)
#priority
def priority() -> ::Integer- (::Integer) — The priority of the firewall rule.
#priority=
def priority=(value) -> ::Integer- value (::Integer) — The priority of the firewall rule.
- (::Integer) — The priority of the firewall rule.
#target_service_accounts
def target_service_accounts() -> ::Array<::String>- (::Array<::String>) — The target service accounts specified by the firewall rule.
#target_service_accounts=
def target_service_accounts=(value) -> ::Array<::String>- value (::Array<::String>) — The target service accounts specified by the firewall rule.
- (::Array<::String>) — The target service accounts specified by the firewall rule.
#target_tags
def target_tags() -> ::Array<::String>- (::Array<::String>) — The target tags defined by the VPC firewall rule. This field is not applicable to firewall policy rules.
#target_tags=
def target_tags=(value) -> ::Array<::String>- value (::Array<::String>) — The target tags defined by the VPC firewall rule. This field is not applicable to firewall policy rules.
- (::Array<::String>) — The target tags defined by the VPC firewall rule. This field is not applicable to firewall policy rules.
#target_type
def target_type() -> ::Google::Cloud::NetworkManagement::V1::FirewallInfo::TargetType- (::Google::Cloud::NetworkManagement::V1::FirewallInfo::TargetType) — Target type of the firewall rule.
#target_type=
def target_type=(value) -> ::Google::Cloud::NetworkManagement::V1::FirewallInfo::TargetType- value (::Google::Cloud::NetworkManagement::V1::FirewallInfo::TargetType) — Target type of the firewall rule.
- (::Google::Cloud::NetworkManagement::V1::FirewallInfo::TargetType) — Target type of the firewall rule.
#uri
def uri() -> ::String- (::String) — The URI of the firewall rule in format "projects/{project}/global/firewalls/{firewall}". This field is not applicable to implied VPC firewall rules.
#uri=
def uri=(value) -> ::String- value (::String) — The URI of the firewall rule in format "projects/{project}/global/firewalls/{firewall}". This field is not applicable to implied VPC firewall rules.
- (::String) — The URI of the firewall rule in format "projects/{project}/global/firewalls/{firewall}". This field is not applicable to implied VPC firewall rules.