Class: Google::Apis::ClouddeployV1::RollbackTargetResponse
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::RollbackTargetResponse
- 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
The response object from RollbackTarget
.
Instance Attribute Summary collapse
-
#rollback_config ⇒ Google::Apis::ClouddeployV1::RollbackTargetConfig
Configs for the Rollback rollout.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RollbackTargetResponse
constructor
A new instance of RollbackTargetResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RollbackTargetResponse
Returns a new instance of RollbackTargetResponse.
4875 4876 4877 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4875 def initialize(**args) update!(**args) end |
Instance Attribute Details
#rollback_config ⇒ Google::Apis::ClouddeployV1::RollbackTargetConfig
Configs for the Rollback rollout.
Corresponds to the JSON property rollbackConfig
4873 4874 4875 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4873 def rollback_config @rollback_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4880 4881 4882 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4880 def update!(**args) @rollback_config = args[:rollback_config] if args.key?(:rollback_config) end |