Class: Google::Cloud::Deploy::V1::DeployPolicyEvaluationEvent
- Inherits:
-
Object
- Object
- Google::Cloud::Deploy::V1::DeployPolicyEvaluationEvent
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/deploy/v1/deploypolicy_evaluation_payload.rb
Overview
Payload proto for "clouddeploy.googleapis.com/deploypolicy_evaluation" Platform Log event that describes the deploy policy evaluation event.
Defined Under Namespace
Modules: PolicyVerdict, PolicyVerdictOverride
Instance Attribute Summary collapse
-
#allowed ⇒ ::Boolean
Whether the request is allowed.
-
#delivery_pipeline ⇒ ::String
The name of the
Delivery Pipeline. -
#deploy_policy ⇒ ::String
The name of the
DeployPolicy. -
#deploy_policy_uid ⇒ ::String
Unique identifier of the
DeployPolicy. -
#invoker ⇒ ::Google::Cloud::Deploy::V1::DeployPolicy::Invoker
What invoked the action (e.g. a user or automation).
-
#message ⇒ ::String
Debug message for when a deploy policy event occurs.
-
#overrides ⇒ ::Array<::Google::Cloud::Deploy::V1::DeployPolicyEvaluationEvent::PolicyVerdictOverride>
Things that could have overridden the policy verdict.
-
#pipeline_uid ⇒ ::String
Unique identifier of the
Delivery Pipeline. -
#rule ⇒ ::String
Rule id.
-
#rule_type ⇒ ::String
Rule type (e.g. Restrict Rollouts).
-
#target ⇒ ::String
The name of the
Target. -
#target_uid ⇒ ::String
Unique identifier of the
Target. -
#verdict ⇒ ::Google::Cloud::Deploy::V1::DeployPolicyEvaluationEvent::PolicyVerdict
The policy verdict of the request.
Instance Attribute Details
#allowed ⇒ ::Boolean
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'proto_docs/google/cloud/deploy/v1/deploypolicy_evaluation_payload.rb', line 72 class DeployPolicyEvaluationEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The policy verdict of the request. module PolicyVerdict # This should never happen. POLICY_VERDICT_UNSPECIFIED = 0 # Allowed by policy. This enum value is not currently used but may be used # in the future. Currently logs are only generated when a request is denied # by policy. ALLOWED_BY_POLICY = 1 # Denied by policy. DENIED_BY_POLICY = 2 end # Things that could have overridden the policy verdict. When overrides are # used, the request will be allowed even if it is DENIED_BY_POLICY. module PolicyVerdictOverride # This should never happen. POLICY_VERDICT_OVERRIDE_UNSPECIFIED = 0 # The policy was overridden. POLICY_OVERRIDDEN = 1 # The policy was suspended. POLICY_SUSPENDED = 2 end end |
#delivery_pipeline ⇒ ::String
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'proto_docs/google/cloud/deploy/v1/deploypolicy_evaluation_payload.rb', line 72 class DeployPolicyEvaluationEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The policy verdict of the request. module PolicyVerdict # This should never happen. POLICY_VERDICT_UNSPECIFIED = 0 # Allowed by policy. This enum value is not currently used but may be used # in the future. Currently logs are only generated when a request is denied # by policy. ALLOWED_BY_POLICY = 1 # Denied by policy. DENIED_BY_POLICY = 2 end # Things that could have overridden the policy verdict. When overrides are # used, the request will be allowed even if it is DENIED_BY_POLICY. module PolicyVerdictOverride # This should never happen. POLICY_VERDICT_OVERRIDE_UNSPECIFIED = 0 # The policy was overridden. POLICY_OVERRIDDEN = 1 # The policy was suspended. POLICY_SUSPENDED = 2 end end |
#deploy_policy ⇒ ::String
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'proto_docs/google/cloud/deploy/v1/deploypolicy_evaluation_payload.rb', line 72 class DeployPolicyEvaluationEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The policy verdict of the request. module PolicyVerdict # This should never happen. POLICY_VERDICT_UNSPECIFIED = 0 # Allowed by policy. This enum value is not currently used but may be used # in the future. Currently logs are only generated when a request is denied # by policy. ALLOWED_BY_POLICY = 1 # Denied by policy. DENIED_BY_POLICY = 2 end # Things that could have overridden the policy verdict. When overrides are # used, the request will be allowed even if it is DENIED_BY_POLICY. module PolicyVerdictOverride # This should never happen. POLICY_VERDICT_OVERRIDE_UNSPECIFIED = 0 # The policy was overridden. POLICY_OVERRIDDEN = 1 # The policy was suspended. POLICY_SUSPENDED = 2 end end |
#deploy_policy_uid ⇒ ::String
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'proto_docs/google/cloud/deploy/v1/deploypolicy_evaluation_payload.rb', line 72 class DeployPolicyEvaluationEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The policy verdict of the request. module PolicyVerdict # This should never happen. POLICY_VERDICT_UNSPECIFIED = 0 # Allowed by policy. This enum value is not currently used but may be used # in the future. Currently logs are only generated when a request is denied # by policy. ALLOWED_BY_POLICY = 1 # Denied by policy. DENIED_BY_POLICY = 2 end # Things that could have overridden the policy verdict. When overrides are # used, the request will be allowed even if it is DENIED_BY_POLICY. module PolicyVerdictOverride # This should never happen. POLICY_VERDICT_OVERRIDE_UNSPECIFIED = 0 # The policy was overridden. POLICY_OVERRIDDEN = 1 # The policy was suspended. POLICY_SUSPENDED = 2 end end |
#invoker ⇒ ::Google::Cloud::Deploy::V1::DeployPolicy::Invoker
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'proto_docs/google/cloud/deploy/v1/deploypolicy_evaluation_payload.rb', line 72 class DeployPolicyEvaluationEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The policy verdict of the request. module PolicyVerdict # This should never happen. POLICY_VERDICT_UNSPECIFIED = 0 # Allowed by policy. This enum value is not currently used but may be used # in the future. Currently logs are only generated when a request is denied # by policy. ALLOWED_BY_POLICY = 1 # Denied by policy. DENIED_BY_POLICY = 2 end # Things that could have overridden the policy verdict. When overrides are # used, the request will be allowed even if it is DENIED_BY_POLICY. module PolicyVerdictOverride # This should never happen. POLICY_VERDICT_OVERRIDE_UNSPECIFIED = 0 # The policy was overridden. POLICY_OVERRIDDEN = 1 # The policy was suspended. POLICY_SUSPENDED = 2 end end |
#message ⇒ ::String
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'proto_docs/google/cloud/deploy/v1/deploypolicy_evaluation_payload.rb', line 72 class DeployPolicyEvaluationEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The policy verdict of the request. module PolicyVerdict # This should never happen. POLICY_VERDICT_UNSPECIFIED = 0 # Allowed by policy. This enum value is not currently used but may be used # in the future. Currently logs are only generated when a request is denied # by policy. ALLOWED_BY_POLICY = 1 # Denied by policy. DENIED_BY_POLICY = 2 end # Things that could have overridden the policy verdict. When overrides are # used, the request will be allowed even if it is DENIED_BY_POLICY. module PolicyVerdictOverride # This should never happen. POLICY_VERDICT_OVERRIDE_UNSPECIFIED = 0 # The policy was overridden. POLICY_OVERRIDDEN = 1 # The policy was suspended. POLICY_SUSPENDED = 2 end end |
#overrides ⇒ ::Array<::Google::Cloud::Deploy::V1::DeployPolicyEvaluationEvent::PolicyVerdictOverride>
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'proto_docs/google/cloud/deploy/v1/deploypolicy_evaluation_payload.rb', line 72 class DeployPolicyEvaluationEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The policy verdict of the request. module PolicyVerdict # This should never happen. POLICY_VERDICT_UNSPECIFIED = 0 # Allowed by policy. This enum value is not currently used but may be used # in the future. Currently logs are only generated when a request is denied # by policy. ALLOWED_BY_POLICY = 1 # Denied by policy. DENIED_BY_POLICY = 2 end # Things that could have overridden the policy verdict. When overrides are # used, the request will be allowed even if it is DENIED_BY_POLICY. module PolicyVerdictOverride # This should never happen. POLICY_VERDICT_OVERRIDE_UNSPECIFIED = 0 # The policy was overridden. POLICY_OVERRIDDEN = 1 # The policy was suspended. POLICY_SUSPENDED = 2 end end |
#pipeline_uid ⇒ ::String
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'proto_docs/google/cloud/deploy/v1/deploypolicy_evaluation_payload.rb', line 72 class DeployPolicyEvaluationEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The policy verdict of the request. module PolicyVerdict # This should never happen. POLICY_VERDICT_UNSPECIFIED = 0 # Allowed by policy. This enum value is not currently used but may be used # in the future. Currently logs are only generated when a request is denied # by policy. ALLOWED_BY_POLICY = 1 # Denied by policy. DENIED_BY_POLICY = 2 end # Things that could have overridden the policy verdict. When overrides are # used, the request will be allowed even if it is DENIED_BY_POLICY. module PolicyVerdictOverride # This should never happen. POLICY_VERDICT_OVERRIDE_UNSPECIFIED = 0 # The policy was overridden. POLICY_OVERRIDDEN = 1 # The policy was suspended. POLICY_SUSPENDED = 2 end end |
#rule ⇒ ::String
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'proto_docs/google/cloud/deploy/v1/deploypolicy_evaluation_payload.rb', line 72 class DeployPolicyEvaluationEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The policy verdict of the request. module PolicyVerdict # This should never happen. POLICY_VERDICT_UNSPECIFIED = 0 # Allowed by policy. This enum value is not currently used but may be used # in the future. Currently logs are only generated when a request is denied # by policy. ALLOWED_BY_POLICY = 1 # Denied by policy. DENIED_BY_POLICY = 2 end # Things that could have overridden the policy verdict. When overrides are # used, the request will be allowed even if it is DENIED_BY_POLICY. module PolicyVerdictOverride # This should never happen. POLICY_VERDICT_OVERRIDE_UNSPECIFIED = 0 # The policy was overridden. POLICY_OVERRIDDEN = 1 # The policy was suspended. POLICY_SUSPENDED = 2 end end |
#rule_type ⇒ ::String
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'proto_docs/google/cloud/deploy/v1/deploypolicy_evaluation_payload.rb', line 72 class DeployPolicyEvaluationEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The policy verdict of the request. module PolicyVerdict # This should never happen. POLICY_VERDICT_UNSPECIFIED = 0 # Allowed by policy. This enum value is not currently used but may be used # in the future. Currently logs are only generated when a request is denied # by policy. ALLOWED_BY_POLICY = 1 # Denied by policy. DENIED_BY_POLICY = 2 end # Things that could have overridden the policy verdict. When overrides are # used, the request will be allowed even if it is DENIED_BY_POLICY. module PolicyVerdictOverride # This should never happen. POLICY_VERDICT_OVERRIDE_UNSPECIFIED = 0 # The policy was overridden. POLICY_OVERRIDDEN = 1 # The policy was suspended. POLICY_SUSPENDED = 2 end end |
#target ⇒ ::String
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'proto_docs/google/cloud/deploy/v1/deploypolicy_evaluation_payload.rb', line 72 class DeployPolicyEvaluationEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The policy verdict of the request. module PolicyVerdict # This should never happen. POLICY_VERDICT_UNSPECIFIED = 0 # Allowed by policy. This enum value is not currently used but may be used # in the future. Currently logs are only generated when a request is denied # by policy. ALLOWED_BY_POLICY = 1 # Denied by policy. DENIED_BY_POLICY = 2 end # Things that could have overridden the policy verdict. When overrides are # used, the request will be allowed even if it is DENIED_BY_POLICY. module PolicyVerdictOverride # This should never happen. POLICY_VERDICT_OVERRIDE_UNSPECIFIED = 0 # The policy was overridden. POLICY_OVERRIDDEN = 1 # The policy was suspended. POLICY_SUSPENDED = 2 end end |
#target_uid ⇒ ::String
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'proto_docs/google/cloud/deploy/v1/deploypolicy_evaluation_payload.rb', line 72 class DeployPolicyEvaluationEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The policy verdict of the request. module PolicyVerdict # This should never happen. POLICY_VERDICT_UNSPECIFIED = 0 # Allowed by policy. This enum value is not currently used but may be used # in the future. Currently logs are only generated when a request is denied # by policy. ALLOWED_BY_POLICY = 1 # Denied by policy. DENIED_BY_POLICY = 2 end # Things that could have overridden the policy verdict. When overrides are # used, the request will be allowed even if it is DENIED_BY_POLICY. module PolicyVerdictOverride # This should never happen. POLICY_VERDICT_OVERRIDE_UNSPECIFIED = 0 # The policy was overridden. POLICY_OVERRIDDEN = 1 # The policy was suspended. POLICY_SUSPENDED = 2 end end |
#verdict ⇒ ::Google::Cloud::Deploy::V1::DeployPolicyEvaluationEvent::PolicyVerdict
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'proto_docs/google/cloud/deploy/v1/deploypolicy_evaluation_payload.rb', line 72 class DeployPolicyEvaluationEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The policy verdict of the request. module PolicyVerdict # This should never happen. POLICY_VERDICT_UNSPECIFIED = 0 # Allowed by policy. This enum value is not currently used but may be used # in the future. Currently logs are only generated when a request is denied # by policy. ALLOWED_BY_POLICY = 1 # Denied by policy. DENIED_BY_POLICY = 2 end # Things that could have overridden the policy verdict. When overrides are # used, the request will be allowed even if it is DENIED_BY_POLICY. module PolicyVerdictOverride # This should never happen. POLICY_VERDICT_OVERRIDE_UNSPECIFIED = 0 # The policy was overridden. POLICY_OVERRIDDEN = 1 # The policy was suspended. POLICY_SUSPENDED = 2 end end |