class Google::Apis::CloudbuildV1alpha1::ApprovalConfig
ApprovalConfig
describes configuration for manual approval of a build.
Attributes
approval_required[RW]
Whether or not approval is needed. If this is set on a build, it will become pending when created, and will need to be explicitly approved to start. Corresponds to the JSON property `approvalRequired` @return [Boolean]
approval_required?[RW]
Whether or not approval is needed. If this is set on a build, it will become pending when created, and will need to be explicitly approved to start. Corresponds to the JSON property `approvalRequired` @return [Boolean]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudbuild_v1alpha1/classes.rb, line 36 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_v1alpha1/classes.rb, line 41 def update!(**args) @approval_required = args[:approval_required] if args.key?(:approval_required) end