URLMapPathMatcherPathRule constructor
const
URLMapPathMatcherPathRule({
- Input<
URLMapPathMatcherPathRuleCustomErrorResponsePolicy?> ? customErrorResponsePolicy, - required Input<
List< paths,String> > - Input<
URLMapPathMatcherPathRuleRouteAction?> ? routeAction, - Input<
String?> ? service, - Input<
URLMapPathMatcherPathRuleUrlRedirect?> ? urlRedirect,
Creates a new URLMapPathMatcherPathRule.
customErrorResponsePolicy customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendService or BackendBucket responds with an error.
paths The list of path patterns to match. Each must start with / and the only place a
routeAction In response to a matching path, the load balancer performs advanced routing
service The backend service or backend bucket to use if any of the given paths match.
urlRedirect When a path pattern is matched, the request is redirected to a URL specified
Implementation
const URLMapPathMatcherPathRule({
this.customErrorResponsePolicy,
required this.paths,
this.routeAction,
this.service,
this.urlRedirect,
});