Package-level declarations

Types

Link copied to clipboard
data class CloudRunRewriteArgs(val region: Output<String>? = null, val serviceId: Output<String>, val tag: Output<String>? = null) : ConvertibleToJava<CloudRunRewriteArgs>

A configured rewrite that directs requests to a Cloud Run service. If the Cloud Run service does not exist when setting or updating your Firebase Hosting configuration, then the request fails. Any errors from the Cloud Run service are passed to the end user (for example, if you delete a service, any requests directed to that service receive a 404 error).

Link copied to clipboard
data class DomainRedirectArgs(val domainName: Output<String>, val type: Output<DomainRedirectType>) : ConvertibleToJava<DomainRedirectArgs>

Defines the behavior of a domain-level redirect. Domain redirects preserve the path of the redirect but replace the requested domain with the one specified in the redirect configuration.

Link copied to clipboard
Link copied to clipboard
data class GetChannelPlainArgs(val channelId: String, val project: String? = null, val siteId: String) : ConvertibleToJava<GetChannelPlainArgs>
Link copied to clipboard
data class GetDomainPlainArgs(val domainId: String, val project: String? = null, val siteId: String) : ConvertibleToJava<GetDomainPlainArgs>
Link copied to clipboard
Link copied to clipboard
data class GetReleasePlainArgs(val channelId: String, val project: String? = null, val releaseId: String, val siteId: String) : ConvertibleToJava<GetReleasePlainArgs>
Link copied to clipboard
data class GetSitePlainArgs(val project: String? = null, val siteId: String) : ConvertibleToJava<GetSitePlainArgs>
Link copied to clipboard
Link copied to clipboard
data class GetVersionPlainArgs(val project: String? = null, val siteId: String, val versionId: String) : ConvertibleToJava<GetVersionPlainArgs>
Link copied to clipboard
data class HeaderArgs(val glob: Output<String>? = null, val headers: Output<Map<String, String>>, val regex: Output<String>? = null) : ConvertibleToJava<HeaderArgs>

A Header specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.

Link copied to clipboard

Builder for HeaderArgs.

Link copied to clipboard
data class I18nConfigArgs(val root: Output<String>) : ConvertibleToJava<I18nConfigArgs>

If provided, i18n rewrites are enabled.

Link copied to clipboard
Link copied to clipboard
data class RedirectArgs(val glob: Output<String>? = null, val location: Output<String>, val regex: Output<String>? = null, val statusCode: Output<Int>) : ConvertibleToJava<RedirectArgs>

A Redirect specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.

Link copied to clipboard
Link copied to clipboard
data class RewriteArgs(val dynamicLinks: Output<Boolean>? = null, val function: Output<String>? = null, val functionRegion: Output<String>? = null, val glob: Output<String>? = null, val path: Output<String>? = null, val regex: Output<String>? = null, val run: Output<CloudRunRewriteArgs>? = null) : ConvertibleToJava<RewriteArgs>

A Rewrite 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.

Link copied to clipboard
Link copied to clipboard
data class ServingConfigArgs(val appAssociation: Output<ServingConfigAppAssociation>? = null, val cleanUrls: Output<Boolean>? = null, val headers: Output<List<HeaderArgs>>? = null, val i18n: Output<I18nConfigArgs>? = null, val redirects: Output<List<RedirectArgs>>? = null, val rewrites: Output<List<RewriteArgs>>? = null, val trailingSlashBehavior: Output<ServingConfigTrailingSlashBehavior>? = null) : ConvertibleToJava<ServingConfigArgs>

The configuration for how incoming requests to a site should be routed and processed before serving content. The URL request paths are matched against the specified URL patterns in the configuration, then Hosting applies the applicable configuration according to a specific priority order.

Link copied to clipboard