Package | Description |
---|---|
com.google.api.services.firebasehosting.v1beta1.model |
Modifier and Type | Method and Description |
---|---|
Redirect |
Redirect.clone() |
Redirect |
Redirect.set(java.lang.String fieldName,
java.lang.Object value) |
Redirect |
Redirect.setGlob(java.lang.String glob)
The user-supplied [glob pattern](/docs/hosting/full-config#glob_pattern_matching) to match
against the request URL path.
|
Redirect |
Redirect.setLocation(java.lang.String location)
Required.
|
Redirect |
Redirect.setRegex(java.lang.String regex)
The user-supplied RE2 regular expression to match against the request URL path.
|
Redirect |
Redirect.setStatusCode(java.lang.Integer statusCode)
Required.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Redirect> |
ServingConfig.getRedirects()
A list of globs that will cause the response to redirect to another location.
|
Modifier and Type | Method and Description |
---|---|
ServingConfig |
ServingConfig.setRedirects(java.util.List<Redirect> redirects)
A list of globs that will cause the response to redirect to another location.
|