URLMapPathMatcherRouteRule constructor
const
URLMapPathMatcherRouteRule({
- Input<
URLMapPathMatcherRouteRuleCustomErrorResponsePolicy?> ? customErrorResponsePolicy, - Input<
URLMapPathMatcherRouteRuleHeaderAction?> ? headerAction, - Input<
List< ? httpFilterConfigs,URLMapPathMatcherRouteRuleHttpFilterConfig> ?> - Input<
List< ? httpFilterMetadatas,URLMapPathMatcherRouteRuleHttpFilterMetadata> ?> - Input<
List< ? matchRules,URLMapPathMatcherRouteRuleMatchRule> ?> - required Input<
int> priority, - Input<
URLMapPathMatcherRouteRuleRouteAction?> ? routeAction, - Input<
String?> ? service, - Input<
URLMapPathMatcherRouteRuleUrlRedirect?> ? urlRedirect,
Creates a new URLMapPathMatcherRouteRule.
customErrorResponsePolicy customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendService or BackendBucket responds with an error.
headerAction Specifies changes to request and response headers that need to take effect for
httpFilterConfigs (Optional, Beta)
httpFilterMetadatas (Optional, Beta)
matchRules The rules for determining a match.
priority For routeRules within a given pathMatcher, priority determines the order
routeAction In response to a matching matchRule, the load balancer performs advanced routing
service The backend service resource to which traffic is
urlRedirect When this rule is matched, the request is redirected to a URL specified by
Implementation
const URLMapPathMatcherRouteRule({
this.customErrorResponsePolicy,
this.headerAction,
this.httpFilterConfigs,
this.httpFilterMetadatas,
this.matchRules,
required this.priority,
this.routeAction,
this.service,
this.urlRedirect,
});