Class: Google::Cloud::Deploy::V1::Phase

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

Phase represents a collection of jobs that are logically grouped together for a Rollout.

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#child_rollout_jobs::Google::Cloud::Deploy::V1::ChildRolloutJobs (readonly)

Returns Output only. ChildRollout job composition.

Note: The following fields are mutually exclusive: child_rollout_jobs, deployment_jobs. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

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

    Output only. ChildRollout job composition.

    Note: The following fields are mutually exclusive: child_rollout_jobs, deployment_jobs. If a field in that set is populated, all other fields in the set will automatically be cleared.



2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2890

class Phase
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Valid states of a Phase.
  module State
    # The Phase has an unspecified state.
    STATE_UNSPECIFIED = 0

    # The Phase is waiting for an earlier Phase(s) to complete.
    PENDING = 1

    # The Phase is in progress.
    IN_PROGRESS = 2

    # The Phase has succeeded.
    SUCCEEDED = 3

    # The Phase has failed.
    FAILED = 4

    # The Phase was aborted.
    ABORTED = 5

    # The Phase was skipped.
    SKIPPED = 6
  end
end

#deployment_jobs::Google::Cloud::Deploy::V1::DeploymentJobs (readonly)

Returns Output only. Deployment job composition.

Note: The following fields are mutually exclusive: deployment_jobs, child_rollout_jobs. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

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

    Output only. Deployment job composition.

    Note: The following fields are mutually exclusive: deployment_jobs, child_rollout_jobs. If a field in that set is populated, all other fields in the set will automatically be cleared.



2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2890

class Phase
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Valid states of a Phase.
  module State
    # The Phase has an unspecified state.
    STATE_UNSPECIFIED = 0

    # The Phase is waiting for an earlier Phase(s) to complete.
    PENDING = 1

    # The Phase is in progress.
    IN_PROGRESS = 2

    # The Phase has succeeded.
    SUCCEEDED = 3

    # The Phase has failed.
    FAILED = 4

    # The Phase was aborted.
    ABORTED = 5

    # The Phase was skipped.
    SKIPPED = 6
  end
end

#id::String (readonly)

Returns Output only. The ID of the Phase.

Returns:

  • (::String)

    Output only. The ID of the Phase.



2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2890

class Phase
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Valid states of a Phase.
  module State
    # The Phase has an unspecified state.
    STATE_UNSPECIFIED = 0

    # The Phase is waiting for an earlier Phase(s) to complete.
    PENDING = 1

    # The Phase is in progress.
    IN_PROGRESS = 2

    # The Phase has succeeded.
    SUCCEEDED = 3

    # The Phase has failed.
    FAILED = 4

    # The Phase was aborted.
    ABORTED = 5

    # The Phase was skipped.
    SKIPPED = 6
  end
end

#skip_message::String (readonly)

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

Returns:

  • (::String)

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



2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2890

class Phase
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Valid states of a Phase.
  module State
    # The Phase has an unspecified state.
    STATE_UNSPECIFIED = 0

    # The Phase is waiting for an earlier Phase(s) to complete.
    PENDING = 1

    # The Phase is in progress.
    IN_PROGRESS = 2

    # The Phase has succeeded.
    SUCCEEDED = 3

    # The Phase has failed.
    FAILED = 4

    # The Phase was aborted.
    ABORTED = 5

    # The Phase was skipped.
    SKIPPED = 6
  end
end

#state::Google::Cloud::Deploy::V1::Phase::State (readonly)

Returns Output only. Current state of the Phase.

Returns:



2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2890

class Phase
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Valid states of a Phase.
  module State
    # The Phase has an unspecified state.
    STATE_UNSPECIFIED = 0

    # The Phase is waiting for an earlier Phase(s) to complete.
    PENDING = 1

    # The Phase is in progress.
    IN_PROGRESS = 2

    # The Phase has succeeded.
    SUCCEEDED = 3

    # The Phase has failed.
    FAILED = 4

    # The Phase was aborted.
    ABORTED = 5

    # The Phase was skipped.
    SKIPPED = 6
  end
end