URLMapPathMatcher constructor
- Input<
URLMapPathMatcherDefaultCustomErrorResponsePolicy?> ? defaultCustomErrorResponsePolicy, - Input<
URLMapPathMatcherDefaultRouteAction?> ? defaultRouteAction, - Input<
String?> ? defaultService, - Input<
URLMapPathMatcherDefaultUrlRedirect?> ? defaultUrlRedirect, - Input<
String?> ? description, - Input<
URLMapPathMatcherHeaderAction?> ? headerAction, - required Input<
String> name, - Input<
List< ? pathRules,URLMapPathMatcherPathRule> ?> - Input<
List< ? routeRules,URLMapPathMatcherRouteRule> ?>
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,
});