Class: Google::Apis::ClouddeployV1::AutomationRuleCondition
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::AutomationRuleCondition
- 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
AutomationRuleCondition
contains conditions relevant to an Automation
rule.
Instance Attribute Summary collapse
-
#targets_present_condition ⇒ Google::Apis::ClouddeployV1::TargetsPresentCondition
TargetsPresentCondition
contains information on any Targets referenced in the Delivery Pipeline that do not actually exist. -
#timed_promote_release_condition ⇒ Google::Apis::ClouddeployV1::TimedPromoteReleaseCondition
TimedPromoteReleaseCondition
contains conditions specific to an Automation with a Timed Promote Release rule defined.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AutomationRuleCondition
constructor
A new instance of AutomationRuleCondition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AutomationRuleCondition
Returns a new instance of AutomationRuleCondition.
632 633 634 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 632 def initialize(**args) update!(**args) end |
Instance Attribute Details
#targets_present_condition ⇒ Google::Apis::ClouddeployV1::TargetsPresentCondition
TargetsPresentCondition
contains information on any Targets referenced in
the Delivery Pipeline that do not actually exist.
Corresponds to the JSON property targetsPresentCondition
624 625 626 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 624 def targets_present_condition @targets_present_condition end |
#timed_promote_release_condition ⇒ Google::Apis::ClouddeployV1::TimedPromoteReleaseCondition
TimedPromoteReleaseCondition
contains conditions specific to an Automation
with a Timed Promote Release rule defined.
Corresponds to the JSON property timedPromoteReleaseCondition
630 631 632 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 630 def timed_promote_release_condition @timed_promote_release_condition end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
637 638 639 640 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 637 def update!(**args) @targets_present_condition = args[:targets_present_condition] if args.key?(:targets_present_condition) @timed_promote_release_condition = args[:timed_promote_release_condition] if args.key?(:timed_promote_release_condition) end |