class Google::Apis::ComputeBeta::NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy
A pruned SecurityPolicy
containing ID and any applicable firewall rules.
Attributes
id[RW]
- Output Only
-
The unique identifier for the security policy. This identifier
is defined by the server. Corresponds to the JSON property `id` @return [Fixnum]
rules[RW]
The rules that apply to the network. Corresponds to the JSON property `rules` @return [Array<Google::Apis::ComputeBeta::SecurityPolicyRule>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/compute_beta/classes.rb, line 20991 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_beta/classes.rb, line 20996 def update!(**args) @id = args[:id] if args.key?(:id) @rules = args[:rules] if args.key?(:rules) end