Reference documentation and code samples for the Compute V1 Client class BackendServiceNetworkPassThroughLbTrafficPolicy.
Generated from protobuf message google.cloud.compute.v1.BackendServiceNetworkPassThroughLbTrafficPolicy
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ zonal_affinity |
BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity
When configured, new connections are load balanced across healthy backend endpoints in the local zone. |
getZonalAffinity
When configured, new connections are load balanced across healthy backend endpoints in the local zone.
| Returns | |
|---|---|
| Type | Description |
BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity|null |
|
hasZonalAffinity
clearZonalAffinity
setZonalAffinity
When configured, new connections are load balanced across healthy backend endpoints in the local zone.
| Parameter | |
|---|---|
| Name | Description |
var |
BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity
|
| Returns | |
|---|---|
| Type | Description |
$this |
|