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.getChannel
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
Retrieves information for the specified channel of the specified site.
Using getChannel
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 getChannel(args: GetChannelArgs, opts?: InvokeOptions): Promise<GetChannelResult>
function getChannelOutput(args: GetChannelOutputArgs, opts?: InvokeOptions): Output<GetChannelResult>
def get_channel(channel_id: Optional[str] = None,
project: Optional[str] = None,
site_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetChannelResult
def get_channel_output(channel_id: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
site_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetChannelResult]
func LookupChannel(ctx *Context, args *LookupChannelArgs, opts ...InvokeOption) (*LookupChannelResult, error)
func LookupChannelOutput(ctx *Context, args *LookupChannelOutputArgs, opts ...InvokeOption) LookupChannelResultOutput
> Note: This function is named LookupChannel
in the Go SDK.
public static class GetChannel
{
public static Task<GetChannelResult> InvokeAsync(GetChannelArgs args, InvokeOptions? opts = null)
public static Output<GetChannelResult> Invoke(GetChannelInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetChannelResult> getChannel(GetChannelArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:firebasehosting/v1beta1:getChannel
arguments:
# arguments dictionary
The following arguments are supported:
- channel_
id str - site_
id str - project str
getChannel Result
The following output properties are available:
- Create
Time string - The time at which the channel was created.
- Expire
Time string - The time at which the channel will be automatically deleted. If null, the channel will not be automatically deleted. This field is present in the output whether it's set directly or via the
ttl
field. - Labels Dictionary<string, string>
- Text labels used for extra metadata and/or filtering.
- Name string
- The fully-qualified resource name for the channel, in the format: sites/ SITE_ID/channels/CHANNEL_ID
- Release
Pulumi.
Google Native. Firebase Hosting. V1Beta1. Outputs. Release Response - The current release for the channel, if any.
- Retained
Release intCount - The number of previous releases to retain on the channel for rollback or other purposes. Must be a number between 1-100. Defaults to 10 for new channels.
- Ttl string
- Input only. A time-to-live for this channel. Sets
expire_time
to the provided duration past the time of the request. - Update
Time string - The time at which the channel was last updated.
- Url string
- The URL at which the content of this channel's current release can be viewed. This URL is a Firebase-provided subdomain of
web.app
. The content of this channel's current release can also be viewed at the Firebase-provided subdomain offirebaseapp.com
. If this channel is thelive
channel for the Hosting site, then the content of this channel's current release can also be viewed at any connected custom domains.
- Create
Time string - The time at which the channel was created.
- Expire
Time string - The time at which the channel will be automatically deleted. If null, the channel will not be automatically deleted. This field is present in the output whether it's set directly or via the
ttl
field. - Labels map[string]string
- Text labels used for extra metadata and/or filtering.
- Name string
- The fully-qualified resource name for the channel, in the format: sites/ SITE_ID/channels/CHANNEL_ID
- Release
Release
Response - The current release for the channel, if any.
- Retained
Release intCount - The number of previous releases to retain on the channel for rollback or other purposes. Must be a number between 1-100. Defaults to 10 for new channels.
- Ttl string
- Input only. A time-to-live for this channel. Sets
expire_time
to the provided duration past the time of the request. - Update
Time string - The time at which the channel was last updated.
- Url string
- The URL at which the content of this channel's current release can be viewed. This URL is a Firebase-provided subdomain of
web.app
. The content of this channel's current release can also be viewed at the Firebase-provided subdomain offirebaseapp.com
. If this channel is thelive
channel for the Hosting site, then the content of this channel's current release can also be viewed at any connected custom domains.
- create
Time String - The time at which the channel was created.
- expire
Time String - The time at which the channel will be automatically deleted. If null, the channel will not be automatically deleted. This field is present in the output whether it's set directly or via the
ttl
field. - labels Map<String,String>
- Text labels used for extra metadata and/or filtering.
- name String
- The fully-qualified resource name for the channel, in the format: sites/ SITE_ID/channels/CHANNEL_ID
- release
Release
Response - The current release for the channel, if any.
- retained
Release IntegerCount - The number of previous releases to retain on the channel for rollback or other purposes. Must be a number between 1-100. Defaults to 10 for new channels.
- ttl String
- Input only. A time-to-live for this channel. Sets
expire_time
to the provided duration past the time of the request. - update
Time String - The time at which the channel was last updated.
- url String
- The URL at which the content of this channel's current release can be viewed. This URL is a Firebase-provided subdomain of
web.app
. The content of this channel's current release can also be viewed at the Firebase-provided subdomain offirebaseapp.com
. If this channel is thelive
channel for the Hosting site, then the content of this channel's current release can also be viewed at any connected custom domains.
- create
Time string - The time at which the channel was created.
- expire
Time string - The time at which the channel will be automatically deleted. If null, the channel will not be automatically deleted. This field is present in the output whether it's set directly or via the
ttl
field. - labels {[key: string]: string}
- Text labels used for extra metadata and/or filtering.
- name string
- The fully-qualified resource name for the channel, in the format: sites/ SITE_ID/channels/CHANNEL_ID
- release
Release
Response - The current release for the channel, if any.
- retained
Release numberCount - The number of previous releases to retain on the channel for rollback or other purposes. Must be a number between 1-100. Defaults to 10 for new channels.
- ttl string
- Input only. A time-to-live for this channel. Sets
expire_time
to the provided duration past the time of the request. - update
Time string - The time at which the channel was last updated.
- url string
- The URL at which the content of this channel's current release can be viewed. This URL is a Firebase-provided subdomain of
web.app
. The content of this channel's current release can also be viewed at the Firebase-provided subdomain offirebaseapp.com
. If this channel is thelive
channel for the Hosting site, then the content of this channel's current release can also be viewed at any connected custom domains.
- create_
time str - The time at which the channel was created.
- expire_
time str - The time at which the channel will be automatically deleted. If null, the channel will not be automatically deleted. This field is present in the output whether it's set directly or via the
ttl
field. - labels Mapping[str, str]
- Text labels used for extra metadata and/or filtering.
- name str
- The fully-qualified resource name for the channel, in the format: sites/ SITE_ID/channels/CHANNEL_ID
- release
Release
Response - The current release for the channel, if any.
- retained_
release_ intcount - The number of previous releases to retain on the channel for rollback or other purposes. Must be a number between 1-100. Defaults to 10 for new channels.
- ttl str
- Input only. A time-to-live for this channel. Sets
expire_time
to the provided duration past the time of the request. - update_
time str - The time at which the channel was last updated.
- url str
- The URL at which the content of this channel's current release can be viewed. This URL is a Firebase-provided subdomain of
web.app
. The content of this channel's current release can also be viewed at the Firebase-provided subdomain offirebaseapp.com
. If this channel is thelive
channel for the Hosting site, then the content of this channel's current release can also be viewed at any connected custom domains.
- create
Time String - The time at which the channel was created.
- expire
Time String - The time at which the channel will be automatically deleted. If null, the channel will not be automatically deleted. This field is present in the output whether it's set directly or via the
ttl
field. - labels Map<String>
- Text labels used for extra metadata and/or filtering.
- name String
- The fully-qualified resource name for the channel, in the format: sites/ SITE_ID/channels/CHANNEL_ID
- release Property Map
- The current release for the channel, if any.
- retained
Release NumberCount - The number of previous releases to retain on the channel for rollback or other purposes. Must be a number between 1-100. Defaults to 10 for new channels.
- ttl String
- Input only. A time-to-live for this channel. Sets
expire_time
to the provided duration past the time of the request. - update
Time String - The time at which the channel was last updated.
- url String
- The URL at which the content of this channel's current release can be viewed. This URL is a Firebase-provided subdomain of
web.app
. The content of this channel's current release can also be viewed at the Firebase-provided subdomain offirebaseapp.com
. If this channel is thelive
channel for the Hosting site, then the content of this channel's current release can also be viewed at any connected custom domains.
Supporting Types
ActingUserResponse
CloudRunRewriteResponse
- Region string
- Optional. User-provided region where the Cloud Run service is hosted. Defaults to
us-central1
if not supplied. - Service
Id string - User-defined ID of the Cloud Run service.
- Tag string
- Optional. User-provided TrafficConfig tag to send traffic to. When omitted, traffic is sent to the service-wide URI
- Region string
- Optional. User-provided region where the Cloud Run service is hosted. Defaults to
us-central1
if not supplied. - Service
Id string - User-defined ID of the Cloud Run service.
- Tag string
- Optional. User-provided TrafficConfig tag to send traffic to. When omitted, traffic is sent to the service-wide URI
- region String
- Optional. User-provided region where the Cloud Run service is hosted. Defaults to
us-central1
if not supplied. - service
Id String - User-defined ID of the Cloud Run service.
- tag String
- Optional. User-provided TrafficConfig tag to send traffic to. When omitted, traffic is sent to the service-wide URI
- region string
- Optional. User-provided region where the Cloud Run service is hosted. Defaults to
us-central1
if not supplied. - service
Id string - User-defined ID of the Cloud Run service.
- tag string
- Optional. User-provided TrafficConfig tag to send traffic to. When omitted, traffic is sent to the service-wide URI
- region str
- Optional. User-provided region where the Cloud Run service is hosted. Defaults to
us-central1
if not supplied. - service_
id str - User-defined ID of the Cloud Run service.
- tag str
- Optional. User-provided TrafficConfig tag to send traffic to. When omitted, traffic is sent to the service-wide URI
- region String
- Optional. User-provided region where the Cloud Run service is hosted. Defaults to
us-central1
if not supplied. - service
Id String - User-defined ID of the Cloud Run service.
- tag String
- Optional. User-provided TrafficConfig tag to send traffic to. When omitted, traffic is sent to the service-wide URI
HeaderResponse
I18nConfigResponse
- Root string
- The user-supplied path where country and language specific content will be looked for within the public directory.
- Root string
- The user-supplied path where country and language specific content will be looked for within the public directory.
- root String
- The user-supplied path where country and language specific content will be looked for within the public directory.
- root string
- The user-supplied path where country and language specific content will be looked for within the public directory.
- root str
- The user-supplied path where country and language specific content will be looked for within the public directory.
- root String
- The user-supplied path where country and language specific content will be looked for within the public directory.
RedirectResponse
- Glob string
- The user-supplied glob to match against the request URL path.
- Location 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 string
- The user-supplied RE2 regular expression to match against the request URL path.
- Status
Code int - The status HTTP code to return in the response. It must be a valid 3xx status code.
- Glob string
- The user-supplied glob to match against the request URL path.
- Location 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 string
- The user-supplied RE2 regular expression to match against the request URL path.
- Status
Code int - The status HTTP code to return in the response. It must be a valid 3xx status code.
- glob String
- The user-supplied glob to match against the request URL path.
- location 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 String
- The user-supplied RE2 regular expression to match against the request URL path.
- status
Code Integer - The status HTTP code to return in the response. It must be a valid 3xx status code.
- glob string
- The user-supplied glob to match against the request URL path.
- location 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 string
- The user-supplied RE2 regular expression to match against the request URL path.
- status
Code number - The status HTTP code to return in the response. It must be a valid 3xx status code.
- glob str
- The user-supplied glob to match against the request URL path.
- location 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 str
- The user-supplied RE2 regular expression to match against the request URL path.
- status_
code int - The status HTTP code to return in the response. It must be a valid 3xx status code.
- glob String
- The user-supplied glob to match against the request URL path.
- location 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 String
- The user-supplied RE2 regular expression to match against the request URL path.
- status
Code Number - The status HTTP code to return in the response. It must be a valid 3xx status code.
ReleaseResponse
- Message string
- The deploy description when the release was created. The value can be up to 512 characters.
- Name string
- The unique identifier for the release, in either of the following formats: - sites/SITE_ID/releases/RELEASE_ID - sites/SITE_ID/channels/CHANNEL_ID/releases/RELEASE_ID This name is provided in the response body when you call
releases.create
orchannels.releases.create
. - Release
Time string - The time at which the version is set to be public.
- Release
User Pulumi.Google Native. Firebase Hosting. V1Beta1. Inputs. Acting User Response - Identifies the user who created the release.
- Type string
- Explains the reason for the release. Specify a value for this field only when creating a
SITE_DISABLE
type release. - Version
Pulumi.
Google Native. Firebase Hosting. V1Beta1. Inputs. Version Response - The configuration and content that was released.
- Message string
- The deploy description when the release was created. The value can be up to 512 characters.
- Name string
- The unique identifier for the release, in either of the following formats: - sites/SITE_ID/releases/RELEASE_ID - sites/SITE_ID/channels/CHANNEL_ID/releases/RELEASE_ID This name is provided in the response body when you call
releases.create
orchannels.releases.create
. - Release
Time string - The time at which the version is set to be public.
- Release
User ActingUser Response - Identifies the user who created the release.
- Type string
- Explains the reason for the release. Specify a value for this field only when creating a
SITE_DISABLE
type release. - Version
Version
Response - The configuration and content that was released.
- message String
- The deploy description when the release was created. The value can be up to 512 characters.
- name String
- The unique identifier for the release, in either of the following formats: - sites/SITE_ID/releases/RELEASE_ID - sites/SITE_ID/channels/CHANNEL_ID/releases/RELEASE_ID This name is provided in the response body when you call
releases.create
orchannels.releases.create
. - release
Time String - The time at which the version is set to be public.
- release
User ActingUser Response - Identifies the user who created the release.
- type String
- Explains the reason for the release. Specify a value for this field only when creating a
SITE_DISABLE
type release. - version
Version
Response - The configuration and content that was released.
- message string
- The deploy description when the release was created. The value can be up to 512 characters.
- name string
- The unique identifier for the release, in either of the following formats: - sites/SITE_ID/releases/RELEASE_ID - sites/SITE_ID/channels/CHANNEL_ID/releases/RELEASE_ID This name is provided in the response body when you call
releases.create
orchannels.releases.create
. - release
Time string - The time at which the version is set to be public.
- release
User ActingUser Response - Identifies the user who created the release.
- type string
- Explains the reason for the release. Specify a value for this field only when creating a
SITE_DISABLE
type release. - version
Version
Response - The configuration and content that was released.
- message str
- The deploy description when the release was created. The value can be up to 512 characters.
- name str
- The unique identifier for the release, in either of the following formats: - sites/SITE_ID/releases/RELEASE_ID - sites/SITE_ID/channels/CHANNEL_ID/releases/RELEASE_ID This name is provided in the response body when you call
releases.create
orchannels.releases.create
. - release_
time str - The time at which the version is set to be public.
- release_
user ActingUser Response - Identifies the user who created the release.
- type str
- Explains the reason for the release. Specify a value for this field only when creating a
SITE_DISABLE
type release. - version
Version
Response - The configuration and content that was released.
- message String
- The deploy description when the release was created. The value can be up to 512 characters.
- name String
- The unique identifier for the release, in either of the following formats: - sites/SITE_ID/releases/RELEASE_ID - sites/SITE_ID/channels/CHANNEL_ID/releases/RELEASE_ID This name is provided in the response body when you call
releases.create
orchannels.releases.create
. - release
Time String - The time at which the version is set to be public.
- release
User Property Map - Identifies the user who created the release.
- type String
- Explains the reason for the release. Specify a value for this field only when creating a
SITE_DISABLE
type release. - version Property Map
- The configuration and content that was released.
RewriteResponse
- Dynamic
Links bool - The request will be forwarded to Firebase Dynamic Links.
- Function string
- The function to proxy requests to. Must match the exported function name exactly.
- Function
Region string - Optional. Specify a Cloud region for rewritten Functions invocations. If not provided, defaults to us-central1.
- Glob string
- The user-supplied glob to match against the request URL path.
- Path string
- The URL path to rewrite the request to.
- Regex string
- The user-supplied RE2 regular expression to match against the request URL path.
- Run
Pulumi.
Google Native. Firebase Hosting. V1Beta1. Inputs. Cloud Run Rewrite Response - The request will be forwarded to Cloud Run.
- Dynamic
Links bool - The request will be forwarded to Firebase Dynamic Links.
- Function string
- The function to proxy requests to. Must match the exported function name exactly.
- Function
Region string - Optional. Specify a Cloud region for rewritten Functions invocations. If not provided, defaults to us-central1.
- Glob string
- The user-supplied glob to match against the request URL path.
- Path string
- The URL path to rewrite the request to.
- Regex string
- The user-supplied RE2 regular expression to match against the request URL path.
- Run
Cloud
Run Rewrite Response - The request will be forwarded to Cloud Run.
- dynamic
Links Boolean - The request will be forwarded to Firebase Dynamic Links.
- function String
- The function to proxy requests to. Must match the exported function name exactly.
- function
Region String - Optional. Specify a Cloud region for rewritten Functions invocations. If not provided, defaults to us-central1.
- glob String
- The user-supplied glob to match against the request URL path.
- path String
- The URL path to rewrite the request to.
- regex String
- The user-supplied RE2 regular expression to match against the request URL path.
- run
Cloud
Run Rewrite Response - The request will be forwarded to Cloud Run.
- dynamic
Links boolean - The request will be forwarded to Firebase Dynamic Links.
- function string
- The function to proxy requests to. Must match the exported function name exactly.
- function
Region string - Optional. Specify a Cloud region for rewritten Functions invocations. If not provided, defaults to us-central1.
- glob string
- The user-supplied glob to match against the request URL path.
- path string
- The URL path to rewrite the request to.
- regex string
- The user-supplied RE2 regular expression to match against the request URL path.
- run
Cloud
Run Rewrite Response - The request will be forwarded to Cloud Run.
- dynamic_
links bool - The request will be forwarded to Firebase Dynamic Links.
- function str
- The function to proxy requests to. Must match the exported function name exactly.
- function_
region str - Optional. Specify a Cloud region for rewritten Functions invocations. If not provided, defaults to us-central1.
- glob str
- The user-supplied glob to match against the request URL path.
- path str
- The URL path to rewrite the request to.
- regex str
- The user-supplied RE2 regular expression to match against the request URL path.
- run
Cloud
Run Rewrite Response - The request will be forwarded to Cloud Run.
- dynamic
Links Boolean - The request will be forwarded to Firebase Dynamic Links.
- function String
- The function to proxy requests to. Must match the exported function name exactly.
- function
Region String - Optional. Specify a Cloud region for rewritten Functions invocations. If not provided, defaults to us-central1.
- glob String
- The user-supplied glob to match against the request URL path.
- path String
- The URL path to rewrite the request to.
- regex String
- The user-supplied RE2 regular expression to match against the request URL path.
- run Property Map
- The request will be forwarded to Cloud Run.
ServingConfigResponse
- App
Association string - How to handle well known App Association files.
- Clean
Urls bool - Defines whether to drop the file extension from uploaded files.
- Headers
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
Pulumi.
Google Native. Firebase Hosting. V1Beta1. Inputs. I18n Config Response - Optional. Defines i18n rewrite behavior.
- Redirects
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
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 stringBehavior - Defines how to handle a trailing slash in the URL path.
- App
Association string - How to handle well known App Association files.
- Clean
Urls bool - Defines whether to drop the file extension from uploaded files.
- Headers
[]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
I18n
Config Response - Optional. Defines i18n rewrite behavior.
- Redirects
[]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
[]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 stringBehavior - Defines how to handle a trailing slash in the URL path.
- app
Association String - How to handle well known App Association files.
- clean
Urls Boolean - Defines whether to drop the file extension from uploaded files.
- headers
List<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
I18n
Config Response - Optional. Defines i18n rewrite behavior.
- redirects
List<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
List<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 StringBehavior - Defines how to handle a trailing slash in the URL path.
- app
Association string - How to handle well known App Association files.
- clean
Urls boolean - Defines whether to drop the file extension from uploaded files.
- headers
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
I18n
Config Response - Optional. Defines i18n rewrite behavior.
- redirects
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
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 stringBehavior - Defines how to handle a trailing slash in the URL path.
- app_
association str - How to handle well known App Association files.
- clean_
urls bool - Defines whether to drop the file extension from uploaded files.
- headers
Sequence[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
I18n
Config Response - Optional. Defines i18n rewrite behavior.
- redirects
Sequence[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
Sequence[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_ strbehavior - Defines how to handle a trailing slash in the URL path.
- app
Association String - How to handle well known App Association files.
- clean
Urls Boolean - Defines whether to drop the file extension from uploaded files.
- headers 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 Property Map
- Optional. Defines i18n rewrite behavior.
- redirects 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 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 StringBehavior - Defines how to handle a trailing slash in the URL path.
VersionResponse
- Config
Pulumi.
Google Native. Firebase Hosting. V1Beta1. Inputs. 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. Inputs. 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. Inputs. 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. Inputs. 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
.
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