class Google::Apis::ComputeV1::RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy

Attributes

display_name[RW]
Output Only

The display name of the firewall policy.

Corresponds to the JSON property `displayName` @return [String]

name[RW]
Output Only

The name of the firewall policy.

Corresponds to the JSON property `name` @return [String]

rules[RW]

The rules that apply to the network. Corresponds to the JSON property `rules` @return [Array<Google::Apis::ComputeV1::FirewallPolicyRule>]

type[RW]
Output Only

The type of the firewall policy. Can be one of HIERARCHY,

NETWORK, NETWORK_REGIONAL. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 27570
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 27575
def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
  @rules = args[:rules] if args.key?(:rules)
  @type = args[:type] if args.key?(:type)
end