Network Management V1 API - Class Google::Cloud::NetworkManagement::V1::FirewallInfo (v0.5.0)

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 hierarchical firewall policy rule.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#action

def action() -> ::String
Returns
  • (::String) — Possible values: ALLOW, DENY

#action=

def action=(value) -> ::String
Parameter
  • value (::String) — Possible values: ALLOW, DENY
Returns
  • (::String) — Possible values: ALLOW, DENY

#direction

def direction() -> ::String
Returns
  • (::String) — Possible values: INGRESS, EGRESS

#direction=

def direction=(value) -> ::String
Parameter
  • value (::String) — Possible values: INGRESS, EGRESS
Returns
  • (::String) — Possible values: INGRESS, EGRESS

#display_name

def display_name() -> ::String
Returns
  • (::String) — The display name of the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — The display name of the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
Returns
  • (::String) — The display name of the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.

#firewall_rule_type

def firewall_rule_type() -> ::Google::Cloud::NetworkManagement::V1::FirewallInfo::FirewallRuleType

#firewall_rule_type=

def firewall_rule_type=(value) -> ::Google::Cloud::NetworkManagement::V1::FirewallInfo::FirewallRuleType
Parameter

#network_uri

def network_uri() -> ::String
Returns
  • (::String) — The URI of the VPC network that the firewall rule is associated with. This field is not applicable to hierarchical firewall policy rules.

#network_uri=

def network_uri=(value) -> ::String
Parameter
  • value (::String) — The URI of the VPC network that the firewall rule is associated with. This field is not applicable to hierarchical firewall policy rules.
Returns
  • (::String) — The URI of the VPC network that the firewall rule is associated with. This field is not applicable to hierarchical firewall policy rules.

#policy

def policy() -> ::String
Returns
  • (::String) — The hierarchical firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules.

#policy=

def policy=(value) -> ::String
Parameter
  • value (::String) — The hierarchical firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules.
Returns
  • (::String) — The hierarchical firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules.

#priority

def priority() -> ::Integer
Returns
  • (::Integer) — The priority of the firewall rule.

#priority=

def priority=(value) -> ::Integer
Parameter
  • value (::Integer) — The priority of the firewall rule.
Returns
  • (::Integer) — The priority of the firewall rule.

#target_service_accounts

def target_service_accounts() -> ::Array<::String>
Returns
  • (::Array<::String>) — The target service accounts specified by the firewall rule.

#target_service_accounts=

def target_service_accounts=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — The target service accounts specified by the firewall rule.
Returns
  • (::Array<::String>) — The target service accounts specified by the firewall rule.

#target_tags

def target_tags() -> ::Array<::String>
Returns
  • (::Array<::String>) — The target tags defined by the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.

#target_tags=

def target_tags=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — The target tags defined by the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
Returns
  • (::Array<::String>) — The target tags defined by the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.

#uri

def uri() -> ::String
Returns
  • (::String) — The URI of the VPC firewall rule. This field is not applicable to implied firewall rules or hierarchical firewall policy rules.

#uri=

def uri=(value) -> ::String
Parameter
  • value (::String) — The URI of the VPC firewall rule. This field is not applicable to implied firewall rules or hierarchical firewall policy rules.
Returns
  • (::String) — The URI of the VPC firewall rule. This field is not applicable to implied firewall rules or hierarchical firewall policy rules.