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.
2016 2017 2018 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2016 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
2008 2009 2010 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2008 def status @status end |
#update_time ⇒ String
Last time the condition was updated.
Corresponds to the JSON property updateTime
2014 2015 2016 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2014 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2021 2022 2023 2024 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2021 def update!(**args) @status = args[:status] if args.key?(:status) @update_time = args[:update_time] if args.key?(:update_time) end |