target.apidocs.com.google.api.services.compute.model.TestFailure.html Maven / Gradle / Ivy
TestFailure (Compute Engine API v1-rev20240919-2.0.0)
com.google.api.services.compute.model
Class TestFailure
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.compute.model.TestFailure
-
public final class TestFailure
extends com.google.api.client.json.GenericJson
Model definition for TestFailure.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
TestFailure()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
TestFailure
clone()
String
getActualOutputUrl()
The actual output URL evaluated by a 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 a 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 a 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 a 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.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getActualOutputUrl
public String getActualOutputUrl()
The actual output URL evaluated by a load balancer containing the scheme, host, path and query
parameters.
- Returns:
- value or
null
for none
-
setActualOutputUrl
public TestFailure setActualOutputUrl(String actualOutputUrl)
The actual output URL evaluated by a load balancer containing the scheme, host, path and query
parameters.
- Parameters:
actualOutputUrl
- actualOutputUrl or null
for none
-
getActualRedirectResponseCode
public Integer getActualRedirectResponseCode()
Actual HTTP status code for rule with `urlRedirect` calculated by load balancer
- Returns:
- value or
null
for none
-
setActualRedirectResponseCode
public TestFailure setActualRedirectResponseCode(Integer actualRedirectResponseCode)
Actual HTTP status code for rule with `urlRedirect` calculated by load balancer
- Parameters:
actualRedirectResponseCode
- actualRedirectResponseCode or null
for none
-
getActualService
public String getActualService()
BackendService or BackendBucket returned by load balancer.
- Returns:
- value or
null
for none
-
setActualService
public TestFailure setActualService(String actualService)
BackendService or BackendBucket returned by load balancer.
- Parameters:
actualService
- actualService or null
for none
-
getExpectedOutputUrl
public String getExpectedOutputUrl()
The expected output URL evaluated by a load balancer containing the scheme, host, path and
query parameters.
- Returns:
- value or
null
for none
-
setExpectedOutputUrl
public TestFailure setExpectedOutputUrl(String expectedOutputUrl)
The expected output URL evaluated by a load balancer containing the scheme, host, path and
query parameters.
- Parameters:
expectedOutputUrl
- expectedOutputUrl or null
for none
-
getExpectedRedirectResponseCode
public Integer getExpectedRedirectResponseCode()
Expected HTTP status code for rule with `urlRedirect` calculated by load balancer
- Returns:
- value or
null
for none
-
setExpectedRedirectResponseCode
public TestFailure setExpectedRedirectResponseCode(Integer expectedRedirectResponseCode)
Expected HTTP status code for rule with `urlRedirect` calculated by load balancer
- Parameters:
expectedRedirectResponseCode
- expectedRedirectResponseCode or null
for none
-
getExpectedService
public String getExpectedService()
Expected BackendService or BackendBucket resource the given URL should be mapped to.
- Returns:
- value or
null
for none
-
setExpectedService
public TestFailure setExpectedService(String expectedService)
Expected BackendService or BackendBucket resource the given URL should be mapped to.
- Parameters:
expectedService
- expectedService or null
for none
-
getHeaders
public List<UrlMapTestHeader> getHeaders()
HTTP headers of the request.
- Returns:
- value or
null
for none
-
setHeaders
public TestFailure setHeaders(List<UrlMapTestHeader> headers)
HTTP headers of the request.
- Parameters:
headers
- headers or null
for none
-
getHost
public String getHost()
Host portion of the URL.
- Returns:
- value or
null
for none
-
setHost
public TestFailure setHost(String host)
Host portion of the URL.
- Parameters:
host
- host or null
for none
-
getPath
public String getPath()
Path portion including query parameters in the URL.
- Returns:
- value or
null
for none
-
setPath
public TestFailure setPath(String path)
Path portion including query parameters in the URL.
- Parameters:
path
- path or null
for none
-
set
public TestFailure set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public TestFailure clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.