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

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.Channel

Explore with Pulumi AI

google-native logo

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

    Creates a new channel in the specified site.

    Create Channel Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Channel(name: string, args: ChannelArgs, opts?: CustomResourceOptions);
    @overload
    def Channel(resource_name: str,
                args: ChannelArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Channel(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                channel_id: Optional[str] = None,
                site_id: Optional[str] = None,
                expire_time: Optional[str] = None,
                labels: Optional[Mapping[str, str]] = None,
                name: Optional[str] = None,
                project: Optional[str] = None,
                retained_release_count: Optional[int] = None,
                ttl: Optional[str] = None)
    func NewChannel(ctx *Context, name string, args ChannelArgs, opts ...ResourceOption) (*Channel, error)
    public Channel(string name, ChannelArgs args, CustomResourceOptions? opts = null)
    public Channel(String name, ChannelArgs args)
    public Channel(String name, ChannelArgs args, CustomResourceOptions options)
    
    type: google-native:firebasehosting/v1beta1:Channel
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ChannelArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ChannelArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ChannelArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ChannelArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ChannelArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var google_nativeChannelResource = new GoogleNative.FirebaseHosting.V1Beta1.Channel("google-nativeChannelResource", new()
    {
        ChannelId = "string",
        SiteId = "string",
        ExpireTime = "string",
        Labels = 
        {
            { "string", "string" },
        },
        Name = "string",
        Project = "string",
        RetainedReleaseCount = 0,
        Ttl = "string",
    });
    
    example, err := firebasehosting.NewChannel(ctx, "google-nativeChannelResource", &firebasehosting.ChannelArgs{
    	ChannelId:  pulumi.String("string"),
    	SiteId:     pulumi.String("string"),
    	ExpireTime: pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Name:                 pulumi.String("string"),
    	Project:              pulumi.String("string"),
    	RetainedReleaseCount: pulumi.Int(0),
    	Ttl:                  pulumi.String("string"),
    })
    
    var google_nativeChannelResource = new Channel("google-nativeChannelResource", ChannelArgs.builder()
        .channelId("string")
        .siteId("string")
        .expireTime("string")
        .labels(Map.of("string", "string"))
        .name("string")
        .project("string")
        .retainedReleaseCount(0)
        .ttl("string")
        .build());
    
    google_native_channel_resource = google_native.firebasehosting.v1beta1.Channel("google-nativeChannelResource",
        channel_id="string",
        site_id="string",
        expire_time="string",
        labels={
            "string": "string",
        },
        name="string",
        project="string",
        retained_release_count=0,
        ttl="string")
    
    const google_nativeChannelResource = new google_native.firebasehosting.v1beta1.Channel("google-nativeChannelResource", {
        channelId: "string",
        siteId: "string",
        expireTime: "string",
        labels: {
            string: "string",
        },
        name: "string",
        project: "string",
        retainedReleaseCount: 0,
        ttl: "string",
    });
    
    type: google-native:firebasehosting/v1beta1:Channel
    properties:
        channelId: string
        expireTime: string
        labels:
            string: string
        name: string
        project: string
        retainedReleaseCount: 0
        siteId: string
        ttl: string
    

    Channel Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Channel resource accepts the following input properties:

    ChannelId string
    Required. Immutable. A unique ID within the site that identifies the channel.
    SiteId string
    ExpireTime 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
    Project string
    RetainedReleaseCount int
    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.
    ChannelId string
    Required. Immutable. A unique ID within the site that identifies the channel.
    SiteId string
    ExpireTime 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
    Project string
    RetainedReleaseCount int
    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.
    channelId String
    Required. Immutable. A unique ID within the site that identifies the channel.
    siteId String
    expireTime 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
    project String
    retainedReleaseCount Integer
    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.
    channelId string
    Required. Immutable. A unique ID within the site that identifies the channel.
    siteId string
    expireTime 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
    project string
    retainedReleaseCount number
    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.
    channel_id str
    Required. Immutable. A unique ID within the site that identifies the channel.
    site_id str
    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
    project str
    retained_release_count int
    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.
    channelId String
    Required. Immutable. A unique ID within the site that identifies the channel.
    siteId String
    expireTime 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
    project String
    retainedReleaseCount Number
    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.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Channel resource produces the following output properties:

    CreateTime string
    The time at which the channel was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Release Pulumi.GoogleNative.FirebaseHosting.V1Beta1.Outputs.ReleaseResponse
    The current release for the channel, if any.
    UpdateTime 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 of firebaseapp.com. If this channel is the live channel for the Hosting site, then the content of this channel's current release can also be viewed at any connected custom domains.
    CreateTime string
    The time at which the channel was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Release ReleaseResponse
    The current release for the channel, if any.
    UpdateTime 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 of firebaseapp.com. If this channel is the live channel for the Hosting site, then the content of this channel's current release can also be viewed at any connected custom domains.
    createTime String
    The time at which the channel was created.
    id String
    The provider-assigned unique ID for this managed resource.
    release ReleaseResponse
    The current release for the channel, if any.
    updateTime 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 of firebaseapp.com. If this channel is the live channel for the Hosting site, then the content of this channel's current release can also be viewed at any connected custom domains.
    createTime string
    The time at which the channel was created.
    id string
    The provider-assigned unique ID for this managed resource.
    release ReleaseResponse
    The current release for the channel, if any.
    updateTime 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 of firebaseapp.com. If this channel is the live 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.
    id str
    The provider-assigned unique ID for this managed resource.
    release ReleaseResponse
    The current release for the channel, if any.
    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 of firebaseapp.com. If this channel is the live channel for the Hosting site, then the content of this channel's current release can also be viewed at any connected custom domains.
    createTime String
    The time at which the channel was created.
    id String
    The provider-assigned unique ID for this managed resource.
    release Property Map
    The current release for the channel, if any.
    updateTime 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 of firebaseapp.com. If this channel is the live 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, ActingUserResponseArgs

    Email string
    The email address of the user when the user performed the action.
    ImageUrl 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 string
    The email address of the user when the user performed the action.
    ImageUrl 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 String
    The email address of the user when the user performed the action.
    imageUrl 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 string
    The email address of the user when the user performed the action.
    imageUrl 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 str
    The email address of the user when the user performed the action.
    image_url 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 String
    The email address of the user when the user performed the action.
    imageUrl 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, CloudRunRewriteResponseArgs

    Region string
    Optional. User-provided region where the Cloud Run service is hosted. Defaults to us-central1 if not supplied.
    ServiceId 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.
    ServiceId 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.
    serviceId 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.
    serviceId 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.
    serviceId 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, HeaderResponseArgs

    Glob string
    The user-supplied glob to match against the request URL path.
    Headers Dictionary<string, string>
    The additional headers to add to the response.
    Regex string
    The user-supplied RE2 regular expression to match against the request URL path.
    Glob string
    The user-supplied glob to match against the request URL path.
    Headers map[string]string
    The additional headers to add to the response.
    Regex string
    The user-supplied RE2 regular expression to match against the request URL path.
    glob String
    The user-supplied glob to match against the request URL path.
    headers Map<String,String>
    The additional headers to add to the response.
    regex String
    The user-supplied RE2 regular expression to match against the request URL path.
    glob string
    The user-supplied glob to match against the request URL path.
    headers {[key: string]: string}
    The additional headers to add to the response.
    regex string
    The user-supplied RE2 regular expression to match against the request URL path.
    glob str
    The user-supplied glob to match against the request URL path.
    headers Mapping[str, str]
    The additional headers to add to the response.
    regex str
    The user-supplied RE2 regular expression to match against the request URL path.
    glob String
    The user-supplied glob to match against the request URL path.
    headers Map<String>
    The additional headers to add to the response.
    regex String
    The user-supplied RE2 regular expression to match against the request URL path.

    I18nConfigResponse, I18nConfigResponseArgs

    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, RedirectResponseArgs

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

    ReleaseResponse, ReleaseResponseArgs

    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 or channels.releases.create.
    ReleaseTime string
    The time at which the version is set to be public.
    ReleaseUser Pulumi.GoogleNative.FirebaseHosting.V1Beta1.Inputs.ActingUserResponse
    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.GoogleNative.FirebaseHosting.V1Beta1.Inputs.VersionResponse
    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 or channels.releases.create.
    ReleaseTime string
    The time at which the version is set to be public.
    ReleaseUser ActingUserResponse
    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 VersionResponse
    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 or channels.releases.create.
    releaseTime String
    The time at which the version is set to be public.
    releaseUser ActingUserResponse
    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 VersionResponse
    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 or channels.releases.create.
    releaseTime string
    The time at which the version is set to be public.
    releaseUser ActingUserResponse
    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 VersionResponse
    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 or channels.releases.create.
    release_time str
    The time at which the version is set to be public.
    release_user ActingUserResponse
    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 VersionResponse
    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 or channels.releases.create.
    releaseTime String
    The time at which the version is set to be public.
    releaseUser 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, RewriteResponseArgs

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

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

    VersionResponse, VersionResponseArgs

    Config Pulumi.GoogleNative.FirebaseHosting.V1Beta1.Inputs.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.Inputs.ActingUserResponse
    Identifies the user who created the version.
    DeleteTime string
    The time at which the version was DELETED.
    DeleteUser Pulumi.GoogleNative.FirebaseHosting.V1Beta1.Inputs.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.Inputs.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.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    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