Class: DatadogAPIClient::V2::FeatureFlagEnvironment
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::FeatureFlagEnvironment
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/feature_flag_environment.rb
Overview
Environment-specific settings for a feature flag.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#allocations ⇒ Object
Allocation metadata for this environment.
-
#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. -
#default_variant_id ⇒ Object
The ID of the default variant for this environment.
-
#environment_id ⇒ Object
readonly
The ID of the environment.
-
#environment_name ⇒ Object
The name of the environment.
-
#environment_queries ⇒ Object
Queries that target this environment.
-
#is_production ⇒ Object
Indicates whether the environment is production.
-
#observe_full_evaluation_data ⇒ Object
Indicates whether feature flag evaluation events include original targeting identifiers and full evaluation context.
-
#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. -
#override_variant_id ⇒ Object
The ID of the override variant for this environment.
-
#pending_suggestion_id ⇒ Object
Pending suggestion identifier, if approval is required.
-
#require_feature_flag_approval ⇒ Object
Indicates whether feature flag changes require approval in this environment.
-
#status ⇒ Object
readonly
The status of a feature flag in an environment.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
63 64 65 |
# File 'lib/datadog_api_client/v2/models/feature_flag_environment.rb', line 63 def additional_properties @additional_properties end |
#allocations ⇒ Object
Allocation metadata for this environment.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/feature_flag_environment.rb', line 25 def allocations @allocations 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.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/feature_flag_environment.rb', line 28 def default_allocation_key @default_allocation_key end |
#default_variant_id ⇒ Object
The ID of the default variant for this environment.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/feature_flag_environment.rb', line 31 def default_variant_id @default_variant_id end |
#environment_id ⇒ Object
The ID of the environment.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/feature_flag_environment.rb', line 34 def environment_id @environment_id end |
#environment_name ⇒ Object
The name of the environment.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/feature_flag_environment.rb', line 37 def environment_name @environment_name end |
#environment_queries ⇒ Object
Queries that target this environment.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/feature_flag_environment.rb', line 40 def environment_queries @environment_queries end |
#is_production ⇒ Object
Indicates whether the environment is production.
43 44 45 |
# File 'lib/datadog_api_client/v2/models/feature_flag_environment.rb', line 43 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.
46 47 48 |
# File 'lib/datadog_api_client/v2/models/feature_flag_environment.rb', line 46 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.
49 50 51 |
# File 'lib/datadog_api_client/v2/models/feature_flag_environment.rb', line 49 def override_allocation_key @override_allocation_key end |
#override_variant_id ⇒ Object
The ID of the override variant for this environment.
52 53 54 |
# File 'lib/datadog_api_client/v2/models/feature_flag_environment.rb', line 52 def override_variant_id @override_variant_id end |
#pending_suggestion_id ⇒ Object
Pending suggestion identifier, if approval is required.
55 56 57 |
# File 'lib/datadog_api_client/v2/models/feature_flag_environment.rb', line 55 def pending_suggestion_id @pending_suggestion_id end |
#require_feature_flag_approval ⇒ Object
Indicates whether feature flag changes require approval in this environment.
58 59 60 |
# File 'lib/datadog_api_client/v2/models/feature_flag_environment.rb', line 58 def require_feature_flag_approval @require_feature_flag_approval end |
#status ⇒ Object
The status of a feature flag in an environment.
61 62 63 |
# File 'lib/datadog_api_client/v2/models/feature_flag_environment.rb', line 61 def status @status end |