Class: DatadogAPIClient::V2::ExperimentsBanditFlagConfigurationInputV2
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::ExperimentsBanditFlagConfigurationInputV2
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/experiments_bandit_flag_configuration_input_v2.rb
Overview
The flag and environment the bandit serves on, and who it serves there. The server chooses the rule's allocation_key. On create, feature_flag_id and environment_id are required, and null is the same as omitting it. On update, omitted fields are unchanged, and null takes a draft off its flag, which also clears its variants and scheduled end. Moving a draft to another flag clears its variants unless the request sets them. Only a draft can change it.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#environment_id ⇒ Object
The environment the bandit serves in.
-
#feature_flag_id ⇒ Object
The flag the bandit serves through.
-
#targeting_rules ⇒ Object
Who the bandit serves.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
33 34 35 |
# File 'lib/datadog_api_client/v2/models/experiments_bandit_flag_configuration_input_v2.rb', line 33 def additional_properties @additional_properties end |
#environment_id ⇒ Object
The environment the bandit serves in.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/experiments_bandit_flag_configuration_input_v2.rb', line 25 def environment_id @environment_id end |
#feature_flag_id ⇒ Object
The flag the bandit serves through.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/experiments_bandit_flag_configuration_input_v2.rb', line 28 def feature_flag_id @feature_flag_id end |
#targeting_rules ⇒ Object
Who the bandit serves. When empty, the bandit serves everyone in the environment.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/experiments_bandit_flag_configuration_input_v2.rb', line 31 def targeting_rules @targeting_rules end |