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.
524 525 526 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 524 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
511 512 513 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 511 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
516 517 518 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 516 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
522 523 524 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 522 def repair_automation_runs @repair_automation_runs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
529 530 531 532 533 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 529 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 |