Class: Google::Apis::ClouddeployV1::TimedPromoteReleaseCondition
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::TimedPromoteReleaseCondition
- 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
TimedPromoteReleaseCondition
contains conditions specific to an Automation
with a Timed Promote Release rule defined.
Instance Attribute Summary collapse
-
#next_promotion_time ⇒ String
Output only.
-
#targets_list ⇒ Array<Google::Apis::ClouddeployV1::Targets>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TimedPromoteReleaseCondition
constructor
A new instance of TimedPromoteReleaseCondition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TimedPromoteReleaseCondition
Returns a new instance of TimedPromoteReleaseCondition.
6294 6295 6296 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6294 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_promotion_time ⇒ String
Output only. When the next scheduled promotion(s) will occur.
Corresponds to the JSON property nextPromotionTime
6287 6288 6289 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6287 def next_promotion_time @next_promotion_time end |
#targets_list ⇒ Array<Google::Apis::ClouddeployV1::Targets>
Output only. A list of targets involved in the upcoming timed promotion(s).
Corresponds to the JSON property targetsList
6292 6293 6294 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6292 def targets_list @targets_list end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6299 6300 6301 6302 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6299 def update!(**args) @next_promotion_time = args[:next_promotion_time] if args.key?(:next_promotion_time) @targets_list = args[:targets_list] if args.key?(:targets_list) end |