Class: Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- 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.
Constructor Details
#initialize(**args) ⇒ NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy
Returns a new instance of NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy.
22646 22647 22648 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 22646 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
22639 22640 22641 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 22639 def id @id end |
#rules ⇒ Array<Google::Apis::ComputeAlpha::SecurityPolicyRule>
The rules that apply to the network.
Corresponds to the JSON property rules
22644 22645 22646 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 22644 def rules @rules end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22651 22652 22653 22654 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 22651 def update!(**args) @id = args[:id] if args.key?(:id) @rules = args[:rules] if args.key?(:rules) end |