Class: DatadogAPIClient::V2::TagRuleUpdateData
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::TagRuleUpdateData
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/tag_rule_update_data.rb
Overview
Data object for updating a tag rule.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#attributes ⇒ Object
Mutable attributes of a tag rule.
-
#id ⇒ Object
readonly
The unique identifier of the tag rule being updated.
-
#type ⇒ Object
readonly
JSON:API resource type for a tag rule.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
36 37 38 |
# File 'lib/datadog_api_client/v2/models/tag_rule_update_data.rb', line 36 def additional_properties @additional_properties end |
#attributes ⇒ Object
Mutable attributes of a tag rule. Each field is optional; omitting a field leaves its
current value unchanged. The source of a rule cannot be changed. Tag keys, patterns,
and metrics scopes have the same constraints as on creation. If the effective
tag_value_patterns contains *, set required and negated to different values.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/tag_rule_update_data.rb', line 28 def attributes @attributes end |
#id ⇒ Object
The unique identifier of the tag rule being updated.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/tag_rule_update_data.rb', line 31 def id @id end |
#type ⇒ Object
JSON:API resource type for a tag rule. Requests accept tag_rule or tag_policy; responses use tag_policy.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/tag_rule_update_data.rb', line 34 def type @type end |