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\u003eThis webpage provides documentation for the \u003ccode\u003ePromoteReleaseRule\u003c/code\u003e class within the Google Cloud Deploy v1 API, which is used to automatically promote a release from the current target to a specified target.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation outlines that the \u003ccode\u003ePromoteReleaseRule\u003c/code\u003e 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.\u003c/p\u003e\n"],["\u003cp\u003eThe class has 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 control various aspects of the promotion rule's behavior.\u003c/p\u003e\n"],["\u003cp\u003eThe provided information showcases the class constructors, \u003ccode\u003ePromoteReleaseRule()\u003c/code\u003e and \u003ccode\u003ePromoteReleaseRule(PromoteReleaseRule)\u003c/code\u003e, and includes details for each parameter.\u003c/p\u003e\n"],["\u003cp\u003eThis page also provides a comprehensive list of versions, ranging from 3.4.0 to 1.0.0, for the \u003ccode\u003eGoogle.Cloud.Deploy.V1.PromoteReleaseRule\u003c/code\u003e documentation.\u003c/p\u003e\n"]]],[],null,[]]