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.



632
633
634
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 632

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/a-z0,62. Corresponds to the JSON property rollout

Returns:

  • (String)


625
626
627
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 625

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)


630
631
632
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 630

def rollout_phase_id
  @rollout_phase_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



637
638
639
640
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 637

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