Class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1ApprovalConfig
- Inherits:
-
Object
- Object
- Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1ApprovalConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/run_v1/classes.rb,
lib/google/apis/run_v1/representations.rb,
lib/google/apis/run_v1/representations.rb
Overview
ApprovalConfig describes configuration for manual approval of a build.
Instance Attribute Summary collapse
-
#approval_required ⇒ Boolean
(also: #approval_required?)
Whether or not approval is needed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDevtoolsCloudbuildV1ApprovalConfig
constructor
A new instance of GoogleDevtoolsCloudbuildV1ApprovalConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleDevtoolsCloudbuildV1ApprovalConfig
Returns a new instance of GoogleDevtoolsCloudbuildV1ApprovalConfig.
1446 1447 1448 |
# File 'lib/google/apis/run_v1/classes.rb', line 1446 def initialize(**args) update!(**args) end |
Instance Attribute Details
#approval_required ⇒ Boolean Also known as: approval_required?
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
1443 1444 1445 |
# File 'lib/google/apis/run_v1/classes.rb', line 1443 def approval_required @approval_required end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1451 1452 1453 |
# File 'lib/google/apis/run_v1/classes.rb', line 1451 def update!(**args) @approval_required = args[:approval_required] if args.key?(:approval_required) end |