Class: Google::Apis::CloudbuildV2::SkippedTask
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV2::SkippedTask
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudbuild_v2/classes.rb,
lib/google/apis/cloudbuild_v2/representations.rb,
lib/google/apis/cloudbuild_v2/representations.rb
Overview
SkippedTask is used to describe the Tasks that were skipped due to their When Expressions evaluating to False.
Instance Attribute Summary collapse
-
#name ⇒ String
Name is the Pipeline Task name Corresponds to the JSON property
name. -
#reason ⇒ String
Output only.
-
#when_expressions ⇒ Array<Google::Apis::CloudbuildV2::WhenExpression>
WhenExpressions is the list of checks guarding the execution of the PipelineTask Corresponds to the JSON property
whenExpressions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SkippedTask
constructor
A new instance of SkippedTask.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SkippedTask
Returns a new instance of SkippedTask.
2616 2617 2618 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 2616 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Name is the Pipeline Task name
Corresponds to the JSON property name
2603 2604 2605 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 2603 def name @name end |
#reason ⇒ String
Output only. Reason is the cause of the PipelineTask being skipped.
Corresponds to the JSON property reason
2608 2609 2610 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 2608 def reason @reason end |
#when_expressions ⇒ Array<Google::Apis::CloudbuildV2::WhenExpression>
WhenExpressions is the list of checks guarding the execution of the
PipelineTask
Corresponds to the JSON property whenExpressions
2614 2615 2616 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 2614 def when_expressions @when_expressions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2621 2622 2623 2624 2625 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 2621 def update!(**args) @name = args[:name] if args.key?(:name) @reason = args[:reason] if args.key?(:reason) @when_expressions = args[:when_expressions] if args.key?(:when_expressions) end |