# Google Cloud Network Security V1 Client - Class AddressGroupReference (1.4.0)

1.4.0 (latest) 1.3.0 1.2.3 1.1.0 1.0.4 0.6.5 0.5.2 0.4.1 0.3.7 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` |   |