View Source GoogleApi.FirebaseHosting.V1beta1.Model.Version (google_api_firebase_hosting v0.17.1)

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

Attributes

  • config (type: GoogleApi.FirebaseHosting.V1beta1.Model.ServingConfig.t, default: nil) - The configuration for the behavior of the site. This configuration exists in the firebase.json file.
  • createTime (type: DateTime.t, default: nil) - Output only. The time at which the version was created.
  • createUser (type: GoogleApi.FirebaseHosting.V1beta1.Model.ActingUser.t, default: nil) - Output only. Identifies the user who created the version.
  • deleteTime (type: DateTime.t, default: nil) - Output only. The time at which the version was DELETED.
  • deleteUser (type: GoogleApi.FirebaseHosting.V1beta1.Model.ActingUser.t, default: nil) - Output only. Identifies the user who DELETED the version.
  • fileCount (type: String.t, default: nil) - Output only. The total number of files associated with the version. This value is calculated after a version is FINALIZED.
  • finalizeTime (type: DateTime.t, default: nil) - Output only. The time at which the version was FINALIZED.
  • finalizeUser (type: GoogleApi.FirebaseHosting.V1beta1.Model.ActingUser.t, default: nil) - Output only. Identifies the user who FINALIZED the version.
  • labels (type: map(), default: nil) - The labels used for extra metadata and/or filtering.
  • name (type: String.t, default: nil) - 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 (type: String.t, default: nil) - 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 (type: String.t, default: nil) - Output only. The total stored bytesize of the version. This value is calculated after a version is FINALIZED.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.FirebaseHosting.V1beta1.Model.Version{
  config: GoogleApi.FirebaseHosting.V1beta1.Model.ServingConfig.t() | nil,
  createTime: DateTime.t() | nil,
  createUser: GoogleApi.FirebaseHosting.V1beta1.Model.ActingUser.t() | nil,
  deleteTime: DateTime.t() | nil,
  deleteUser: GoogleApi.FirebaseHosting.V1beta1.Model.ActingUser.t() | nil,
  fileCount: String.t() | nil,
  finalizeTime: DateTime.t() | nil,
  finalizeUser: GoogleApi.FirebaseHosting.V1beta1.Model.ActingUser.t() | nil,
  labels: map() | nil,
  name: String.t() | nil,
  status: String.t() | nil,
  versionBytes: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.