Class: Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/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::ComputeAlpha::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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy
Returns a new instance of NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy
19527 19528 19529 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 19527 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
19520 19521 19522 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 19520 def id @id end |
#rules ⇒ Array<Google::Apis::ComputeAlpha::SecurityPolicyRule>
The rules that apply to the network.
Corresponds to the JSON property rules
19525 19526 19527 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 19525 def rules @rules end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19532 19533 19534 19535 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 19532 def update!(**args) @id = args[:id] if args.key?(:id) @rules = args[:rules] if args.key?(:rules) end |