google_api_firebase_hosting v0.2.0 API Reference

Modules

API calls for all endpoints tagged Sites.

Handle Tesla connections for GoogleApi.FirebaseHosting.V1beta1.

Contains metadata about the user who performed an action, such as creating a release or finalizing a version.

Represents a DNS certificate challenge.

Represents an HTTP certificate challenge.

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

The intended behavior and status information of a domain.

The current certificate provisioning status information for a domain.

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.

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance

A header defines custom headers to add to a response should the request URL path match the pattern.

Attributes

  • domains (type: list(GoogleApi.FirebaseHosting.V1beta1.Model.Domain.t), default: nil) - The list of domains, if any exist.
  • nextPageToken (type: String.t, default: nil) - The pagination token, if more results exist.

Attributes

  • nextPageToken (type: String.t, default: nil) - If there are additional releases remaining beyond the ones in this response, then supply this token in the next list call to continue with the next set of releases.
  • releases (type: list(GoogleApi.FirebaseHosting.V1beta1.Model.Release.t), default: nil) - The list of hashes of files that still need to be uploaded, if any exist.

Attributes

  • files (type: list(GoogleApi.FirebaseHosting.V1beta1.Model.VersionFile.t), default: nil) - The list path/hashes in the specified version.
  • nextPageToken (type: String.t, default: nil) - The pagination token, if more results exist.

Attributes

  • nextPageToken (type: String.t, default: nil) - The pagination token, if more results exist
  • versions (type: list(GoogleApi.FirebaseHosting.V1beta1.Model.Version.t), default: nil) - The list of versions, if any exist.

Attributes

  • files (type: map(), default: nil) - A set of file paths to the hashes corresponding to assets that should be added to the version. Note that a file path to an empty hash will remove the path from the version. Calculate a hash by Gzipping the file then taking the SHA256 hash of the newly compressed file.

Attributes

  • uploadRequiredHashes (type: list(String.t), default: nil) - The content hashes of the specified files that need to be uploaded to the specified endpoint.
  • uploadUrl (type: String.t, default: nil) - The URL to which the files should be uploaded, in the format:
    "https://upload-firebasehosting.googleapis.com/upload/sites/site-name/versions/versionID/files".
    Perform a multipart POST of the Gzipped file contents to the URL using a forward slash and the hash of the file appended to the end.

Version preview configuration. If active and unexpired, this version will be accessible via a custom URL even if it is not the currently released version.

A redirect represents the configuration for returning an HTTP redirect response given a matching request URL path.

A Release is a particular collection of configurations and files that is set to be public at a particular time.

A rewrite represents an internal content rewrite on the version. If the pattern matches, the request will be handled as if it were to the destination path specified in the configuration.

The configuration for how incoming requests to a site should be routed and processed before serving content. The patterns are matched and applied according to a specific priority order.

A SiteConfig contains metadata associated with a specific site that controls Firebase Hosting serving behavior

A Version is the collection of configuration and static files that determine how a site is displayed.

A static content file that is part of a version.