Class: Google::Apis::ClouddeployV1::Standard
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::Standard
- 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
Standard represents the standard deployment strategy.
Instance Attribute Summary collapse
-
#postdeploy ⇒ Google::Apis::ClouddeployV1::Postdeploy
Postdeploy contains the postdeploy job configuration information.
-
#predeploy ⇒ Google::Apis::ClouddeployV1::Predeploy
Predeploy contains the predeploy job configuration information.
-
#verify ⇒ Boolean
(also: #verify?)
Whether to verify a deployment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Standard
constructor
A new instance of Standard.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Standard
Returns a new instance of Standard.
4861 4862 4863 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4861 def initialize(**args) update!(**args) end |
Instance Attribute Details
#postdeploy ⇒ Google::Apis::ClouddeployV1::Postdeploy
Postdeploy contains the postdeploy job configuration information.
Corresponds to the JSON property postdeploy
4848 4849 4850 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4848 def postdeploy @postdeploy end |
#predeploy ⇒ Google::Apis::ClouddeployV1::Predeploy
Predeploy contains the predeploy job configuration information.
Corresponds to the JSON property predeploy
4853 4854 4855 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4853 def predeploy @predeploy end |
#verify ⇒ Boolean Also known as: verify?
Whether to verify a deployment.
Corresponds to the JSON property verify
4858 4859 4860 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4858 def verify @verify end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4866 4867 4868 4869 4870 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4866 def update!(**args) @postdeploy = args[:postdeploy] if args.key?(:postdeploy) @predeploy = args[:predeploy] if args.key?(:predeploy) @verify = args[:verify] if args.key?(:verify) end |