@@ -136,11 +136,9 @@ public final class HttpRouteRule extends com.google.api.client.json.GenericJson
136136 /**
137137 * In response to a matching matchRule, the load balancer performs advanced routing actions, such
138138 * as URL rewrites and header transformations, before forwarding the request to the selected
139- * backend. If routeAction specifies any weightedBackendServices, service must not be set.
140- * Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one
141- * of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for classic
142- * Application Load Balancers only support the urlRewrite action within a route rule's
143- * routeAction.
139+ * backend. Only one of urlRedirect, service or routeAction.weightedBackendService can be set. URL
140+ * maps for classic Application Load Balancers only support the urlRewrite action within a route
141+ * rule's routeAction.
144142 * The value may be {@code null}.
145143 */
146144 @ com .google .api .client .util .Key
@@ -149,19 +147,17 @@ public final class HttpRouteRule extends com.google.api.client.json.GenericJson
149147 /**
150148 * The full or partial URL of the backend service resource to which traffic is directed if this
151149 * rule is matched. If routeAction is also specified, advanced routing actions, such as URL
152- * rewrites, take effect before sending the request to the backend. However, if service is
153- * specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction
154- * specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect,
155- * service or routeAction.weightedBackendService must be set.
150+ * rewrites, take effect before sending the request to the backend. Only one of urlRedirect,
151+ * service or routeAction.weightedBackendService can be set.
156152 * The value may be {@code null}.
157153 */
158154 @ com .google .api .client .util .Key
159155 private java .lang .String service ;
160156
161157 /**
162- * When this rule is matched, the request is redirected to a URL specified by urlRedirect. If
163- * urlRedirect is specified , service or routeAction must not be set. Not supported when the URL
164- * map is bound to a target gRPC proxy.
158+ * When this rule is matched, the request is redirected to a URL specified by urlRedirect. Only
159+ * one of urlRedirect , service or routeAction.weightedBackendService can be set. Not supported
160+ * when the URL map is bound to a target gRPC proxy.
165161 * The value may be {@code null}.
166162 */
167163 @ com .google .api .client .util .Key
@@ -373,11 +369,9 @@ public HttpRouteRule setPriority(java.lang.Integer priority) {
373369 /**
374370 * In response to a matching matchRule, the load balancer performs advanced routing actions, such
375371 * as URL rewrites and header transformations, before forwarding the request to the selected
376- * backend. If routeAction specifies any weightedBackendServices, service must not be set.
377- * Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one
378- * of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for classic
379- * Application Load Balancers only support the urlRewrite action within a route rule's
380- * routeAction.
372+ * backend. Only one of urlRedirect, service or routeAction.weightedBackendService can be set. URL
373+ * maps for classic Application Load Balancers only support the urlRewrite action within a route
374+ * rule's routeAction.
381375 * @return value or {@code null} for none
382376 */
383377 public HttpRouteAction getRouteAction () {
@@ -387,11 +381,9 @@ public HttpRouteAction getRouteAction() {
387381 /**
388382 * In response to a matching matchRule, the load balancer performs advanced routing actions, such
389383 * as URL rewrites and header transformations, before forwarding the request to the selected
390- * backend. If routeAction specifies any weightedBackendServices, service must not be set.
391- * Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one
392- * of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for classic
393- * Application Load Balancers only support the urlRewrite action within a route rule's
394- * routeAction.
384+ * backend. Only one of urlRedirect, service or routeAction.weightedBackendService can be set. URL
385+ * maps for classic Application Load Balancers only support the urlRewrite action within a route
386+ * rule's routeAction.
395387 * @param routeAction routeAction or {@code null} for none
396388 */
397389 public HttpRouteRule setRouteAction (HttpRouteAction routeAction ) {
@@ -402,10 +394,8 @@ public HttpRouteRule setRouteAction(HttpRouteAction routeAction) {
402394 /**
403395 * The full or partial URL of the backend service resource to which traffic is directed if this
404396 * rule is matched. If routeAction is also specified, advanced routing actions, such as URL
405- * rewrites, take effect before sending the request to the backend. However, if service is
406- * specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction
407- * specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect,
408- * service or routeAction.weightedBackendService must be set.
397+ * rewrites, take effect before sending the request to the backend. Only one of urlRedirect,
398+ * service or routeAction.weightedBackendService can be set.
409399 * @return value or {@code null} for none
410400 */
411401 public java .lang .String getService () {
@@ -415,10 +405,8 @@ public java.lang.String getService() {
415405 /**
416406 * The full or partial URL of the backend service resource to which traffic is directed if this
417407 * rule is matched. If routeAction is also specified, advanced routing actions, such as URL
418- * rewrites, take effect before sending the request to the backend. However, if service is
419- * specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction
420- * specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect,
421- * service or routeAction.weightedBackendService must be set.
408+ * rewrites, take effect before sending the request to the backend. Only one of urlRedirect,
409+ * service or routeAction.weightedBackendService can be set.
422410 * @param service service or {@code null} for none
423411 */
424412 public HttpRouteRule setService (java .lang .String service ) {
@@ -427,19 +415,19 @@ public HttpRouteRule setService(java.lang.String service) {
427415 }
428416
429417 /**
430- * When this rule is matched, the request is redirected to a URL specified by urlRedirect. If
431- * urlRedirect is specified , service or routeAction must not be set. Not supported when the URL
432- * map is bound to a target gRPC proxy.
418+ * When this rule is matched, the request is redirected to a URL specified by urlRedirect. Only
419+ * one of urlRedirect , service or routeAction.weightedBackendService can be set. Not supported
420+ * when the URL map is bound to a target gRPC proxy.
433421 * @return value or {@code null} for none
434422 */
435423 public HttpRedirectAction getUrlRedirect () {
436424 return urlRedirect ;
437425 }
438426
439427 /**
440- * When this rule is matched, the request is redirected to a URL specified by urlRedirect. If
441- * urlRedirect is specified , service or routeAction must not be set. Not supported when the URL
442- * map is bound to a target gRPC proxy.
428+ * When this rule is matched, the request is redirected to a URL specified by urlRedirect. Only
429+ * one of urlRedirect , service or routeAction.weightedBackendService can be set. Not supported
430+ * when the URL map is bound to a target gRPC proxy.
443431 * @param urlRedirect urlRedirect or {@code null} for none
444432 */
445433 public HttpRouteRule setUrlRedirect (HttpRedirectAction urlRedirect ) {
0 commit comments