Google Cloud Network Security V1 Client - Class AddressGroupReference (1.1.0)

Reference documentation and code samples for the Google Cloud Network Security V1 Client class AddressGroupReference.

The Reference of AddressGroup.

Generated from protobuf message google.cloud.networksecurity.v1.ListAddressGroupReferencesResponse.AddressGroupReference

Namespace

Google \ Cloud \ NetworkSecurity \ V1 \ ListAddressGroupReferencesResponse

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ firewall_policy string

FirewallPolicy that is using the Address Group.

↳ security_policy string

Cloud Armor SecurityPolicy that is using the Address Group.

↳ rule_priority int

Rule priority of the FirewallPolicy that is using the Address Group.

getFirewallPolicy

FirewallPolicy that is using the Address Group.

Returns
Type Description
string

setFirewallPolicy

FirewallPolicy that is using the Address Group.

Parameter
Name Description
var string
Returns
Type Description
$this

getSecurityPolicy

Cloud Armor SecurityPolicy that is using the Address Group.

Returns
Type Description
string

setSecurityPolicy

Cloud Armor SecurityPolicy that is using the Address Group.

Parameter
Name Description
var string
Returns
Type Description
$this

getRulePriority

Rule priority of the FirewallPolicy that is using the Address Group.

Returns
Type Description
int

setRulePriority

Rule priority of the FirewallPolicy that is using the Address Group.

Parameter
Name Description
var int
Returns
Type Description
$this