Class: Google::Apis::ComputeBeta::NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb
Overview
A pruned SecurityPolicy containing ID and any applicable firewall rules.
Instance Attribute Summary collapse
-
#id ⇒ Fixnum
[Output Only] The unique identifier for the security policy.
-
#rules ⇒ Array<Google::Apis::ComputeBeta::SecurityPolicyRule>
The rules that apply to the network.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy
constructor
A new instance of NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy
Returns a new instance of NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy.
26554 26555 26556 |
# File 'lib/google/apis/compute_beta/classes.rb', line 26554 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ Fixnum
[Output Only] The unique identifier for the security policy. This identifier
is defined by the server.
Corresponds to the JSON property id
26547 26548 26549 |
# File 'lib/google/apis/compute_beta/classes.rb', line 26547 def id @id end |
#rules ⇒ Array<Google::Apis::ComputeBeta::SecurityPolicyRule>
The rules that apply to the network.
Corresponds to the JSON property rules
26552 26553 26554 |
# File 'lib/google/apis/compute_beta/classes.rb', line 26552 def rules @rules end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
26559 26560 26561 26562 |
# File 'lib/google/apis/compute_beta/classes.rb', line 26559 def update!(**args) @id = args[:id] if args.key?(:id) @rules = args[:rules] if args.key?(:rules) end |