Google Cloud Network Security V1 Client - Class CustomProvider (1.3.0)

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

Allows delegating authorization decisions to Cloud IAP or to Service Extensions.

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

Namespace

Google \ Cloud \ NetworkSecurity \ V1 \ AuthzPolicy

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ cloud_iap CustomProvider\CloudIap

Optional. Delegates authorization decisions to Cloud IAP. Applicable only for managed load balancers. Enabling Cloud IAP at the AuthzPolicy level is not compatible with Cloud IAP settings in the BackendService. Enabling IAP in both places will result in request failure. Ensure that IAP is enabled in either the AuthzPolicy or the BackendService but not in both places.

↳ authz_extension CustomProvider\AuthzExtension

Optional. Delegate authorization decision to user authored Service Extension. Only one of cloudIap or authzExtension can be specified.

getCloudIap

Optional. Delegates authorization decisions to Cloud IAP. Applicable only for managed load balancers. Enabling Cloud IAP at the AuthzPolicy level is not compatible with Cloud IAP settings in the BackendService.

Enabling IAP in both places will result in request failure. Ensure that IAP is enabled in either the AuthzPolicy or the BackendService but not in both places.

Returns
Type Description
CustomProvider\CloudIap|null

hasCloudIap

clearCloudIap

setCloudIap

Optional. Delegates authorization decisions to Cloud IAP. Applicable only for managed load balancers. Enabling Cloud IAP at the AuthzPolicy level is not compatible with Cloud IAP settings in the BackendService.

Enabling IAP in both places will result in request failure. Ensure that IAP is enabled in either the AuthzPolicy or the BackendService but not in both places.

Parameter
Name Description
var CustomProvider\CloudIap
Returns
Type Description
$this

getAuthzExtension

Optional. Delegate authorization decision to user authored Service Extension. Only one of cloudIap or authzExtension can be specified.

Returns
Type Description
CustomProvider\AuthzExtension|null

hasAuthzExtension

clearAuthzExtension

setAuthzExtension

Optional. Delegate authorization decision to user authored Service Extension. Only one of cloudIap or authzExtension can be specified.

Parameter
Name Description
var CustomProvider\AuthzExtension
Returns
Type Description
$this