Class: DatadogAPIClient::V2::ExecutionPolicyWriteAttributes

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/execution_policy_write_attributes.rb

Overview

Attributes used to create or update an execution policy.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

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_write_attributes.rb', line 25

def action_pattern
  @action_pattern
end

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



41
42
43
# File 'lib/datadog_api_client/v2/models/execution_policy_write_attributes.rb', line 41

def additional_properties
  @additional_properties
end

#effect ⇒ Object

Whether the policy allows or denies matching actions.



28
29
30
# File 'lib/datadog_api_client/v2/models/execution_policy_write_attributes.rb', line 28

def effect
  @effect
end

#name ⇒ Object

The name of the execution policy.



31
32
33
# File 'lib/datadog_api_client/v2/models/execution_policy_write_attributes.rb', line 31

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.



36
37
38
# File 'lib/datadog_api_client/v2/models/execution_policy_write_attributes.rb', line 36

def scope
  @scope
end

#targets ⇒ Object

The targets this policy applies to.



39
40
41
# File 'lib/datadog_api_client/v2/models/execution_policy_write_attributes.rb', line 39

def targets
  @targets
end