Class: Google::Cloud::Build::V1::BuildApproval
- Inherits:
-
Object
- Object
- Google::Cloud::Build::V1::BuildApproval
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb
Overview
BuildApproval describes a build's approval configuration, state, and result.
Defined Under Namespace
Modules: State
Instance Attribute Summary collapse
-
#config ⇒ ::Google::Cloud::Build::V1::ApprovalConfig
readonly
Output only.
-
#result ⇒ ::Google::Cloud::Build::V1::ApprovalResult
readonly
Output only.
-
#state ⇒ ::Google::Cloud::Build::V1::BuildApproval::State
readonly
Output only.
Instance Attribute Details
#config ⇒ ::Google::Cloud::Build::V1::ApprovalConfig (readonly)
Returns Output only. Configuration for manual approval of this build.
1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1457 class BuildApproval include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the current state of a build's approval. module State # Default enum type. This should not be used. STATE_UNSPECIFIED = 0 # Build approval is pending. PENDING = 1 # Build approval has been approved. APPROVED = 2 # Build approval has been rejected. REJECTED = 3 # Build was cancelled while it was still pending approval. CANCELLED = 5 end end |
#result ⇒ ::Google::Cloud::Build::V1::ApprovalResult (readonly)
Returns Output only. Result of manual approval for this Build.
1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1457 class BuildApproval include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the current state of a build's approval. module State # Default enum type. This should not be used. STATE_UNSPECIFIED = 0 # Build approval is pending. PENDING = 1 # Build approval has been approved. APPROVED = 2 # Build approval has been rejected. REJECTED = 3 # Build was cancelled while it was still pending approval. CANCELLED = 5 end end |
#state ⇒ ::Google::Cloud::Build::V1::BuildApproval::State (readonly)
Returns Output only. The state of this build's approval.
1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1457 class BuildApproval include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the current state of a build's approval. module State # Default enum type. This should not be used. STATE_UNSPECIFIED = 0 # Build approval is pending. PENDING = 1 # Build approval has been approved. APPROVED = 2 # Build approval has been rejected. REJECTED = 3 # Build was cancelled while it was still pending approval. CANCELLED = 5 end end |