Class ApprovalResult
ApprovalResult describes the decision and associated metadata of a manual approval of a build.
Implements
Inherited Members
Namespace: Google.Apis.CloudBuild.v1.Data
Assembly: Google.Apis.CloudBuild.v1.dll
Syntax
public class ApprovalResult : IDirectResponseSchema
Properties
ApprovalTime
object representation of ApprovalTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ApprovalTimeDateTimeOffset instead.")]
public virtual object ApprovalTime { get; set; }
Property Value
Type | Description |
---|---|
object |
ApprovalTimeDateTimeOffset
DateTimeOffset representation of ApprovalTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ApprovalTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
ApprovalTimeRaw
Output only. The time when the approval decision was made.
Declaration
[JsonProperty("approvalTime")]
public virtual string ApprovalTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
ApproverAccount
Output only. Email of the user that called the ApproveBuild API to approve or reject a build at the time that the API was called.
Declaration
[JsonProperty("approverAccount")]
public virtual string ApproverAccount { get; set; }
Property Value
Type | Description |
---|---|
string |
Comment
Optional. An optional comment for this manual approval result.
Declaration
[JsonProperty("comment")]
public virtual string Comment { get; set; }
Property Value
Type | Description |
---|---|
string |
Decision
Required. The decision of this manual approval.
Declaration
[JsonProperty("decision")]
public virtual string Decision { 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 |
Url
Optional. An optional URL tied to this manual approval result. This field is essentially the same as comment, except that it will be rendered by the UI differently. An example use case is a link to an external job that approved this Build.
Declaration
[JsonProperty("url")]
public virtual string Url { get; set; }
Property Value
Type | Description |
---|---|
string |