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.
1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1373 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.
1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1373 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.
1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1373 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 |