Package | Description |
---|---|
com.google.api.services.compute.model |
Modifier and Type | Method and Description |
---|---|
CustomErrorResponsePolicyCustomErrorResponseRule |
CustomErrorResponsePolicyCustomErrorResponseRule.clone() |
CustomErrorResponsePolicyCustomErrorResponseRule |
CustomErrorResponsePolicyCustomErrorResponseRule.set(String fieldName,
Object value) |
CustomErrorResponsePolicyCustomErrorResponseRule |
CustomErrorResponsePolicyCustomErrorResponseRule.setMatchResponseCodes(List<String> matchResponseCodes)
Valid values include: - A number between 400 and 599: For example 401 or 503, in which case the
load balancer applies the policy if the error code exactly matches this value.
|
CustomErrorResponsePolicyCustomErrorResponseRule |
CustomErrorResponsePolicyCustomErrorResponseRule.setOverrideResponseCode(Integer overrideResponseCode)
The HTTP status code returned with the response containing the custom error content.
|
CustomErrorResponsePolicyCustomErrorResponseRule |
CustomErrorResponsePolicyCustomErrorResponseRule.setPath(String path)
The full path to a file within backendBucket .
|
Modifier and Type | Method and Description |
---|---|
List<CustomErrorResponsePolicyCustomErrorResponseRule> |
CustomErrorResponsePolicy.getErrorResponseRules()
Specifies rules for returning error responses.
|
Modifier and Type | Method and Description |
---|---|
CustomErrorResponsePolicy |
CustomErrorResponsePolicy.setErrorResponseRules(List<CustomErrorResponsePolicyCustomErrorResponseRule> errorResponseRules)
Specifies rules for returning error responses.
|
Copyright © 2011–2024 Google. All rights reserved.