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. 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\u003eThis document provides reference information for the \u003ccode\u003ePromoteReleaseRule\u003c/code\u003e class within the Google Cloud Deploy v1 API, with the latest version being 3.4.0, and all available versions ranging from 1.0.0 to 3.4.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePromoteReleaseRule\u003c/code\u003e class facilitates automatic release promotion from one target to another, which is part of an \u003ccode\u003eAutomation\u003c/code\u003e resource.\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 control the conditions, target phase, target ID, rule identifier, and the duration of the wait period, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe class also inherits from other interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, \u003ccode\u003eIBufferMessage\u003c/code\u003e, and \u003ccode\u003eIMessage\u003c/code\u003e, each having their own implementations and members.\u003c/p\u003e\n"],["\u003cp\u003eThe most current version is 3.4.0, while the minimum available version starts at 1.0.0, this offers multiple iterations of the API, allowing for backward compatibility.\u003c/p\u003e\n"]]],[],null,[]]