lib/google/devtools/cloudbuild/v1/cloudbuild_services_pb.rb in google-cloud-build-v1-0.9.2 vs lib/google/devtools/cloudbuild/v1/cloudbuild_services_pb.rb in google-cloud-build-v1-0.10.0
- old
+ new
@@ -84,9 +84,16 @@
# * If the original build pulled source from Cloud Storage and specified the
# generation of the object, the new build will attempt to use the same
# object, which may or may not be available depending on the bucket's
# lifecycle management settings.
rpc :RetryBuild, ::Google::Cloud::Build::V1::RetryBuildRequest, ::Google::Longrunning::Operation
+ # Approves or rejects a pending build.
+ #
+ # If approved, the returned LRO will be analogous to the LRO returned from
+ # a CreateBuild call.
+ #
+ # If rejected, the returned LRO will be immediately done.
+ rpc :ApproveBuild, ::Google::Cloud::Build::V1::ApproveBuildRequest, ::Google::Longrunning::Operation
# Creates a new `BuildTrigger`.
#
# This API is experimental.
rpc :CreateBuildTrigger, ::Google::Cloud::Build::V1::CreateBuildTriggerRequest, ::Google::Cloud::Build::V1::BuildTrigger
# Returns information about a `BuildTrigger`.