Class: Google::Cloud::Deploy::V1::Job
- Inherits:
-
Object
- Object
- Google::Cloud::Deploy::V1::Job
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/deploy/v1/cloud_deploy.rb
Overview
Job represents an operation for a Rollout
.
Defined Under Namespace
Modules: State
Instance Attribute Summary collapse
-
#advance_child_rollout_job ⇒ ::Google::Cloud::Deploy::V1::AdvanceChildRolloutJob
readonly
Output only.
-
#create_child_rollout_job ⇒ ::Google::Cloud::Deploy::V1::CreateChildRolloutJob
readonly
Output only.
-
#deploy_job ⇒ ::Google::Cloud::Deploy::V1::DeployJob
readonly
Output only.
-
#id ⇒ ::String
readonly
Output only.
-
#job_run ⇒ ::String
readonly
Output only.
-
#postdeploy_job ⇒ ::Google::Cloud::Deploy::V1::PostdeployJob
readonly
Output only.
-
#predeploy_job ⇒ ::Google::Cloud::Deploy::V1::PredeployJob
readonly
Output only.
-
#skip_message ⇒ ::String
readonly
Output only.
-
#state ⇒ ::Google::Cloud::Deploy::V1::Job::State
readonly
Output only.
-
#verify_job ⇒ ::Google::Cloud::Deploy::V1::VerifyJob
readonly
Output only.
Instance Attribute Details
#advance_child_rollout_job ⇒ ::Google::Cloud::Deploy::V1::AdvanceChildRolloutJob (readonly)
Returns 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.
2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2994 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid states of a Job. module State # The Job has an unspecified state. STATE_UNSPECIFIED = 0 # The Job is waiting for an earlier Phase(s) or Job(s) to complete. PENDING = 1 # The Job is disabled. DISABLED = 2 # The Job is in progress. IN_PROGRESS = 3 # The Job succeeded. SUCCEEDED = 4 # The Job failed. FAILED = 5 # The Job was aborted. ABORTED = 6 # The Job was skipped. SKIPPED = 7 # The Job was ignored. IGNORED = 8 end end |
#create_child_rollout_job ⇒ ::Google::Cloud::Deploy::V1::CreateChildRolloutJob (readonly)
Returns 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.
2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2994 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid states of a Job. module State # The Job has an unspecified state. STATE_UNSPECIFIED = 0 # The Job is waiting for an earlier Phase(s) or Job(s) to complete. PENDING = 1 # The Job is disabled. DISABLED = 2 # The Job is in progress. IN_PROGRESS = 3 # The Job succeeded. SUCCEEDED = 4 # The Job failed. FAILED = 5 # The Job was aborted. ABORTED = 6 # The Job was skipped. SKIPPED = 7 # The Job was ignored. IGNORED = 8 end end |
#deploy_job ⇒ ::Google::Cloud::Deploy::V1::DeployJob (readonly)
Returns 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.
2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2994 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid states of a Job. module State # The Job has an unspecified state. STATE_UNSPECIFIED = 0 # The Job is waiting for an earlier Phase(s) or Job(s) to complete. PENDING = 1 # The Job is disabled. DISABLED = 2 # The Job is in progress. IN_PROGRESS = 3 # The Job succeeded. SUCCEEDED = 4 # The Job failed. FAILED = 5 # The Job was aborted. ABORTED = 6 # The Job was skipped. SKIPPED = 7 # The Job was ignored. IGNORED = 8 end end |
#id ⇒ ::String (readonly)
Returns Output only. The ID of the Job.
2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2994 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid states of a Job. module State # The Job has an unspecified state. STATE_UNSPECIFIED = 0 # The Job is waiting for an earlier Phase(s) or Job(s) to complete. PENDING = 1 # The Job is disabled. DISABLED = 2 # The Job is in progress. IN_PROGRESS = 3 # The Job succeeded. SUCCEEDED = 4 # The Job failed. FAILED = 5 # The Job was aborted. ABORTED = 6 # The Job was skipped. SKIPPED = 7 # The Job was ignored. IGNORED = 8 end end |
#job_run ⇒ ::String (readonly)
Returns Output only. The name of the JobRun
responsible for the most recent
invocation of this Job.
2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2994 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid states of a Job. module State # The Job has an unspecified state. STATE_UNSPECIFIED = 0 # The Job is waiting for an earlier Phase(s) or Job(s) to complete. PENDING = 1 # The Job is disabled. DISABLED = 2 # The Job is in progress. IN_PROGRESS = 3 # The Job succeeded. SUCCEEDED = 4 # The Job failed. FAILED = 5 # The Job was aborted. ABORTED = 6 # The Job was skipped. SKIPPED = 7 # The Job was ignored. IGNORED = 8 end end |
#postdeploy_job ⇒ ::Google::Cloud::Deploy::V1::PostdeployJob (readonly)
Returns 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.
2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2994 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid states of a Job. module State # The Job has an unspecified state. STATE_UNSPECIFIED = 0 # The Job is waiting for an earlier Phase(s) or Job(s) to complete. PENDING = 1 # The Job is disabled. DISABLED = 2 # The Job is in progress. IN_PROGRESS = 3 # The Job succeeded. SUCCEEDED = 4 # The Job failed. FAILED = 5 # The Job was aborted. ABORTED = 6 # The Job was skipped. SKIPPED = 7 # The Job was ignored. IGNORED = 8 end end |
#predeploy_job ⇒ ::Google::Cloud::Deploy::V1::PredeployJob (readonly)
Returns 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.
2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2994 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid states of a Job. module State # The Job has an unspecified state. STATE_UNSPECIFIED = 0 # The Job is waiting for an earlier Phase(s) or Job(s) to complete. PENDING = 1 # The Job is disabled. DISABLED = 2 # The Job is in progress. IN_PROGRESS = 3 # The Job succeeded. SUCCEEDED = 4 # The Job failed. FAILED = 5 # The Job was aborted. ABORTED = 6 # The Job was skipped. SKIPPED = 7 # The Job was ignored. IGNORED = 8 end end |
#skip_message ⇒ ::String (readonly)
Returns Output only. Additional information on why the Job was skipped, if available.
2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2994 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid states of a Job. module State # The Job has an unspecified state. STATE_UNSPECIFIED = 0 # The Job is waiting for an earlier Phase(s) or Job(s) to complete. PENDING = 1 # The Job is disabled. DISABLED = 2 # The Job is in progress. IN_PROGRESS = 3 # The Job succeeded. SUCCEEDED = 4 # The Job failed. FAILED = 5 # The Job was aborted. ABORTED = 6 # The Job was skipped. SKIPPED = 7 # The Job was ignored. IGNORED = 8 end end |
#state ⇒ ::Google::Cloud::Deploy::V1::Job::State (readonly)
Returns Output only. The current state of the Job.
2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2994 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid states of a Job. module State # The Job has an unspecified state. STATE_UNSPECIFIED = 0 # The Job is waiting for an earlier Phase(s) or Job(s) to complete. PENDING = 1 # The Job is disabled. DISABLED = 2 # The Job is in progress. IN_PROGRESS = 3 # The Job succeeded. SUCCEEDED = 4 # The Job failed. FAILED = 5 # The Job was aborted. ABORTED = 6 # The Job was skipped. SKIPPED = 7 # The Job was ignored. IGNORED = 8 end end |
#verify_job ⇒ ::Google::Cloud::Deploy::V1::VerifyJob (readonly)
Returns 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.
2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2994 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid states of a Job. module State # The Job has an unspecified state. STATE_UNSPECIFIED = 0 # The Job is waiting for an earlier Phase(s) or Job(s) to complete. PENDING = 1 # The Job is disabled. DISABLED = 2 # The Job is in progress. IN_PROGRESS = 3 # The Job succeeded. SUCCEEDED = 4 # The Job failed. FAILED = 5 # The Job was aborted. ABORTED = 6 # The Job was skipped. SKIPPED = 7 # The Job was ignored. IGNORED = 8 end end |