GetReleaseResult class
Result data returned by getRelease.
Constructors
-
GetReleaseResult({required bool abandoned, required Map<
String, String> annotations, required List<BuildArtifactResponse> buildArtifacts, required ReleaseConditionResponse condition, required String createTime, required DeliveryPipelineResponse deliveryPipelineSnapshot, required Map<String, String> deployParameters, required String description, required String etag, required Map<String, String> labels, required String name, required String renderEndTime, required String renderStartTime, required String renderState, required String skaffoldConfigPath, required String skaffoldConfigUri, required String skaffoldVersion, required Map<String, String> targetArtifacts, required Map<String, String> targetRenders, required List<TargetResponse> targetSnapshots, required String uid}) -
Creates a new GetReleaseResult.
abandonedIndicates whether this is an abandoned release.annotationsUser annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.buildArtifactsList of artifacts to pass through to Skaffold command.conditionInformation around the state of the Release.createTimeTime at which theReleasewas created.deliveryPipelineSnapshotSnapshot of the parent pipeline taken at release creation time.deployParametersOptional. The deploy parameters to use for all targets in this release.descriptionDescription of theRelease. Max length is 255 characters.etagThis checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.labelsLabels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.nameOptional. Name of theRelease. Format isprojects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/a-z{0,62}.renderEndTimeTime at which the render completed.renderStartTimeTime at which the render began.renderStateCurrent state of the render operation.skaffoldConfigPathFilepath of the Skaffold config inside of the config URI.skaffoldConfigUriCloud Storage URI of tar.gz archive containing Skaffold configuration.skaffoldVersionThe Skaffold version to use when operating on this release, such as "1.20.0". Not all versions are valid; Cloud Deploy supports a specific set of versions. If unset, the most recent supported Skaffold version will be used.targetArtifactsMap from target ID to the target artifacts created during the render operation.targetRendersMap from target ID to details of the render operation for that target.targetSnapshotsSnapshot of the targets taken at release creation time.uidUnique identifier of theRelease.const -
GetReleaseResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- abandoned → bool
-
Indicates whether this is an abandoned release.
final
-
annotations
→ Map<
String, String> -
User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
final
-
buildArtifacts
→ List<
BuildArtifactResponse> -
List of artifacts to pass through to Skaffold command.
final
- condition → ReleaseConditionResponse
-
Information around the state of the Release.
final
- createTime → String
-
Time at which the
Releasewas created.final - deliveryPipelineSnapshot → DeliveryPipelineResponse
-
Snapshot of the parent pipeline taken at release creation time.
final
-
deployParameters
→ Map<
String, String> -
Optional. The deploy parameters to use for all targets in this release.
final
- description → String
-
Description of the
Release. Max length is 255 characters.final - etag → String
-
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Map<
String, String> -
Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
final
- name → String
-
Optional. Name of the
Release. Format isprojects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/a-z{0,62}.final - renderEndTime → String
-
Time at which the render completed.
final
- renderStartTime → String
-
Time at which the render began.
final
- renderState → String
-
Current state of the render operation.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skaffoldConfigPath → String
-
Filepath of the Skaffold config inside of the config URI.
final
- skaffoldConfigUri → String
-
Cloud Storage URI of tar.gz archive containing Skaffold configuration.
final
- skaffoldVersion → String
-
The Skaffold version to use when operating on this release, such as "1.20.0". Not all versions are valid; Cloud Deploy supports a specific set of versions. If unset, the most recent supported Skaffold version will be used.
final
-
targetArtifacts
→ Map<
String, String> -
Map from target ID to the target artifacts created during the render operation.
final
-
targetRenders
→ Map<
String, String> -
Map from target ID to details of the render operation for that target.
final
-
targetSnapshots
→ List<
TargetResponse> -
Snapshot of the targets taken at release creation time.
final
- uid → String
-
Unique identifier of the
Release.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