Class: Google::Apis::ClouddeployV1::RollbackTargetResponse

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

The response object from RollbackTarget.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RollbackTargetResponse

Returns a new instance of RollbackTargetResponse.



4153
4154
4155
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4153

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#rollback_configGoogle::Apis::ClouddeployV1::RollbackTargetConfig

Configs for the Rollback rollout. Corresponds to the JSON property rollbackConfig



4151
4152
4153
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4151

def rollback_config
  @rollback_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4158
4159
4160
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4158

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