- 1.63.0 (latest)
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public interface UrlMapTestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getDescription()
public abstract String getDescription()
Description of this test case.
optional string description = 422937596;
Type | Description |
String | The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()
Description of this test case.
optional string description = 422937596;
Type | Description |
ByteString | The bytes for description. |
getExpectedOutputUrl()
public abstract String getExpectedOutputUrl()
The expected output URL evaluated by load balancer containing the scheme, host, path and query parameters. For rules that forward requests to backends, the test passes only when expectedOutputUrl matches the request forwarded by load balancer to backends. For rules with urlRewrite, the test verifies that the forwarded request matches hostRewrite and pathPrefixRewrite in the urlRewrite action. When service is specified, expectedOutputUrl`s scheme is ignored. For rules with urlRedirect, the test passes only if expectedOutputUrl matches the URL in the load balancer's redirect response. If urlRedirect specifies https_redirect, the test passes only if the scheme in expectedOutputUrl is also set to https. If urlRedirect specifies strip_query, the test passes only if expectedOutputUrl does not contain any query parameters. expectedOutputUrl is optional when service is specified.
optional string expected_output_url = 433967384;
Type | Description |
String | The expectedOutputUrl. |
getExpectedOutputUrlBytes()
public abstract ByteString getExpectedOutputUrlBytes()
The expected output URL evaluated by load balancer containing the scheme, host, path and query parameters. For rules that forward requests to backends, the test passes only when expectedOutputUrl matches the request forwarded by load balancer to backends. For rules with urlRewrite, the test verifies that the forwarded request matches hostRewrite and pathPrefixRewrite in the urlRewrite action. When service is specified, expectedOutputUrl`s scheme is ignored. For rules with urlRedirect, the test passes only if expectedOutputUrl matches the URL in the load balancer's redirect response. If urlRedirect specifies https_redirect, the test passes only if the scheme in expectedOutputUrl is also set to https. If urlRedirect specifies strip_query, the test passes only if expectedOutputUrl does not contain any query parameters. expectedOutputUrl is optional when service is specified.
optional string expected_output_url = 433967384;
Type | Description |
ByteString | The bytes for expectedOutputUrl. |
getExpectedRedirectResponseCode()
public abstract int getExpectedRedirectResponseCode()
For rules with urlRedirect, the test passes only if expectedRedirectResponseCode matches the HTTP status code in load balancer's redirect response. expectedRedirectResponseCode cannot be set when service is set.
optional int32 expected_redirect_response_code = 18888047;
Type | Description |
int | The expectedRedirectResponseCode. |
getHeaders(int index)
public abstract UrlMapTestHeader getHeaders(int index)
HTTP headers for this request. If headers contains a host header, then host must also match the header value.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;
Name | Description |
index | int |
Type | Description |
UrlMapTestHeader |
getHeadersCount()
public abstract int getHeadersCount()
HTTP headers for this request. If headers contains a host header, then host must also match the header value.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;
Type | Description |
int |
getHeadersList()
public abstract List<UrlMapTestHeader> getHeadersList()
HTTP headers for this request. If headers contains a host header, then host must also match the header value.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;
Type | Description |
List<UrlMapTestHeader> |
getHeadersOrBuilder(int index)
public abstract UrlMapTestHeaderOrBuilder getHeadersOrBuilder(int index)
HTTP headers for this request. If headers contains a host header, then host must also match the header value.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;
Name | Description |
index | int |
Type | Description |
UrlMapTestHeaderOrBuilder |
getHeadersOrBuilderList()
public abstract List<? extends UrlMapTestHeaderOrBuilder> getHeadersOrBuilderList()
HTTP headers for this request. If headers contains a host header, then host must also match the header value.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;
Type | Description |
List<? extends com.google.cloud.compute.v1.UrlMapTestHeaderOrBuilder> |
getHost()
public abstract String getHost()
Host portion of the URL. If headers contains a host header, then host must also match the header value.
optional string host = 3208616;
Type | Description |
String | The host. |
getHostBytes()
public abstract ByteString getHostBytes()
Host portion of the URL. If headers contains a host header, then host must also match the header value.
optional string host = 3208616;
Type | Description |
ByteString | The bytes for host. |
getPath()
public abstract String getPath()
Path portion of the URL.
optional string path = 3433509;
Type | Description |
String | The path. |
getPathBytes()
public abstract ByteString getPathBytes()
Path portion of the URL.
optional string path = 3433509;
Type | Description |
ByteString | The bytes for path. |
getService()
public abstract String getService()
Expected BackendService or BackendBucket resource the given URL should be mapped to. service cannot be set if expectedRedirectResponseCode is set.
optional string service = 373540533;
Type | Description |
String | The service. |
getServiceBytes()
public abstract ByteString getServiceBytes()
Expected BackendService or BackendBucket resource the given URL should be mapped to. service cannot be set if expectedRedirectResponseCode is set.
optional string service = 373540533;
Type | Description |
ByteString | The bytes for service. |
hasDescription()
public abstract boolean hasDescription()
Description of this test case.
optional string description = 422937596;
Type | Description |
boolean | Whether the description field is set. |
hasExpectedOutputUrl()
public abstract boolean hasExpectedOutputUrl()
The expected output URL evaluated by load balancer containing the scheme, host, path and query parameters. For rules that forward requests to backends, the test passes only when expectedOutputUrl matches the request forwarded by load balancer to backends. For rules with urlRewrite, the test verifies that the forwarded request matches hostRewrite and pathPrefixRewrite in the urlRewrite action. When service is specified, expectedOutputUrl`s scheme is ignored. For rules with urlRedirect, the test passes only if expectedOutputUrl matches the URL in the load balancer's redirect response. If urlRedirect specifies https_redirect, the test passes only if the scheme in expectedOutputUrl is also set to https. If urlRedirect specifies strip_query, the test passes only if expectedOutputUrl does not contain any query parameters. expectedOutputUrl is optional when service is specified.
optional string expected_output_url = 433967384;
Type | Description |
boolean | Whether the expectedOutputUrl field is set. |
hasExpectedRedirectResponseCode()
public abstract boolean hasExpectedRedirectResponseCode()
For rules with urlRedirect, the test passes only if expectedRedirectResponseCode matches the HTTP status code in load balancer's redirect response. expectedRedirectResponseCode cannot be set when service is set.
optional int32 expected_redirect_response_code = 18888047;
Type | Description |
boolean | Whether the expectedRedirectResponseCode field is set. |
hasHost()
public abstract boolean hasHost()
Host portion of the URL. If headers contains a host header, then host must also match the header value.
optional string host = 3208616;
Type | Description |
boolean | Whether the host field is set. |
hasPath()
public abstract boolean hasPath()
Path portion of the URL.
optional string path = 3433509;
Type | Description |
boolean | Whether the path field is set. |
hasService()
public abstract boolean hasService()
Expected BackendService or BackendBucket resource the given URL should be mapped to. service cannot be set if expectedRedirectResponseCode is set.
optional string service = 373540533;
Type | Description |
boolean | Whether the service field is set. |