GetRolloutResult class
Result data returned by getRollout.
Constructors
-
GetRolloutResult({required Map<
String, String> annotations, required String approvalState, required String approveTime, required String controllerRollout, required String createTime, required String deployEndTime, required String deployFailureCause, required String deployStartTime, required String deployingBuild, required String description, required String enqueueTime, required String etag, required String failureReason, required Map<String, String> labels, required MetadataResponse metadata, required String name, required List<PhaseResponse> phases, required String rollbackOfRollout, required List<String> rolledBackByRollouts, required String state, required String targetId, required String uid}) -
Creates a new GetRolloutResult.
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.approvalStateApproval state of theRollout.approveTimeTime at which theRolloutwas approved.controllerRolloutName of theControllerRollout. Format isprojects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/a-z{0,62}.createTimeTime at which theRolloutwas created.deployEndTimeTime at which theRolloutfinished deploying.deployFailureCauseThe reason this rollout failed. This will always be unspecified while the rollout is in progress.deployStartTimeTime at which theRolloutstarted deploying.deployingBuildThe resource name of the Cloud BuildBuildobject that is used to deploy the Rollout. Format isprojects/{project}/locations/{location}/builds/{build}.descriptionDescription of theRolloutfor user purposes. Max length is 255 characters.enqueueTimeTime at which theRolloutwas enqueued.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.failureReasonAdditional information about the rollout failure, if available.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.metadataMetadata contains information about the rollout.nameOptional. Name of theRollout. Format isprojects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/a-z{0,62}.phasesThe phases that represent the workflows of thisRollout.rollbackOfRolloutName of theRolloutthat is rolled back by thisRollout. Empty if thisRolloutwasn't created as a rollback.rolledBackByRolloutsNames ofRolloutsthat rolled back thisRollout.stateCurrent state of theRollout.targetIdThe ID of Target to which thisRolloutis deploying.uidUnique identifier of theRollout.const -
GetRolloutResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
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
- approvalState → String
-
Approval state of the
Rollout.final - approveTime → String
-
Time at which the
Rolloutwas approved.final - controllerRollout → String
-
Name of the
ControllerRollout. Format isprojects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/a-z{0,62}.final - createTime → String
-
Time at which the
Rolloutwas created.final - deployEndTime → String
-
Time at which the
Rolloutfinished deploying.final - deployFailureCause → String
-
The reason this rollout failed. This will always be unspecified while the rollout is in progress.
final
- deployingBuild → String
-
The resource name of the Cloud Build
Buildobject that is used to deploy the Rollout. Format isprojects/{project}/locations/{location}/builds/{build}.final - deployStartTime → String
-
Time at which the
Rolloutstarted deploying.final - description → String
-
Description of the
Rolloutfor user purposes. Max length is 255 characters.final - enqueueTime → String
-
Time at which the
Rolloutwas enqueued.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
- failureReason → String
-
Additional information about the rollout failure, if available.
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
- metadata → MetadataResponse
-
Metadata contains information about the rollout.
final
- name → String
-
Optional. Name of the
Rollout. Format isprojects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/a-z{0,62}.final -
phases
→ List<
PhaseResponse> -
The phases that represent the workflows of this
Rollout.final - rollbackOfRollout → String
-
Name of the
Rolloutthat is rolled back by thisRollout. Empty if thisRolloutwasn't created as a rollback.final -
rolledBackByRollouts
→ List<
String> -
Names of
Rolloutsthat rolled back thisRollout.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → String
-
Current state of the
Rollout.final - targetId → String
-
The ID of Target to which this
Rolloutis deploying.final - uid → String
-
Unique identifier of the
Rollout.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