Class: DatadogAPIClient::V2::UpsertAllocationRequest

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

Overview

Request to create or update a targeting rule (allocation) for a feature flag environment.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



51
52
53
# File 'lib/datadog_api_client/v2/models/upsert_allocation_request.rb', line 51

def additional_properties
  @additional_properties
end

#experiment_id ⇒ Object

The experiment ID for experiment-linked allocations.



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

def experiment_id
  @experiment_id
end

#exposure_schedule ⇒ Object

Progressive release request payload.



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

def exposure_schedule
  @exposure_schedule
end

#guardrail_metrics ⇒ Object

Guardrail metrics used to monitor and auto-pause or abort.



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

def guardrail_metrics
  @guardrail_metrics
end

#id ⇒ Object

The unique identifier of the targeting rule allocation.



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

def id
  @id
end

#key ⇒ Object

The unique key of the targeting rule allocation.



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

def key
  @key
end

#name ⇒ Object

The display name of the targeting rule.



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

def name
  @name
end

#targeting_rules ⇒ Object

Targeting rules that determine audience eligibility.



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

def targeting_rules
  @targeting_rules
end

#type ⇒ Object

The type of targeting rule (called allocation in the API model).



46
47
48
# File 'lib/datadog_api_client/v2/models/upsert_allocation_request.rb', line 46

def type
  @type
end

#variant_weights ⇒ Object

Variant distribution weights.



49
50
51
# File 'lib/datadog_api_client/v2/models/upsert_allocation_request.rb', line 49

def variant_weights
  @variant_weights
end