Class: Google::Cloud::Build::V1::ApprovalResult
- Inherits:
-
Object
- Object
- Google::Cloud::Build::V1::ApprovalResult
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb
Overview
ApprovalResult describes the decision and associated metadata of a manual approval of a build.
Defined Under Namespace
Modules: Decision
Instance Attribute Summary collapse
-
#approval_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#approver_account ⇒ ::String
readonly
Output only.
-
#comment ⇒ ::String
Optional.
-
#decision ⇒ ::Google::Cloud::Build::V1::ApprovalResult::Decision
Required.
-
#url ⇒ ::String
Optional.
Instance Attribute Details
#approval_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time when the approval decision was made.
1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1428 class ApprovalResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies whether or not this manual approval result is to approve # or reject a build. module Decision # Default enum type. This should not be used. DECISION_UNSPECIFIED = 0 # Build is approved. APPROVED = 1 # Build is rejected. REJECTED = 2 end end |
#approver_account ⇒ ::String (readonly)
Returns 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.
1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1428 class ApprovalResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies whether or not this manual approval result is to approve # or reject a build. module Decision # Default enum type. This should not be used. DECISION_UNSPECIFIED = 0 # Build is approved. APPROVED = 1 # Build is rejected. REJECTED = 2 end end |
#comment ⇒ ::String
Returns Optional. An optional comment for this manual approval result.
1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1428 class ApprovalResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies whether or not this manual approval result is to approve # or reject a build. module Decision # Default enum type. This should not be used. DECISION_UNSPECIFIED = 0 # Build is approved. APPROVED = 1 # Build is rejected. REJECTED = 2 end end |
#decision ⇒ ::Google::Cloud::Build::V1::ApprovalResult::Decision
Returns Required. The decision of this manual approval.
1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1428 class ApprovalResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies whether or not this manual approval result is to approve # or reject a build. module Decision # Default enum type. This should not be used. DECISION_UNSPECIFIED = 0 # Build is approved. APPROVED = 1 # Build is rejected. REJECTED = 2 end end |
#url ⇒ ::String
Returns 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.
1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1428 class ApprovalResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies whether or not this manual approval result is to approve # or reject a build. module Decision # Default enum type. This should not be used. DECISION_UNSPECIFIED = 0 # Build is approved. APPROVED = 1 # Build is rejected. REJECTED = 2 end end |