Skip to content

Commit cb5e0a5

Browse files
1 parent 02edd5f commit cb5e0a5

1 file changed

Lines changed: 16 additions & 12 deletions

File tree

src/NetworkSecurity/AuthzPolicyTarget.php

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,28 +41,32 @@ class AuthzPolicyTarget extends \Google\Collection
4141
protected $collection_key = 'resources';
4242
/**
4343
* Optional. All gateways and forwarding rules referenced by this policy and
44-
* extensions must share the same load balancing scheme. Supported values:
45-
* `INTERNAL_MANAGED` and `EXTERNAL_MANAGED`. For more information, refer to
46-
* [Backend services overview](https://cloud.google.com/load-
47-
* balancing/docs/backend-service).
44+
* extensions must share the same load balancing scheme. Required only when
45+
* targeting forwarding rules. If targeting Secure Web Proxy, this field must
46+
* be `INTERNAL_MANAGED` or not specified. Must not be specified when
47+
* targeting Agent Gateway. Supported values: `INTERNAL_MANAGED` and
48+
* `EXTERNAL_MANAGED`. For more information, refer to [Backend services
49+
* overview](https://cloud.google.com/load-balancing/docs/backend-service).
4850
*
4951
* @var string
5052
*/
5153
public $loadBalancingScheme;
5254
/**
53-
* Required. A list of references to the Forwarding Rules on which this policy
54-
* will be applied.
55+
* Required. A list of references to the Forwarding Rules, Secure Web Proxy
56+
* Gateways, or Agent Gateways on which this policy will be applied.
5557
*
5658
* @var string[]
5759
*/
5860
public $resources;
5961

6062
/**
6163
* Optional. All gateways and forwarding rules referenced by this policy and
62-
* extensions must share the same load balancing scheme. Supported values:
63-
* `INTERNAL_MANAGED` and `EXTERNAL_MANAGED`. For more information, refer to
64-
* [Backend services overview](https://cloud.google.com/load-
65-
* balancing/docs/backend-service).
64+
* extensions must share the same load balancing scheme. Required only when
65+
* targeting forwarding rules. If targeting Secure Web Proxy, this field must
66+
* be `INTERNAL_MANAGED` or not specified. Must not be specified when
67+
* targeting Agent Gateway. Supported values: `INTERNAL_MANAGED` and
68+
* `EXTERNAL_MANAGED`. For more information, refer to [Backend services
69+
* overview](https://cloud.google.com/load-balancing/docs/backend-service).
6670
*
6771
* Accepted values: LOAD_BALANCING_SCHEME_UNSPECIFIED, INTERNAL_MANAGED,
6872
* EXTERNAL_MANAGED, INTERNAL_SELF_MANAGED
@@ -81,8 +85,8 @@ public function getLoadBalancingScheme()
8185
return $this->loadBalancingScheme;
8286
}
8387
/**
84-
* Required. A list of references to the Forwarding Rules on which this policy
85-
* will be applied.
88+
* Required. A list of references to the Forwarding Rules, Secure Web Proxy
89+
* Gateways, or Agent Gateways on which this policy will be applied.
8690
*
8791
* @param string[] $resources
8892
*/

0 commit comments

Comments
 (0)