Show / Hide Table of Contents

Class Version

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

Inheritance
object
Version
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.FirebaseHosting.v1beta1.Data
Assembly: Google.Apis.FirebaseHosting.v1beta1.dll
Syntax
public class Version : IDirectResponseSchema

Properties

Config

The configuration for the behavior of the site. This configuration exists in the firebase.json file.

Declaration
[JsonProperty("config")]
public virtual ServingConfig Config { get; set; }
Property Value
Type Description
ServingConfig

CreateTime

object representation of CreateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type Description
object

CreateTimeDateTimeOffset

DateTimeOffset representation of CreateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

CreateTimeRaw

Output only. The time at which the version was created.

Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type Description
string

CreateUser

Output only. Identifies the user who created the version.

Declaration
[JsonProperty("createUser")]
public virtual ActingUser CreateUser { get; set; }
Property Value
Type Description
ActingUser

DeleteTime

object representation of DeleteTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use DeleteTimeDateTimeOffset instead.")]
public virtual object DeleteTime { get; set; }
Property Value
Type Description
object

DeleteTimeDateTimeOffset

DateTimeOffset representation of DeleteTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? DeleteTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

DeleteTimeRaw

Output only. The time at which the version was DELETED.

Declaration
[JsonProperty("deleteTime")]
public virtual string DeleteTimeRaw { get; set; }
Property Value
Type Description
string

DeleteUser

Output only. Identifies the user who DELETED the version.

Declaration
[JsonProperty("deleteUser")]
public virtual ActingUser DeleteUser { get; set; }
Property Value
Type Description
ActingUser

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

FileCount

Output only. The total number of files associated with the version. This value is calculated after a version is FINALIZED.

Declaration
[JsonProperty("fileCount")]
public virtual long? FileCount { get; set; }
Property Value
Type Description
long?

FinalizeTime

object representation of FinalizeTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use FinalizeTimeDateTimeOffset instead.")]
public virtual object FinalizeTime { get; set; }
Property Value
Type Description
object

FinalizeTimeDateTimeOffset

DateTimeOffset representation of FinalizeTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? FinalizeTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

FinalizeTimeRaw

Output only. The time at which the version was FINALIZED.

Declaration
[JsonProperty("finalizeTime")]
public virtual string FinalizeTimeRaw { get; set; }
Property Value
Type Description
string

FinalizeUser

Output only. Identifies the user who FINALIZED the version.

Declaration
[JsonProperty("finalizeUser")]
public virtual ActingUser FinalizeUser { get; set; }
Property Value
Type Description
ActingUser

Labels

The labels used for extra metadata and/or filtering.

Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type Description
IDictionary<string, string>

Name

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.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

Status

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.

Declaration
[JsonProperty("status")]
public virtual string Status { get; set; }
Property Value
Type Description
string

VersionBytes

Output only. The total stored bytesize of the version. This value is calculated after a version is FINALIZED.

Declaration
[JsonProperty("versionBytes")]
public virtual long? VersionBytes { get; set; }
Property Value
Type Description
long?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX