class Google::Apis::CloudbuildV1::ApproveBuildRequest
Request to approve or reject a pending build.
Attributes
approval_result[RW]
ApprovalResult
describes the decision and associated metadata of a manual approval of a build. Corresponds to the JSON property `approvalResult` @return [Google::Apis::CloudbuildV1::ApprovalResult]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudbuild_v1/classes.rb, line 104 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/cloudbuild_v1/classes.rb, line 109 def update!(**args) @approval_result = args[:approval_result] if args.key?(:approval_result) end