Class: Google::Apis::ClouddeployV1::Standard

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

Standard represents the standard deployment strategy.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Standard

Returns a new instance of Standard.



5742
5743
5744
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5742

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

Instance Attribute Details

#postdeployGoogle::Apis::ClouddeployV1::Postdeploy

Postdeploy contains the postdeploy job configuration information. Corresponds to the JSON property postdeploy



5729
5730
5731
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5729

def postdeploy
  @postdeploy
end

#predeployGoogle::Apis::ClouddeployV1::Predeploy

Predeploy contains the predeploy job configuration information. Corresponds to the JSON property predeploy



5734
5735
5736
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5734

def predeploy
  @predeploy
end

#verifyBoolean Also known as: verify?

Optional. Whether to verify a deployment via skaffold verify. Corresponds to the JSON property verify

Returns:

  • (Boolean)


5739
5740
5741
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5739

def verify
  @verify
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5747
5748
5749
5750
5751
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5747

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