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.
998 999 1000 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 998 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
990 991 992 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 990 def status @status end |
#update_time ⇒ String
Last time the condition was updated.
Corresponds to the JSON property updateTime
996 997 998 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 996 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1003 1004 1005 1006 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1003 def update!(**args) @status = args[:status] if args.key?(:status) @update_time = args[:update_time] if args.key?(:update_time) end |