Class: Google::Apis::ComputeBeta::InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/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::ComputeBeta::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.
Constructor Details
#initialize(**args) ⇒ InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy
Returns a new instance of InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy.
15159 15160 15161 |
# File 'generated/google/apis/compute_beta/classes.rb', line 15159 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
15152 15153 15154 |
# File 'generated/google/apis/compute_beta/classes.rb', line 15152 def id @id end |
#rules ⇒ Array<Google::Apis::ComputeBeta::SecurityPolicyRule>
The rules that apply to the network.
Corresponds to the JSON property rules
15157 15158 15159 |
# File 'generated/google/apis/compute_beta/classes.rb', line 15157 def rules @rules end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15164 15165 15166 15167 |
# File 'generated/google/apis/compute_beta/classes.rb', line 15164 def update!(**args) @id = args[:id] if args.key?(:id) @rules = args[:rules] if args.key?(:rules) end |