Class PromoteReleaseRule
The PromoteRelease
rule will automatically promote a release from the current target to a specified target.
Implements
Inherited Members
Namespace: Google.Apis.CloudDeploy.v1.Data
Assembly: Google.Apis.CloudDeploy.v1.dll
Syntax
public class PromoteReleaseRule : 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 operation. 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 |
Wait
Optional. How long the release need to be paused until being promoted to the next target.
Declaration
[JsonProperty("wait")]
public virtual object Wait { get; set; }
Property Value
Type | Description |
---|---|
object |