Reference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::JobRun.
A JobRun
resource in the Cloud Deploy API.
A JobRun
contains information of a single Rollout
job evaluation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#advance_child_rollout_job_run
def advance_child_rollout_job_run() -> ::Google::Cloud::Deploy::V1::AdvanceChildRolloutJobRun
-
(::Google::Cloud::Deploy::V1::AdvanceChildRolloutJobRun) — Output only. Information specific to an advanceChildRollout
JobRun
Note: The following fields are mutually exclusive:
advance_child_rollout_job_run
,deploy_job_run
,verify_job_run
,predeploy_job_run
,postdeploy_job_run
,create_child_rollout_job_run
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#create_child_rollout_job_run
def create_child_rollout_job_run() -> ::Google::Cloud::Deploy::V1::CreateChildRolloutJobRun
-
(::Google::Cloud::Deploy::V1::CreateChildRolloutJobRun) — Output only. Information specific to a createChildRollout
JobRun
.Note: The following fields are mutually exclusive:
create_child_rollout_job_run
,deploy_job_run
,verify_job_run
,predeploy_job_run
,postdeploy_job_run
,advance_child_rollout_job_run
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
-
(::Google::Protobuf::Timestamp) — Output only. Time at which the
JobRun
was created.
#deploy_job_run
def deploy_job_run() -> ::Google::Cloud::Deploy::V1::DeployJobRun
-
(::Google::Cloud::Deploy::V1::DeployJobRun) — Output only. Information specific to a deploy
JobRun
.Note: The following fields are mutually exclusive:
deploy_job_run
,verify_job_run
,predeploy_job_run
,postdeploy_job_run
,create_child_rollout_job_run
,advance_child_rollout_job_run
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#end_time
def end_time() -> ::Google::Protobuf::Timestamp
-
(::Google::Protobuf::Timestamp) — Output only. Time at which the
JobRun
ended.
#etag
def etag() -> ::String
- (::String) — Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
#job_id
def job_id() -> ::String
-
(::String) — Output only. ID of the
Rollout
job thisJobRun
corresponds to.
#name
def name() -> ::String
-
(::String) — Optional. Name of the
JobRun
. Format isprojects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}
.
#name=
def name=(value) -> ::String
-
value (::String) — Optional. Name of the
JobRun
. Format isprojects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}
.
-
(::String) — Optional. Name of the
JobRun
. Format isprojects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}
.
#phase_id
def phase_id() -> ::String
-
(::String) — Output only. ID of the
Rollout
phase thisJobRun
belongs in.
#postdeploy_job_run
def postdeploy_job_run() -> ::Google::Cloud::Deploy::V1::PostdeployJobRun
-
(::Google::Cloud::Deploy::V1::PostdeployJobRun) — Output only. Information specific to a postdeploy
JobRun
.Note: The following fields are mutually exclusive:
postdeploy_job_run
,deploy_job_run
,verify_job_run
,predeploy_job_run
,create_child_rollout_job_run
,advance_child_rollout_job_run
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#predeploy_job_run
def predeploy_job_run() -> ::Google::Cloud::Deploy::V1::PredeployJobRun
-
(::Google::Cloud::Deploy::V1::PredeployJobRun) — Output only. Information specific to a predeploy
JobRun
.Note: The following fields are mutually exclusive:
predeploy_job_run
,deploy_job_run
,verify_job_run
,postdeploy_job_run
,create_child_rollout_job_run
,advance_child_rollout_job_run
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#start_time
def start_time() -> ::Google::Protobuf::Timestamp
-
(::Google::Protobuf::Timestamp) — Output only. Time at which the
JobRun
was started.
#state
def state() -> ::Google::Cloud::Deploy::V1::JobRun::State
-
(::Google::Cloud::Deploy::V1::JobRun::State) — Output only. The current state of the
JobRun
.
#uid
def uid() -> ::String
-
(::String) — Output only. Unique identifier of the
JobRun
.
#verify_job_run
def verify_job_run() -> ::Google::Cloud::Deploy::V1::VerifyJobRun
-
(::Google::Cloud::Deploy::V1::VerifyJobRun) — Output only. Information specific to a verify
JobRun
.Note: The following fields are mutually exclusive:
verify_job_run
,deploy_job_run
,predeploy_job_run
,postdeploy_job_run
,create_child_rollout_job_run
,advance_child_rollout_job_run
. If a field in that set is populated, all other fields in the set will automatically be cleared.