Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.firebasehosting/v1beta1.Version
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new version for the specified site.
Create Version Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Version(name: string, args: VersionArgs, opts?: CustomResourceOptions);@overload
def Version(resource_name: str,
            args: VersionArgs,
            opts: Optional[ResourceOptions] = None)
@overload
def Version(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            site_id: Optional[str] = None,
            config: Optional[ServingConfigArgs] = None,
            labels: Optional[Mapping[str, str]] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            size_bytes: Optional[str] = None,
            version_id: Optional[str] = None)func NewVersion(ctx *Context, name string, args VersionArgs, opts ...ResourceOption) (*Version, error)public Version(string name, VersionArgs args, CustomResourceOptions? opts = null)
public Version(String name, VersionArgs args)
public Version(String name, VersionArgs args, CustomResourceOptions options)
type: google-native:firebasehosting/v1beta1:Version
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 VersionArgs
- 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 VersionArgs
- 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 VersionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VersionArgs
- 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 exampleversionResourceResourceFromFirebasehostingv1beta1 = new GoogleNative.FirebaseHosting.V1Beta1.Version("exampleversionResourceResourceFromFirebasehostingv1beta1", new()
{
    SiteId = "string",
    Config = new GoogleNative.FirebaseHosting.V1Beta1.Inputs.ServingConfigArgs
    {
        AppAssociation = GoogleNative.FirebaseHosting.V1Beta1.ServingConfigAppAssociation.Auto,
        CleanUrls = false,
        Headers = new[]
        {
            new GoogleNative.FirebaseHosting.V1Beta1.Inputs.HeaderArgs
            {
                Headers = 
                {
                    { "string", "string" },
                },
                Glob = "string",
                Regex = "string",
            },
        },
        I18n = new GoogleNative.FirebaseHosting.V1Beta1.Inputs.I18nConfigArgs
        {
            Root = "string",
        },
        Redirects = new[]
        {
            new GoogleNative.FirebaseHosting.V1Beta1.Inputs.RedirectArgs
            {
                Location = "string",
                StatusCode = 0,
                Glob = "string",
                Regex = "string",
            },
        },
        Rewrites = new[]
        {
            new GoogleNative.FirebaseHosting.V1Beta1.Inputs.RewriteArgs
            {
                DynamicLinks = false,
                Function = "string",
                FunctionRegion = "string",
                Glob = "string",
                Path = "string",
                Regex = "string",
                Run = new GoogleNative.FirebaseHosting.V1Beta1.Inputs.CloudRunRewriteArgs
                {
                    ServiceId = "string",
                    Region = "string",
                    Tag = "string",
                },
            },
        },
        TrailingSlashBehavior = GoogleNative.FirebaseHosting.V1Beta1.ServingConfigTrailingSlashBehavior.TrailingSlashBehaviorUnspecified,
    },
    Labels = 
    {
        { "string", "string" },
    },
    Name = "string",
    Project = "string",
    SizeBytes = "string",
    VersionId = "string",
});
example, err := firebasehosting.NewVersion(ctx, "exampleversionResourceResourceFromFirebasehostingv1beta1", &firebasehosting.VersionArgs{
	SiteId: pulumi.String("string"),
	Config: &firebasehosting.ServingConfigArgs{
		AppAssociation: firebasehosting.ServingConfigAppAssociationAuto,
		CleanUrls:      pulumi.Bool(false),
		Headers: firebasehosting.HeaderArray{
			&firebasehosting.HeaderArgs{
				Headers: pulumi.StringMap{
					"string": pulumi.String("string"),
				},
				Glob:  pulumi.String("string"),
				Regex: pulumi.String("string"),
			},
		},
		I18n: &firebasehosting.I18nConfigArgs{
			Root: pulumi.String("string"),
		},
		Redirects: firebasehosting.RedirectArray{
			&firebasehosting.RedirectArgs{
				Location:   pulumi.String("string"),
				StatusCode: pulumi.Int(0),
				Glob:       pulumi.String("string"),
				Regex:      pulumi.String("string"),
			},
		},
		Rewrites: firebasehosting.RewriteArray{
			&firebasehosting.RewriteArgs{
				DynamicLinks:   pulumi.Bool(false),
				Function:       pulumi.String("string"),
				FunctionRegion: pulumi.String("string"),
				Glob:           pulumi.String("string"),
				Path:           pulumi.String("string"),
				Regex:          pulumi.String("string"),
				Run: &firebasehosting.CloudRunRewriteArgs{
					ServiceId: pulumi.String("string"),
					Region:    pulumi.String("string"),
					Tag:       pulumi.String("string"),
				},
			},
		},
		TrailingSlashBehavior: firebasehosting.ServingConfigTrailingSlashBehaviorTrailingSlashBehaviorUnspecified,
	},
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Name:      pulumi.String("string"),
	Project:   pulumi.String("string"),
	SizeBytes: pulumi.String("string"),
	VersionId: pulumi.String("string"),
})
var exampleversionResourceResourceFromFirebasehostingv1beta1 = new Version("exampleversionResourceResourceFromFirebasehostingv1beta1", VersionArgs.builder()
    .siteId("string")
    .config(ServingConfigArgs.builder()
        .appAssociation("AUTO")
        .cleanUrls(false)
        .headers(HeaderArgs.builder()
            .headers(Map.of("string", "string"))
            .glob("string")
            .regex("string")
            .build())
        .i18n(I18nConfigArgs.builder()
            .root("string")
            .build())
        .redirects(RedirectArgs.builder()
            .location("string")
            .statusCode(0)
            .glob("string")
            .regex("string")
            .build())
        .rewrites(RewriteArgs.builder()
            .dynamicLinks(false)
            .function("string")
            .functionRegion("string")
            .glob("string")
            .path("string")
            .regex("string")
            .run(CloudRunRewriteArgs.builder()
                .serviceId("string")
                .region("string")
                .tag("string")
                .build())
            .build())
        .trailingSlashBehavior("TRAILING_SLASH_BEHAVIOR_UNSPECIFIED")
        .build())
    .labels(Map.of("string", "string"))
    .name("string")
    .project("string")
    .sizeBytes("string")
    .versionId("string")
    .build());
exampleversion_resource_resource_from_firebasehostingv1beta1 = google_native.firebasehosting.v1beta1.Version("exampleversionResourceResourceFromFirebasehostingv1beta1",
    site_id="string",
    config={
        "app_association": google_native.firebasehosting.v1beta1.ServingConfigAppAssociation.AUTO,
        "clean_urls": False,
        "headers": [{
            "headers": {
                "string": "string",
            },
            "glob": "string",
            "regex": "string",
        }],
        "i18n": {
            "root": "string",
        },
        "redirects": [{
            "location": "string",
            "status_code": 0,
            "glob": "string",
            "regex": "string",
        }],
        "rewrites": [{
            "dynamic_links": False,
            "function": "string",
            "function_region": "string",
            "glob": "string",
            "path": "string",
            "regex": "string",
            "run": {
                "service_id": "string",
                "region": "string",
                "tag": "string",
            },
        }],
        "trailing_slash_behavior": google_native.firebasehosting.v1beta1.ServingConfigTrailingSlashBehavior.TRAILING_SLASH_BEHAVIOR_UNSPECIFIED,
    },
    labels={
        "string": "string",
    },
    name="string",
    project="string",
    size_bytes="string",
    version_id="string")
const exampleversionResourceResourceFromFirebasehostingv1beta1 = new google_native.firebasehosting.v1beta1.Version("exampleversionResourceResourceFromFirebasehostingv1beta1", {
    siteId: "string",
    config: {
        appAssociation: google_native.firebasehosting.v1beta1.ServingConfigAppAssociation.Auto,
        cleanUrls: false,
        headers: [{
            headers: {
                string: "string",
            },
            glob: "string",
            regex: "string",
        }],
        i18n: {
            root: "string",
        },
        redirects: [{
            location: "string",
            statusCode: 0,
            glob: "string",
            regex: "string",
        }],
        rewrites: [{
            dynamicLinks: false,
            "function": "string",
            functionRegion: "string",
            glob: "string",
            path: "string",
            regex: "string",
            run: {
                serviceId: "string",
                region: "string",
                tag: "string",
            },
        }],
        trailingSlashBehavior: google_native.firebasehosting.v1beta1.ServingConfigTrailingSlashBehavior.TrailingSlashBehaviorUnspecified,
    },
    labels: {
        string: "string",
    },
    name: "string",
    project: "string",
    sizeBytes: "string",
    versionId: "string",
});
type: google-native:firebasehosting/v1beta1:Version
properties:
    config:
        appAssociation: AUTO
        cleanUrls: false
        headers:
            - glob: string
              headers:
                string: string
              regex: string
        i18n:
            root: string
        redirects:
            - glob: string
              location: string
              regex: string
              statusCode: 0
        rewrites:
            - dynamicLinks: false
              function: string
              functionRegion: string
              glob: string
              path: string
              regex: string
              run:
                region: string
                serviceId: string
                tag: string
        trailingSlashBehavior: TRAILING_SLASH_BEHAVIOR_UNSPECIFIED
    labels:
        string: string
    name: string
    project: string
    siteId: string
    sizeBytes: string
    versionId: string
Version 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 Version resource accepts the following input properties:
- SiteId string
- Config
Pulumi.Google Native. Firebase Hosting. V1Beta1. Inputs. Serving Config 
- The configuration for the behavior of the site. This configuration exists in the firebase.jsonfile.
- 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.
- Project string
- SizeBytes string
- The self-reported size of the version. This value is used for a pre-emptive quota check for legacy version uploads.
- VersionId string
- A unique id for the new version. This is was only specified for legacy version creations, and should be blank.
- SiteId string
- Config
ServingConfig Args 
- The configuration for the behavior of the site. This configuration exists in the firebase.jsonfile.
- 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.
- Project string
- SizeBytes string
- The self-reported size of the version. This value is used for a pre-emptive quota check for legacy version uploads.
- VersionId string
- A unique id for the new version. This is was only specified for legacy version creations, and should be blank.
- siteId String
- config
ServingConfig 
- The configuration for the behavior of the site. This configuration exists in the firebase.jsonfile.
- 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.
- project String
- sizeBytes String
- The self-reported size of the version. This value is used for a pre-emptive quota check for legacy version uploads.
- versionId String
- A unique id for the new version. This is was only specified for legacy version creations, and should be blank.
- siteId string
- config
ServingConfig 
- The configuration for the behavior of the site. This configuration exists in the firebase.jsonfile.
- 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.
- project string
- sizeBytes string
- The self-reported size of the version. This value is used for a pre-emptive quota check for legacy version uploads.
- versionId string
- A unique id for the new version. This is was only specified for legacy version creations, and should be blank.
- site_id str
- config
ServingConfig Args 
- The configuration for the behavior of the site. This configuration exists in the firebase.jsonfile.
- 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.
- project str
- size_bytes str
- The self-reported size of the version. This value is used for a pre-emptive quota check for legacy version uploads.
- version_id str
- A unique id for the new version. This is was only specified for legacy version creations, and should be blank.
- siteId String
- config Property Map
- The configuration for the behavior of the site. This configuration exists in the firebase.jsonfile.
- 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.
- project String
- sizeBytes String
- The self-reported size of the version. This value is used for a pre-emptive quota check for legacy version uploads.
- versionId String
- A unique id for the new version. This is was only specified for legacy version creations, and should be blank.
Outputs
All input properties are implicitly available as output properties. Additionally, the Version resource produces the following output properties:
- CreateTime string
- The time at which the version was created.
- CreateUser Pulumi.Google Native. Firebase Hosting. V1Beta1. Outputs. Acting User Response 
- Identifies the user who created the version.
- DeleteTime string
- The time at which the version was DELETED.
- DeleteUser Pulumi.Google Native. Firebase Hosting. V1Beta1. Outputs. Acting User Response 
- Identifies the user who DELETEDthe 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.Google Native. Firebase Hosting. V1Beta1. Outputs. Acting User Response 
- Identifies the user who FINALIZEDthe version.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The deploy status of the version. For a successful deploy, call CreateVersionto make a new version (CREATEDstatus), upload all desired files to the version, then update the version to theFINALIZEDstatus. Note that if you leave the version in theCREATEDstate for more than 12 hours, the system will automatically mark the version asABANDONED. You can also change the status of a version toDELETEDby callingDeleteVersion.
- VersionBytes string
- The total stored bytesize of the version. This value is calculated after a version is FINALIZED.
- CreateTime string
- The time at which the version was created.
- CreateUser ActingUser Response 
- Identifies the user who created the version.
- DeleteTime string
- The time at which the version was DELETED.
- DeleteUser ActingUser Response 
- Identifies the user who DELETEDthe 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 ActingUser Response 
- Identifies the user who FINALIZEDthe version.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The deploy status of the version. For a successful deploy, call CreateVersionto make a new version (CREATEDstatus), upload all desired files to the version, then update the version to theFINALIZEDstatus. Note that if you leave the version in theCREATEDstate for more than 12 hours, the system will automatically mark the version asABANDONED. You can also change the status of a version toDELETEDby callingDeleteVersion.
- VersionBytes string
- The total stored bytesize of the version. This value is calculated after a version is FINALIZED.
- createTime String
- The time at which the version was created.
- createUser ActingUser Response 
- Identifies the user who created the version.
- deleteTime String
- The time at which the version was DELETED.
- deleteUser ActingUser Response 
- Identifies the user who DELETEDthe 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 ActingUser Response 
- Identifies the user who FINALIZEDthe version.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The deploy status of the version. For a successful deploy, call CreateVersionto make a new version (CREATEDstatus), upload all desired files to the version, then update the version to theFINALIZEDstatus. Note that if you leave the version in theCREATEDstate for more than 12 hours, the system will automatically mark the version asABANDONED. You can also change the status of a version toDELETEDby callingDeleteVersion.
- versionBytes String
- The total stored bytesize of the version. This value is calculated after a version is FINALIZED.
- createTime string
- The time at which the version was created.
- createUser ActingUser Response 
- Identifies the user who created the version.
- deleteTime string
- The time at which the version was DELETED.
- deleteUser ActingUser Response 
- Identifies the user who DELETEDthe 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 ActingUser Response 
- Identifies the user who FINALIZEDthe version.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- The deploy status of the version. For a successful deploy, call CreateVersionto make a new version (CREATEDstatus), upload all desired files to the version, then update the version to theFINALIZEDstatus. Note that if you leave the version in theCREATEDstate for more than 12 hours, the system will automatically mark the version asABANDONED. You can also change the status of a version toDELETEDby callingDeleteVersion.
- versionBytes string
- The total stored bytesize of the version. This value is calculated after a version is FINALIZED.
- 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 DELETEDthe 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 FINALIZEDthe version.
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- The deploy status of the version. For a successful deploy, call CreateVersionto make a new version (CREATEDstatus), upload all desired files to the version, then update the version to theFINALIZEDstatus. Note that if you leave the version in theCREATEDstate for more than 12 hours, the system will automatically mark the version asABANDONED. You can also change the status of a version toDELETEDby callingDeleteVersion.
- version_bytes str
- The total stored bytesize of the version. This value is calculated after a version is FINALIZED.
- 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 DELETEDthe 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 FINALIZEDthe version.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The deploy status of the version. For a successful deploy, call CreateVersionto make a new version (CREATEDstatus), upload all desired files to the version, then update the version to theFINALIZEDstatus. Note that if you leave the version in theCREATEDstate for more than 12 hours, the system will automatically mark the version asABANDONED. You can also change the status of a version toDELETEDby callingDeleteVersion.
- versionBytes String
- The total stored bytesize of the version. This value is calculated after a version is FINALIZED.
Supporting Types
ActingUserResponse, ActingUserResponseArgs      
CloudRunRewrite, CloudRunRewriteArgs      
- ServiceId string
- User-defined ID of the Cloud Run service.
- Region string
- Optional. User-provided region where the Cloud Run service is hosted. Defaults to us-central1if not supplied.
- Tag string
- Optional. User-provided TrafficConfig tag to send traffic to. When omitted, traffic is sent to the service-wide URI
- ServiceId string
- User-defined ID of the Cloud Run service.
- Region string
- Optional. User-provided region where the Cloud Run service is hosted. Defaults to us-central1if not supplied.
- Tag string
- Optional. User-provided TrafficConfig tag to send traffic to. When omitted, traffic is sent to the service-wide URI
- serviceId String
- User-defined ID of the Cloud Run service.
- region String
- Optional. User-provided region where the Cloud Run service is hosted. Defaults to us-central1if not supplied.
- tag String
- Optional. User-provided TrafficConfig tag to send traffic to. When omitted, traffic is sent to the service-wide URI
- serviceId string
- User-defined ID of the Cloud Run service.
- region string
- Optional. User-provided region where the Cloud Run service is hosted. Defaults to us-central1if not supplied.
- tag string
- Optional. User-provided TrafficConfig tag to send traffic to. When omitted, traffic is sent to the service-wide URI
- service_id str
- User-defined ID of the Cloud Run service.
- region str
- Optional. User-provided region where the Cloud Run service is hosted. Defaults to us-central1if not supplied.
- tag str
- Optional. User-provided TrafficConfig tag to send traffic to. When omitted, traffic is sent to the service-wide URI
- serviceId String
- User-defined ID of the Cloud Run service.
- region String
- Optional. User-provided region where the Cloud Run service is hosted. Defaults to us-central1if not supplied.
- tag String
- Optional. User-provided TrafficConfig tag to send traffic to. When omitted, traffic is sent to the service-wide URI
CloudRunRewriteResponse, CloudRunRewriteResponseArgs        
- Region string
- Optional. User-provided region where the Cloud Run service is hosted. Defaults to us-central1if 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-central1if 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-central1if 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-central1if 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-central1if 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-central1if 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
Header, HeaderArgs  
HeaderResponse, HeaderResponseArgs    
I18nConfig, I18nConfigArgs    
- 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.
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.
Redirect, RedirectArgs  
- 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"
- 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.
- Regex string
- The user-supplied RE2 regular expression 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"
- 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.
- Regex string
- The user-supplied RE2 regular expression 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"
- 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.
- regex String
- The user-supplied RE2 regular expression 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"
- statusCode number
- 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.
- regex string
- The user-supplied RE2 regular expression 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"
- status_code int
- 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.
- regex str
- The user-supplied RE2 regular expression 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"
- statusCode Number
- 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.
- regex String
- The user-supplied RE2 regular expression to match against the request URL path.
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.
Rewrite, RewriteArgs  
- 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.Google Native. Firebase Hosting. V1Beta1. Inputs. Cloud Run Rewrite 
- 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
CloudRun Rewrite 
- 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
CloudRun Rewrite 
- 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
CloudRun Rewrite 
- 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
CloudRun Rewrite 
- 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.
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.Google Native. Firebase Hosting. V1Beta1. Inputs. Cloud Run Rewrite Response 
- 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
CloudRun Rewrite Response 
- 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
CloudRun Rewrite Response 
- 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
CloudRun 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
CloudRun Rewrite Response 
- 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.
ServingConfig, ServingConfigArgs    
- AppAssociation Pulumi.Google Native. Firebase Hosting. V1Beta1. Serving Config App Association 
- How to handle well known App Association files.
- CleanUrls bool
- Defines whether to drop the file extension from uploaded files.
- Headers
List<Pulumi.Google Native. Firebase Hosting. V1Beta1. Inputs. Header> 
- 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 
- Optional. Defines i18n rewrite behavior.
- Redirects
List<Pulumi.Google Native. Firebase Hosting. V1Beta1. Inputs. Redirect> 
- 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> 
- 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.
- TrailingSlash Pulumi.Behavior Google Native. Firebase Hosting. V1Beta1. Serving Config Trailing Slash Behavior 
- Defines how to handle a trailing slash in the URL path.
- AppAssociation ServingConfig App Association 
- How to handle well known App Association files.
- CleanUrls bool
- Defines whether to drop the file extension from uploaded files.
- Headers []Header
- 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
I18nConfig 
- Optional. Defines i18n rewrite behavior.
- Redirects []Redirect
- 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
- 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.
- TrailingSlash ServingBehavior Config Trailing Slash Behavior 
- Defines how to handle a trailing slash in the URL path.
- appAssociation ServingConfig App Association 
- How to handle well known App Association files.
- cleanUrls Boolean
- Defines whether to drop the file extension from uploaded files.
- headers List<Header>
- 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
I18nConfig 
- Optional. Defines i18n rewrite behavior.
- redirects List<Redirect>
- 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>
- 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.
- trailingSlash ServingBehavior Config Trailing Slash Behavior 
- Defines how to handle a trailing slash in the URL path.
- appAssociation ServingConfig App Association 
- How to handle well known App Association files.
- cleanUrls boolean
- Defines whether to drop the file extension from uploaded files.
- headers Header[]
- 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
I18nConfig 
- Optional. Defines i18n rewrite behavior.
- redirects Redirect[]
- 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[]
- 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.
- trailingSlash ServingBehavior Config Trailing Slash Behavior 
- Defines how to handle a trailing slash in the URL path.
- app_association ServingConfig App Association 
- How to handle well known App Association files.
- clean_urls bool
- Defines whether to drop the file extension from uploaded files.
- headers Sequence[Header]
- 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
I18nConfig 
- Optional. Defines i18n rewrite behavior.
- redirects Sequence[Redirect]
- 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]
- 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_ Servingbehavior Config Trailing Slash Behavior 
- Defines how to handle a trailing slash in the URL path.
- appAssociation "AUTO" | "NONE"
- 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.
- trailingSlash "TRAILING_SLASH_BEHAVIOR_UNSPECIFIED" | "ADD" | "REMOVE"Behavior 
- Defines how to handle a trailing slash in the URL path.
ServingConfigAppAssociation, ServingConfigAppAssociationArgs        
- Auto
- AUTOThe app association files will be automatically created from the apps that exist in the Firebase project.
- None
- NONENo special handling of the app association files will occur, these paths will result in a 404 unless caught with a Rewrite.
- ServingConfig App Association Auto 
- AUTOThe app association files will be automatically created from the apps that exist in the Firebase project.
- ServingConfig App Association None 
- NONENo special handling of the app association files will occur, these paths will result in a 404 unless caught with a Rewrite.
- Auto
- AUTOThe app association files will be automatically created from the apps that exist in the Firebase project.
- None
- NONENo special handling of the app association files will occur, these paths will result in a 404 unless caught with a Rewrite.
- Auto
- AUTOThe app association files will be automatically created from the apps that exist in the Firebase project.
- None
- NONENo special handling of the app association files will occur, these paths will result in a 404 unless caught with a Rewrite.
- AUTO
- AUTOThe app association files will be automatically created from the apps that exist in the Firebase project.
- NONE
- NONENo special handling of the app association files will occur, these paths will result in a 404 unless caught with a Rewrite.
- "AUTO"
- AUTOThe app association files will be automatically created from the apps that exist in the Firebase project.
- "NONE"
- NONENo special handling of the app association files will occur, these paths will result in a 404 unless caught with a Rewrite.
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.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.
- TrailingSlash stringBehavior 
- 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
I18nConfig Response 
- 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.
- TrailingSlash stringBehavior 
- 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
I18nConfig Response 
- 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.
- trailingSlash StringBehavior 
- 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
I18nConfig Response 
- 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.
- trailingSlash 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[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
I18nConfig Response 
- 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_ strbehavior 
- 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.
- trailingSlash StringBehavior 
- Defines how to handle a trailing slash in the URL path.
ServingConfigTrailingSlashBehavior, ServingConfigTrailingSlashBehaviorArgs          
- TrailingSlash Behavior Unspecified 
- TRAILING_SLASH_BEHAVIOR_UNSPECIFIEDNo behavior is specified. Files are served at their exact location only, and trailing slashes are only added to directory indexes.
- Add
- ADDTrailing slashes are added to directory indexes as well as to any URL path not ending in a file extension.
- Remove
- REMOVETrailing slashes are removed from directory indexes as well as from any URL path not ending in a file extension.
- ServingConfig Trailing Slash Behavior Trailing Slash Behavior Unspecified 
- TRAILING_SLASH_BEHAVIOR_UNSPECIFIEDNo behavior is specified. Files are served at their exact location only, and trailing slashes are only added to directory indexes.
- ServingConfig Trailing Slash Behavior Add 
- ADDTrailing slashes are added to directory indexes as well as to any URL path not ending in a file extension.
- ServingConfig Trailing Slash Behavior Remove 
- REMOVETrailing slashes are removed from directory indexes as well as from any URL path not ending in a file extension.
- TrailingSlash Behavior Unspecified 
- TRAILING_SLASH_BEHAVIOR_UNSPECIFIEDNo behavior is specified. Files are served at their exact location only, and trailing slashes are only added to directory indexes.
- Add
- ADDTrailing slashes are added to directory indexes as well as to any URL path not ending in a file extension.
- Remove
- REMOVETrailing slashes are removed from directory indexes as well as from any URL path not ending in a file extension.
- TrailingSlash Behavior Unspecified 
- TRAILING_SLASH_BEHAVIOR_UNSPECIFIEDNo behavior is specified. Files are served at their exact location only, and trailing slashes are only added to directory indexes.
- Add
- ADDTrailing slashes are added to directory indexes as well as to any URL path not ending in a file extension.
- Remove
- REMOVETrailing slashes are removed from directory indexes as well as from any URL path not ending in a file extension.
- TRAILING_SLASH_BEHAVIOR_UNSPECIFIED
- TRAILING_SLASH_BEHAVIOR_UNSPECIFIEDNo behavior is specified. Files are served at their exact location only, and trailing slashes are only added to directory indexes.
- ADD
- ADDTrailing slashes are added to directory indexes as well as to any URL path not ending in a file extension.
- REMOVE
- REMOVETrailing slashes are removed from directory indexes as well as from any URL path not ending in a file extension.
- "TRAILING_SLASH_BEHAVIOR_UNSPECIFIED"
- TRAILING_SLASH_BEHAVIOR_UNSPECIFIEDNo behavior is specified. Files are served at their exact location only, and trailing slashes are only added to directory indexes.
- "ADD"
- ADDTrailing slashes are added to directory indexes as well as to any URL path not ending in a file extension.
- "REMOVE"
- REMOVETrailing slashes are removed from directory indexes as well as from any URL path not ending in a file extension.
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.