Class: Google::Apis::NetworksecurityV1::ListAddressGroupReferencesResponseAddressGroupReference
- Inherits:
-
Object
- Object
- Google::Apis::NetworksecurityV1::ListAddressGroupReferencesResponseAddressGroupReference
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networksecurity_v1/classes.rb,
lib/google/apis/networksecurity_v1/representations.rb,
lib/google/apis/networksecurity_v1/representations.rb
Overview
The Reference of AddressGroup.
Instance Attribute Summary collapse
-
#firewall_policy ⇒ String
FirewallPolicy that is using the Address Group.
-
#rule_priority ⇒ Fixnum
Rule priority of the FirewallPolicy that is using the Address Group.
-
#security_policy ⇒ String
Cloud Armor SecurityPolicy that is using the Address Group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListAddressGroupReferencesResponseAddressGroupReference
constructor
A new instance of ListAddressGroupReferencesResponseAddressGroupReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListAddressGroupReferencesResponseAddressGroupReference
Returns a new instance of ListAddressGroupReferencesResponseAddressGroupReference.
1241 1242 1243 |
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 1241 def initialize(**args) update!(**args) end |
Instance Attribute Details
#firewall_policy ⇒ String
FirewallPolicy that is using the Address Group.
Corresponds to the JSON property firewallPolicy
1229 1230 1231 |
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 1229 def firewall_policy @firewall_policy end |
#rule_priority ⇒ Fixnum
Rule priority of the FirewallPolicy that is using the Address Group.
Corresponds to the JSON property rulePriority
1234 1235 1236 |
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 1234 def rule_priority @rule_priority end |
#security_policy ⇒ String
Cloud Armor SecurityPolicy that is using the Address Group.
Corresponds to the JSON property securityPolicy
1239 1240 1241 |
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 1239 def security_policy @security_policy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1246 1247 1248 1249 1250 |
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 1246 def update!(**args) @firewall_policy = args[:firewall_policy] if args.key?(:firewall_policy) @rule_priority = args[:rule_priority] if args.key?(:rule_priority) @security_policy = args[:security_policy] if args.key?(:security_policy) end |