RewriteResponse constructor

const RewriteResponse({
  1. required Input<bool> dynamicLinks,
  2. required Input<String> function,
  3. required Input<String> functionRegion,
  4. required Input<String> glob,
  5. required Input<String> path,
  6. required Input<String> regex,
  7. required Input<CloudRunRewriteResponse> run,
})

Creates a new RewriteResponse. dynamicLinks The request will be forwarded to Firebase Dynamic Links. function The function to proxy requests to. Must match the exported function name exactly. functionRegion Optional. Specify a Cloud region for rewritten Functions invocations. If not provided, defaults to us-central1. glob The user-supplied glob to match against the request URL path. path The URL path to rewrite the request to. regex The user-supplied RE2 regular expression to match against the request URL path. run The request will be forwarded to Cloud Run.

Implementation

const RewriteResponse({
  required this.dynamicLinks,
  required this.function,
  required this.functionRegion,
  required this.glob,
  required this.path,
  required this.regex,
  required this.run,
});