VersionArgs

data class VersionArgs(val config: Output<ServingConfigArgs>? = null, val labels: Output<Map<String, String>>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val siteId: Output<String>? = null, val sizeBytes: Output<String>? = null, val versionId: Output<String>? = null) : ConvertibleToJava<VersionArgs>

Creates a new version for the specified site.

Constructors

Link copied to clipboard
fun VersionArgs(config: Output<ServingConfigArgs>? = null, labels: Output<Map<String, String>>? = null, name: Output<String>? = null, project: Output<String>? = null, siteId: Output<String>? = null, sizeBytes: Output<String>? = null, versionId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): VersionArgs

Properties

Link copied to clipboard
val config: Output<ServingConfigArgs>? = null

The configuration for the behavior of the site. This configuration exists in the firebase&#46;json file.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

The labels used for extra metadata and/or filtering.

Link copied to clipboard
val name: Output<String>? = null

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 sites.versions/create.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val siteId: Output<String>? = null
Link copied to clipboard
val sizeBytes: Output<String>? = null

The self-reported size of the version. This value is used for a pre-emptive quota check for legacy version uploads.

Link copied to clipboard
val versionId: Output<String>? = null

A unique id for the new version. This is was only specified for legacy version creations, and should be blank.