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.
1659 1660 1661 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1659 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
1651 1652 1653 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1651 def status @status end |
#update_time ⇒ String
Last time the condition was updated.
Corresponds to the JSON property updateTime
1657 1658 1659 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1657 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1664 1665 1666 1667 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1664 def update!(**args) @status = args[:status] if args.key?(:status) @update_time = args[:update_time] if args.key?(:update_time) end |