Class: DatadogAPIClient::V2::OrgGroupPolicyAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::OrgGroupPolicyAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/org_group_policy_attributes.rb
Overview
Attributes of an org group policy.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#content ⇒ Object
The policy content as key-value pairs.
-
#enforcement_tier ⇒ Object
readonly
The enforcement tier of the policy.
-
#modified_at ⇒ Object
readonly
Timestamp when the policy was last modified.
-
#policy_name ⇒ Object
readonly
The name of the policy.
-
#policy_type ⇒ Object
readonly
The type of the policy.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
39 40 41 |
# File 'lib/datadog_api_client/v2/models/org_group_policy_attributes.rb', line 39 def additional_properties @additional_properties end |
#content ⇒ Object
The policy content as key-value pairs. For org_config policies, an arbitrary key-value map (for example, {"value": "UTC"}). For role policies, a permissions key containing an array of permission UUIDs (for example, {"permissions": ["<uuid>", ...]}).
25 26 27 |
# File 'lib/datadog_api_client/v2/models/org_group_policy_attributes.rb', line 25 def content @content end |
#enforcement_tier ⇒ Object
The enforcement tier of the policy. OVERRIDE_ALLOWED means the policy is set but member orgs may mutate it. GROUP_MANAGED means the policy is strictly controlled and mutations are blocked for affected orgs. DELEGATE means each member org controls its own value. role policies only support GROUP_MANAGED and DELEGATE — OVERRIDE_ALLOWED is rejected for this policy type. Transitioning a role policy to DELEGATE (disabling it) is one-way — the policy cannot be transitioned back to GROUP_MANAGED afterward.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/org_group_policy_attributes.rb', line 28 def enforcement_tier @enforcement_tier end |
#modified_at ⇒ Object
Timestamp when the policy was last modified.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/org_group_policy_attributes.rb', line 31 def modified_at @modified_at end |
#policy_name ⇒ Object
The name of the policy. This becomes the name of the resource created across orgs in the group (for example, for role policies, the name of the created role).
34 35 36 |
# File 'lib/datadog_api_client/v2/models/org_group_policy_attributes.rb', line 34 def policy_name @policy_name end |
#policy_type ⇒ Object
The type of the policy. org_config indicates a policy backed by an organization configuration setting. role indicates a policy backed by a Datadog custom role.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/org_group_policy_attributes.rb', line 37 def policy_type @policy_type end |