Network Management V1 API - Class Google::Cloud::NetworkManagement::V1::FirewallInfo (v1.4.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 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, APPLY_SECURITY_PROFILE_GROUP

#action=

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

#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 firewall rule. This field might be empty for firewall policy rules.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — The display name of the firewall rule. This field might be empty for firewall policy rules.
Returns
  • (::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

#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 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
Parameter
  • 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.
Returns
  • (::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_uri

def policy_uri() -> ::String
Returns
  • (::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.

#policy_uri=

def policy_uri=(value) -> ::String
Parameter
  • 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.
Returns
  • (::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.

#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 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 firewall policy rules.
Returns
  • (::Array<::String>) — The target tags defined by the VPC firewall rule. This field is not applicable to firewall policy rules.

#uri

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

#uri=

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