@Generated(value="by GAPIC") @BetaApi public final class PathRule extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
PathRule.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.api.gax.httpjson.ApiMessage |
getApiMessageRequestBody() |
static PathRule |
getDefaultInstance() |
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
List<String> |
getPathsList()
The list of path patterns to match.
|
HttpRouteAction |
getRouteAction()
In response to a matching path, the load balancer performs advanced routing actions like URL
rewrites, header transformations, etc.
|
String |
getService()
The full or partial URL of the backend service resource to which traffic is directed if this
rule is matched.
|
HttpRedirectAction |
getUrlRedirect()
When a path pattern is matched, the request is redirected to a URL specified by urlRedirect.
|
int |
hashCode() |
static PathRule.Builder |
newBuilder() |
static PathRule.Builder |
newBuilder(PathRule prototype) |
PathRule.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public com.google.api.gax.httpjson.ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface com.google.api.gax.httpjson.ApiMessage
public List<String> getPathsList()
public HttpRouteAction getRouteAction()
public String getService()
public HttpRedirectAction getUrlRedirect()
public static PathRule.Builder newBuilder()
public static PathRule.Builder newBuilder(PathRule prototype)
public PathRule.Builder toBuilder()
public static PathRule getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.