Class: DatadogAPIClient::V2::FeatureFlagEnvironmentListItem

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

Overview

Environment-specific settings for a feature flag in list responses.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



60
61
62
# File 'lib/datadog_api_client/v2/models/feature_flag_environment_list_item.rb', line 60

def additional_properties
  @additional_properties
end

#default_allocation_key ⇒ Object

A system-generated allocation key, in the format allocation-default-<hash>, that SDKs report in flag evaluation results and exposure events when a subject receives the environment's default variant because no targeting rule matched. It has no corresponding allocation ID and cannot be used with the allocation endpoints.



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

def default_allocation_key
  @default_allocation_key
end

#default_variant_id ⇒ Object

The ID of the default variant for this environment.



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

def default_variant_id
  @default_variant_id
end

#environment_id ⇒ Object

The ID of the environment.



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

def environment_id
  @environment_id
end

#environment_name ⇒ Object

The name of the environment.



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

def environment_name
  @environment_name
end

#environment_queries ⇒ Object

Queries that target this environment.



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

def environment_queries
  @environment_queries
end

#is_production ⇒ Object

Indicates whether the environment is production.



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

def is_production
  @is_production
end

#observe_full_evaluation_data ⇒ Object

Indicates whether feature flag evaluation events include original targeting identifiers and full evaluation context.



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

def observe_full_evaluation_data
  @observe_full_evaluation_data
end

#override_allocation_key ⇒ Object

A system-generated allocation key, in the format allocation-override-<hash>, that SDKs report in flag evaluation results and exposure events when the environment's override variant is served. It has no corresponding allocation ID and cannot be used with the allocation endpoints.



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

def override_allocation_key
  @override_allocation_key
end

#override_variant_id ⇒ Object

The ID of the override variant for this environment.



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

def override_variant_id
  @override_variant_id
end

#pending_suggestion_id ⇒ Object

Pending suggestion identifier, if approval is required.



52
53
54
# File 'lib/datadog_api_client/v2/models/feature_flag_environment_list_item.rb', line 52

def pending_suggestion_id
  @pending_suggestion_id
end

#require_feature_flag_approval ⇒ Object

Indicates whether feature flag changes require approval in this environment.



55
56
57
# File 'lib/datadog_api_client/v2/models/feature_flag_environment_list_item.rb', line 55

def require_feature_flag_approval
  @require_feature_flag_approval
end

#status ⇒ Object

The status of a feature flag in an environment.



58
59
60
# File 'lib/datadog_api_client/v2/models/feature_flag_environment_list_item.rb', line 58

def status
  @status
end