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.



4236
4237
4238
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4236

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



4234
4235
4236
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4234

def rollback_config
  @rollback_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4241
4242
4243
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4241

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