Class: Google::Cloud::Deploy::V1::Job

Inherits:
Object
  • Object
show all
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

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.

Returns:

  • (::Google::Cloud::Deploy::V1::AdvanceChildRolloutJob)

    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.



2991
2992
2993
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
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2991

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.

Returns:

  • (::Google::Cloud::Deploy::V1::CreateChildRolloutJob)

    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.



2991
2992
2993
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
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2991

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.

Returns:

  • (::Google::Cloud::Deploy::V1::DeployJob)

    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.



2991
2992
2993
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
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2991

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.

Returns:

  • (::String)

    Output only. The ID of the Job.



2991
2992
2993
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
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2991

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.

Returns:

  • (::String)

    Output only. The name of the JobRun responsible for the most recent invocation of this Job.



2991
2992
2993
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
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2991

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.

Returns:

  • (::Google::Cloud::Deploy::V1::PostdeployJob)

    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.



2991
2992
2993
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
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2991

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.

Returns:

  • (::Google::Cloud::Deploy::V1::PredeployJob)

    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.



2991
2992
2993
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
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2991

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.

Returns:

  • (::String)

    Output only. Additional information on why the Job was skipped, if available.



2991
2992
2993
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
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2991

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.

Returns:



2991
2992
2993
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
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2991

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.

Returns:

  • (::Google::Cloud::Deploy::V1::VerifyJob)

    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.



2991
2992
2993
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
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2991

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