URLMapArgs constructor
- Input<
URLMapDefaultCustomErrorResponsePolicy?> ? defaultCustomErrorResponsePolicy, - Input<
URLMapDefaultRouteAction?> ? defaultRouteAction, - Input<
String?> ? defaultService, - Input<
URLMapDefaultUrlRedirect?> ? defaultUrlRedirect, - Input<
String?> ? deletionPolicy, - Input<
String?> ? description, - Input<
URLMapHeaderAction?> ? headerAction, - Input<
List< ? hostRules,URLMapHostRule> ?> - Input<
String?> ? name, - Input<
List< ? pathMatchers,URLMapPathMatcher> ?> - Input<
String?> ? project, - Input<
List< ? tests,URLMapTest> ?>
Creates a new URLMapArgs.
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 hostRules match. The load balancer performs advanced routing actions
defaultService The backend service or backend bucket to use when none of the given rules match.
defaultUrlRedirect When none of the specified hostRules match, the request is redirected to a URL specified
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
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
hostRules The list of HostRules to use against the URL.
name Name of the resource. Provided by the client when the resource is created. The
pathMatchers The list of named PathMatchers to use against the URL.
project The ID of the project in which the resource belongs.
tests The list of expected URL mapping tests. Request to update this UrlMap will
Implementation
const URLMapArgs({
this.defaultCustomErrorResponsePolicy,
this.defaultRouteAction,
this.defaultService,
this.defaultUrlRedirect,
this.deletionPolicy,
this.description,
this.headerAction,
this.hostRules,
this.name,
this.pathMatchers,
this.project,
this.tests,
});