Class: Google::Cloud::Deploy::V1::RolloutRestriction

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

Rollout restrictions.

Defined Under Namespace

Modules: RolloutActions

Instance Attribute Summary collapse

Instance Attribute Details

#actions::Array<::Google::Cloud::Deploy::V1::RolloutRestriction::RolloutActions>

Returns Optional. Rollout actions to be restricted as part of the policy. If left empty, all actions will be restricted.

Returns:



1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1784

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

  # Rollout actions to be restricted as part of the policy.
  module RolloutActions
    # Unspecified.
    ROLLOUT_ACTIONS_UNSPECIFIED = 0

    # Advance the rollout to the next phase.
    ADVANCE = 1

    # Approve the rollout.
    APPROVE = 2

    # Cancel the rollout.
    CANCEL = 3

    # Create a rollout.
    CREATE = 4

    # Ignore a job result on the rollout.
    IGNORE_JOB = 5

    # Retry a job for a rollout.
    RETRY_JOB = 6

    # Rollback a rollout.
    ROLLBACK = 7

    # Terminate a jobrun.
    TERMINATE_JOBRUN = 8
  end
end

#id::String

Returns Required. Restriction rule ID. Required and must be unique within a DeployPolicy. The format is [a-z]([a-z0-9-]{0,61}[a-z0-9])?.

Returns:

  • (::String)

    Required. Restriction rule ID. Required and must be unique within a DeployPolicy. The format is [a-z]([a-z0-9-]{0,61}[a-z0-9])?.



1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1784

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

  # Rollout actions to be restricted as part of the policy.
  module RolloutActions
    # Unspecified.
    ROLLOUT_ACTIONS_UNSPECIFIED = 0

    # Advance the rollout to the next phase.
    ADVANCE = 1

    # Approve the rollout.
    APPROVE = 2

    # Cancel the rollout.
    CANCEL = 3

    # Create a rollout.
    CREATE = 4

    # Ignore a job result on the rollout.
    IGNORE_JOB = 5

    # Retry a job for a rollout.
    RETRY_JOB = 6

    # Rollback a rollout.
    ROLLBACK = 7

    # Terminate a jobrun.
    TERMINATE_JOBRUN = 8
  end
end

#invokers::Array<::Google::Cloud::Deploy::V1::DeployPolicy::Invoker>

Returns Optional. What invoked the action. If left empty, all invoker types will be restricted.

Returns:



1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1784

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

  # Rollout actions to be restricted as part of the policy.
  module RolloutActions
    # Unspecified.
    ROLLOUT_ACTIONS_UNSPECIFIED = 0

    # Advance the rollout to the next phase.
    ADVANCE = 1

    # Approve the rollout.
    APPROVE = 2

    # Cancel the rollout.
    CANCEL = 3

    # Create a rollout.
    CREATE = 4

    # Ignore a job result on the rollout.
    IGNORE_JOB = 5

    # Retry a job for a rollout.
    RETRY_JOB = 6

    # Rollback a rollout.
    ROLLBACK = 7

    # Terminate a jobrun.
    TERMINATE_JOBRUN = 8
  end
end

#time_windows::Google::Cloud::Deploy::V1::TimeWindows

Returns Required. Time window within which actions are restricted.

Returns:



1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1784

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

  # Rollout actions to be restricted as part of the policy.
  module RolloutActions
    # Unspecified.
    ROLLOUT_ACTIONS_UNSPECIFIED = 0

    # Advance the rollout to the next phase.
    ADVANCE = 1

    # Approve the rollout.
    APPROVE = 2

    # Cancel the rollout.
    CANCEL = 3

    # Create a rollout.
    CREATE = 4

    # Ignore a job result on the rollout.
    IGNORE_JOB = 5

    # Retry a job for a rollout.
    RETRY_JOB = 6

    # Rollback a rollout.
    ROLLBACK = 7

    # Terminate a jobrun.
    TERMINATE_JOBRUN = 8
  end
end