Class: Google::Apis::ClouddeployV1::ChildRolloutJobs

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

ChildRollouts job composition

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ChildRolloutJobs

Returns a new instance of ChildRolloutJobs.



1124
1125
1126
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1124

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

Instance Attribute Details

#advance_rollout_jobsArray<Google::Apis::ClouddeployV1::Job>

Output only. List of AdvanceChildRolloutJobs Corresponds to the JSON property advanceRolloutJobs



1117
1118
1119
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1117

def advance_rollout_jobs
  @advance_rollout_jobs
end

#create_rollout_jobsArray<Google::Apis::ClouddeployV1::Job>

Output only. List of CreateChildRolloutJobs Corresponds to the JSON property createRolloutJobs



1122
1123
1124
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1122

def create_rollout_jobs
  @create_rollout_jobs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1129
1130
1131
1132
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1129

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