Class AutomationRun
An AutomationRun
resource in the Cloud Deploy API. An AutomationRun
represents an execution instance of an
automation rule.
Implements
Inherited Members
Namespace: Google.Apis.CloudDeploy.v1.Data
Assembly: Google.Apis.CloudDeploy.v1.dll
Syntax
public class AutomationRun : IDirectResponseSchema
Properties
AdvanceRolloutOperation
Output only. Advances a rollout to the next phase.
Declaration
[JsonProperty("advanceRolloutOperation")]
public virtual AdvanceRolloutOperation AdvanceRolloutOperation { get; set; }
Property Value
Type | Description |
---|---|
AdvanceRolloutOperation |
AutomationId
Output only. The ID of the automation that initiated the operation.
Declaration
[JsonProperty("automationId")]
public virtual string AutomationId { get; set; }
Property Value
Type | Description |
---|---|
string |
AutomationSnapshot
Output only. Snapshot of the Automation taken at AutomationRun creation time.
Declaration
[JsonProperty("automationSnapshot")]
public virtual Automation AutomationSnapshot { get; set; }
Property Value
Type | Description |
---|---|
Automation |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. Time at which the AutomationRun
was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
Output only. The weak etag of the AutomationRun
resource. This checksum is computed by the server based on
the value of other fields, and may be sent on update and delete requests to ensure the client has an
up-to-date value before proceeding.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExpireTime
object representation of ExpireTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ExpireTimeDateTimeOffset instead.")]
public virtual object ExpireTime { get; set; }
Property Value
Type | Description |
---|---|
object |
ExpireTimeDateTimeOffset
DateTimeOffset representation of ExpireTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ExpireTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
ExpireTimeRaw
Output only. Time the AutomationRun
expires. An AutomationRun
expires after 14 days from its creation
date.
Declaration
[JsonProperty("expireTime")]
public virtual string ExpireTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Output only. Name of the AutomationRun
. Format is
projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}
.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
PolicyViolation
Output only. Contains information about what policies prevented the AutomationRun
from proceeding.
Declaration
[JsonProperty("policyViolation")]
public virtual PolicyViolation PolicyViolation { get; set; }
Property Value
Type | Description |
---|---|
PolicyViolation |
PromoteReleaseOperation
Output only. Promotes a release to a specified 'Target'.
Declaration
[JsonProperty("promoteReleaseOperation")]
public virtual PromoteReleaseOperation PromoteReleaseOperation { get; set; }
Property Value
Type | Description |
---|---|
PromoteReleaseOperation |
RepairRolloutOperation
Output only. Repairs a failed 'Rollout'.
Declaration
[JsonProperty("repairRolloutOperation")]
public virtual RepairRolloutOperation RepairRolloutOperation { get; set; }
Property Value
Type | Description |
---|---|
RepairRolloutOperation |
RuleId
Output only. The ID of the automation rule that initiated the operation.
Declaration
[JsonProperty("ruleId")]
public virtual string RuleId { get; set; }
Property Value
Type | Description |
---|---|
string |
ServiceAccount
Output only. Email address of the user-managed IAM service account that performs the operations against Cloud Deploy resources.
Declaration
[JsonProperty("serviceAccount")]
public virtual string ServiceAccount { get; set; }
Property Value
Type | Description |
---|---|
string |
State
Output only. Current state of the AutomationRun
.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |
StateDescription
Output only. Explains the current state of the AutomationRun
. Present only when an explanation is needed.
Declaration
[JsonProperty("stateDescription")]
public virtual string StateDescription { get; set; }
Property Value
Type | Description |
---|---|
string |
TargetId
Output only. The ID of the source target that initiates the AutomationRun
. The value of this field is the
last segment of a target name.
Declaration
[JsonProperty("targetId")]
public virtual string TargetId { get; set; }
Property Value
Type | Description |
---|---|
string |
TimedPromoteReleaseOperation
Output only. Promotes a release to a specified 'Target' as defined in a Timed Promote Release rule.
Declaration
[JsonProperty("timedPromoteReleaseOperation")]
public virtual TimedPromoteReleaseOperation TimedPromoteReleaseOperation { get; set; }
Property Value
Type | Description |
---|---|
TimedPromoteReleaseOperation |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
Output only. Time at which the automationRun was updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
WaitUntilTime
object representation of WaitUntilTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use WaitUntilTimeDateTimeOffset instead.")]
public virtual object WaitUntilTime { get; set; }
Property Value
Type | Description |
---|---|
object |
WaitUntilTimeDateTimeOffset
DateTimeOffset representation of WaitUntilTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? WaitUntilTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
WaitUntilTimeRaw
Output only. Earliest time the AutomationRun
will attempt to resume. Wait-time is configured by wait
in
automation rule.
Declaration
[JsonProperty("waitUntilTime")]
public virtual string WaitUntilTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |