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.
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. It only needs the ID to determine
if the target is one of the stages in the promotion sequence defined
in the pipeline.
"@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 latest version available for \u003ccode\u003ePromoteReleaseRule\u003c/code\u003e in the Google Cloud Deploy v1 API is 3.4.0, while the current version being documented is 2.14.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePromoteReleaseRule\u003c/code\u003e is a class within the Google Cloud Deploy v1 API that enables the automatic promotion of a release from a current target to a specified target.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for message handling, comparison, cloning, and buffer operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePromoteReleaseRule\u003c/code\u003e class includes properties such as \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 define the specifics of the release promotion process, like the state of the automation rule, the destination of the promotion, the rule's unique identifier, and the duration to wait before promoting.\u003c/p\u003e\n"],["\u003cp\u003eThe rule's ID is required to be unique within the automation resource, and can use the format of \u003ccode\u003e[a-z][a-z0-9\\-]{0,62}\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]