Class: Google::Apis::ClouddeployV1::RollbackTargetConfig
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::RollbackTargetConfig
- 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
Configs for the Rollback rollout.
Instance Attribute Summary collapse
-
#rollout ⇒ Google::Apis::ClouddeployV1::Rollout
A
Rollout
resource in the Cloud Deploy API. -
#starting_phase_id ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RollbackTargetConfig
constructor
A new instance of RollbackTargetConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RollbackTargetConfig
Returns a new instance of RollbackTargetConfig.
4794 4795 4796 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4794 def initialize(**args) update!(**args) end |
Instance Attribute Details
#rollout ⇒ Google::Apis::ClouddeployV1::Rollout
A Rollout
resource in the Cloud Deploy API. A Rollout
contains information
around a specific deployment to a Target
.
Corresponds to the JSON property rollout
4786 4787 4788 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4786 def rollout @rollout end |
#starting_phase_id ⇒ String
Optional. The starting phase ID for the Rollout
. If unspecified, the
Rollout
will start in the stable phase.
Corresponds to the JSON property startingPhaseId
4792 4793 4794 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4792 def starting_phase_id @starting_phase_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4799 4800 4801 4802 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4799 def update!(**args) @rollout = args[:rollout] if args.key?(:rollout) @starting_phase_id = args[:starting_phase_id] if args.key?(:starting_phase_id) end |