public final class TestFailure extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
TestFailure() |
| Modifier and Type | Method and Description |
|---|---|
TestFailure |
clone() |
String |
getActualOutputUrl()
The actual output URL evaluated by load balancer containing the scheme, host, path and query
parameters.
|
Integer |
getActualRedirectResponseCode()
Actual HTTP status code for rule with `urlRedirect` calculated by load balancer
|
String |
getActualService()
BackendService or BackendBucket returned by load balancer.
|
String |
getExpectedOutputUrl()
The expected output URL evaluated by load balancer containing the scheme, host, path and query
parameters.
|
Integer |
getExpectedRedirectResponseCode()
Expected HTTP status code for rule with `urlRedirect` calculated by load balancer
|
String |
getExpectedService()
Expected BackendService or BackendBucket resource the given URL should be mapped to.
|
List<UrlMapTestHeader> |
getHeaders()
HTTP headers of the request.
|
String |
getHost()
Host portion of the URL.
|
String |
getPath()
Path portion including query parameters in the URL.
|
TestFailure |
set(String fieldName,
Object value) |
TestFailure |
setActualOutputUrl(String actualOutputUrl)
The actual output URL evaluated by load balancer containing the scheme, host, path and query
parameters.
|
TestFailure |
setActualRedirectResponseCode(Integer actualRedirectResponseCode)
Actual HTTP status code for rule with `urlRedirect` calculated by load balancer
|
TestFailure |
setActualService(String actualService)
BackendService or BackendBucket returned by load balancer.
|
TestFailure |
setExpectedOutputUrl(String expectedOutputUrl)
The expected output URL evaluated by load balancer containing the scheme, host, path and query
parameters.
|
TestFailure |
setExpectedRedirectResponseCode(Integer expectedRedirectResponseCode)
Expected HTTP status code for rule with `urlRedirect` calculated by load balancer
|
TestFailure |
setExpectedService(String expectedService)
Expected BackendService or BackendBucket resource the given URL should be mapped to.
|
TestFailure |
setHeaders(List<UrlMapTestHeader> headers)
HTTP headers of the request.
|
TestFailure |
setHost(String host)
Host portion of the URL.
|
TestFailure |
setPath(String path)
Path portion including query parameters in the URL.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getActualOutputUrl()
null for nonepublic TestFailure setActualOutputUrl(String actualOutputUrl)
actualOutputUrl - actualOutputUrl or null for nonepublic Integer getActualRedirectResponseCode()
null for nonepublic TestFailure setActualRedirectResponseCode(Integer actualRedirectResponseCode)
actualRedirectResponseCode - actualRedirectResponseCode or null for nonepublic String getActualService()
null for nonepublic TestFailure setActualService(String actualService)
actualService - actualService or null for nonepublic String getExpectedOutputUrl()
null for nonepublic TestFailure setExpectedOutputUrl(String expectedOutputUrl)
expectedOutputUrl - expectedOutputUrl or null for nonepublic Integer getExpectedRedirectResponseCode()
null for nonepublic TestFailure setExpectedRedirectResponseCode(Integer expectedRedirectResponseCode)
expectedRedirectResponseCode - expectedRedirectResponseCode or null for nonepublic String getExpectedService()
null for nonepublic TestFailure setExpectedService(String expectedService)
expectedService - expectedService or null for nonepublic List<UrlMapTestHeader> getHeaders()
null for nonepublic TestFailure setHeaders(List<UrlMapTestHeader> headers)
headers - headers or null for nonepublic String getHost()
null for nonepublic TestFailure setHost(String host)
host - host or null for nonepublic String getPath()
null for nonepublic TestFailure setPath(String path)
path - path or null for nonepublic TestFailure set(String fieldName, Object value)
set in class GenericJsonpublic TestFailure clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.