Class: Google::Cloud::Deploy::V1::RolloutRestriction
- Inherits:
-
Object
- Object
- Google::Cloud::Deploy::V1::RolloutRestriction
- 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
-
#actions ⇒ ::Array<::Google::Cloud::Deploy::V1::RolloutRestriction::RolloutActions>
Optional.
-
#id ⇒ ::String
Required.
-
#invokers ⇒ ::Array<::Google::Cloud::Deploy::V1::DeployPolicy::Invoker>
Optional.
-
#time_windows ⇒ ::Google::Cloud::Deploy::V1::TimeWindows
Required.
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.
1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1682 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])?
.
1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1682 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.
1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1682 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.
1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1682 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 |