HostingReleaseState class
Input properties used for looking up and filtering HostingRelease resources.
Constructors
-
HostingReleaseState({Input<
String?> ? channelId, Input<String?> ? message, Input<String?> ? name, Input<String?> ? releaseId, Input<String?> ? siteId, Input<String?> ? type, Input<String?> ? versionName}) -
Creates a new HostingReleaseState.
channelIdThe ID of the channel to which the release belongs. If not provided, the release willmessageThe deploy description when the release was created. The value can be up to 512 characters.nameThe unique identifier for the release, in either of the following formats:releaseIdThe unique identifier for the Release.siteIdRequired. The ID of the site to which the release belongs.typeThe type of the release; indicates what happened to the content of the site. There is no need to specifyversionNameThe unique identifier for a version, in the format: sites/SITE_ID/versions/VERSION_ID.const -
HostingReleaseState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
channelId
→ Input<
String?> ? -
The ID of the channel to which the release belongs. If not provided, the release will
belong to the default "live" channel
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
message
→ Input<
String?> ? -
The deploy description when the release was created. The value can be up to 512 characters.
final
-
name
→ Input<
String?> ? -
The unique identifier for the release, in either of the following formats:
sites/SITE_ID/releases/RELEASE_ID
sites/SITE_ID/channels/CHANNEL_ID/releases/RELEASE_ID
final
-
releaseId
→ Input<
String?> ? -
The unique identifier for the Release.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
siteId
→ Input<
String?> ? -
Required. The ID of the site to which the release belongs.
final
-
type
→ Input<
String?> ? -
The type of the release; indicates what happened to the content of the site. There is no need to specify
DEPLOYorROLLBACKtype if aversionNameis provided. DEPLOY: A version was uploaded to Firebase Hosting and released. Output only. ROLLBACK: The release points back to a previously deployed version. Output only. SITE_DISABLE: The release prevents the site from serving content. Firebase Hosting acts as if the site never existed Possible values are:DEPLOY,ROLLBACK,SITE_DISABLE.final -
versionName
→ Input<
String?> ? -
The unique identifier for a version, in the format: sites/SITE_ID/versions/VERSION_ID.
The content of the version specified will be actively displayed on the appropriate URL.
The Version must belong to the same site as in the
siteId. This parameter must be empty if thetypeof the release isSITE_DISABLE.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited