public sealed class ApprovalResult : IMessage<ApprovalResult>, IEquatable<ApprovalResult>, IDeepCloneable<ApprovalResult>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v1 API class ApprovalResult.
ApprovalResult describes the decision and associated metadata of a manual approval of a build.
Implements
IMessageApprovalResult, IEquatableApprovalResult, IDeepCloneableApprovalResult, IBufferMessage, IMessageNamespace
Google.Cloud.CloudBuild.V1Assembly
Google.Cloud.CloudBuild.V1.dll
Constructors
ApprovalResult()
public ApprovalResult()
ApprovalResult(ApprovalResult)
public ApprovalResult(ApprovalResult other)
Parameter | |
---|---|
Name | Description |
other |
ApprovalResult |
Properties
ApprovalTime
public Timestamp ApprovalTime { get; set; }
Output only. The time when the approval decision was made.
Property Value | |
---|---|
Type | Description |
Timestamp |
ApproverAccount
public string ApproverAccount { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
Comment
public string Comment { get; set; }
Optional. An optional comment for this manual approval result.
Property Value | |
---|---|
Type | Description |
string |
Decision
public ApprovalResult.Types.Decision Decision { get; set; }
Required. The decision of this manual approval.
Property Value | |
---|---|
Type | Description |
ApprovalResultTypesDecision |
Url
public string Url { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |