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.



4875
4876
4877
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4875

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



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