Class: Google::Apis::ClouddeployV1::AutomationRuleCondition

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AutomationRuleCondition

Returns a new instance of AutomationRuleCondition.



619
620
621
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 619

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#targets_present_conditionGoogle::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



617
618
619
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 617

def targets_present_condition
  @targets_present_condition
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



624
625
626
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 624

def update!(**args)
  @targets_present_condition = args[:targets_present_condition] if args.key?(:targets_present_condition)
end