Class: Google::Apis::ClouddeployV1::PipelineReadyCondition
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::PipelineReadyCondition
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/clouddeploy_v1/classes.rb,
lib/google/apis/clouddeploy_v1/representations.rb,
lib/google/apis/clouddeploy_v1/representations.rb
Overview
PipelineReadyCondition contains information around the status of the Pipeline.
Instance Attribute Summary collapse
-
#status ⇒ Boolean
(also: #status?)
True if the Pipeline is in a valid state.
-
#update_time ⇒ String
Last time the condition was updated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PipelineReadyCondition
constructor
A new instance of PipelineReadyCondition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PipelineReadyCondition
Returns a new instance of PipelineReadyCondition.
3621 3622 3623 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3621 def initialize(**args) update!(**args) end |
Instance Attribute Details
#status ⇒ Boolean Also known as: status?
True if the Pipeline is in a valid state. Otherwise at least one condition in
PipelineCondition
is in an invalid state. Iterate over those conditions and
see which condition(s) has status = false to find out what is wrong with the
Pipeline.
Corresponds to the JSON property status
3613 3614 3615 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3613 def status @status end |
#update_time ⇒ String
Last time the condition was updated.
Corresponds to the JSON property updateTime
3619 3620 3621 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3619 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3626 3627 3628 3629 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3626 def update!(**args) @status = args[:status] if args.key?(:status) @update_time = args[:update_time] if args.key?(:update_time) end |