# Google Cloud Deploy v1 API - Class TimedPromoteReleaseRule (3.7.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [3.7.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)
- [3.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/3.6.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)
- [3.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/3.5.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)
- [3.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/3.4.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)
- [3.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/3.3.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)
- [3.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/3.2.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)
- [3.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/3.1.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)
- [3.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/3.0.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)
- [2.19.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.19.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)
- [2.18.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.18.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)
- [2.17.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.17.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)
- [2.16.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.16.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)
- [2.15.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.15.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)
- [2.14.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.14.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)
- [2.13.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.13.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)
- [2.12.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.12.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)
- [2.11.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.11.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)
- [2.10.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.10.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)
- [2.9.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.9.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)
- [2.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.8.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)
- [2.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.7.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)
- [2.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.6.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.5.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.4.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.3.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.2.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.1.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.0.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/1.1.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/1.0.0/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule)

    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.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> TimedPromoteReleaseRule

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[TimedPromoteReleaseRule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TimedPromoteReleaseRule](https://docs.cloud.google.com/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](https://docs.cloud.google.com/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)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Deploy.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1)

## Assembly

Google.Cloud.Deploy.V1.dll

## Constructors

### TimedPromoteReleaseRule()

    public TimedPromoteReleaseRule()

### TimedPromoteReleaseRule(TimedPromoteReleaseRule)

    public TimedPromoteReleaseRule(TimedPromoteReleaseRule other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.TimedPromoteReleaseRule` |

## Properties

### Condition

    public AutomationRuleCondition Condition { get; set; }

Output only. Information around the state of the Automation rule.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.AutomationRuleCondition` |   |

### DestinationPhase

    public string DestinationPhase { get; set; }

Optional. The starting phase of the rollout created by this rule. Default
to the first phase.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### DestinationTargetId

    public string DestinationTargetId { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Id

    public string Id { get; set; }

Required. ID of the rule. This ID must be unique in the `Automation`
resource to which this rule belongs. The format is
`[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Schedule

    public string Schedule { get; set; }

Required. Schedule in crontab format. e.g. "0 9 \* \* 1" for every Monday at
9am.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### TimeZone

    public string TimeZone { get; set; }

Required. The time zone in IANA format [IANA Time Zone
Database](https://www.iana.org/time-zones) (e.g. America/New_York).

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |