Class: DatadogAPIClient::V2::ExperimentsBanditFlagConfigurationV2

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

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