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.
1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1512 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.
1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1512 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.
1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1512 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.
1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1512 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.
1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1512 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 |