Class: DatadogAPIClient::V2::ExperimentsBanditFlagConfigurationV2
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::ExperimentsBanditFlagConfigurationV2
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/experiments_bandit_flag_configuration_v2.rb
Overview
The flag rule the bandit serves through. Absent until a draft is added to a flag. Also absent when the caller lacks feature flag or environment read permissions, in which case meta.warnings includes datadog_flag_configuration_omitted.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#allocation_key ⇒ Object
readonly
The key of the bandit's rule on the flag.
-
#environment_id ⇒ Object
readonly
The environment the bandit serves in.
-
#feature_flag_id ⇒ Object
readonly
The flag the bandit serves through.
-
#targeting_rules ⇒ Object
readonly
Who the bandit serves.
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/experiments_bandit_flag_configuration_v2.rb', line 36 def additional_properties @additional_properties end |
#allocation_key ⇒ Object
The key of the bandit's rule on the flag. Exposures log it.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/experiments_bandit_flag_configuration_v2.rb', line 25 def allocation_key @allocation_key end |
#environment_id ⇒ Object
The environment the bandit serves in.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/experiments_bandit_flag_configuration_v2.rb', line 28 def environment_id @environment_id end |
#feature_flag_id ⇒ Object
The flag the bandit serves through.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/experiments_bandit_flag_configuration_v2.rb', line 31 def feature_flag_id @feature_flag_id end |
#targeting_rules ⇒ Object
Who the bandit serves. When empty, the bandit serves everyone in the environment.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/experiments_bandit_flag_configuration_v2.rb', line 34 def targeting_rules @targeting_rules end |