1. Packages
  2. Google Cloud Native
  3. API Docs
  4. firebasehosting
  5. firebasehosting/v1beta1
  6. getVersion

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.firebasehosting/v1beta1.getVersion

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

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>
Copy
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]
Copy
func LookupVersion(ctx *Context, args *LookupVersionArgs, opts ...InvokeOption) (*LookupVersionResult, error)
func LookupVersionOutput(ctx *Context, args *LookupVersionOutputArgs, opts ...InvokeOption) LookupVersionResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetVersionResult> getVersion(GetVersionArgs args, InvokeOptions options)
public static Output<GetVersionResult> getVersion(GetVersionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:firebasehosting/v1beta1:getVersion
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

SiteId This property is required. string
VersionId This property is required. string
Project string
SiteId This property is required. string
VersionId This property is required. string
Project string
siteId This property is required. String
versionId This property is required. String
project String
siteId This property is required. string
versionId This property is required. string
project string
site_id This property is required. str
version_id This property is required. str
project str
siteId This property is required. String
versionId This property is required. String
project String

getVersion Result

The following output properties are available:

Config Pulumi.GoogleNative.FirebaseHosting.V1Beta1.Outputs.ServingConfigResponse
The configuration for the behavior of the site. This configuration exists in the firebase.json file.
CreateTime string
The time at which the version was created.
CreateUser Pulumi.GoogleNative.FirebaseHosting.V1Beta1.Outputs.ActingUserResponse
Identifies the user who created the version.
DeleteTime string
The time at which the version was DELETED.
DeleteUser Pulumi.GoogleNative.FirebaseHosting.V1Beta1.Outputs.ActingUserResponse
Identifies the user who DELETED the version.
FileCount string
The total number of files associated with the version. This value is calculated after a version is FINALIZED.
FinalizeTime string
The time at which the version was FINALIZED.
FinalizeUser Pulumi.GoogleNative.FirebaseHosting.V1Beta1.Outputs.ActingUserResponse
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 the FINALIZED status. Note that if you leave the version in the CREATED state for more than 12 hours, the system will automatically mark the version as ABANDONED. You can also change the status of a version to DELETED by calling DeleteVersion.
VersionBytes string
The total stored bytesize of the version. This value is calculated after a version is FINALIZED.
Config ServingConfigResponse
The configuration for the behavior of the site. This configuration exists in the firebase.json file.
CreateTime string
The time at which the version was created.
CreateUser ActingUserResponse
Identifies the user who created the version.
DeleteTime string
The time at which the version was DELETED.
DeleteUser ActingUserResponse
Identifies the user who DELETED the version.
FileCount string
The total number of files associated with the version. This value is calculated after a version is FINALIZED.
FinalizeTime string
The time at which the version was FINALIZED.
FinalizeUser ActingUserResponse
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 the FINALIZED status. Note that if you leave the version in the CREATED state for more than 12 hours, the system will automatically mark the version as ABANDONED. You can also change the status of a version to DELETED by calling DeleteVersion.
VersionBytes string
The total stored bytesize of the version. This value is calculated after a version is FINALIZED.
config ServingConfigResponse
The configuration for the behavior of the site. This configuration exists in the firebase.json file.
createTime String
The time at which the version was created.
createUser ActingUserResponse
Identifies the user who created the version.
deleteTime String
The time at which the version was DELETED.
deleteUser ActingUserResponse
Identifies the user who DELETED the version.
fileCount String
The total number of files associated with the version. This value is calculated after a version is FINALIZED.
finalizeTime String
The time at which the version was FINALIZED.
finalizeUser ActingUserResponse
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 the FINALIZED status. Note that if you leave the version in the CREATED state for more than 12 hours, the system will automatically mark the version as ABANDONED. You can also change the status of a version to DELETED by calling DeleteVersion.
versionBytes String
The total stored bytesize of the version. This value is calculated after a version is FINALIZED.
config ServingConfigResponse
The configuration for the behavior of the site. This configuration exists in the firebase.json file.
createTime string
The time at which the version was created.
createUser ActingUserResponse
Identifies the user who created the version.
deleteTime string
The time at which the version was DELETED.
deleteUser ActingUserResponse
Identifies the user who DELETED the version.
fileCount string
The total number of files associated with the version. This value is calculated after a version is FINALIZED.
finalizeTime string
The time at which the version was FINALIZED.
finalizeUser ActingUserResponse
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 the FINALIZED status. Note that if you leave the version in the CREATED state for more than 12 hours, the system will automatically mark the version as ABANDONED. You can also change the status of a version to DELETED by calling DeleteVersion.
versionBytes string
The total stored bytesize of the version. This value is calculated after a version is FINALIZED.
config ServingConfigResponse
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 ActingUserResponse
Identifies the user who created the version.
delete_time str
The time at which the version was DELETED.
delete_user ActingUserResponse
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 ActingUserResponse
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 the FINALIZED status. Note that if you leave the version in the CREATED state for more than 12 hours, the system will automatically mark the version as ABANDONED. You can also change the status of a version to DELETED by calling DeleteVersion.
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.
createTime String
The time at which the version was created.
createUser Property Map
Identifies the user who created the version.
deleteTime String
The time at which the version was DELETED.
deleteUser Property Map
Identifies the user who DELETED the version.
fileCount String
The total number of files associated with the version. This value is calculated after a version is FINALIZED.
finalizeTime String
The time at which the version was FINALIZED.
finalizeUser 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 the FINALIZED status. Note that if you leave the version in the CREATED state for more than 12 hours, the system will automatically mark the version as ABANDONED. You can also change the status of a version to DELETED by calling DeleteVersion.
versionBytes String
The total stored bytesize of the version. This value is calculated after a version is FINALIZED.

Supporting Types

ActingUserResponse

Email This property is required. string
The email address of the user when the user performed the action.
ImageUrl This property is required. string
A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.
Email This property is required. string
The email address of the user when the user performed the action.
ImageUrl This property is required. string
A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.
email This property is required. String
The email address of the user when the user performed the action.
imageUrl This property is required. String
A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.
email This property is required. string
The email address of the user when the user performed the action.
imageUrl This property is required. string
A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.
email This property is required. str
The email address of the user when the user performed the action.
image_url This property is required. str
A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.
email This property is required. String
The email address of the user when the user performed the action.
imageUrl This property is required. String
A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.

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.
ServiceId 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.
ServiceId 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.
serviceId 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.
serviceId 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.
serviceId 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.
StatusCode 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.
StatusCode 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.
statusCode 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.
statusCode 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.
statusCode This property is required. Number
The status HTTP code to return in the response. It must be a valid 3xx status code.

RewriteResponse

DynamicLinks 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.
FunctionRegion 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.GoogleNative.FirebaseHosting.V1Beta1.Inputs.CloudRunRewriteResponse
The request will be forwarded to Cloud Run.
DynamicLinks 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.
FunctionRegion 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. CloudRunRewriteResponse
The request will be forwarded to Cloud Run.
dynamicLinks 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.
functionRegion 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. CloudRunRewriteResponse
The request will be forwarded to Cloud Run.
dynamicLinks 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.
functionRegion 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. CloudRunRewriteResponse
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. CloudRunRewriteResponse
The request will be forwarded to Cloud Run.
dynamicLinks 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.
functionRegion 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

AppAssociation This property is required. string
How to handle well known App Association files.
CleanUrls This property is required. bool
Defines whether to drop the file extension from uploaded files.
Headers This property is required. List<Pulumi.GoogleNative.FirebaseHosting.V1Beta1.Inputs.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. Pulumi.GoogleNative.FirebaseHosting.V1Beta1.Inputs.I18nConfigResponse
Optional. Defines i18n rewrite behavior.
Redirects This property is required. List<Pulumi.GoogleNative.FirebaseHosting.V1Beta1.Inputs.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<Pulumi.GoogleNative.FirebaseHosting.V1Beta1.Inputs.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.
TrailingSlashBehavior This property is required. string
Defines how to handle a trailing slash in the URL path.
AppAssociation This property is required. string
How to handle well known App Association files.
CleanUrls 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. I18nConfigResponse
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.
TrailingSlashBehavior This property is required. string
Defines how to handle a trailing slash in the URL path.
appAssociation This property is required. String
How to handle well known App Association files.
cleanUrls 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. I18nConfigResponse
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.
trailingSlashBehavior This property is required. String
Defines how to handle a trailing slash in the URL path.
appAssociation This property is required. string
How to handle well known App Association files.
cleanUrls 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. I18nConfigResponse
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.
trailingSlashBehavior 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. I18nConfigResponse
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.
appAssociation This property is required. String
How to handle well known App Association files.
cleanUrls 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.
trailingSlashBehavior 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.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi