Class: Google::Cloud::Deploy::V1::JobRun
- Inherits:
-
Object
- Object
- Google::Cloud::Deploy::V1::JobRun
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/deploy/v1/cloud_deploy.rb
Overview
A JobRun
resource in the Cloud Deploy API.
A JobRun
contains information of a single Rollout
job evaluation.
Defined Under Namespace
Modules: State
Instance Attribute Summary collapse
-
#advance_child_rollout_job_run ⇒ ::Google::Cloud::Deploy::V1::AdvanceChildRolloutJobRun
readonly
Output only.
-
#create_child_rollout_job_run ⇒ ::Google::Cloud::Deploy::V1::CreateChildRolloutJobRun
readonly
Output only.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#deploy_job_run ⇒ ::Google::Cloud::Deploy::V1::DeployJobRun
readonly
Output only.
-
#end_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#etag ⇒ ::String
readonly
Output only.
-
#job_id ⇒ ::String
readonly
Output only.
-
#name ⇒ ::String
Optional.
-
#phase_id ⇒ ::String
readonly
Output only.
-
#postdeploy_job_run ⇒ ::Google::Cloud::Deploy::V1::PostdeployJobRun
readonly
Output only.
-
#predeploy_job_run ⇒ ::Google::Cloud::Deploy::V1::PredeployJobRun
readonly
Output only.
-
#start_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#state ⇒ ::Google::Cloud::Deploy::V1::JobRun::State
readonly
Output only.
-
#uid ⇒ ::String
readonly
Output only.
-
#verify_job_run ⇒ ::Google::Cloud::Deploy::V1::VerifyJobRun
readonly
Output only.
Instance Attribute Details
#advance_child_rollout_job_run ⇒ ::Google::Cloud::Deploy::V1::AdvanceChildRolloutJobRun (readonly)
Returns Output only. Information specific to an advanceChildRollout JobRun
.
3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3262 class JobRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid states of a `JobRun`. module State # The `JobRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `JobRun` is in progress. IN_PROGRESS = 1 # The `JobRun` has succeeded. SUCCEEDED = 2 # The `JobRun` has failed. FAILED = 3 # The `JobRun` is terminating. TERMINATING = 4 # The `JobRun` was terminated. TERMINATED = 5 end end |
#create_child_rollout_job_run ⇒ ::Google::Cloud::Deploy::V1::CreateChildRolloutJobRun (readonly)
Returns Output only. Information specific to a createChildRollout JobRun
.
3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3262 class JobRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid states of a `JobRun`. module State # The `JobRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `JobRun` is in progress. IN_PROGRESS = 1 # The `JobRun` has succeeded. SUCCEEDED = 2 # The `JobRun` has failed. FAILED = 3 # The `JobRun` is terminating. TERMINATING = 4 # The `JobRun` was terminated. TERMINATED = 5 end end |
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Time at which the JobRun
was created.
3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3262 class JobRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid states of a `JobRun`. module State # The `JobRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `JobRun` is in progress. IN_PROGRESS = 1 # The `JobRun` has succeeded. SUCCEEDED = 2 # The `JobRun` has failed. FAILED = 3 # The `JobRun` is terminating. TERMINATING = 4 # The `JobRun` was terminated. TERMINATED = 5 end end |
#deploy_job_run ⇒ ::Google::Cloud::Deploy::V1::DeployJobRun (readonly)
Returns Output only. Information specific to a deploy JobRun
.
3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3262 class JobRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid states of a `JobRun`. module State # The `JobRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `JobRun` is in progress. IN_PROGRESS = 1 # The `JobRun` has succeeded. SUCCEEDED = 2 # The `JobRun` has failed. FAILED = 3 # The `JobRun` is terminating. TERMINATING = 4 # The `JobRun` was terminated. TERMINATED = 5 end end |
#end_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Time at which the JobRun
ended.
3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3262 class JobRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid states of a `JobRun`. module State # The `JobRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `JobRun` is in progress. IN_PROGRESS = 1 # The `JobRun` has succeeded. SUCCEEDED = 2 # The `JobRun` has failed. FAILED = 3 # The `JobRun` is terminating. TERMINATING = 4 # The `JobRun` was terminated. TERMINATED = 5 end end |
#etag ⇒ ::String (readonly)
Returns 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.
3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3262 class JobRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid states of a `JobRun`. module State # The `JobRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `JobRun` is in progress. IN_PROGRESS = 1 # The `JobRun` has succeeded. SUCCEEDED = 2 # The `JobRun` has failed. FAILED = 3 # The `JobRun` is terminating. TERMINATING = 4 # The `JobRun` was terminated. TERMINATED = 5 end end |
#job_id ⇒ ::String (readonly)
Returns Output only. ID of the Rollout
job this JobRun
corresponds to.
3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3262 class JobRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid states of a `JobRun`. module State # The `JobRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `JobRun` is in progress. IN_PROGRESS = 1 # The `JobRun` has succeeded. SUCCEEDED = 2 # The `JobRun` has failed. FAILED = 3 # The `JobRun` is terminating. TERMINATING = 4 # The `JobRun` was terminated. TERMINATED = 5 end end |
#name ⇒ ::String
Returns Optional. Name of the JobRun
. Format is
projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}
.
3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3262 class JobRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid states of a `JobRun`. module State # The `JobRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `JobRun` is in progress. IN_PROGRESS = 1 # The `JobRun` has succeeded. SUCCEEDED = 2 # The `JobRun` has failed. FAILED = 3 # The `JobRun` is terminating. TERMINATING = 4 # The `JobRun` was terminated. TERMINATED = 5 end end |
#phase_id ⇒ ::String (readonly)
Returns Output only. ID of the Rollout
phase this JobRun
belongs in.
3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3262 class JobRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid states of a `JobRun`. module State # The `JobRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `JobRun` is in progress. IN_PROGRESS = 1 # The `JobRun` has succeeded. SUCCEEDED = 2 # The `JobRun` has failed. FAILED = 3 # The `JobRun` is terminating. TERMINATING = 4 # The `JobRun` was terminated. TERMINATED = 5 end end |
#postdeploy_job_run ⇒ ::Google::Cloud::Deploy::V1::PostdeployJobRun (readonly)
Returns Output only. Information specific to a postdeploy JobRun
.
3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3262 class JobRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid states of a `JobRun`. module State # The `JobRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `JobRun` is in progress. IN_PROGRESS = 1 # The `JobRun` has succeeded. SUCCEEDED = 2 # The `JobRun` has failed. FAILED = 3 # The `JobRun` is terminating. TERMINATING = 4 # The `JobRun` was terminated. TERMINATED = 5 end end |
#predeploy_job_run ⇒ ::Google::Cloud::Deploy::V1::PredeployJobRun (readonly)
Returns Output only. Information specific to a predeploy JobRun
.
3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3262 class JobRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid states of a `JobRun`. module State # The `JobRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `JobRun` is in progress. IN_PROGRESS = 1 # The `JobRun` has succeeded. SUCCEEDED = 2 # The `JobRun` has failed. FAILED = 3 # The `JobRun` is terminating. TERMINATING = 4 # The `JobRun` was terminated. TERMINATED = 5 end end |
#start_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Time at which the JobRun
was started.
3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3262 class JobRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid states of a `JobRun`. module State # The `JobRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `JobRun` is in progress. IN_PROGRESS = 1 # The `JobRun` has succeeded. SUCCEEDED = 2 # The `JobRun` has failed. FAILED = 3 # The `JobRun` is terminating. TERMINATING = 4 # The `JobRun` was terminated. TERMINATED = 5 end end |
#state ⇒ ::Google::Cloud::Deploy::V1::JobRun::State (readonly)
Returns Output only. The current state of the JobRun
.
3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3262 class JobRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid states of a `JobRun`. module State # The `JobRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `JobRun` is in progress. IN_PROGRESS = 1 # The `JobRun` has succeeded. SUCCEEDED = 2 # The `JobRun` has failed. FAILED = 3 # The `JobRun` is terminating. TERMINATING = 4 # The `JobRun` was terminated. TERMINATED = 5 end end |
#uid ⇒ ::String (readonly)
Returns Output only. Unique identifier of the JobRun
.
3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3262 class JobRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid states of a `JobRun`. module State # The `JobRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `JobRun` is in progress. IN_PROGRESS = 1 # The `JobRun` has succeeded. SUCCEEDED = 2 # The `JobRun` has failed. FAILED = 3 # The `JobRun` is terminating. TERMINATING = 4 # The `JobRun` was terminated. TERMINATED = 5 end end |
#verify_job_run ⇒ ::Google::Cloud::Deploy::V1::VerifyJobRun (readonly)
Returns Output only. Information specific to a verify JobRun
.
3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3262 class JobRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid states of a `JobRun`. module State # The `JobRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `JobRun` is in progress. IN_PROGRESS = 1 # The `JobRun` has succeeded. SUCCEEDED = 2 # The `JobRun` has failed. FAILED = 3 # The `JobRun` is terminating. TERMINATING = 4 # The `JobRun` was terminated. TERMINATED = 5 end end |