public sealed class PromoteReleaseRule : IMessage<PromoteReleaseRule>, IEquatable<PromoteReleaseRule>, IDeepCloneable<PromoteReleaseRule>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Deploy v1 API class PromoteReleaseRule.
The PromoteRelease rule will automatically promote a release from the
current target to a specified target.
Optional. The ID of the stage in the pipeline to which this Release is
deploying. If unspecified, default it to the next stage in the promotion
flow. The value of this field could be one of the following:
The last segment of a target name
"@next", the next target in the promotion sequence
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe webpage provides documentation for the \u003ccode\u003ePromoteReleaseRule\u003c/code\u003e class within the Google Cloud Deploy v1 API, detailing its usage and properties across multiple versions.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePromoteReleaseRule\u003c/code\u003e is designed to automate the promotion of a release from one target to another, optionally specifying the destination target and phase.\u003c/p\u003e\n"],["\u003cp\u003eThe latest available version of the \u003ccode\u003ePromoteReleaseRule\u003c/code\u003e is 3.4.0, while the current version detailed on the page is 3.1.0, with versions ranging from 1.0.0 up to 3.4.0 in the documentation.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003ePromoteReleaseRule\u003c/code\u003e include \u003ccode\u003eCondition\u003c/code\u003e, \u003ccode\u003eDestinationPhase\u003c/code\u003e, \u003ccode\u003eDestinationTargetId\u003c/code\u003e, \u003ccode\u003eId\u003c/code\u003e, and \u003ccode\u003eWait\u003c/code\u003e, which are used to configure and manage the promotion process, with some of them being optional.\u003c/p\u003e\n"],["\u003cp\u003eThe rule is set up for the purpose of automatically promoting releases from one stage to another, with configurable options to set the amount of time for the release to wait before being promoted, and the id of the target for the release to promote to.\u003c/p\u003e\n"]]],[],null,[]]