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 of the \u003ccode\u003ePromoteReleaseRule\u003c/code\u003e API is 3.4.0, which can be found under the \u003ccode\u003e/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.PromoteReleaseRule\u003c/code\u003e path, while the current page is showing information about the 2.16.0 version.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePromoteReleaseRule\u003c/code\u003e class is designed to automatically promote a release from the current target to a specified target in the Google Cloud Deploy v1 API, allowing you to define the target by specifying the \u003ccode\u003eDestinationTargetId\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePromoteReleaseRule\u003c/code\u003e class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing comprehensive functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePromoteReleaseRule\u003c/code\u003e contains 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, allowing you to customize the automation behavior, such as specifying the time to wait for promotion.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage shows a history of the \u003ccode\u003ePromoteReleaseRule\u003c/code\u003e api versions, ranging from 1.0.0 to the most current 3.4.0, with each version having its own specific URL path.\u003c/p\u003e\n"]]],[],null,[]]