Class: Google::Apis::ClouddeployV1::ReleaseCondition
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::ReleaseCondition
- 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
ReleaseCondition contains all conditions relevant to a Release.
Instance Attribute Summary collapse
-
#release_ready_condition ⇒ Google::Apis::ClouddeployV1::ReleaseReadyCondition
ReleaseReadyCondition contains information around the status of the Release.
-
#skaffold_supported_condition ⇒ Google::Apis::ClouddeployV1::SkaffoldSupportedCondition
SkaffoldSupportedCondition contains information about when support for the release's version of Skaffold ends.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReleaseCondition
constructor
A new instance of ReleaseCondition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReleaseCondition
Returns a new instance of ReleaseCondition.
4234 4235 4236 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4234 def initialize(**args) update!(**args) end |
Instance Attribute Details
#release_ready_condition ⇒ Google::Apis::ClouddeployV1::ReleaseReadyCondition
ReleaseReadyCondition contains information around the status of the Release.
If a release is not ready, you cannot create a rollout with the release.
Corresponds to the JSON property releaseReadyCondition
4226 4227 4228 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4226 def release_ready_condition @release_ready_condition end |
#skaffold_supported_condition ⇒ Google::Apis::ClouddeployV1::SkaffoldSupportedCondition
SkaffoldSupportedCondition contains information about when support for the
release's version of Skaffold ends.
Corresponds to the JSON property skaffoldSupportedCondition
4232 4233 4234 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4232 def skaffold_supported_condition @skaffold_supported_condition end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4239 4240 4241 4242 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4239 def update!(**args) @release_ready_condition = args[:release_ready_condition] if args.key?(:release_ready_condition) @skaffold_supported_condition = args[:skaffold_supported_condition] if args.key?(:skaffold_supported_condition) end |