Class: Google::Cloud::Deploy::V1::DeployPolicy
- Inherits:
-
Object
- Object
- Google::Cloud::Deploy::V1::DeployPolicy
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/deploy/v1/cloud_deploy.rb
Overview
A DeployPolicy
resource in the Cloud Deploy API.
A DeployPolicy
inhibits manual or automation-driven actions within a
Delivery Pipeline or Target.
Defined Under Namespace
Modules: Invoker Classes: AnnotationsEntry, LabelsEntry
Instance Attribute Summary collapse
-
#annotations ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#description ⇒ ::String
Optional.
-
#etag ⇒ ::String
The weak etag of the
Automation
resource. -
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Labels are attributes that can be set and used by both the user and by Cloud Deploy.
-
#name ⇒ ::String
readonly
Output only.
-
#rules ⇒ ::Array<::Google::Cloud::Deploy::V1::PolicyRule>
Required.
-
#selectors ⇒ ::Array<::Google::Cloud::Deploy::V1::DeployPolicyResourceSelector>
Required.
-
#suspended ⇒ ::Boolean
Optional.
-
#uid ⇒ ::String
readonly
Output only.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
Instance Attribute Details
#annotations ⇒ ::Google::Protobuf::Map{::String => ::String}
1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1653 class DeployPolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # What invoked the action. Filters enforcing the policy depending on what # invoked the action. module Invoker # Unspecified. INVOKER_UNSPECIFIED = 0 # The action is user-driven. For example, creating a rollout manually via a # gcloud create command. USER = 1 # Automated action by Cloud Deploy. DEPLOY_AUTOMATION = 2 end end |
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1653 class DeployPolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # What invoked the action. Filters enforcing the policy depending on what # invoked the action. module Invoker # Unspecified. INVOKER_UNSPECIFIED = 0 # The action is user-driven. For example, creating a rollout manually via a # gcloud create command. USER = 1 # Automated action by Cloud Deploy. DEPLOY_AUTOMATION = 2 end end |
#description ⇒ ::String
1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1653 class DeployPolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # What invoked the action. Filters enforcing the policy depending on what # invoked the action. module Invoker # Unspecified. INVOKER_UNSPECIFIED = 0 # The action is user-driven. For example, creating a rollout manually via a # gcloud create command. USER = 1 # Automated action by Cloud Deploy. DEPLOY_AUTOMATION = 2 end end |
#etag ⇒ ::String
1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1653 class DeployPolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # What invoked the action. Filters enforcing the policy depending on what # invoked the action. module Invoker # Unspecified. INVOKER_UNSPECIFIED = 0 # The action is user-driven. For example, creating a rollout manually via a # gcloud create command. USER = 1 # Automated action by Cloud Deploy. DEPLOY_AUTOMATION = 2 end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1653 class DeployPolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # What invoked the action. Filters enforcing the policy depending on what # invoked the action. module Invoker # Unspecified. INVOKER_UNSPECIFIED = 0 # The action is user-driven. For example, creating a rollout manually via a # gcloud create command. USER = 1 # Automated action by Cloud Deploy. DEPLOY_AUTOMATION = 2 end end |
#name ⇒ ::String (readonly)
1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1653 class DeployPolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # What invoked the action. Filters enforcing the policy depending on what # invoked the action. module Invoker # Unspecified. INVOKER_UNSPECIFIED = 0 # The action is user-driven. For example, creating a rollout manually via a # gcloud create command. USER = 1 # Automated action by Cloud Deploy. DEPLOY_AUTOMATION = 2 end end |
#rules ⇒ ::Array<::Google::Cloud::Deploy::V1::PolicyRule>
1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1653 class DeployPolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # What invoked the action. Filters enforcing the policy depending on what # invoked the action. module Invoker # Unspecified. INVOKER_UNSPECIFIED = 0 # The action is user-driven. For example, creating a rollout manually via a # gcloud create command. USER = 1 # Automated action by Cloud Deploy. DEPLOY_AUTOMATION = 2 end end |
#selectors ⇒ ::Array<::Google::Cloud::Deploy::V1::DeployPolicyResourceSelector>
1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1653 class DeployPolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # What invoked the action. Filters enforcing the policy depending on what # invoked the action. module Invoker # Unspecified. INVOKER_UNSPECIFIED = 0 # The action is user-driven. For example, creating a rollout manually via a # gcloud create command. USER = 1 # Automated action by Cloud Deploy. DEPLOY_AUTOMATION = 2 end end |
#suspended ⇒ ::Boolean
1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1653 class DeployPolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # What invoked the action. Filters enforcing the policy depending on what # invoked the action. module Invoker # Unspecified. INVOKER_UNSPECIFIED = 0 # The action is user-driven. For example, creating a rollout manually via a # gcloud create command. USER = 1 # Automated action by Cloud Deploy. DEPLOY_AUTOMATION = 2 end end |
#uid ⇒ ::String (readonly)
1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1653 class DeployPolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # What invoked the action. Filters enforcing the policy depending on what # invoked the action. module Invoker # Unspecified. INVOKER_UNSPECIFIED = 0 # The action is user-driven. For example, creating a rollout manually via a # gcloud create command. USER = 1 # Automated action by Cloud Deploy. DEPLOY_AUTOMATION = 2 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1653 class DeployPolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # What invoked the action. Filters enforcing the policy depending on what # invoked the action. module Invoker # Unspecified. INVOKER_UNSPECIFIED = 0 # The action is user-driven. For example, creating a rollout manually via a # gcloud create command. USER = 1 # Automated action by Cloud Deploy. DEPLOY_AUTOMATION = 2 end end |