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. -
#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.
947 948 949 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 947 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
940 941 942 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 940 def deploy_job @deploy_job end |
#verify_job ⇒ Google::Apis::ClouddeployV1::Job
Job represents an operation for a Rollout.
Corresponds to the JSON property verifyJob
945 946 947 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 945 def verify_job @verify_job end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
952 953 954 955 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 952 def update!(**args) @deploy_job = args[:deploy_job] if args.key?(:deploy_job) @verify_job = args[:verify_job] if args.key?(:verify_job) end |