Class: Google::Apis::ClouddeployV1::DeploymentJobs
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::DeploymentJobs
- 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
Deployment job composition.
Instance Attribute Summary collapse
-
#deploy_job ⇒ Google::Apis::ClouddeployV1::Job
Job represents an operation for a
Rollout
. -
#postdeploy_job ⇒ Google::Apis::ClouddeployV1::Job
Job represents an operation for a
Rollout
. -
#predeploy_job ⇒ Google::Apis::ClouddeployV1::Job
Job represents an operation for a
Rollout
. -
#verify_job ⇒ Google::Apis::ClouddeployV1::Job
Job represents an operation for a
Rollout
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeploymentJobs
constructor
A new instance of DeploymentJobs.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeploymentJobs
Returns a new instance of DeploymentJobs.
2227 2228 2229 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2227 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deploy_job ⇒ Google::Apis::ClouddeployV1::Job
Job represents an operation for a Rollout
.
Corresponds to the JSON property deployJob
2210 2211 2212 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2210 def deploy_job @deploy_job end |
#postdeploy_job ⇒ Google::Apis::ClouddeployV1::Job
Job represents an operation for a Rollout
.
Corresponds to the JSON property postdeployJob
2215 2216 2217 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2215 def postdeploy_job @postdeploy_job end |
#predeploy_job ⇒ Google::Apis::ClouddeployV1::Job
Job represents an operation for a Rollout
.
Corresponds to the JSON property predeployJob
2220 2221 2222 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2220 def predeploy_job @predeploy_job end |
#verify_job ⇒ Google::Apis::ClouddeployV1::Job
Job represents an operation for a Rollout
.
Corresponds to the JSON property verifyJob
2225 2226 2227 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2225 def verify_job @verify_job end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2232 2233 2234 2235 2236 2237 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2232 def update!(**args) @deploy_job = args[:deploy_job] if args.key?(:deploy_job) @postdeploy_job = args[:postdeploy_job] if args.key?(:postdeploy_job) @predeploy_job = args[:predeploy_job] if args.key?(:predeploy_job) @verify_job = args[:verify_job] if args.key?(:verify_job) end |