Class ApprovalResult (3.21.0)

ApprovalResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)

ApprovalResult describes the decision and associated metadata of a manual approval of a build.

Attributes

NameDescription
approver_account str
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.
approval_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the approval decision was made.
decision google.cloud.devtools.cloudbuild_v1.types.ApprovalResult.Decision
Required. The decision of this manual approval.
comment str
Optional. An optional comment for this manual approval result.
url str
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.

Classes

Decision

Decision(value)

Specifies whether or not this manual approval result is to approve or reject a build.

Values: DECISION_UNSPECIFIED (0): Default enum type. This should not be used. APPROVED (1): Build is approved. REJECTED (2): Build is rejected.