- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- JSON representation
- JSON representation
- JSON representation
- JSON representation
- JSON representation
- JSON representation
- JSON representation
- JSON representation
- JSON representation
- JSON representation
- JSON representation
- JSON representation
- JSON representation
- JSON representation
- JSON representation
- JSON representation
- JSON representation
- JSON representation
- JSON representation
- JSON representation
- JSON representation
- JSON representation
- JSON representation
- JSON representation
- JSON representation
- JSON representation
- JSON representation
- JSON representation
- JSON representation
- Authorization scopes
- IAM Permissions
- Try it!
Retrieves the list of UrlMap resources available to the specified project in the specified region.
HTTP request
GET https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/urlMaps
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
project |
Project ID for this request. |
region |
Name of the region scoping this request. |
Query parameters
Parameters | |
---|---|
max |
The maximum number of results per page that should be returned. If the number of available results is larger than |
page |
Specifies a page token to use. Set |
filter |
A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either For example, if you are filtering Compute Engine instances, you can exclude instances named The
You can also filter nested fields. For example, you could specify To filter on multiple expressions, provide each separate expression within parentheses. For example:
By default, each expression is an
If you want to use a regular expression, use the
The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use You cannot combine constraints on multiple fields using regular expressions. |
order |
Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using Currently, only sorting by |
return |
Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code. |
Request body
The request body must be empty.
Response body
Contains a list of UrlMap resources.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "kind": string, "id": string, "items": [ { "kind": string, "id": string, "creationTimestamp": string, "name": string, "description": string, "selfLink": string, "hostRules": [ { "description": string, "hosts": [ string ], "pathMatcher": string } ], "pathMatchers": [ { "name": string, "description": string, "defaultService": string, "defaultRouteAction": { "weightedBackendServices": [ { "backendService": string, "weight": integer, "headerAction": { "requestHeadersToRemove": [ string ], "requestHeadersToAdd": [ { "headerName": string, "headerValue": string, "replace": boolean } ], "responseHeadersToRemove": [ string ], "responseHeadersToAdd": [ { "headerName": string, "headerValue": string, "replace": boolean } ] } } ], "urlRewrite": { "pathPrefixRewrite": string, "hostRewrite": string, "pathTemplateRewrite": string }, "timeout": { "seconds": string, "nanos": integer }, "retryPolicy": { "retryConditions": [ string ], "numRetries": integer, "perTryTimeout": { "seconds": string, "nanos": integer } }, "requestMirrorPolicy": { "backendService": string }, "corsPolicy": { "allowOrigins": [ string ], "allowOriginRegexes": [ string ], "allowMethods": [ string ], "allowHeaders": [ string ], "exposeHeaders": [ string ], "maxAge": integer, "allowCredentials": boolean, "disabled": boolean }, "faultInjectionPolicy": { "delay": { "fixedDelay": { "seconds": string, "nanos": integer }, "percentage": number }, "abort": { "httpStatus": integer, "percentage": number } }, "maxStreamDuration": { "seconds": string, "nanos": integer } }, "defaultUrlRedirect": { "hostRedirect": string, "pathRedirect": string, "prefixRedirect": string, "redirectResponseCode": enum, "httpsRedirect": boolean, "stripQuery": boolean }, "pathRules": [ { "service": string, "routeAction": { "weightedBackendServices": [ { "backendService": string, "weight": integer, "headerAction": { "requestHeadersToRemove": [ string ], "requestHeadersToAdd": [ { "headerName": string, "headerValue": string, "replace": boolean } ], "responseHeadersToRemove": [ string ], "responseHeadersToAdd": [ { "headerName": string, "headerValue": string, "replace": boolean } ] } } ], "urlRewrite": { "pathPrefixRewrite": string, "hostRewrite": string, "pathTemplateRewrite": string }, "timeout": { "seconds": string, "nanos": integer }, "retryPolicy": { "retryConditions": [ string ], "numRetries": integer, "perTryTimeout": { "seconds": string, "nanos": integer } }, "requestMirrorPolicy": { "backendService": string }, "corsPolicy": { "allowOrigins": [ string ], "allowOriginRegexes": [ string ], "allowMethods": [ string ], "allowHeaders": [ string ], "exposeHeaders": [ string ], "maxAge": integer, "allowCredentials": boolean, "disabled": boolean }, "faultInjectionPolicy": { "delay": { "fixedDelay": { "seconds": string, "nanos": integer }, "percentage": number }, "abort": { "httpStatus": integer, "percentage": number } }, "maxStreamDuration": { "seconds": string, "nanos": integer } }, "urlRedirect": { "hostRedirect": string, "pathRedirect": string, "prefixRedirect": string, "redirectResponseCode": enum, "httpsRedirect": boolean, "stripQuery": boolean }, "paths": [ string ], "customErrorResponsePolicy": { "errorResponseRules": [ { "matchResponseCodes": [ string ], "path": string, "overrideResponseCode": integer } ], "errorService": string } } ], "routeRules": [ { "priority": integer, "description": string, "matchRules": [ { "prefixMatch": string, "fullPathMatch": string, "regexMatch": string, "ignoreCase": boolean, "headerMatches": [ { "headerName": string, "exactMatch": string, "regexMatch": string, "rangeMatch": { "rangeStart": string, "rangeEnd": string }, "presentMatch": boolean, "prefixMatch": string, "suffixMatch": string, "invertMatch": boolean } ], "queryParameterMatches": [ { "name": string, "presentMatch": boolean, "exactMatch": string, "regexMatch": string } ], "metadataFilters": [ { "filterMatchCriteria": enum, "filterLabels": [ { "name": string, "value": string } ] } ], "pathTemplateMatch": string } ], "service": string, "routeAction": { "weightedBackendServices": [ { "backendService": string, "weight": integer, "headerAction": { "requestHeadersToRemove": [ string ], "requestHeadersToAdd": [ { "headerName": string, "headerValue": string, "replace": boolean } ], "responseHeadersToRemove": [ string ], "responseHeadersToAdd": [ { "headerName": string, "headerValue": string, "replace": boolean } ] } } ], "urlRewrite": { "pathPrefixRewrite": string, "hostRewrite": string, "pathTemplateRewrite": string }, "timeout": { "seconds": string, "nanos": integer }, "retryPolicy": { "retryConditions": [ string ], "numRetries": integer, "perTryTimeout": { "seconds": string, "nanos": integer } }, "requestMirrorPolicy": { "backendService": string }, "corsPolicy": { "allowOrigins": [ string ], "allowOriginRegexes": [ string ], "allowMethods": [ string ], "allowHeaders": [ string ], "exposeHeaders": [ string ], "maxAge": integer, "allowCredentials": boolean, "disabled": boolean }, "faultInjectionPolicy": { "delay": { "fixedDelay": { "seconds": string, "nanos": integer }, "percentage": number }, "abort": { "httpStatus": integer, "percentage": number } }, "maxStreamDuration": { "seconds": string, "nanos": integer } }, "urlRedirect": { "hostRedirect": string, "pathRedirect": string, "prefixRedirect": string, "redirectResponseCode": enum, "httpsRedirect": boolean, "stripQuery": boolean }, "headerAction": { "requestHeadersToRemove": [ string ], "requestHeadersToAdd": [ { "headerName": string, "headerValue": string, "replace": boolean } ], "responseHeadersToRemove": [ string ], "responseHeadersToAdd": [ { "headerName": string, "headerValue": string, "replace": boolean } ] }, "customErrorResponsePolicy": { "errorResponseRules": [ { "matchResponseCodes": [ string ], "path": string, "overrideResponseCode": integer } ], "errorService": string } } ], "headerAction": { "requestHeadersToRemove": [ string ], "requestHeadersToAdd": [ { "headerName": string, "headerValue": string, "replace": boolean } ], "responseHeadersToRemove": [ string ], "responseHeadersToAdd": [ { "headerName": string, "headerValue": string, "replace": boolean } ] }, "defaultCustomErrorResponsePolicy": { "errorResponseRules": [ { "matchResponseCodes": [ string ], "path": string, "overrideResponseCode": integer } ], "errorService": string } } ], "tests": [ { "description": string, "host": string, "path": string, "headers": [ { "name": string, "value": string } ], "service": string, "expectedOutputUrl": string, "expectedRedirectResponseCode": integer } ], "defaultService": string, "defaultRouteAction": { "weightedBackendServices": [ { "backendService": string, "weight": integer, "headerAction": { "requestHeadersToRemove": [ string ], "requestHeadersToAdd": [ { "headerName": string, "headerValue": string, "replace": boolean } ], "responseHeadersToRemove": [ string ], "responseHeadersToAdd": [ { "headerName": string, "headerValue": string, "replace": boolean } ] } } ], "urlRewrite": { "pathPrefixRewrite": string, "hostRewrite": string, "pathTemplateRewrite": string }, "timeout": { "seconds": string, "nanos": integer }, "retryPolicy": { "retryConditions": [ string ], "numRetries": integer, "perTryTimeout": { "seconds": string, "nanos": integer } }, "requestMirrorPolicy": { "backendService": string }, "corsPolicy": { "allowOrigins": [ string ], "allowOriginRegexes": [ string ], "allowMethods": [ string ], "allowHeaders": [ string ], "exposeHeaders": [ string ], "maxAge": integer, "allowCredentials": boolean, "disabled": boolean }, "faultInjectionPolicy": { "delay": { "fixedDelay": { "seconds": string, "nanos": integer }, "percentage": number }, "abort": { "httpStatus": integer, "percentage": number } }, "maxStreamDuration": { "seconds": string, "nanos": integer } }, "defaultUrlRedirect": { "hostRedirect": string, "pathRedirect": string, "prefixRedirect": string, "redirectResponseCode": enum, "httpsRedirect": boolean, "stripQuery": boolean }, "headerAction": { "requestHeadersToRemove": [ string ], "requestHeadersToAdd": [ { "headerName": string, "headerValue": string, "replace": boolean } ], "responseHeadersToRemove": [ string ], "responseHeadersToAdd": [ { "headerName": string, "headerValue": string, "replace": boolean } ] }, "defaultCustomErrorResponsePolicy": { "errorResponseRules": [ { "matchResponseCodes": [ string ], "path": string, "overrideResponseCode": integer } ], "errorService": string }, "fingerprint": string, "region": string } ], "nextPageToken": string, "selfLink": string, "warning": { "code": enum, "message": string, "data": [ { "key": string, "value": string } ] } } |
Fields | |
---|---|
kind |
Type of resource. |
id |
[Output Only] Unique identifier for the resource; defined by the server. |
items[] |
A list of UrlMap resources. |
items[]. |
[Output Only] Type of the resource. Always |
items[]. |
[Output Only] The unique identifier for the resource. This identifier is defined by the server. |
items[]. |
[Output Only] Creation timestamp in RFC3339 text format. |
items[]. |
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression |
items[]. |
An optional description of this resource. Provide this property when you create the resource. |
items[]. |
[Output Only] Server-defined URL for the resource. |
items[]. |
The list of host rules to use against the URL. |
items[]. |
An optional description of this resource. Provide this property when you create the resource. |
items[]. |
The list of host patterns to match. They must be valid hostnames with optional port numbers in the format
|
items[]. |
The name of the |
items[]. |
The list of named |
items[]. |
The name to which this |
items[]. |
An optional description of this resource. Provide this property when you create the resource. |
items[]. |
The full or partial URL to the
defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend.Only one of Authorization requires one or more of the following Google IAM permissions on the specified resource defaultService:
|
items[]. |
Only one of URL maps for classic Application Load Balancers only support the |
items[]. |
A list of weighted backend services to send traffic to when a route match occurs. The weights determine the fraction of traffic that flows to their corresponding After a backend service is identified and before forwarding the request to the backend service, advanced routing actions such as URL rewrites and header transformations are applied depending on additional settings specified in this |
items[]. |
The full or partial URL to the default |
items[]. |
Specifies the fraction of traffic sent to a backend service, computed as The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same backend service as determined by the backend service's session affinity policy. Don't configure session affinity if you're using weighted traffic splitting. If you do, the weighted traffic splitting configuration takes precedence. The value must be from 0 to 1000. |
items[]. |
Specifies changes to request and response headers that need to take effect for the selected
Not supported when the URL map is bound to a target gRPC proxy that has |
items[]. |
A list of header names for headers that need to be removed from the request before forwarding the request to the |
items[]. |
Headers to add to a matching request before forwarding the request to the |
items[]. |
The name of the header. |
items[]. |
The value of the header to add. |
items[]. |
If The default value is |
items[]. |
A list of header names for headers that need to be removed from the response before sending the response back to the client. |
items[]. |
Headers to add the response before sending the response back to the client. |
items[]. |
The name of the header. |
items[]. |
The value of the header to add. |
items[]. |
If The default value is |
items[]. |
The spec to modify the URL of the request, before forwarding the request to the matched service. Not supported when the URL map is bound to a target gRPC proxy that has the |
items[]. |
Before forwarding the request to the selected backend service, the matching portion of the request's path is replaced by The value must be from 1 to 1024 characters. |
items[]. |
Before forwarding the request to the selected service, the request's host header is replaced with contents of The value must be from 1 to 255 characters. |
items[]. |
If specified, the pattern rewrites the URL path (based on the :path header) using the HTTP template syntax. A corresponding pathTemplateMatch must be specified. Any template variables must exist in the pathTemplateMatch field.
For example, a pathTemplateMatch of At least one non-empty Only one of |
items[]. |
Specifies the timeout for the selected route. Timeout is computed from the time the request has been fully processed (known as end-of-stream) up until the response has been processed. Timeout includes all retries. If not specified, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has |
items[]. |
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years |
items[]. |
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 |
items[]. |
Specifies the retry policy associated with this route. |
items[]. |
Specifies one or more conditions when this retry policy applies. Valid values are:
Only the following codes are supported when the URL map is bound to target gRPC proxy that has validateForProxyless field set to true.
|
items[]. |
Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1. |
items[]. |
Specifies a non-zero timeout per retry attempt. If not specified, will use the timeout set in the Not supported when the URL map is bound to a target gRPC proxy that has the |
items[]. |
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years |
items[]. |
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 |
items[]. |
Specifies the policy on how requests intended for the route's backends are shadowed to a separate mirrored backend service. The load balancer does not wait for responses from the shadow service. Before sending traffic to the shadow service, the host / authority header is suffixed with Not supported when the URL map is bound to a target gRPC proxy that has the |
items[]. |
The full or partial URL to the The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service. |
items[]. |
The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. Not supported when the URL map is bound to a target gRPC proxy. |
items[]. |
Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in |
items[]. |
Specifies a regular expression that matches allowed origins. For more information, see regular expression syntax . An origin is allowed if it matches either an item in Regular expressions can only be used when the loadBalancingScheme is set to |
items[]. |
Specifies the content for the |
items[]. |
Specifies the content for the |
items[]. |
Specifies the content for the |
items[]. |
Specifies how long results of a preflight request can be cached in seconds. This field translates to the |
items[]. |
In response to a preflight request, setting this to Default is |
items[]. |
If |
items[]. |
The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. |
items[]. |
The specification for how client requests are delayed as part of fault injection, before being sent to a backend service. |
items[]. |
Specifies the value of the fixed delay interval. |
items[]. |
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years |
items[]. |
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 |
items[]. |
The percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection. The value must be from 0.0 to 100.0 inclusive. |
items[]. |
The specification for how client requests are aborted as part of fault injection. |
items[]. |
The HTTP status code used to abort the request. The value must be from 200 to 599 inclusive. For gRPC protocol, the gRPC status code is mapped to HTTP status code according to this mapping table. HTTP status 200 is mapped to gRPC status UNKNOWN. Injecting an OK status is currently not supported by Traffic Director. |
items[]. |
The percentage of traffic for connections, operations, or requests that is aborted as part of fault injection. The value must be from 0.0 to 100.0 inclusive. |
items[]. |
Specifies the maximum duration (timeout) for streams on the selected route. Unlike the If not specified, this field uses the maximum This field is only allowed if the Url map is used with backend services with |
items[]. |
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years |
items[]. |
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 |
items[]. |
When none of the specified Only one of Not supported when the URL map is bound to a target gRPC proxy. |
items[]. |
The host that is used in the redirect response instead of the one that was supplied in the request. The value must be from 1 to 255 characters. |
items[]. |
The path that is used in the redirect response instead of the one that was supplied in the request.
The value must be from 1 to 1024 characters. |
items[]. |
The prefix that replaces the
The value must be from 1 to 1024 characters. |
items[]. |
The HTTP Status code to use for this RedirectAction. Supported values are:
|
items[]. |
If set to This must only be set for URL maps used in The default is set to |
items[]. |
If set to The default is set to |
items[]. |
The list of path rules. Use this list instead of For example: a Within a given |
items[]. |
The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If Only one of |
items[]. |
In response to a matching Only one of URL maps for classic Application Load Balancers only support the |
items[]. |
A list of weighted backend services to send traffic to when a route match occurs. The weights determine the fraction of traffic that flows to their corresponding After a backend service is identified and before forwarding the request to the backend service, advanced routing actions such as URL rewrites and header transformations are applied depending on additional settings specified in this |
items[]. |
The full or partial URL to the default |
items[]. |
Specifies the fraction of traffic sent to a backend service, computed as The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same backend service as determined by the backend service's session affinity policy. Don't configure session affinity if you're using weighted traffic splitting. If you do, the weighted traffic splitting configuration takes precedence. The value must be from 0 to 1000. |
items[]. |
Specifies changes to request and response headers that need to take effect for the selected
Not supported when the URL map is bound to a target gRPC proxy that has |
items[]. |
A list of header names for headers that need to be removed from the request before forwarding the request to the |
items[]. |
Headers to add to a matching request before forwarding the request to the |
items[]. |
The name of the header. |
items[]. |
The value of the header to add. |
items[]. |
If The default value is |
items[]. |
A list of header names for headers that need to be removed from the response before sending the response back to the client. |
items[]. |
Headers to add the response before sending the response back to the client. |
items[]. |
The name of the header. |
items[]. |
The value of the header to add. |
items[]. |
If The default value is |
items[]. |
The spec to modify the URL of the request, before forwarding the request to the matched service. Not supported when the URL map is bound to a target gRPC proxy that has the |
items[]. |
Before forwarding the request to the selected backend service, the matching portion of the request's path is replaced by The value must be from 1 to 1024 characters. |
items[]. |
Before forwarding the request to the selected service, the request's host header is replaced with contents of The value must be from 1 to 255 characters. |
items[]. |
If specified, the pattern rewrites the URL path (based on the :path header) using the HTTP template syntax. A corresponding pathTemplateMatch must be specified. Any template variables must exist in the pathTemplateMatch field.
For example, a pathTemplateMatch of At least one non-empty Only one of |
items[]. |
Specifies the timeout for the selected route. Timeout is computed from the time the request has been fully processed (known as end-of-stream) up until the response has been processed. Timeout includes all retries. If not specified, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has |
items[]. |
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years |
items[]. |
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 |
items[]. |
Specifies the retry policy associated with this route. |
items[]. |
Specifies one or more conditions when this retry policy applies. Valid values are:
Only the following codes are supported when the URL map is bound to target gRPC proxy that has validateForProxyless field set to true.
|
items[]. |
Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1. |
items[]. |
Specifies a non-zero timeout per retry attempt. If not specified, will use the timeout set in the Not supported when the URL map is bound to a target gRPC proxy that has the |
items[]. |
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years |
items[]. |
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 |
items[]. |
Specifies the policy on how requests intended for the route's backends are shadowed to a separate mirrored backend service. The load balancer does not wait for responses from the shadow service. Before sending traffic to the shadow service, the host / authority header is suffixed with Not supported when the URL map is bound to a target gRPC proxy that has the |
items[]. |
The full or partial URL to the The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service. |
items[]. |
The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. Not supported when the URL map is bound to a target gRPC proxy. |
items[]. |
Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in |
items[]. |
Specifies a regular expression that matches allowed origins. For more information, see regular expression syntax . An origin is allowed if it matches either an item in Regular expressions can only be used when the loadBalancingScheme is set to |
items[]. |
Specifies the content for the |
items[]. |
Specifies the content for the |
items[]. |
Specifies the content for the |
items[]. |
Specifies how long results of a preflight request can be cached in seconds. This field translates to the |
items[]. |
In response to a preflight request, setting this to Default is |
items[]. |
If |
items[]. |
The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. |
items[]. |
The specification for how client requests are delayed as part of fault injection, before being sent to a backend service. |
items[]. |
Specifies the value of the fixed delay interval. |
items[]. |
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years |
items[]. |
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 |
items[]. |
The percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection. The value must be from 0.0 to 100.0 inclusive. |
items[]. |
The specification for how client requests are aborted as part of fault injection. |
items[]. |
The HTTP status code used to abort the request. The value must be from 200 to 599 inclusive. For gRPC protocol, the gRPC status code is mapped to HTTP status code according to this mapping table. HTTP status 200 is mapped to gRPC status UNKNOWN. Injecting an OK status is currently not supported by Traffic Director. |
items[]. |
The percentage of traffic for connections, operations, or requests that is aborted as part of fault injection. The value must be from 0.0 to 100.0 inclusive. |
items[]. |
Specifies the maximum duration (timeout) for streams on the selected route. Unlike the If not specified, this field uses the maximum This field is only allowed if the Url map is used with backend services with |
items[]. |
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years |
items[]. |
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 |
items[]. |
When a path pattern is matched, the request is redirected to a URL specified by Only one of Not supported when the URL map is bound to a target gRPC proxy. |
items[]. |
The host that is used in the redirect response instead of the one that was supplied in the request. The value must be from 1 to 255 characters. |
items[]. |
The path that is used in the redirect response instead of the one that was supplied in the request.
The value must be from 1 to 1024 characters. |
items[]. |
The prefix that replaces the
The value must be from 1 to 1024 characters. |
items[]. |
The HTTP Status code to use for this RedirectAction. Supported values are:
|
items[]. |
If set to This must only be set for URL maps used in The default is set to |
items[]. |
If set to The default is set to |
items[]. |
The list of path patterns to match. Each must start with |
items[]. |
If a policy for an error code is not configured for the For example, consider a UrlMap with the following configuration:
If the request is for
|
items[]. |
Specifies rules for returning error responses. In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority. For example, assume that you configure a rule for |
items[]. |
Valid values include:
Values must be unique within matchResponseCodes and across all |
items[]. |
The full path to a file within
If the file is not available in The value must be from |
items[]. |
The HTTP status code returned with the response containing the custom error content. If |
items[]. |
The full or partial URL to the
If If
|
items[]. |
The list of HTTP route rules. Use this list instead of Within a given |
items[]. |
For You cannot configure two or more routeRules with the same priority. Priority for each rule must be set to a number from 0 to 2147483647 inclusive. Priority numbers can have gaps, which enable you to add or remove rules in the future without affecting the rest of the rules. For example, 1, 2, 3, 4, 5, 9, 12, 16 is a valid series of priority numbers to which you could add rules numbered from 6 to 8, 10 to 11, and 13 to 15 in the future without any impact on existing rules. |
items[]. |
The short description conveying the intent of this The description can have a maximum length of 1024 characters. |
items[]. |
The list of criteria for matching attributes of a request to this |
items[]. |
For satisfying the The value must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. |
items[]. |
For satisfying the
Only one of prefixMatch, fullPathMatch or regexMatch must be specified. |
items[]. |
For satisfying the Only one of Regular expressions can only be used when the loadBalancingScheme is set to |
items[]. |
Specifies that The default value is false. ignoreCase must not be used with regexMatch. Not supported when the URL map is bound to a target gRPC proxy. |
items[]. |
Specifies a list of header match criteria, all of which must match corresponding headers in the request. |
items[]. |
The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method". When the URL map is bound to a target gRPC proxy that has the |
items[]. |
The value should exactly match contents of Only one of |
items[]. |
The value of the header must match the regular expression specified in For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of Regular expressions can only be used when the loadBalancingScheme is set to |
items[]. |
The header value must be an integer and its value must be in the range specified in For example for a range [-5, 0]
Only one of
|
items[]. |
The start of the range (inclusive) in signed long integer format. |
items[]. |
The end of the range (exclusive) in signed long integer format. |
items[]. |
A header with the contents of Only one of |
items[]. |
The value of the header must start with the contents of Only one of |
items[]. |
The value of the header must end with the contents of Only one of |
items[]. |
If set to The default setting is |
items[]. |
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy. |
items[]. |
The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails. |
items[]. |
Specifies that the Only one of |
items[]. |
The Only one of |
items[]. |
The Only one of Regular expressions can only be used when the loadBalancingScheme is set to |
items[]. |
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each
Not supported when the URL map is bound to a target gRPC proxy that has |
items[]. |
Specifies how individual filter label matches within the list of Supported values are:
|
items[]. |
The list of label value pairs that must match labels in the provided metadata based on This list must not be empty and can have at the most 64 entries. |
items[]. |
Name of metadata label. The name can have a maximum length of 1024 characters and must be at least 1 character long. |
items[]. |
The value of the label must match the specified value. value can have a maximum length of 1024 characters. |
items[]. |
If specified, the route is a pattern match expression that must match the :path header once the query string is removed. A pattern match allows you to match
Precisely one of |
items[]. |
The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If Only one of |
items[]. |
In response to a matching Only one of URL maps for classic Application Load Balancers only support the |
items[]. |
A list of weighted backend services to send traffic to when a route match occurs. The weights determine the fraction of traffic that flows to their corresponding After a backend service is identified and before forwarding the request to the backend service, advanced routing actions such as URL rewrites and header transformations are applied depending on additional settings specified in this |
items[]. |
The full or partial URL to the default |
items[]. |
Specifies the fraction of traffic sent to a backend service, computed as The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same backend service as determined by the backend service's session affinity policy. Don't configure session affinity if you're using weighted traffic splitting. If you do, the weighted traffic splitting configuration takes precedence. The value must be from 0 to 1000. |
items[]. |
Specifies changes to request and response headers that need to take effect for the selected
Not supported when the URL map is bound to a target gRPC proxy that has |
items[]. |
A list of header names for headers that need to be removed from the request before forwarding the request to the |
items[]. |
Headers to add to a matching request before forwarding the request to the |
items[]. |
The name of the header. |
items[]. |
The value of the header to add. |
items[]. |
If The default value is |
items[]. |
A list of header names for headers that need to be removed from the response before sending the response back to the client. |
items[]. |
Headers to add the response before sending the response back to the client. |
items[]. |
The name of the header. |
items[]. |
The value of the header to add. |
items[]. |
If The default value is |
items[]. |
The spec to modify the URL of the request, before forwarding the request to the matched service. Not supported when the URL map is bound to a target gRPC proxy that has the |
items[]. |
Before forwarding the request to the selected backend service, the matching portion of the request's path is replaced by The value must be from 1 to 1024 characters. |
items[]. |
Before forwarding the request to the selected service, the request's host header is replaced with contents of The value must be from 1 to 255 characters. |
items[]. |
If specified, the pattern rewrites the URL path (based on the :path header) using the HTTP template syntax. A corresponding pathTemplateMatch must be specified. Any template variables must exist in the pathTemplateMatch field.
For example, a pathTemplateMatch of At least one non-empty Only one of |
items[]. |
Specifies the timeout for the selected route. Timeout is computed from the time the request has been fully processed (known as end-of-stream) up until the response has been processed. Timeout includes all retries. If not specified, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has |
items[]. |
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years |
items[]. |
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 |
items[]. |
Specifies the retry policy associated with this route. |
items[]. |
Specifies one or more conditions when this retry policy applies. Valid values are:
Only the following codes are supported when the URL map is bound to target gRPC proxy that has validateForProxyless field set to true.
|
items[]. |
Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1. |
items[]. |
Specifies a non-zero timeout per retry attempt. If not specified, will use the timeout set in the Not supported when the URL map is bound to a target gRPC proxy that has the |
items[]. |
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years |
items[]. |
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 |
items[]. |
Specifies the policy on how requests intended for the route's backends are shadowed to a separate mirrored backend service. The load balancer does not wait for responses from the shadow service. Before sending traffic to the shadow service, the host / authority header is suffixed with Not supported when the URL map is bound to a target gRPC proxy that has the |
items[]. |
The full or partial URL to the The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service. |
items[]. |
The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. Not supported when the URL map is bound to a target gRPC proxy. |
items[]. |
Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in |
items[]. |
Specifies a regular expression that matches allowed origins. For more information, see regular expression syntax . An origin is allowed if it matches either an item in Regular expressions can only be used when the loadBalancingScheme is set to |
items[]. |
Specifies the content for the |
items[]. |
Specifies the content for the |
items[]. |
Specifies the content for the |
items[]. |
Specifies how long results of a preflight request can be cached in seconds. This field translates to the |
items[]. |
In response to a preflight request, setting this to Default is |
items[]. |
If |
items[]. |
The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. |
items[]. |
The specification for how client requests are delayed as part of fault injection, before being sent to a backend service. |
items[]. |
Specifies the value of the fixed delay interval. |
items[]. |
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years |
items[]. |
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 |
items[]. |
The percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection. The value must be from 0.0 to 100.0 inclusive. |
items[]. |
The specification for how client requests are aborted as part of fault injection. |
items[]. |
The HTTP status code used to abort the request. The value must be from 200 to 599 inclusive. For gRPC protocol, the gRPC status code is mapped to HTTP status code according to this mapping table. HTTP status 200 is mapped to gRPC status UNKNOWN. Injecting an OK status is currently not supported by Traffic Director. |
items[]. |
The percentage of traffic for connections, operations, or requests that is aborted as part of fault injection. The value must be from 0.0 to 100.0 inclusive. |
items[]. |
Specifies the maximum duration (timeout) for streams on the selected route. Unlike the If not specified, this field uses the maximum This field is only allowed if the Url map is used with backend services with |
items[]. |
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years |
items[]. |
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 |
items[]. |
When this rule is matched, the request is redirected to a URL specified by Only one of Not supported when the URL map is bound to a target gRPC proxy. |
items[]. |
The host that is used in the redirect response instead of the one that was supplied in the request. The value must be from 1 to 255 characters. |
items[]. |
The path that is used in the redirect response instead of the one that was supplied in the request.
The value must be from 1 to 1024 characters. |
items[]. |
The prefix that replaces the
The value must be from 1 to 1024 characters. |
items[]. |
The HTTP Status code to use for this RedirectAction. Supported values are:
|
items[]. |
If set to This must only be set for URL maps used in The default is set to |
items[]. |
If set to The default is set to |
items[]. |
Specifies changes to request and response headers that need to take effect for the selected The
Not supported when the URL map is bound to a target gRPC proxy that has |
items[]. |
A list of header names for headers that need to be removed from the request before forwarding the request to the |
items[]. |
Headers to add to a matching request before forwarding the request to the |
items[]. |
The name of the header. |
items[]. |
The value of the header to add. |
items[]. |
If The default value is |
items[]. |
A list of header names for headers that need to be removed from the response before sending the response back to the client. |
items[]. |
Headers to add the response before sending the response back to the client. |
items[]. |
The name of the header. |
items[]. |
The value of the header to add. |
items[]. |
If The default value is |
items[]. |
If a policy for an error code is not configured for the For example, consider a UrlMap with the following configuration:
If the request is for When used in conjunction with
|
items[]. |
Specifies rules for returning error responses. In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority. For example, assume that you configure a rule for |
items[]. |
Valid values include:
Values must be unique within matchResponseCodes and across all |
items[]. |
The full path to a file within
If the file is not available in The value must be from |
items[]. |
The HTTP status code returned with the response containing the custom error content. If |
items[]. |
The full or partial URL to the
If If
|
items[]. |
Specifies changes to request and response headers that need to take effect for the selected backend service. HeaderAction specified here are applied after the matching
Not supported when the URL map is bound to a target gRPC proxy that has |
items[]. |
A list of header names for headers that need to be removed from the request before forwarding the request to the |
items[]. |
Headers to add to a matching request before forwarding the request to the |
items[]. |
The name of the header. |
items[]. |
The value of the header to add. |
items[]. |
If The default value is |
items[]. |
A list of header names for headers that need to be removed from the response before sending the response back to the client. |
items[]. |
Headers to add the response before sending the response back to the client. |
items[]. |
The name of the header. |
items[]. |
The value of the header to add. |
items[]. |
If The default value is |
items[]. |
This policy takes effect at the For example, consider a UrlMap with the following configuration:
If the request is for When used in conjunction with
|
items[]. |
Specifies rules for returning error responses. In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority. For example, assume that you configure a rule for |
items[]. |
Valid values include:
Values must be unique within matchResponseCodes and across all |
items[]. |
The full path to a file within
If the file is not available in The value must be from |
items[]. |
The HTTP status code returned with the response containing the custom error content. If |
items[]. |
The full or partial URL to the
If If
|
items[]. |
The list of expected URL mapping tests. Request to update the Not supported when the URL map is bound to a target gRPC proxy that has |
items[]. |
Description of this test case. |
items[]. |
Host portion of the URL. If |
items[]. |
Path portion of the URL. |
items[]. |
HTTP headers for this request. If |
items[]. |
Header name. |
items[]. |
Header value. |
items[]. |
Expected The |
items[]. |
The expected output URL evaluated by the load balancer containing the scheme, host, path and query parameters. For rules that forward requests to backends, the test passes only when For rules with
|
items[]. |
For rules with
|
items[]. |
The full or partial URL of the Only one of
|
items[]. |
Only one of URL maps for classic Application Load Balancers only support the
|
items[]. |
A list of weighted backend services to send traffic to when a route match occurs. The weights determine the fraction of traffic that flows to their corresponding After a backend service is identified and before forwarding the request to the backend service, advanced routing actions such as URL rewrites and header transformations are applied depending on additional settings specified in this |
items[]. |
The full or partial URL to the default |
items[]. |
Specifies the fraction of traffic sent to a backend service, computed as The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same backend service as determined by the backend service's session affinity policy. Don't configure session affinity if you're using weighted traffic splitting. If you do, the weighted traffic splitting configuration takes precedence. The value must be from 0 to 1000. |
items[]. |
Specifies changes to request and response headers that need to take effect for the selected
Not supported when the URL map is bound to a target gRPC proxy that has |
items[]. |
A list of header names for headers that need to be removed from the request before forwarding the request to the |
items[]. |
Headers to add to a matching request before forwarding the request to the |
items[]. |
The name of the header. |
items[]. |
The value of the header to add. |
items[]. |
If The default value is |
items[]. |
A list of header names for headers that need to be removed from the response before sending the response back to the client. |
items[]. |
Headers to add the response before sending the response back to the client. |
items[]. |
The name of the header. |
items[]. |
The value of the header to add. |
items[]. |
If The default value is |
items[]. |
The spec to modify the URL of the request, before forwarding the request to the matched service. Not supported when the URL map is bound to a target gRPC proxy that has the |
items[]. |
Before forwarding the request to the selected backend service, the matching portion of the request's path is replaced by The value must be from 1 to 1024 characters. |
items[]. |
Before forwarding the request to the selected service, the request's host header is replaced with contents of The value must be from 1 to 255 characters. |
items[]. |
If specified, the pattern rewrites the URL path (based on the :path header) using the HTTP template syntax. A corresponding pathTemplateMatch must be specified. Any template variables must exist in the pathTemplateMatch field.
For example, a pathTemplateMatch of At least one non-empty Only one of |
items[]. |
Specifies the timeout for the selected route. Timeout is computed from the time the request has been fully processed (known as end-of-stream) up until the response has been processed. Timeout includes all retries. If not specified, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has |
items[]. |
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years |
items[]. |
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 |
items[]. |
Specifies the retry policy associated with this route. |
items[]. |
Specifies one or more conditions when this retry policy applies. Valid values are:
Only the following codes are supported when the URL map is bound to target gRPC proxy that has validateForProxyless field set to true.
|
items[]. |
Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1. |
items[]. |
Specifies a non-zero timeout per retry attempt. If not specified, will use the timeout set in the Not supported when the URL map is bound to a target gRPC proxy that has the |
items[]. |
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years |
items[]. |
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 |
items[]. |
Specifies the policy on how requests intended for the route's backends are shadowed to a separate mirrored backend service. The load balancer does not wait for responses from the shadow service. Before sending traffic to the shadow service, the host / authority header is suffixed with Not supported when the URL map is bound to a target gRPC proxy that has the |
items[]. |
The full or partial URL to the The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service. |
items[]. |
The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. Not supported when the URL map is bound to a target gRPC proxy. |
items[]. |
Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in |
items[]. |
Specifies a regular expression that matches allowed origins. For more information, see regular expression syntax . An origin is allowed if it matches either an item in Regular expressions can only be used when the loadBalancingScheme is set to |
items[]. |
Specifies the content for the |
items[]. |
Specifies the content for the |
items[]. |
Specifies the content for the |
items[]. |
Specifies how long results of a preflight request can be cached in seconds. This field translates to the |
items[]. |
In response to a preflight request, setting this to Default is |
items[]. |
If |
items[]. |
The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. |
items[]. |
The specification for how client requests are delayed as part of fault injection, before being sent to a backend service. |
items[]. |
Specifies the value of the fixed delay interval. |
items[]. |
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years |
items[]. |
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 |
items[]. |
The percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection. The value must be from 0.0 to 100.0 inclusive. |
items[]. |
The specification for how client requests are aborted as part of fault injection. |
items[]. |
The HTTP status code used to abort the request. The value must be from 200 to 599 inclusive. For gRPC protocol, the gRPC status code is mapped to HTTP status code according to this mapping table. HTTP status 200 is mapped to gRPC status UNKNOWN. Injecting an OK status is currently not supported by Traffic Director. |
items[]. |
The percentage of traffic for connections, operations, or requests that is aborted as part of fault injection. The value must be from 0.0 to 100.0 inclusive. |
items[]. |
Specifies the maximum duration (timeout) for streams on the selected route. Unlike the If not specified, this field uses the maximum This field is only allowed if the Url map is used with backend services with |
items[]. |
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years |
items[]. |
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 |
items[]. |
When none of the specified Only one of Not supported when the URL map is bound to a target gRPC proxy. |
items[]. |
The host that is used in the redirect response instead of the one that was supplied in the request. The value must be from 1 to 255 characters. |
items[]. |
The path that is used in the redirect response instead of the one that was supplied in the request.
The value must be from 1 to 1024 characters. |
items[]. |
The prefix that replaces the
The value must be from 1 to 1024 characters. |
items[]. |
The HTTP Status code to use for this RedirectAction. Supported values are:
|
items[]. |
If set to This must only be set for URL maps used in The default is set to |
items[]. |
If set to The default is set to |
items[]. |
Specifies changes to request and response headers that need to take effect for the selected The
Not supported when the URL map is bound to a target gRPC proxy that has |
items[]. |
A list of header names for headers that need to be removed from the request before forwarding the request to the |
items[]. |
Headers to add to a matching request before forwarding the request to the |
items[]. |
The name of the header. |
items[]. |
The value of the header to add. |
items[]. |
If The default value is |
items[]. |
A list of header names for headers that need to be removed from the response before sending the response back to the client. |
items[]. |
Headers to add the response before sending the response back to the client. |
items[]. |
The name of the header. |
items[]. |
The value of the header to add. |
items[]. |
If The default value is |
items[]. |
This policy takes effect at the load balancer level and applies only when no policy has been defined for the error code at lower levels like PathMatcher, RouteRule and PathRule within this UrlMap. For example, consider a UrlMap with the following configuration:
If a request for When used in conjunction with
|
items[]. |
Specifies rules for returning error responses. In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority. For example, assume that you configure a rule for |
items[]. |
Valid values include:
Values must be unique within matchResponseCodes and across all |
items[]. |
The full path to a file within
If the file is not available in The value must be from |
items[]. |
The HTTP status code returned with the response containing the custom error content. If |
items[]. |
The full or partial URL to the
If If
|
items[]. |
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field is ignored when inserting a To see the latest fingerprint, make a A base64-encoded string. |
items[]. |
[Output Only] URL of the region where the regional URL map resides. This field is not applicable to global URL maps. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. |
next |
[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than |
self |
[Output Only] Server-defined URL for this resource. |
warning |
[Output Only] Informational warning message. |
warning. |
[Output Only] A warning code, if applicable. For example, Compute Engine returns |
warning. |
[Output Only] A human-readable description of the warning code. |
warning. |
[Output Only] Metadata about this warning in "data": [ { "key": "scope", "value": "zones/us-east1-d" } |
warning. |
[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be |
warning. |
[Output Only] A warning data value corresponding to the key. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/compute.readonly
https://www.googleapis.com/auth/compute
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
In addition to any permissions specified on the fields above, authorization requires one or more of the following IAM permissions:
compute.regionUrlMaps.list
To find predefined roles that contain those permissions, see Compute Engine IAM Roles.