Class: Google::Apis::ClouddeployV1::AutomationRolloutMetadata
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::AutomationRolloutMetadata
- 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
AutomationRolloutMetadata contains Automation-related actions that were performed on a rollout.
Instance Attribute Summary collapse
-
#advance_automation_runs ⇒ Array<String>
Output only.
-
#promote_automation_run ⇒ String
Output only.
-
#repair_automation_runs ⇒ Array<String>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AutomationRolloutMetadata
constructor
A new instance of AutomationRolloutMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AutomationRolloutMetadata
Returns a new instance of AutomationRolloutMetadata.
563 564 565 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 563 def initialize(**args) update!(**args) end |
Instance Attribute Details
#advance_automation_runs ⇒ Array<String>
Output only. The names of the AutomationRuns initiated by an advance rollout
rule.
Corresponds to the JSON property advanceAutomationRuns
550 551 552 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 550 def advance_automation_runs @advance_automation_runs end |
#promote_automation_run ⇒ String
Output only. The name of the AutomationRun initiated by a promote release rule.
Corresponds to the JSON property promoteAutomationRun
555 556 557 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 555 def promote_automation_run @promote_automation_run end |
#repair_automation_runs ⇒ Array<String>
Output only. The names of the AutomationRuns initiated by a repair rollout
rule.
Corresponds to the JSON property repairAutomationRuns
561 562 563 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 561 def repair_automation_runs @repair_automation_runs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
568 569 570 571 572 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 568 def update!(**args) @advance_automation_runs = args[:advance_automation_runs] if args.key?(:advance_automation_runs) @promote_automation_run = args[:promote_automation_run] if args.key?(:promote_automation_run) @repair_automation_runs = args[:repair_automation_runs] if args.key?(:repair_automation_runs) end |