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
-
#analysis_job ⇒ Google::Apis::ClouddeployV1::Job
Job represents an operation for a
Rollout. -
#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.
2676 2677 2678 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2676 def initialize(**args) update!(**args) end |
Instance Attribute Details
#analysis_job ⇒ Google::Apis::ClouddeployV1::Job
Job represents an operation for a Rollout.
Corresponds to the JSON property analysisJob
2654 2655 2656 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2654 def analysis_job @analysis_job end |
#deploy_job ⇒ Google::Apis::ClouddeployV1::Job
Job represents an operation for a Rollout.
Corresponds to the JSON property deployJob
2659 2660 2661 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2659 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
2664 2665 2666 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2664 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
2669 2670 2671 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2669 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
2674 2675 2676 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2674 def verify_job @verify_job end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2681 2682 2683 2684 2685 2686 2687 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2681 def update!(**args) @analysis_job = args[:analysis_job] if args.key?(:analysis_job) @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 |