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.



4856
4857
4858
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4856

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



4854
4855
4856
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4854

def rollback_config
  @rollback_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4861
4862
4863
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4861

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