Reference documentation and code samples for the Google Cloud Network Security V1 Client class Target.
Specifies the set of targets to which this policy should be applied to.
Generated from protobuf message google.cloud.networksecurity.v1.AuthzPolicy.Target
Namespace
Google \ Cloud \ NetworkSecurity \ V1 \ AuthzPolicyMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ load_balancing_scheme
int
Optional. All gateways and forwarding rules referenced by this policy and extensions must share the same load balancing scheme. Required only when targeting forwarding rules. If targeting Secure Web Proxy, this field must be INTERNAL_MANAGED
or not specified. Must not be specified when targeting Agent Gateway. Supported values: INTERNAL_MANAGED
and EXTERNAL_MANAGED
. For more information, refer to Backend services overview
.
↳ resources
string[]
Required. A list of references to the Forwarding Rules, Secure Web Proxy Gateways, or Agent Gateways on which this policy will be applied.
getLoadBalancingScheme
Optional. All gateways and forwarding rules referenced by this policy and
extensions must share the same load balancing scheme. Required only when
targeting forwarding rules. If targeting Secure Web Proxy, this field
must be INTERNAL_MANAGED
or not specified. Must not be specified
when targeting Agent Gateway. Supported values: INTERNAL_MANAGED
and EXTERNAL_MANAGED
. For more information, refer
to Backend services
overview
.
setLoadBalancingScheme
Optional. All gateways and forwarding rules referenced by this policy and
extensions must share the same load balancing scheme. Required only when
targeting forwarding rules. If targeting Secure Web Proxy, this field
must be INTERNAL_MANAGED
or not specified. Must not be specified
when targeting Agent Gateway. Supported values: INTERNAL_MANAGED
and EXTERNAL_MANAGED
. For more information, refer
to Backend services
overview
.
$this
getResources
Required. A list of references to the Forwarding Rules, Secure Web Proxy Gateways, or Agent Gateways on which this policy will be applied.
setResources
Required. A list of references to the Forwarding Rules, Secure Web Proxy Gateways, or Agent Gateways on which this policy will be applied.
var
string[]
$this

