class Google::Apis::CloudbuildV1::BuildApproval
BuildApproval
describes a build's approval configuration, state, and result.
Attributes
config[RW]
ApprovalConfig
describes configuration for manual approval of a build. Corresponds to the JSON property `config` @return [Google::Apis::CloudbuildV1::ApprovalConfig]
result[RW]
ApprovalResult
describes the decision and associated metadata of a manual approval of a build. Corresponds to the JSON property `result` @return [Google::Apis::CloudbuildV1::ApprovalResult]
state[RW]
Output only. The state of this build's approval. Corresponds to the JSON property `state` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudbuild_v1/classes.rb, line 452 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 457 def update!(**args) @config = args[:config] if args.key?(:config) @result = args[:result] if args.key?(:result) @state = args[:state] if args.key?(:state) end