Class: Google::Apis::ClouddeployV1::DeploymentJobs

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

Deployment job composition.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeploymentJobs

Returns a new instance of DeploymentJobs.



2669
2670
2671
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2669

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

Instance Attribute Details

#analysis_jobGoogle::Apis::ClouddeployV1::Job

Job represents an operation for a Rollout. Corresponds to the JSON property analysisJob



2647
2648
2649
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2647

def analysis_job
  @analysis_job
end

#deploy_jobGoogle::Apis::ClouddeployV1::Job

Job represents an operation for a Rollout. Corresponds to the JSON property deployJob



2652
2653
2654
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2652

def deploy_job
  @deploy_job
end

#postdeploy_jobGoogle::Apis::ClouddeployV1::Job

Job represents an operation for a Rollout. Corresponds to the JSON property postdeployJob



2657
2658
2659
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2657

def postdeploy_job
  @postdeploy_job
end

#predeploy_jobGoogle::Apis::ClouddeployV1::Job

Job represents an operation for a Rollout. Corresponds to the JSON property predeployJob



2662
2663
2664
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2662

def predeploy_job
  @predeploy_job
end

#verify_jobGoogle::Apis::ClouddeployV1::Job

Job represents an operation for a Rollout. Corresponds to the JSON property verifyJob



2667
2668
2669
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2667

def verify_job
  @verify_job
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2674
2675
2676
2677
2678
2679
2680
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2674

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