Class: Google::Apis::ClouddeployV1::ReleaseReadyCondition
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::ReleaseReadyCondition
- 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
ReleaseReadyCondition contains information around the status of the Release. If a release is not ready, you cannot create a rollout with the release.
Instance Attribute Summary collapse
-
#status ⇒ Boolean
(also: #status?)
True if the Release is in a valid state.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReleaseReadyCondition
constructor
A new instance of ReleaseReadyCondition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReleaseReadyCondition
Returns a new instance of ReleaseReadyCondition.
4323 4324 4325 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4323 def initialize(**args) update!(**args) end |
Instance Attribute Details
#status ⇒ Boolean Also known as: status?
True if the Release is in a valid state. Otherwise at least one condition in
ReleaseCondition
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
Release.
Corresponds to the JSON property status
4320 4321 4322 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4320 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4328 4329 4330 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4328 def update!(**args) @status = args[:status] if args.key?(:status) end |