Class: Google::Apis::ClouddeployV1::Strategy

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

Strategy contains deployment strategy information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Strategy

Returns a new instance of Strategy.



2566
2567
2568
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2566

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

Instance Attribute Details

#standardGoogle::Apis::ClouddeployV1::Standard

Standard represents the standard deployment strategy. Corresponds to the JSON property standard



2564
2565
2566
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2564

def standard
  @standard
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2571
2572
2573
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2571

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