Class: Google::Apis::ClouddeployV1::AutomationRolloutMetadata

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

AutomationRolloutMetadata contains Automation-related actions that were performed on a rollout.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_runsArray<String>

Output only. The names of the AutomationRuns initiated by an advance rollout rule. Corresponds to the JSON property advanceAutomationRuns

Returns:

  • (Array<String>)


550
551
552
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 550

def advance_automation_runs
  @advance_automation_runs
end

#promote_automation_runString

Output only. The name of the AutomationRun initiated by a promote release rule. Corresponds to the JSON property promoteAutomationRun

Returns:

  • (String)


555
556
557
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 555

def promote_automation_run
  @promote_automation_run
end

#repair_automation_runsArray<String>

Output only. The names of the AutomationRuns initiated by a repair rollout rule. Corresponds to the JSON property repairAutomationRuns

Returns:

  • (Array<String>)


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