# Google Cloud Network Security V1 Client - Class AuthzExtension (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 AuthzExtension.

Optional. Delegate authorization decision to user authored extension.

Only one of cloudIap or authzExtension can be specified.

Generated from protobuf message `google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.AuthzExtension`

## Namespace

Google \\ Cloud \\ NetworkSecurity \\ V1 \\ AuthzPolicy \\ CustomProvider

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ resources` | `string[]` Required. A list of references to authorization extensions that will be invoked for requests matching this policy. Limited to 1 custom provider. |

### getResources

Required. A list of references to authorization
extensions that will be invoked for requests matching this policy.

Limited to 1 custom provider.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setResources

Required. A list of references to authorization
extensions that will be invoked for requests matching this policy.

Limited to 1 custom provider.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |