Class: Google::Apis::ClouddeployV1::Job
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::Job
- 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
Job represents an operation for a Rollout.
Instance Attribute Summary collapse
-
#advance_child_rollout_job ⇒ Google::Apis::ClouddeployV1::AdvanceChildRolloutJob
An advanceChildRollout Job.
-
#create_child_rollout_job ⇒ Google::Apis::ClouddeployV1::CreateChildRolloutJob
A createChildRollout Job.
-
#deploy_job ⇒ Google::Apis::ClouddeployV1::DeployJob
A deploy Job.
-
#id ⇒ String
Output only.
-
#job_run ⇒ String
Output only.
-
#state ⇒ String
Output only.
-
#verify_job ⇒ Google::Apis::ClouddeployV1::VerifyJob
A verify Job.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Job
constructor
A new instance of Job.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Job
Returns a new instance of Job.
983 984 985 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 983 def initialize(**args) update!(**args) end |
Instance Attribute Details
#advance_child_rollout_job ⇒ Google::Apis::ClouddeployV1::AdvanceChildRolloutJob
An advanceChildRollout Job.
Corresponds to the JSON property advanceChildRolloutJob
950 951 952 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 950 def advance_child_rollout_job @advance_child_rollout_job end |
#create_child_rollout_job ⇒ Google::Apis::ClouddeployV1::CreateChildRolloutJob
A createChildRollout Job.
Corresponds to the JSON property createChildRolloutJob
955 956 957 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 955 def create_child_rollout_job @create_child_rollout_job end |
#deploy_job ⇒ Google::Apis::ClouddeployV1::DeployJob
A deploy Job.
Corresponds to the JSON property deployJob
960 961 962 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 960 def deploy_job @deploy_job end |
#id ⇒ String
Output only. The ID of the Job.
Corresponds to the JSON property id
965 966 967 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 965 def id @id end |
#job_run ⇒ String
Output only. The name of the JobRun responsible for the most recent
invocation of this Job.
Corresponds to the JSON property jobRun
971 972 973 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 971 def job_run @job_run end |
#state ⇒ String
Output only. The current state of the Job.
Corresponds to the JSON property state
976 977 978 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 976 def state @state end |
#verify_job ⇒ Google::Apis::ClouddeployV1::VerifyJob
A verify Job.
Corresponds to the JSON property verifyJob
981 982 983 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 981 def verify_job @verify_job end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
988 989 990 991 992 993 994 995 996 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 988 def update!(**args) @advance_child_rollout_job = args[:advance_child_rollout_job] if args.key?(:advance_child_rollout_job) @create_child_rollout_job = args[:create_child_rollout_job] if args.key?(:create_child_rollout_job) @deploy_job = args[:deploy_job] if args.key?(:deploy_job) @id = args[:id] if args.key?(:id) @job_run = args[:job_run] if args.key?(:job_run) @state = args[:state] if args.key?(:state) @verify_job = args[:verify_job] if args.key?(:verify_job) end |