Class: Google::Apis::ClouddeployV1::AdvanceChildRolloutJobRun

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

AdvanceChildRolloutJobRun contains information specific to a advanceChildRollout JobRun.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AdvanceChildRolloutJobRun

Returns a new instance of AdvanceChildRolloutJobRun.



81
82
83
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 81

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)


74
75
76
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 74

def rollout
  @rollout
end

#rollout_phase_idString

Output only. the ID of the ChildRollout's Phase. Corresponds to the JSON property rolloutPhaseId

Returns:

  • (String)


79
80
81
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 79

def rollout_phase_id
  @rollout_phase_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



86
87
88
89
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 86

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