public sealed class TimedPromoteReleaseRule : IMessage<TimedPromoteReleaseRule>, IEquatable<TimedPromoteReleaseRule>, IDeepCloneable<TimedPromoteReleaseRule>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Deploy v1 API class TimedPromoteReleaseRule.
The TimedPromoteReleaseRule will automatically promote a release from the
current target(s) to the specified target(s) on a configured schedule.
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 reference documentation for the \u003ccode\u003eTimedPromoteReleaseRule\u003c/code\u003e class within the Google Cloud Deploy v1 API, covering versions from 1.0.0 to the latest 3.4.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTimedPromoteReleaseRule\u003c/code\u003e class allows for the automatic promotion of a release to specified targets based on a configured schedule.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this API class is 3.4.0, which represents the most up to date version of the documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTimedPromoteReleaseRule\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, \u003ccode\u003eSchedule\u003c/code\u003e, and \u003ccode\u003eTimeZone\u003c/code\u003e, for configuring and managing scheduled release promotions.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation outlines the class's inheritance, implementing interfaces and includes constructors for creating \u003ccode\u003eTimedPromoteReleaseRule\u003c/code\u003e objects.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Deploy v1 API - Class TimedPromoteReleaseRule (3.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.6.0 (latest)](/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/3.5.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/3.4.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/3.3.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/3.2.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/3.1.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/3.0.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)\n- [2.19.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.19.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)\n- [2.18.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.18.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)\n- [2.17.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.17.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)\n- [2.16.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.16.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.15.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.14.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.13.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.12.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.11.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.10.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.9.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.8.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.7.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.6.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.5.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.4.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.3.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.2.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.1.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.0.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/1.1.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/1.0.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule) \n\n public sealed class TimedPromoteReleaseRule : IMessage\u003cTimedPromoteReleaseRule\u003e, IEquatable\u003cTimedPromoteReleaseRule\u003e, IDeepCloneable\u003cTimedPromoteReleaseRule\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Deploy v1 API class TimedPromoteReleaseRule.\n\nThe `TimedPromoteReleaseRule` will automatically promote a release from the\ncurrent target(s) to the specified target(s) on a configured schedule. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e TimedPromoteReleaseRule \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[TimedPromoteReleaseRule](/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TimedPromoteReleaseRule](/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[TimedPromoteReleaseRule](/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Deploy.V1](/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Deploy.V1.dll\n\nConstructors\n------------\n\n### TimedPromoteReleaseRule()\n\n public TimedPromoteReleaseRule()\n\n### TimedPromoteReleaseRule(TimedPromoteReleaseRule)\n\n public TimedPromoteReleaseRule(TimedPromoteReleaseRule other)\n\nProperties\n----------\n\n### Condition\n\n public AutomationRuleCondition Condition { get; set; }\n\nOutput only. Information around the state of the Automation rule.\n\n### DestinationPhase\n\n public string DestinationPhase { get; set; }\n\nOptional. The starting phase of the rollout created by this rule. Default\nto the first phase.\n\n### DestinationTargetId\n\n public string DestinationTargetId { get; set; }\n\nOptional. The ID of the stage in the pipeline to which this `Release` is\ndeploying. If unspecified, default it to the next stage in the promotion\nflow. The value of this field could be one of the following:\n\n- The last segment of a target name\n- \"@next\", the next target in the promotion sequence\n\n### Id\n\n public string Id { get; set; }\n\nRequired. ID of the rule. This ID must be unique in the `Automation`\nresource to which this rule belongs. The format is\n`[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.\n\n### Schedule\n\n public string Schedule { get; set; }\n\nRequired. Schedule in crontab format. e.g. \"0 9 \\* \\* 1\" for every Monday at\n9am.\n\n### TimeZone\n\n public string TimeZone { get; set; }\n\nRequired. The time zone in IANA format [IANA Time Zone\nDatabase](https://www.iana.org/time-zones) (e.g. America/New_York)."]]