Class: DatadogAPIClient::V2::Allocation
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::Allocation
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/allocation.rb
Overview
Targeting rule (allocation) details for a feature flag environment.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#created_at ⇒ Object
readonly
The timestamp when the targeting rule allocation was created.
-
#environment_ids ⇒ Object
readonly
Environment IDs associated with this targeting rule allocation.
-
#experiment_id ⇒ Object
The experiment ID linked to this targeting rule allocation.
-
#exposure_schedule ⇒ Object
Progressive release details for a targeting rule allocation.
-
#guardrail_metrics ⇒ Object
readonly
Guardrail metrics associated with this targeting rule allocation.
-
#id ⇒ Object
The unique identifier of the targeting rule allocation.
-
#key ⇒ Object
readonly
The unique key of the targeting rule allocation.
-
#name ⇒ Object
readonly
The display name of the targeting rule.
-
#order_position ⇒ Object
readonly
Sort order position within the environment.
-
#targeting_rules ⇒ Object
readonly
Conditions associated with this targeting rule allocation.
-
#type ⇒ Object
readonly
The type of targeting rule (called allocation in the API model).
-
#updated_at ⇒ Object
readonly
The timestamp when the targeting rule allocation was last updated.
-
#variant_weights ⇒ Object
readonly
Weighted variant assignments for this targeting rule allocation.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
63 64 65 |
# File 'lib/datadog_api_client/v2/models/allocation.rb', line 63 def additional_properties @additional_properties end |
#created_at ⇒ Object
The timestamp when the targeting rule allocation was created.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/allocation.rb', line 25 def created_at @created_at end |
#environment_ids ⇒ Object
Environment IDs associated with this targeting rule allocation.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/allocation.rb', line 28 def environment_ids @environment_ids end |
#experiment_id ⇒ Object
The experiment ID linked to this targeting rule allocation.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/allocation.rb', line 31 def experiment_id @experiment_id end |
#exposure_schedule ⇒ Object
Progressive release details for a targeting rule allocation.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/allocation.rb', line 34 def exposure_schedule @exposure_schedule end |
#guardrail_metrics ⇒ Object
Guardrail metrics associated with this targeting rule allocation.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/allocation.rb', line 37 def guardrail_metrics @guardrail_metrics end |
#id ⇒ Object
The unique identifier of the targeting rule allocation. Use this ID with the allocation management endpoints, such as /api/v2/allocations/{allocation_id}. It is not included in SDK evaluation results or exposure events.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/allocation.rb', line 40 def id @id end |
#key ⇒ Object
The unique key of the targeting rule allocation. SDKs report this key in flag evaluation results and exposure events to indicate which targeting rule assigned the variant. Use it to match evaluation or experiment data to this rule.
43 44 45 |
# File 'lib/datadog_api_client/v2/models/allocation.rb', line 43 def key @key end |
#name ⇒ Object
The display name of the targeting rule.
46 47 48 |
# File 'lib/datadog_api_client/v2/models/allocation.rb', line 46 def name @name end |
#order_position ⇒ Object
Sort order position within the environment.
49 50 51 |
# File 'lib/datadog_api_client/v2/models/allocation.rb', line 49 def order_position @order_position end |
#targeting_rules ⇒ Object
Conditions associated with this targeting rule allocation.
52 53 54 |
# File 'lib/datadog_api_client/v2/models/allocation.rb', line 52 def targeting_rules @targeting_rules end |
#type ⇒ Object
The type of targeting rule (called allocation in the API model).
55 56 57 |
# File 'lib/datadog_api_client/v2/models/allocation.rb', line 55 def type @type end |
#updated_at ⇒ Object
The timestamp when the targeting rule allocation was last updated.
58 59 60 |
# File 'lib/datadog_api_client/v2/models/allocation.rb', line 58 def updated_at @updated_at end |
#variant_weights ⇒ Object
Weighted variant assignments for this targeting rule allocation.
61 62 63 |
# File 'lib/datadog_api_client/v2/models/allocation.rb', line 61 def variant_weights @variant_weights end |