Class: DatadogAPIClient::V2::ExecutionPolicyAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::ExecutionPolicyAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/execution_policy_attributes.rb
Overview
An execution policy.
Instance Attribute Summary collapse
-
#action_pattern ⇒ Object
readonly
The set of actions this policy applies to.
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#created_at ⇒ Object
readonly
The date and time the execution policy was created.
-
#created_by ⇒ Object
readonly
The ID of the user who created the execution policy.
-
#effect ⇒ Object
readonly
Whether the policy allows or denies matching actions.
-
#name ⇒ Object
readonly
The name of the execution policy.
-
#scope ⇒ Object
Restricts where the policy applies.
-
#targets ⇒ Object
readonly
The targets this policy applies to.
-
#updated_at ⇒ Object
readonly
The date and time the execution policy was last updated.
-
#updated_by ⇒ Object
readonly
The ID of the user who last updated the execution policy.
-
#version ⇒ Object
readonly
The version of the execution policy.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#action_pattern ⇒ Object
The set of actions this policy applies to.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 25 def action_pattern @action_pattern end |
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
56 57 58 |
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 56 def additional_properties @additional_properties end |
#created_at ⇒ Object
The date and time the execution policy was created.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 28 def created_at @created_at end |
#created_by ⇒ Object
The ID of the user who created the execution policy.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 31 def created_by @created_by end |
#effect ⇒ Object
Whether the policy allows or denies matching actions.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 34 def effect @effect end |
#name ⇒ Object
The name of the execution policy.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 37 def name @name end |
#scope ⇒ Object
Restricts where the policy applies. At most one scope type can be set, and it must match the action pattern's integration. An empty object means the policy has no scope restriction.
42 43 44 |
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 42 def scope @scope end |
#targets ⇒ Object
The targets this policy applies to.
45 46 47 |
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 45 def targets @targets end |
#updated_at ⇒ Object
The date and time the execution policy was last updated.
48 49 50 |
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 48 def updated_at @updated_at end |
#updated_by ⇒ Object
The ID of the user who last updated the execution policy.
51 52 53 |
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 51 def updated_by @updated_by end |
#version ⇒ Object
The version of the execution policy. Incremented on every update.
54 55 56 |
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 54 def version @version end |