Class TimedPromoteReleaseRule
The TimedPromoteReleaseRule
will automatically promote a release from the current target(s) to the specified
target(s) on a configured schedule.
Implements
Inherited Members
Namespace: Google.Apis.CloudDeploy.v1.Data
Assembly: Google.Apis.CloudDeploy.v1.dll
Syntax
public class TimedPromoteReleaseRule : IDirectResponseSchema
Properties
Condition
Output only. Information around the state of the Automation rule.
Declaration
[JsonProperty("condition")]
public virtual AutomationRuleCondition Condition { get; set; }
Property Value
Type | Description |
---|---|
AutomationRuleCondition |
DestinationPhase
Optional. The starting phase of the rollout created by this rule. Default to the first phase.
Declaration
[JsonProperty("destinationPhase")]
public virtual string DestinationPhase { get; set; }
Property Value
Type | Description |
---|---|
string |
DestinationTargetId
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
Declaration
[JsonProperty("destinationTargetId")]
public virtual string DestinationTargetId { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
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])?
.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
Schedule
Required. Schedule in crontab format. e.g. "0 9 * * 1" for every Monday at 9am.
Declaration
[JsonProperty("schedule")]
public virtual string Schedule { get; set; }
Property Value
Type | Description |
---|---|
string |
TimeZone
Required. The time zone in IANA format IANA Time Zone Database (e.g. America/New_York).
Declaration
[JsonProperty("timeZone")]
public virtual string TimeZone { get; set; }
Property Value
Type | Description |
---|---|
string |