Version class
Creates a new version for the specified site.
Constructors
- Version(String name, {VersionArgs? args, CustomResourceOptions? options})
-
Creates a new Version.
nameThe Pulumi resource name.argsArguments used to configure this Version. The set of arguments for Version.optionsResource options controlling this resource's behavior.
Properties
-
childResources
→ Set<
Resource> -
finalinherited
-
completionSources
↔ Map<
String, IOutputCompletionSource> -
latefinalinherited
-
config
↔ Output<
ServingConfigResponse> -
The configuration for the behavior of the site. This configuration exists in the
firebase.jsonfile.latefinal -
createTime
↔ Output<
String> -
The time at which the version was created.
latefinal
-
createUser
↔ Output<
ActingUserResponse> -
Identifies the user who created the version.
latefinal
-
deleteTime
↔ Output<
String> -
The time at which the version was
DELETED.latefinal -
deleteUser
↔ Output<
ActingUserResponse> -
Identifies the user who
DELETEDthe version.latefinal -
fileCount
↔ Output<
String> -
The total number of files associated with the version. This value is calculated after a version is
FINALIZED.latefinal -
finalizeTime
↔ Output<
String> -
The time at which the version was
FINALIZED.latefinal -
finalizeUser
↔ Output<
ActingUserResponse> -
Identifies the user who
FINALIZEDthe version.latefinal - hashCode → int
-
The hash code for this object.
no setterinherited
-
id
↔ Output<
String> -
getter/setter pairinherited
- isCustom → bool
-
Returns whether this resource is provider-managed.
no setterinherited
- isProtected → bool
-
Returns whether this resource is protected from deletion.
no setterinherited
- isRemote → bool
-
Whether this resource is registered as remote.
no setterinherited
- isResourceReference → bool
-
Whether this instance represents a resource value returned over RPC.
finalinherited
-
labels
↔ Output<
Map< String, String> > -
The labels used for extra metadata and/or filtering.
latefinal
-
name
↔ Output<
String> -
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.latefinal -
project
↔ Output<
String> -
latefinal
-
resourceTransforms
→ List<
ResourceTransform> -
Inherited/explicit async transforms.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
siteId
↔ Output<
String> -
latefinal
-
sizeBytes
↔ Output<
String?> -
The self-reported size of the version. This value is used for a pre-emptive quota check for legacy version uploads.
latefinal
-
status
↔ Output<
String> -
The deploy status of the version. For a successful deploy, call
CreateVersionto make a new version (CREATEDstatus), upload all desired files to the version, then update the version to theFINALIZEDstatus. Note that if you leave the version in theCREATEDstate for more than 12 hours, the system will automatically mark the version asABANDONED. You can also change the status of a version toDELETEDby callingDeleteVersion.latefinal -
transformations
→ List<
ResourceTransformation> -
Inherited/explicit legacy transformations.
no setterinherited
-
urn
↔ Output<
String> -
latefinalinherited
-
versionBytes
↔ Output<
String> -
The total stored bytesize of the version. This value is calculated after a version is
FINALIZED.latefinal -
versionId
↔ Output<
String?> -
A unique id for the new version. This is was only specified for legacy version creations, and should be blank.
latefinal
Methods
-
failId(
Object error) → void -
Completes this resource ID with an error when registration fails.
inherited
-
failOutputs(
Object error) → void -
Completes all output properties with
error.inherited -
failUrn(
Object error) → void -
Completes this resource URN with an error when registration fails.
inherited
-
getProvider(
String moduleMember) → ProviderResource? -
Returns provider for
moduleMember's package, if configured.inherited -
getResourceName(
) → String -
Returns this resource's logical name.
inherited
-
getResourceType(
) → String -
Returns this resource's Pulumi type token.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerOutput<
T> (String propertyName, {Object? decoder(Object?)?, bool isSecret = false}) → Output< T> -
Registers a dynamic output property for this resource.
inherited
-
resolveId(
String? value, {required bool isKnown}) → void -
Resolves the provider-assigned ID for this resource.
inherited
-
resolveOutputs(
Struct outputs) → void -
Resolves all output properties from a monitor response payload.
inherited
-
resolveUrn(
String value) → void -
Resolves this resource's URN once assigned by the engine.
inherited
-
serializeProperties(
Map< String, dynamic> properties) → Future<Struct> -
Serializes resource properties for RPC transmission.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited