Class BuildApproval (3.24.0)

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

BuildApproval describes a build's approval configuration, state, and result.

Attributes

NameDescription
state google.cloud.devtools.cloudbuild_v1.types.BuildApproval.State
Output only. The state of this build's approval.
config google.cloud.devtools.cloudbuild_v1.types.ApprovalConfig
Output only. Configuration for manual approval of this build.
result google.cloud.devtools.cloudbuild_v1.types.ApprovalResult
Output only. Result of manual approval for this Build.

Classes

State

State(value)

Specifies the current state of a build's approval.

Values: STATE_UNSPECIFIED (0): Default enum type. This should not be used. PENDING (1): Build approval is pending. APPROVED (2): Build approval has been approved. REJECTED (3): Build approval has been rejected. CANCELLED (5): Build was cancelled while it was still pending approval.