Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.firebasehosting/v1beta1.getVersion
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Get the specified version that has been created for the specified site. This can include versions that were created for the default live
channel or for any active preview channels for the specified site.
Using getVersion
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVersion(args: GetVersionArgs, opts?: InvokeOptions): Promise<GetVersionResult>
function getVersionOutput(args: GetVersionOutputArgs, opts?: InvokeOptions): Output<GetVersionResult>
def get_version(project: Optional[str] = None,
site_id: Optional[str] = None,
version_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVersionResult
def get_version_output(project: Optional[pulumi.Input[str]] = None,
site_id: Optional[pulumi.Input[str]] = None,
version_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVersionResult]
func LookupVersion(ctx *Context, args *LookupVersionArgs, opts ...InvokeOption) (*LookupVersionResult, error)
func LookupVersionOutput(ctx *Context, args *LookupVersionOutputArgs, opts ...InvokeOption) LookupVersionResultOutput
> Note: This function is named LookupVersion
in the Go SDK.
public static class GetVersion
{
public static Task<GetVersionResult> InvokeAsync(GetVersionArgs args, InvokeOptions? opts = null)
public static Output<GetVersionResult> Invoke(GetVersionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVersionResult> getVersion(GetVersionArgs args, InvokeOptions options)
public static Output<GetVersionResult> getVersion(GetVersionArgs args, InvokeOptions options)
fn::invoke:
function: google-native:firebasehosting/v1beta1:getVersion
arguments:
# arguments dictionary
The following arguments are supported:
- site_
id This property is required. str - version_
id This property is required. str - project str
getVersion Result
The following output properties are available:
- Config
Pulumi.
Google Native. Firebase Hosting. V1Beta1. Outputs. Serving Config Response - The configuration for the behavior of the site. This configuration exists in the
firebase.json
file. - Create
Time string - The time at which the version was created.
- Create
User Pulumi.Google Native. Firebase Hosting. V1Beta1. Outputs. Acting User Response - Identifies the user who created the version.
- Delete
Time string - The time at which the version was
DELETED
. - Delete
User Pulumi.Google Native. Firebase Hosting. V1Beta1. Outputs. Acting User Response - Identifies the user who
DELETED
the version. - File
Count string - The total number of files associated with the version. This value is calculated after a version is
FINALIZED
. - Finalize
Time string - The time at which the version was
FINALIZED
. - Finalize
User Pulumi.Google Native. Firebase Hosting. V1Beta1. Outputs. Acting User Response - Identifies the user who
FINALIZED
the version. - Labels Dictionary<string, string>
- The labels used for extra metadata and/or filtering.
- Name string
- The fully-qualified resource name for the version, in the format: sites/ SITE_ID/versions/VERSION_ID This name is provided in the response body when you call
CreateVersion
. - Status string
- The deploy status of the version. For a successful deploy, call
CreateVersion
to make a new version (CREATED
status), upload all desired files to the version, then update the version to theFINALIZED
status. Note that if you leave the version in theCREATED
state for more than 12 hours, the system will automatically mark the version asABANDONED
. You can also change the status of a version toDELETED
by callingDeleteVersion
. - Version
Bytes string - The total stored bytesize of the version. This value is calculated after a version is
FINALIZED
.
- Config
Serving
Config Response - The configuration for the behavior of the site. This configuration exists in the
firebase.json
file. - Create
Time string - The time at which the version was created.
- Create
User ActingUser Response - Identifies the user who created the version.
- Delete
Time string - The time at which the version was
DELETED
. - Delete
User ActingUser Response - Identifies the user who
DELETED
the version. - File
Count string - The total number of files associated with the version. This value is calculated after a version is
FINALIZED
. - Finalize
Time string - The time at which the version was
FINALIZED
. - Finalize
User ActingUser Response - Identifies the user who
FINALIZED
the version. - Labels map[string]string
- The labels used for extra metadata and/or filtering.
- Name string
- The fully-qualified resource name for the version, in the format: sites/ SITE_ID/versions/VERSION_ID This name is provided in the response body when you call
CreateVersion
. - Status string
- The deploy status of the version. For a successful deploy, call
CreateVersion
to make a new version (CREATED
status), upload all desired files to the version, then update the version to theFINALIZED
status. Note that if you leave the version in theCREATED
state for more than 12 hours, the system will automatically mark the version asABANDONED
. You can also change the status of a version toDELETED
by callingDeleteVersion
. - Version
Bytes string - The total stored bytesize of the version. This value is calculated after a version is
FINALIZED
.
- config
Serving
Config Response - The configuration for the behavior of the site. This configuration exists in the
firebase.json
file. - create
Time String - The time at which the version was created.
- create
User ActingUser Response - Identifies the user who created the version.
- delete
Time String - The time at which the version was
DELETED
. - delete
User ActingUser Response - Identifies the user who
DELETED
the version. - file
Count String - The total number of files associated with the version. This value is calculated after a version is
FINALIZED
. - finalize
Time String - The time at which the version was
FINALIZED
. - finalize
User ActingUser Response - Identifies the user who
FINALIZED
the version. - labels Map<String,String>
- The labels used for extra metadata and/or filtering.
- name String
- The fully-qualified resource name for the version, in the format: sites/ SITE_ID/versions/VERSION_ID This name is provided in the response body when you call
CreateVersion
. - status String
- The deploy status of the version. For a successful deploy, call
CreateVersion
to make a new version (CREATED
status), upload all desired files to the version, then update the version to theFINALIZED
status. Note that if you leave the version in theCREATED
state for more than 12 hours, the system will automatically mark the version asABANDONED
. You can also change the status of a version toDELETED
by callingDeleteVersion
. - version
Bytes String - The total stored bytesize of the version. This value is calculated after a version is
FINALIZED
.
- config
Serving
Config Response - The configuration for the behavior of the site. This configuration exists in the
firebase.json
file. - create
Time string - The time at which the version was created.
- create
User ActingUser Response - Identifies the user who created the version.
- delete
Time string - The time at which the version was
DELETED
. - delete
User ActingUser Response - Identifies the user who
DELETED
the version. - file
Count string - The total number of files associated with the version. This value is calculated after a version is
FINALIZED
. - finalize
Time string - The time at which the version was
FINALIZED
. - finalize
User ActingUser Response - Identifies the user who
FINALIZED
the version. - labels {[key: string]: string}
- The labels used for extra metadata and/or filtering.
- name string
- The fully-qualified resource name for the version, in the format: sites/ SITE_ID/versions/VERSION_ID This name is provided in the response body when you call
CreateVersion
. - status string
- The deploy status of the version. For a successful deploy, call
CreateVersion
to make a new version (CREATED
status), upload all desired files to the version, then update the version to theFINALIZED
status. Note that if you leave the version in theCREATED
state for more than 12 hours, the system will automatically mark the version asABANDONED
. You can also change the status of a version toDELETED
by callingDeleteVersion
. - version
Bytes string - The total stored bytesize of the version. This value is calculated after a version is
FINALIZED
.
- config
Serving
Config Response - The configuration for the behavior of the site. This configuration exists in the
firebase.json
file. - create_
time str - The time at which the version was created.
- create_
user ActingUser Response - Identifies the user who created the version.
- delete_
time str - The time at which the version was
DELETED
. - delete_
user ActingUser Response - Identifies the user who
DELETED
the version. - file_
count str - The total number of files associated with the version. This value is calculated after a version is
FINALIZED
. - finalize_
time str - The time at which the version was
FINALIZED
. - finalize_
user ActingUser Response - Identifies the user who
FINALIZED
the version. - labels Mapping[str, str]
- The labels used for extra metadata and/or filtering.
- name str
- The fully-qualified resource name for the version, in the format: sites/ SITE_ID/versions/VERSION_ID This name is provided in the response body when you call
CreateVersion
. - status str
- The deploy status of the version. For a successful deploy, call
CreateVersion
to make a new version (CREATED
status), upload all desired files to the version, then update the version to theFINALIZED
status. Note that if you leave the version in theCREATED
state for more than 12 hours, the system will automatically mark the version asABANDONED
. You can also change the status of a version toDELETED
by callingDeleteVersion
. - version_
bytes str - The total stored bytesize of the version. This value is calculated after a version is
FINALIZED
.
- config Property Map
- The configuration for the behavior of the site. This configuration exists in the
firebase.json
file. - create
Time String - The time at which the version was created.
- create
User Property Map - Identifies the user who created the version.
- delete
Time String - The time at which the version was
DELETED
. - delete
User Property Map - Identifies the user who
DELETED
the version. - file
Count String - The total number of files associated with the version. This value is calculated after a version is
FINALIZED
. - finalize
Time String - The time at which the version was
FINALIZED
. - finalize
User Property Map - Identifies the user who
FINALIZED
the version. - labels Map<String>
- The labels used for extra metadata and/or filtering.
- name String
- The fully-qualified resource name for the version, in the format: sites/ SITE_ID/versions/VERSION_ID This name is provided in the response body when you call
CreateVersion
. - status String
- The deploy status of the version. For a successful deploy, call
CreateVersion
to make a new version (CREATED
status), upload all desired files to the version, then update the version to theFINALIZED
status. Note that if you leave the version in theCREATED
state for more than 12 hours, the system will automatically mark the version asABANDONED
. You can also change the status of a version toDELETED
by callingDeleteVersion
. - version
Bytes String - The total stored bytesize of the version. This value is calculated after a version is
FINALIZED
.
Supporting Types
ActingUserResponse
CloudRunRewriteResponse
- Region
This property is required. string - Optional. User-provided region where the Cloud Run service is hosted. Defaults to
us-central1
if not supplied. - Service
Id This property is required. string - User-defined ID of the Cloud Run service.
- Tag
This property is required. string - Optional. User-provided TrafficConfig tag to send traffic to. When omitted, traffic is sent to the service-wide URI
- Region
This property is required. string - Optional. User-provided region where the Cloud Run service is hosted. Defaults to
us-central1
if not supplied. - Service
Id This property is required. string - User-defined ID of the Cloud Run service.
- Tag
This property is required. string - Optional. User-provided TrafficConfig tag to send traffic to. When omitted, traffic is sent to the service-wide URI
- region
This property is required. String - Optional. User-provided region where the Cloud Run service is hosted. Defaults to
us-central1
if not supplied. - service
Id This property is required. String - User-defined ID of the Cloud Run service.
- tag
This property is required. String - Optional. User-provided TrafficConfig tag to send traffic to. When omitted, traffic is sent to the service-wide URI
- region
This property is required. string - Optional. User-provided region where the Cloud Run service is hosted. Defaults to
us-central1
if not supplied. - service
Id This property is required. string - User-defined ID of the Cloud Run service.
- tag
This property is required. string - Optional. User-provided TrafficConfig tag to send traffic to. When omitted, traffic is sent to the service-wide URI
- region
This property is required. str - Optional. User-provided region where the Cloud Run service is hosted. Defaults to
us-central1
if not supplied. - service_
id This property is required. str - User-defined ID of the Cloud Run service.
- tag
This property is required. str - Optional. User-provided TrafficConfig tag to send traffic to. When omitted, traffic is sent to the service-wide URI
- region
This property is required. String - Optional. User-provided region where the Cloud Run service is hosted. Defaults to
us-central1
if not supplied. - service
Id This property is required. String - User-defined ID of the Cloud Run service.
- tag
This property is required. String - Optional. User-provided TrafficConfig tag to send traffic to. When omitted, traffic is sent to the service-wide URI
HeaderResponse
- Glob
This property is required. string - The user-supplied glob to match against the request URL path.
- Headers
This property is required. Dictionary<string, string> - The additional headers to add to the response.
- Regex
This property is required. string - The user-supplied RE2 regular expression to match against the request URL path.
- Glob
This property is required. string - The user-supplied glob to match against the request URL path.
- Headers
This property is required. map[string]string - The additional headers to add to the response.
- Regex
This property is required. string - The user-supplied RE2 regular expression to match against the request URL path.
- glob
This property is required. String - The user-supplied glob to match against the request URL path.
- headers
This property is required. Map<String,String> - The additional headers to add to the response.
- regex
This property is required. String - The user-supplied RE2 regular expression to match against the request URL path.
- glob
This property is required. string - The user-supplied glob to match against the request URL path.
- headers
This property is required. {[key: string]: string} - The additional headers to add to the response.
- regex
This property is required. string - The user-supplied RE2 regular expression to match against the request URL path.
- glob
This property is required. str - The user-supplied glob to match against the request URL path.
- headers
This property is required. Mapping[str, str] - The additional headers to add to the response.
- regex
This property is required. str - The user-supplied RE2 regular expression to match against the request URL path.
- glob
This property is required. String - The user-supplied glob to match against the request URL path.
- headers
This property is required. Map<String> - The additional headers to add to the response.
- regex
This property is required. String - The user-supplied RE2 regular expression to match against the request URL path.
I18nConfigResponse
- Root
This property is required. string - The user-supplied path where country and language specific content will be looked for within the public directory.
- Root
This property is required. string - The user-supplied path where country and language specific content will be looked for within the public directory.
- root
This property is required. String - The user-supplied path where country and language specific content will be looked for within the public directory.
- root
This property is required. string - The user-supplied path where country and language specific content will be looked for within the public directory.
- root
This property is required. str - The user-supplied path where country and language specific content will be looked for within the public directory.
- root
This property is required. String - The user-supplied path where country and language specific content will be looked for within the public directory.
RedirectResponse
- Glob
This property is required. string - The user-supplied glob to match against the request URL path.
- Location
This property is required. string - The value to put in the HTTP location header of the response. The location can contain capture group values from the pattern using a
:
prefix to identify the segment and an optional*
to capture the rest of the URL. For example: "glob": "/:capture*", "statusCode": 301, "location": "https://example.com/foo/:capture" - Regex
This property is required. string - The user-supplied RE2 regular expression to match against the request URL path.
- Status
Code This property is required. int - The status HTTP code to return in the response. It must be a valid 3xx status code.
- Glob
This property is required. string - The user-supplied glob to match against the request URL path.
- Location
This property is required. string - The value to put in the HTTP location header of the response. The location can contain capture group values from the pattern using a
:
prefix to identify the segment and an optional*
to capture the rest of the URL. For example: "glob": "/:capture*", "statusCode": 301, "location": "https://example.com/foo/:capture" - Regex
This property is required. string - The user-supplied RE2 regular expression to match against the request URL path.
- Status
Code This property is required. int - The status HTTP code to return in the response. It must be a valid 3xx status code.
- glob
This property is required. String - The user-supplied glob to match against the request URL path.
- location
This property is required. String - The value to put in the HTTP location header of the response. The location can contain capture group values from the pattern using a
:
prefix to identify the segment and an optional*
to capture the rest of the URL. For example: "glob": "/:capture*", "statusCode": 301, "location": "https://example.com/foo/:capture" - regex
This property is required. String - The user-supplied RE2 regular expression to match against the request URL path.
- status
Code This property is required. Integer - The status HTTP code to return in the response. It must be a valid 3xx status code.
- glob
This property is required. string - The user-supplied glob to match against the request URL path.
- location
This property is required. string - The value to put in the HTTP location header of the response. The location can contain capture group values from the pattern using a
:
prefix to identify the segment and an optional*
to capture the rest of the URL. For example: "glob": "/:capture*", "statusCode": 301, "location": "https://example.com/foo/:capture" - regex
This property is required. string - The user-supplied RE2 regular expression to match against the request URL path.
- status
Code This property is required. number - The status HTTP code to return in the response. It must be a valid 3xx status code.
- glob
This property is required. str - The user-supplied glob to match against the request URL path.
- location
This property is required. str - The value to put in the HTTP location header of the response. The location can contain capture group values from the pattern using a
:
prefix to identify the segment and an optional*
to capture the rest of the URL. For example: "glob": "/:capture*", "statusCode": 301, "location": "https://example.com/foo/:capture" - regex
This property is required. str - The user-supplied RE2 regular expression to match against the request URL path.
- status_
code This property is required. int - The status HTTP code to return in the response. It must be a valid 3xx status code.
- glob
This property is required. String - The user-supplied glob to match against the request URL path.
- location
This property is required. String - The value to put in the HTTP location header of the response. The location can contain capture group values from the pattern using a
:
prefix to identify the segment and an optional*
to capture the rest of the URL. For example: "glob": "/:capture*", "statusCode": 301, "location": "https://example.com/foo/:capture" - regex
This property is required. String - The user-supplied RE2 regular expression to match against the request URL path.
- status
Code This property is required. Number - The status HTTP code to return in the response. It must be a valid 3xx status code.
RewriteResponse
- Dynamic
Links This property is required. bool - The request will be forwarded to Firebase Dynamic Links.
- Function
This property is required. string - The function to proxy requests to. Must match the exported function name exactly.
- Function
Region This property is required. string - Optional. Specify a Cloud region for rewritten Functions invocations. If not provided, defaults to us-central1.
- Glob
This property is required. string - The user-supplied glob to match against the request URL path.
- Path
This property is required. string - The URL path to rewrite the request to.
- Regex
This property is required. string - The user-supplied RE2 regular expression to match against the request URL path.
- Run
This property is required. Pulumi.Google Native. Firebase Hosting. V1Beta1. Inputs. Cloud Run Rewrite Response - The request will be forwarded to Cloud Run.
- Dynamic
Links This property is required. bool - The request will be forwarded to Firebase Dynamic Links.
- Function
This property is required. string - The function to proxy requests to. Must match the exported function name exactly.
- Function
Region This property is required. string - Optional. Specify a Cloud region for rewritten Functions invocations. If not provided, defaults to us-central1.
- Glob
This property is required. string - The user-supplied glob to match against the request URL path.
- Path
This property is required. string - The URL path to rewrite the request to.
- Regex
This property is required. string - The user-supplied RE2 regular expression to match against the request URL path.
- Run
This property is required. CloudRun Rewrite Response - The request will be forwarded to Cloud Run.
- dynamic
Links This property is required. Boolean - The request will be forwarded to Firebase Dynamic Links.
- function
This property is required. String - The function to proxy requests to. Must match the exported function name exactly.
- function
Region This property is required. String - Optional. Specify a Cloud region for rewritten Functions invocations. If not provided, defaults to us-central1.
- glob
This property is required. String - The user-supplied glob to match against the request URL path.
- path
This property is required. String - The URL path to rewrite the request to.
- regex
This property is required. String - The user-supplied RE2 regular expression to match against the request URL path.
- run
This property is required. CloudRun Rewrite Response - The request will be forwarded to Cloud Run.
- dynamic
Links This property is required. boolean - The request will be forwarded to Firebase Dynamic Links.
- function
This property is required. string - The function to proxy requests to. Must match the exported function name exactly.
- function
Region This property is required. string - Optional. Specify a Cloud region for rewritten Functions invocations. If not provided, defaults to us-central1.
- glob
This property is required. string - The user-supplied glob to match against the request URL path.
- path
This property is required. string - The URL path to rewrite the request to.
- regex
This property is required. string - The user-supplied RE2 regular expression to match against the request URL path.
- run
This property is required. CloudRun Rewrite Response - The request will be forwarded to Cloud Run.
- dynamic_
links This property is required. bool - The request will be forwarded to Firebase Dynamic Links.
- function
This property is required. str - The function to proxy requests to. Must match the exported function name exactly.
- function_
region This property is required. str - Optional. Specify a Cloud region for rewritten Functions invocations. If not provided, defaults to us-central1.
- glob
This property is required. str - The user-supplied glob to match against the request URL path.
- path
This property is required. str - The URL path to rewrite the request to.
- regex
This property is required. str - The user-supplied RE2 regular expression to match against the request URL path.
- run
This property is required. CloudRun Rewrite Response - The request will be forwarded to Cloud Run.
- dynamic
Links This property is required. Boolean - The request will be forwarded to Firebase Dynamic Links.
- function
This property is required. String - The function to proxy requests to. Must match the exported function name exactly.
- function
Region This property is required. String - Optional. Specify a Cloud region for rewritten Functions invocations. If not provided, defaults to us-central1.
- glob
This property is required. String - The user-supplied glob to match against the request URL path.
- path
This property is required. String - The URL path to rewrite the request to.
- regex
This property is required. String - The user-supplied RE2 regular expression to match against the request URL path.
- run
This property is required. Property Map - The request will be forwarded to Cloud Run.
ServingConfigResponse
- App
Association This property is required. string - How to handle well known App Association files.
- Clean
Urls This property is required. bool - Defines whether to drop the file extension from uploaded files.
- Headers
This property is required. List<Pulumi.Google Native. Firebase Hosting. V1Beta1. Inputs. Header Response> - An array of objects, where each object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.
- I18n
This property is required. Pulumi.Google Native. Firebase Hosting. V1Beta1. Inputs. I18n Config Response - Optional. Defines i18n rewrite behavior.
- Redirects
This property is required. List<Pulumi.Google Native. Firebase Hosting. V1Beta1. Inputs. Redirect Response> - An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.
- Rewrites
This property is required. List<Pulumi.Google Native. Firebase Hosting. V1Beta1. Inputs. Rewrite Response> - An array of objects (called rewrite rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.
- Trailing
Slash Behavior This property is required. string - Defines how to handle a trailing slash in the URL path.
- App
Association This property is required. string - How to handle well known App Association files.
- Clean
Urls This property is required. bool - Defines whether to drop the file extension from uploaded files.
- Headers
This property is required. []HeaderResponse - An array of objects, where each object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.
- I18n
This property is required. I18nConfig Response - Optional. Defines i18n rewrite behavior.
- Redirects
This property is required. []RedirectResponse - An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.
- Rewrites
This property is required. []RewriteResponse - An array of objects (called rewrite rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.
- Trailing
Slash Behavior This property is required. string - Defines how to handle a trailing slash in the URL path.
- app
Association This property is required. String - How to handle well known App Association files.
- clean
Urls This property is required. Boolean - Defines whether to drop the file extension from uploaded files.
- headers
This property is required. List<HeaderResponse> - An array of objects, where each object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.
- i18n
This property is required. I18nConfig Response - Optional. Defines i18n rewrite behavior.
- redirects
This property is required. List<RedirectResponse> - An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.
- rewrites
This property is required. List<RewriteResponse> - An array of objects (called rewrite rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.
- trailing
Slash Behavior This property is required. String - Defines how to handle a trailing slash in the URL path.
- app
Association This property is required. string - How to handle well known App Association files.
- clean
Urls This property is required. boolean - Defines whether to drop the file extension from uploaded files.
- headers
This property is required. HeaderResponse[] - An array of objects, where each object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.
- i18n
This property is required. I18nConfig Response - Optional. Defines i18n rewrite behavior.
- redirects
This property is required. RedirectResponse[] - An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.
- rewrites
This property is required. RewriteResponse[] - An array of objects (called rewrite rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.
- trailing
Slash Behavior This property is required. string - Defines how to handle a trailing slash in the URL path.
- app_
association This property is required. str - How to handle well known App Association files.
- clean_
urls This property is required. bool - Defines whether to drop the file extension from uploaded files.
- headers
This property is required. Sequence[HeaderResponse] - An array of objects, where each object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.
- i18n
This property is required. I18nConfig Response - Optional. Defines i18n rewrite behavior.
- redirects
This property is required. Sequence[RedirectResponse] - An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.
- rewrites
This property is required. Sequence[RewriteResponse] - An array of objects (called rewrite rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.
- trailing_
slash_ behavior This property is required. str - Defines how to handle a trailing slash in the URL path.
- app
Association This property is required. String - How to handle well known App Association files.
- clean
Urls This property is required. Boolean - Defines whether to drop the file extension from uploaded files.
- headers
This property is required. List<Property Map> - An array of objects, where each object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.
- i18n
This property is required. Property Map - Optional. Defines i18n rewrite behavior.
- redirects
This property is required. List<Property Map> - An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.
- rewrites
This property is required. List<Property Map> - An array of objects (called rewrite rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.
- trailing
Slash Behavior This property is required. String - Defines how to handle a trailing slash in the URL path.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.