Class: Google::Apis::ComputeAlpha::InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy
- 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
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) ⇒ InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy
constructor
A new instance of InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy.
-
#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) ⇒ InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy
Returns a new instance of InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy
13552 13553 13554 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 13552 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ Fixnum
The unique identifier for the security policy. This identifier is defined by
the server.
Corresponds to the JSON property id
13545 13546 13547 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 13545 def id @id end |
#rules ⇒ Array<Google::Apis::ComputeAlpha::SecurityPolicyRule>
The rules that apply to the network.
Corresponds to the JSON property rules
13550 13551 13552 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 13550 def rules @rules end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13557 13558 13559 13560 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 13557 def update!(**args) @id = args[:id] if args.key?(:id) @rules = args[:rules] if args.key?(:rules) end |