Class: DatadogAPIClient::V2::ExperimentsExperimentHoldoutV2DTODataAttributes

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/experiments_experiment_holdout_v2_dto_data_attributes.rb

Overview

Attributes of a holdout that the experiment is attached to.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



45
46
47
# File 'lib/datadog_api_client/v2/models/experiments_experiment_holdout_v2_dto_data_attributes.rb', line 45

def additional_properties
  @additional_properties
end

#evaluation_order ⇒ Object

Zero-based position of this MANAGED holdout in the experiment's evaluation order. The GLOBAL holdout is evaluated first. Null for EXTERNAL holdouts.



25
26
27
# File 'lib/datadog_api_client/v2/models/experiments_experiment_holdout_v2_dto_data_attributes.rb', line 25

def evaluation_order
  @evaluation_order
end

#holdout_type ⇒ Object

How Datadog serves a MANAGED holdout. GLOBAL holdouts apply to every eligible experiment of a subject type. SELECTIVE holdouts apply only to the experiments attached to them. Null for EXTERNAL holdouts.



28
29
30
# File 'lib/datadog_api_client/v2/models/experiments_experiment_holdout_v2_dto_data_attributes.rb', line 28

def holdout_type
  @holdout_type
end

#key ⇒ Object

Key of the holdout.



31
32
33
# File 'lib/datadog_api_client/v2/models/experiments_experiment_holdout_v2_dto_data_attributes.rb', line 31

def key
  @key
end

#kind ⇒ Object

Whether Datadog serves the holdout. Datadog serves MANAGED holdouts. EXTERNAL holdouts record what your own feature flagging system holds back, and Datadog does not serve them.



34
35
36
# File 'lib/datadog_api_client/v2/models/experiments_experiment_holdout_v2_dto_data_attributes.rb', line 34

def kind
  @kind
end

#name ⇒ Object

Display name of the holdout.



37
38
39
# File 'lib/datadog_api_client/v2/models/experiments_experiment_holdout_v2_dto_data_attributes.rb', line 37

def name
  @name
end

#state ⇒ Object

Lifecycle phase of the holdout. PENDING holdouts have not started including experiments. INCLUDING holdouts are adding experiments. WAITING_FOR_ANALYSIS holdouts have stopped including experiments but have not started analysis. ANALYSING holdouts are in their analysis window. COMPLETE applies only to EXTERNAL holdouts that have ended their analysis window but are not archived.



40
41
42
# File 'lib/datadog_api_client/v2/models/experiments_experiment_holdout_v2_dto_data_attributes.rb', line 40

def state
  @state
end

#traffic_allocation ⇒ Object

Share of subjects the holdout holds back, from 0 to 1.



43
44
45
# File 'lib/datadog_api_client/v2/models/experiments_experiment_holdout_v2_dto_data_attributes.rb', line 43

def traffic_allocation
  @traffic_allocation
end