Class: DatadogAPIClient::V2::Allocation

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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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_atObject

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_idsObject

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_idObject

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_scheduleObject

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_metricsObject

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

#idObject

The unique identifier of the targeting rule allocation.



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

def id
  @id
end

#keyObject

The unique key of the targeting rule allocation.



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

def key
  @key
end

#nameObject

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_positionObject

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_rulesObject

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

#typeObject

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_atObject

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_weightsObject

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