@@ -161,14 +161,16 @@ public final class BackendService extends com.google.api.client.json.GenericJson
161
161
private java .lang .Boolean enableCDN ;
162
162
163
163
/**
164
- * Specifies the canary migration state. Possible values are PREPARE, TEST, and FINALIZE. To begin
165
- * the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be changed to PREPARE. The
166
- * state must be changed to FINALIZE before the loadBalancingScheme can be changed to
167
- * EXTERNAL_MANAGED. Optionally, the TEST state can be used to migrate traffic by percentage using
164
+ * Specifies the canary migration state. Possible values are PREPARE, TEST_BY_PERCENTAGE, and
165
+ * TEST_ALL_TRAFFIC. To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be
166
+ * changed to PREPARE. The state must be changed to TEST_ALL_TRAFFIC before the
167
+ * loadBalancingScheme can be changed to EXTERNAL_MANAGED. Optionally, the TEST_BY_PERCENTAGE
168
+ * state can be used to migrate traffic by percentage using
168
169
* externalManagedMigrationTestingPercentage. Rolling back a migration requires the states to be
169
170
* set in reverse order. So changing the scheme from EXTERNAL_MANAGED to EXTERNAL requires the
170
- * state to be set to FINALIZE at the same time. Optionally, the TEST state can be used to migrate
171
- * some traffic back to EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL.
171
+ * state to be set to TEST_ALL_TRAFFIC at the same time. Optionally, the TEST_BY_PERCENTAGE state
172
+ * can be used to migrate some traffic back to EXTERNAL or PREPARE can be used to migrate all
173
+ * traffic back to EXTERNAL.
172
174
* The value may be {@code null}.
173
175
*/
174
176
@ com .google .api .client .util .Key
@@ -178,8 +180,8 @@ public final class BackendService extends com.google.api.client.json.GenericJson
178
180
* Determines the fraction of requests that should be processed by the Global external Application
179
181
* Load Balancer. The value of this field must be in the range [0, 100]. Session affinity options
180
182
* will slightly affect this routing behavior, for more details, see: Session Affinity. This value
181
- * is only used if the loadBalancingScheme in the BackendService is set to EXTERNAL when using the
182
- * classic Application Load Balancer.
183
+ * can only be set if the loadBalancingScheme in the BackendService is set to EXTERNAL ( when using
184
+ * the classic Application Load Balancer) and the migration state is TEST_BY_PERCENTAGE .
183
185
* The value may be {@code null}.
184
186
*/
185
187
@ com .google .api .client .util .Key
@@ -363,6 +365,13 @@ public final class BackendService extends com.google.api.client.json.GenericJson
363
365
@ com .google .api .client .util .Key
364
366
private java .lang .String network ;
365
367
368
+ /**
369
+ * Configures traffic steering properties of internal passthrough Network Load Balancers.
370
+ * The value may be {@code null}.
371
+ */
372
+ @ com .google .api .client .util .Key
373
+ private BackendServiceNetworkPassThroughLbTrafficPolicy networkPassThroughLbTrafficPolicy ;
374
+
366
375
/**
367
376
* Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool
368
377
* of each individual proxy instance that processes the traffic for the given backend service. If
@@ -797,29 +806,33 @@ public BackendService setEnableCDN(java.lang.Boolean enableCDN) {
797
806
}
798
807
799
808
/**
800
- * Specifies the canary migration state. Possible values are PREPARE, TEST, and FINALIZE. To begin
801
- * the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be changed to PREPARE. The
802
- * state must be changed to FINALIZE before the loadBalancingScheme can be changed to
803
- * EXTERNAL_MANAGED. Optionally, the TEST state can be used to migrate traffic by percentage using
809
+ * Specifies the canary migration state. Possible values are PREPARE, TEST_BY_PERCENTAGE, and
810
+ * TEST_ALL_TRAFFIC. To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be
811
+ * changed to PREPARE. The state must be changed to TEST_ALL_TRAFFIC before the
812
+ * loadBalancingScheme can be changed to EXTERNAL_MANAGED. Optionally, the TEST_BY_PERCENTAGE
813
+ * state can be used to migrate traffic by percentage using
804
814
* externalManagedMigrationTestingPercentage. Rolling back a migration requires the states to be
805
815
* set in reverse order. So changing the scheme from EXTERNAL_MANAGED to EXTERNAL requires the
806
- * state to be set to FINALIZE at the same time. Optionally, the TEST state can be used to migrate
807
- * some traffic back to EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL.
816
+ * state to be set to TEST_ALL_TRAFFIC at the same time. Optionally, the TEST_BY_PERCENTAGE state
817
+ * can be used to migrate some traffic back to EXTERNAL or PREPARE can be used to migrate all
818
+ * traffic back to EXTERNAL.
808
819
* @return value or {@code null} for none
809
820
*/
810
821
public java .lang .String getExternalManagedMigrationState () {
811
822
return externalManagedMigrationState ;
812
823
}
813
824
814
825
/**
815
- * Specifies the canary migration state. Possible values are PREPARE, TEST, and FINALIZE. To begin
816
- * the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be changed to PREPARE. The
817
- * state must be changed to FINALIZE before the loadBalancingScheme can be changed to
818
- * EXTERNAL_MANAGED. Optionally, the TEST state can be used to migrate traffic by percentage using
826
+ * Specifies the canary migration state. Possible values are PREPARE, TEST_BY_PERCENTAGE, and
827
+ * TEST_ALL_TRAFFIC. To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be
828
+ * changed to PREPARE. The state must be changed to TEST_ALL_TRAFFIC before the
829
+ * loadBalancingScheme can be changed to EXTERNAL_MANAGED. Optionally, the TEST_BY_PERCENTAGE
830
+ * state can be used to migrate traffic by percentage using
819
831
* externalManagedMigrationTestingPercentage. Rolling back a migration requires the states to be
820
832
* set in reverse order. So changing the scheme from EXTERNAL_MANAGED to EXTERNAL requires the
821
- * state to be set to FINALIZE at the same time. Optionally, the TEST state can be used to migrate
822
- * some traffic back to EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL.
833
+ * state to be set to TEST_ALL_TRAFFIC at the same time. Optionally, the TEST_BY_PERCENTAGE state
834
+ * can be used to migrate some traffic back to EXTERNAL or PREPARE can be used to migrate all
835
+ * traffic back to EXTERNAL.
823
836
* @param externalManagedMigrationState externalManagedMigrationState or {@code null} for none
824
837
*/
825
838
public BackendService setExternalManagedMigrationState (java .lang .String externalManagedMigrationState ) {
@@ -831,8 +844,8 @@ public BackendService setExternalManagedMigrationState(java.lang.String external
831
844
* Determines the fraction of requests that should be processed by the Global external Application
832
845
* Load Balancer. The value of this field must be in the range [0, 100]. Session affinity options
833
846
* will slightly affect this routing behavior, for more details, see: Session Affinity. This value
834
- * is only used if the loadBalancingScheme in the BackendService is set to EXTERNAL when using the
835
- * classic Application Load Balancer.
847
+ * can only be set if the loadBalancingScheme in the BackendService is set to EXTERNAL ( when using
848
+ * the classic Application Load Balancer) and the migration state is TEST_BY_PERCENTAGE .
836
849
* @return value or {@code null} for none
837
850
*/
838
851
public java .lang .Float getExternalManagedMigrationTestingPercentage () {
@@ -843,8 +856,8 @@ public java.lang.Float getExternalManagedMigrationTestingPercentage() {
843
856
* Determines the fraction of requests that should be processed by the Global external Application
844
857
* Load Balancer. The value of this field must be in the range [0, 100]. Session affinity options
845
858
* will slightly affect this routing behavior, for more details, see: Session Affinity. This value
846
- * is only used if the loadBalancingScheme in the BackendService is set to EXTERNAL when using the
847
- * classic Application Load Balancer.
859
+ * can only be set if the loadBalancingScheme in the BackendService is set to EXTERNAL ( when using
860
+ * the classic Application Load Balancer) and the migration state is TEST_BY_PERCENTAGE .
848
861
* @param externalManagedMigrationTestingPercentage externalManagedMigrationTestingPercentage or {@code null} for none
849
862
*/
850
863
public BackendService setExternalManagedMigrationTestingPercentage (java .lang .Float externalManagedMigrationTestingPercentage ) {
@@ -1292,6 +1305,23 @@ public BackendService setNetwork(java.lang.String network) {
1292
1305
return this ;
1293
1306
}
1294
1307
1308
+ /**
1309
+ * Configures traffic steering properties of internal passthrough Network Load Balancers.
1310
+ * @return value or {@code null} for none
1311
+ */
1312
+ public BackendServiceNetworkPassThroughLbTrafficPolicy getNetworkPassThroughLbTrafficPolicy () {
1313
+ return networkPassThroughLbTrafficPolicy ;
1314
+ }
1315
+
1316
+ /**
1317
+ * Configures traffic steering properties of internal passthrough Network Load Balancers.
1318
+ * @param networkPassThroughLbTrafficPolicy networkPassThroughLbTrafficPolicy or {@code null} for none
1319
+ */
1320
+ public BackendService setNetworkPassThroughLbTrafficPolicy (BackendServiceNetworkPassThroughLbTrafficPolicy networkPassThroughLbTrafficPolicy ) {
1321
+ this .networkPassThroughLbTrafficPolicy = networkPassThroughLbTrafficPolicy ;
1322
+ return this ;
1323
+ }
1324
+
1295
1325
/**
1296
1326
* Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool
1297
1327
* of each individual proxy instance that processes the traffic for the given backend service. If
0 commit comments