Class: Google::Apis::NetworksecurityV1::ListAddressGroupReferencesResponseAddressGroupReference

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_policyString

FirewallPolicy that is using the Address Group. Corresponds to the JSON property firewallPolicy

Returns:

  • (String)


1229
1230
1231
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 1229

def firewall_policy
  @firewall_policy
end

#rule_priorityFixnum

Rule priority of the FirewallPolicy that is using the Address Group. Corresponds to the JSON property rulePriority

Returns:

  • (Fixnum)


1234
1235
1236
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 1234

def rule_priority
  @rule_priority
end

#security_policyString

Cloud Armor SecurityPolicy that is using the Address Group. Corresponds to the JSON property securityPolicy

Returns:

  • (String)


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