Reference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::JobRun.
A JobRun
resource in the Google 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
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
-
(::Google::Protobuf::Timestamp) — Output only. Time at which the
JobRun
was created.
#deploy_job_run
def deploy_job_run() -> ::Google::Cloud::Deploy::V1::DeployJobRun
Returns
-
(::Google::Cloud::Deploy::V1::DeployJobRun) — Output only. Information specific to a deploy
JobRun
.
#end_time
def end_time() -> ::Google::Protobuf::Timestamp
Returns
-
(::Google::Protobuf::Timestamp) — Output only. Time at which the
JobRun
ended.
#etag
def etag() -> ::String
Returns
- (::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
Returns
-
(::String) — Output only. ID of the
Rollout
job thisJobRun
corresponds to.
#name
def name() -> ::String
Returns
-
(::String) — Optional. Name of the
JobRun
. Format is projects/{project}/locations/{location}/ deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/ {rollouts}/jobRuns/{uuid}.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Optional. Name of the
JobRun
. Format is projects/{project}/locations/{location}/ deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/ {rollouts}/jobRuns/{uuid}.
Returns
-
(::String) — Optional. Name of the
JobRun
. Format is projects/{project}/locations/{location}/ deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/ {rollouts}/jobRuns/{uuid}.
#phase_id
def phase_id() -> ::String
Returns
-
(::String) — Output only. ID of the
Rollout
phase thisJobRun
belongs in.
#start_time
def start_time() -> ::Google::Protobuf::Timestamp
Returns
-
(::Google::Protobuf::Timestamp) — Output only. Time at which the
JobRun
was started.
#state
def state() -> ::Google::Cloud::Deploy::V1::JobRun::State
Returns
-
(::Google::Cloud::Deploy::V1::JobRun::State) — Output only. The current state of the
JobRun
.
#uid
def uid() -> ::String
Returns
-
(::String) — Output only. Unique identifier of the
JobRun
.
#verify_job_run
def verify_job_run() -> ::Google::Cloud::Deploy::V1::VerifyJobRun
Returns
-
(::Google::Cloud::Deploy::V1::VerifyJobRun) — Output only. Information specific to a verify
JobRun
.