Job(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Job represents an operation for a Rollout
.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes | |
---|---|
Name | Description |
id |
str
Output only. The ID of the Job. |
state |
google.cloud.deploy_v1.types.Job.State
Output only. The current state of the Job. |
skip_message |
str
Output only. Additional information on why the Job was skipped, if available. |
job_run |
str
Output only. The name of the JobRun responsible for the
most recent invocation of this Job.
|
deploy_job |
google.cloud.deploy_v1.types.DeployJob
Output only. A deploy Job. This field is a member of oneof _ job_type .
|
verify_job |
google.cloud.deploy_v1.types.VerifyJob
Output only. A verify Job. This field is a member of oneof _ job_type .
|
create_child_rollout_job |
google.cloud.deploy_v1.types.CreateChildRolloutJob
Output only. A createChildRollout Job. This field is a member of oneof _ job_type .
|
advance_child_rollout_job |
google.cloud.deploy_v1.types.AdvanceChildRolloutJob
Output only. An advanceChildRollout Job. This field is a member of oneof _ job_type .
|
Classes
State
State(value)
Valid states of a Job.
Values: STATE_UNSPECIFIED (0): The Job has an unspecified state. PENDING (1): The Job is waiting for an earlier Phase(s) or Job(s) to complete. DISABLED (2): The Job is disabled. IN_PROGRESS (3): The Job is in progress. SUCCEEDED (4): The Job succeeded. FAILED (5): The Job failed. ABORTED (6): The Job was aborted. SKIPPED (7): The Job was skipped. IGNORED (8): The Job was ignored.