Class: Google::Cloud::Deploy::V1::DeployPolicyEvaluationEvent

Inherits:
Object
  • Object
show all
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

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