Class: Google::Apis::ClouddeployV1::Rollback
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::Rollback
- 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
Rolls back a Rollout.
Instance Attribute Summary collapse
-
#destination_phase ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Rollback
constructor
A new instance of Rollback.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Rollback
Returns a new instance of Rollback.
3753 3754 3755 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3753 def initialize(**args) update!(**args) end |
Instance Attribute Details
#destination_phase ⇒ String
Optional. The starting phase ID for the Rollout. If unspecified, the
Rollout will start in the stable phase.
Corresponds to the JSON property destinationPhase
3751 3752 3753 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3751 def destination_phase @destination_phase end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3758 3759 3760 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3758 def update!(**args) @destination_phase = args[:destination_phase] if args.key?(:destination_phase) end |