URLMapPathMatcher constructor

const URLMapPathMatcher({
  1. Input<URLMapPathMatcherDefaultCustomErrorResponsePolicy?>? defaultCustomErrorResponsePolicy,
  2. Input<URLMapPathMatcherDefaultRouteAction?>? defaultRouteAction,
  3. Input<String?>? defaultService,
  4. Input<URLMapPathMatcherDefaultUrlRedirect?>? defaultUrlRedirect,
  5. Input<String?>? description,
  6. Input<URLMapPathMatcherHeaderAction?>? headerAction,
  7. required Input<String> name,
  8. Input<List<URLMapPathMatcherPathRule>?>? pathRules,
  9. Input<List<URLMapPathMatcherRouteRule>?>? routeRules,
})

Creates a new URLMapPathMatcher. defaultCustomErrorResponsePolicy defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendService or BackendBucket responds with an error. defaultRouteAction defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs defaultService The backend service or backend bucket to use when none of the given paths match. defaultUrlRedirect When none of the specified hostRules match, the request is redirected to a URL specified description An optional description of this resource. Provide this property when you create headerAction Specifies changes to request and response headers that need to take effect for name The name to which this PathMatcher is referred by the HostRule. pathRules The list of path rules. Use this list instead of routeRules when routing based routeRules The list of ordered HTTP route rules. Use this list instead of pathRules when

Implementation

const URLMapPathMatcher({
  this.defaultCustomErrorResponsePolicy,
  this.defaultRouteAction,
  this.defaultService,
  this.defaultUrlRedirect,
  this.description,
  this.headerAction,
  required this.name,
  this.pathRules,
  this.routeRules,
});