google_api_firebase_hosting v0.8.1 GoogleApi.FirebaseHosting.V1beta1.Model.Version View Source
A Version is the collection of configuration and
static files that 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 thefirebase.jsonfile. -
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 wasDELETED. -
deleteUser(type:GoogleApi.FirebaseHosting.V1beta1.Model.ActingUser.t, default:nil) - Output only. Identifies the user whoDELETEDthe version. -
fileCount(type:String.t, default:nil) - Output only. The total number of files associated with the version. <br>This value is calculated after a version isFINALIZED. -
finalizeTime(type:DateTime.t, default:nil) - Output only. The time at which the version wasFINALIZED. -
finalizeUser(type:GoogleApi.FirebaseHosting.V1beta1.Model.ActingUser.t, default:nil) - Output only. Identifies the user whoFINALIZEDthe version. -
labels(type:map(), default:nil) - The labels used for extra metadata and/or filtering. -
name(type:String.t, default:nil) - The unique identifier for a version, in the format: <code>sites/<var>site-name</var>/versions/<var>versionID</var></code> This name is provided in the response body when you call theCreateVersionendpoint. -
preview(type:GoogleApi.FirebaseHosting.V1beta1.Model.PreviewConfig.t, default:nil) - Version preview configuration for the site version. This configuration specfies whether previewing is enabled for this site version. Version previews allow you to preview your site at a custom URL before releasing it as the live version. -
status(type:String.t, default:nil) - The deploy status of a version. <br> <br>For a successful deploy, call theCreateVersionendpoint to make a new version (CREATEDstatus), upload all desired files to the version, then update the version to theFINALIZEDstatus. <br> <br>Note that if you leave the version in theCREATEDstate for more than 12 hours, the system will automatically mark the version asABANDONED. <br> <br>You can also change the status of a version toDELETEDby calling theDeleteVersionendpoint. -
versionBytes(type:String.t, default:nil) - Output only. The total stored bytesize of the version. <br>This value is calculated after a version isFINALIZED.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.FirebaseHosting.V1beta1.Model.Version{
config: GoogleApi.FirebaseHosting.V1beta1.Model.ServingConfig.t(),
createTime: DateTime.t(),
createUser: GoogleApi.FirebaseHosting.V1beta1.Model.ActingUser.t(),
deleteTime: DateTime.t(),
deleteUser: GoogleApi.FirebaseHosting.V1beta1.Model.ActingUser.t(),
fileCount: String.t(),
finalizeTime: DateTime.t(),
finalizeUser: GoogleApi.FirebaseHosting.V1beta1.Model.ActingUser.t(),
labels: map(),
name: String.t(),
preview: GoogleApi.FirebaseHosting.V1beta1.Model.PreviewConfig.t(),
status: String.t(),
versionBytes: String.t()
}
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.