Class: Google::Cloud::Deploy::V1::RestrictRollout
- Inherits:
-
Object
- Object
- Google::Cloud::Deploy::V1::RestrictRollout
- 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: Actions
Instance Attribute Summary collapse
-
#actions ⇒ ::Array<::Google::Cloud::Deploy::V1::RestrictRollout::Actions>
Rollout actions to be restricted as part of the policy.
-
#id ⇒ ::String
Optional.
-
#invokers ⇒ ::Array<::Google::Cloud::Deploy::V1::DeployPolicy::Invoker>
Optional.
-
#time_window ⇒ ::Google::Cloud::Deploy::V1::TimeWindow
Required.
Instance Attribute Details
#actions ⇒ ::Array<::Google::Cloud::Deploy::V1::RestrictRollout::Actions>
Returns Rollout actions to be restricted as part of the policy. If left empty, all actions will be restricted.
1675 1676 1677 1678 1679 1680 1681 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 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1675 class RestrictRollout include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Rollout actions to be restricted as part of the policy. module Actions # Unspecified. 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 Optional. Restriction rule ID. Required and must be unique within a
DeployPolicy. The format is [a-z]([a-z0-9-]{0,61}[a-z0-9])?.
1675 1676 1677 1678 1679 1680 1681 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 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1675 class RestrictRollout include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Rollout actions to be restricted as part of the policy. module Actions # Unspecified. 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.
1675 1676 1677 1678 1679 1680 1681 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 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1675 class RestrictRollout include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Rollout actions to be restricted as part of the policy. module Actions # Unspecified. 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_window ⇒ ::Google::Cloud::Deploy::V1::TimeWindow
Returns Required. Time window within which actions are restricted.
1675 1676 1677 1678 1679 1680 1681 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 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1675 class RestrictRollout include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Rollout actions to be restricted as part of the policy. module Actions # Unspecified. 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 |