Class ApprovalResult
ApprovalResult describes the decision and associated metadata of a manual approval of a build.
Inheritance
System.Object
ApprovalResult
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudBuild.v1beta1.Data
Assembly: Google.Apis.CloudBuild.v1beta1.dll
Syntax
public class ApprovalResult : IDirectResponseSchema
Properties
ApprovalTime
Output only. The time when the approval decision was made.
Declaration
[JsonProperty("approvalTime")]
public virtual object ApprovalTime { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
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 |
---|---|
System.String |
Comment
Optional. An optional comment for this manual approval result.
Declaration
[JsonProperty("comment")]
public virtual string Comment { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Decision
Required. The decision of this manual approval.
Declaration
[JsonProperty("decision")]
public virtual string Decision { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.String |