Reference documentation and code samples for the Cloud Build V1 API class Google::Cloud::Build::V1::ApproveBuildRequest.
Request to approve or reject a pending build.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#approval_result
def approval_result() -> ::Google::Cloud::Build::V1::ApprovalResult
Returns
- (::Google::Cloud::Build::V1::ApprovalResult) — Approval decision and metadata.
#approval_result=
def approval_result=(value) -> ::Google::Cloud::Build::V1::ApprovalResult
Parameter
- value (::Google::Cloud::Build::V1::ApprovalResult) — Approval decision and metadata.
Returns
- (::Google::Cloud::Build::V1::ApprovalResult) — Approval decision and metadata.
#name
def name() -> ::String
Returns
- (::String) — Required. Name of the target build. For example: "projects/{$project_id}/builds/{$build_id}"
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Required. Name of the target build. For example: "projects/{$project_id}/builds/{$build_id}"
Returns
- (::String) — Required. Name of the target build. For example: "projects/{$project_id}/builds/{$build_id}"