Class: Google::Apis::ClouddeployV1::CreateChildRolloutJobRun

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

CreateChildRolloutJobRun contains information specific to a createChildRollout JobRun.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CreateChildRolloutJobRun

Returns a new instance of CreateChildRolloutJobRun.



1321
1322
1323
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1321

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

Instance Attribute Details

#rolloutString

Output only. Name of the ChildRollout. Format is projects/project/ locations/location/deliveryPipelines/deliveryPipeline/releases/release/ rollouts/rollout`. Corresponds to the JSON propertyrollout`

Returns:

  • (String)


1314
1315
1316
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1314

def rollout
  @rollout
end

#rollout_phase_idString

Output only. The ID of the childRollout Phase initiated by this JobRun. Corresponds to the JSON property rolloutPhaseId

Returns:

  • (String)


1319
1320
1321
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1319

def rollout_phase_id
  @rollout_phase_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1326
1327
1328
1329
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1326

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