Reference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::Job.
Job represents an operation for a Rollout
.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#advance_child_rollout_job
def
advance_child_rollout_job
()
-
>
::
Google
::
Cloud
::
Deploy
::
V1
::
AdvanceChildRolloutJob
- ( ::Google::Cloud::Deploy::V1::AdvanceChildRolloutJob
) — Output only. An advanceChildRollout Job.
Note: The following fields are mutually exclusive:
advance_child_rollout_job
,deploy_job
,verify_job
,predeploy_job
,postdeploy_job
,create_child_rollout_job
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#create_child_rollout_job
def
create_child_rollout_job
()
-
>
::
Google
::
Cloud
::
Deploy
::
V1
::
CreateChildRolloutJob
- ( ::Google::Cloud::Deploy::V1::CreateChildRolloutJob
) — Output only. A createChildRollout Job.
Note: The following fields are mutually exclusive:
create_child_rollout_job
,deploy_job
,verify_job
,predeploy_job
,postdeploy_job
,advance_child_rollout_job
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#deploy_job
def
deploy_job
()
-
>
::
Google
::
Cloud
::
Deploy
::
V1
::
DeployJob
- ( ::Google::Cloud::Deploy::V1::DeployJob
) — Output only. A deploy Job.
Note: The following fields are mutually exclusive:
deploy_job
,verify_job
,predeploy_job
,postdeploy_job
,create_child_rollout_job
,advance_child_rollout_job
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#id
def
id
()
-
>
::
String
- (::String) — Output only. The ID of the Job.
#job_run
def
job_run
()
-
>
::
String
- (::String) — Output only. The name of the
JobRun
responsible for the most recent invocation of this Job.
#postdeploy_job
def
postdeploy_job
()
-
>
::
Google
::
Cloud
::
Deploy
::
V1
::
PostdeployJob
- ( ::Google::Cloud::Deploy::V1::PostdeployJob
) — Output only. A postdeploy Job.
Note: The following fields are mutually exclusive:
postdeploy_job
,deploy_job
,verify_job
,predeploy_job
,create_child_rollout_job
,advance_child_rollout_job
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#predeploy_job
def
predeploy_job
()
-
>
::
Google
::
Cloud
::
Deploy
::
V1
::
PredeployJob
- ( ::Google::Cloud::Deploy::V1::PredeployJob
) — Output only. A predeploy Job.
Note: The following fields are mutually exclusive:
predeploy_job
,deploy_job
,verify_job
,postdeploy_job
,create_child_rollout_job
,advance_child_rollout_job
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#skip_message
def
skip_message
()
-
>
::
String
- (::String) — Output only. Additional information on why the Job was skipped, if available.
#state
def
state
()
-
>
::
Google
::
Cloud
::
Deploy
::
V1
::
Job
::
State
- ( ::Google::Cloud::Deploy::V1::Job::State ) — Output only. The current state of the Job.
#verify_job
def
verify_job
()
-
>
::
Google
::
Cloud
::
Deploy
::
V1
::
VerifyJob
- ( ::Google::Cloud::Deploy::V1::VerifyJob
) — Output only. A verify Job.
Note: The following fields are mutually exclusive:
verify_job
,deploy_job
,predeploy_job
,postdeploy_job
,create_child_rollout_job
,advance_child_rollout_job
. If a field in that set is populated, all other fields in the set will automatically be cleared.