firebasehosting/v1beta1 library

Firebase Hosting API - v1beta1

The Firebase Hosting REST API enables programmatic and customizable management and deployments to your Firebase-hosted sites. Use this REST API to create and manage channels and sites as well as to deploy new or updated hosting configurations and content files.

For more information, see firebase.google.com/docs/hosting/

Create an instance of FirebaseHostingApi to access these resources:

Classes

ActingUser
Contains metadata about the user who performed an action, such as creating a release or finalizing a version.
CertDnsChallenge
Represents a DNS certificate challenge.
CertHttpChallenge
Represents an HTTP certificate challenge.
Channel
A Channel represents a stream of releases for a site.
CloneVersionRequest
CloudRunRewrite
A configured rewrite that directs requests to a Cloud Run service.
Domain
The intended behavior and status information of a domain.
DomainProvisioning
The current certificate provisioning status information for a domain.
DomainRedirect
Defines the behavior of a domain-level redirect.
FirebaseHostingApi
The Firebase Hosting REST API enables programmatic and customizable management and deployments to your Firebase-hosted sites.
A [Header](https://firebase.google.com/docs/hosting/full-config#headers) specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.
I18nConfig
If provided, i18n rewrites are enabled.
ListChannelsResponse
ListDomainsResponse
The response to listing Domains.
ListReleasesResponse
ListSitesResponse
ListVersionFilesResponse
ListVersionsResponse
Operation
This resource represents a long-running operation that is the result of a network API call.
PathFilter
A representation of filter path.
PopulateVersionFilesRequest
PopulateVersionFilesResponse
ProjectsOperationsResource
ProjectsResource
ProjectsSitesChannelsReleasesResource
ProjectsSitesChannelsResource
ProjectsSitesDomainsResource
ProjectsSitesReleasesResource
ProjectsSitesResource
ProjectsSitesVersionsFilesResource
ProjectsSitesVersionsResource
Redirect
A [Redirect](https://firebase.google.com/docs/hosting/full-config#redirects) specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.
Release
A Release is a particular [collection of configurations and files](sites.versions) that is set to be public at a particular time.
Rewrite
A [Rewrite](https://firebase.google.com/docs/hosting/full-config#rewrites) 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.
ServingConfig
The configuration for how incoming requests to a site should be routed and processed before serving content.
Site
A Site represents a Firebase Hosting site.
SiteConfig
A SiteConfig contains metadata associated with a specific site that controls Firebase Hosting serving behavior
SitesChannelsReleasesResource
SitesChannelsResource
SitesDomainsResource
SitesReleasesResource
SitesResource
SitesVersionsFilesResource
SitesVersionsResource
Version
A Version is a configuration and a collection of static files which determine how a site is displayed.
VersionFile
A static content file that is part of a version.

Typedefs

Empty = $Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
Status = $Status
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.