URLMapPathMatcherPathRule constructor

const URLMapPathMatcherPathRule({
  1. Input<URLMapPathMatcherPathRuleCustomErrorResponsePolicy?>? customErrorResponsePolicy,
  2. required Input<List<String>> paths,
  3. Input<URLMapPathMatcherPathRuleRouteAction?>? routeAction,
  4. Input<String?>? service,
  5. 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,
});