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
The allocation key used for the default variant.
-
#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.
-
#is_production ⇒ Object
Indicates whether the environment is production.
-
#override_allocation_key ⇒ Object
The allocation key used for the override variant.
-
#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.
-
#rollout_percentage ⇒ Object
readonly
Rollout percentage for this environment.
-
#rules ⇒ Object
Environment targeting rules for this feature flag.
-
#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
The allocation key used for the default variant.
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 |
#is_production ⇒ Object
Indicates whether the environment is production.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/feature_flag_environment.rb', line 40 def is_production @is_production end |
#override_allocation_key ⇒ Object
The allocation key used for the override variant.
43 44 45 |
# File 'lib/datadog_api_client/v2/models/feature_flag_environment.rb', line 43 def override_allocation_key @override_allocation_key end |
#override_variant_id ⇒ Object
The ID of the override variant for this environment.
46 47 48 |
# File 'lib/datadog_api_client/v2/models/feature_flag_environment.rb', line 46 def override_variant_id @override_variant_id end |
#pending_suggestion_id ⇒ Object
Pending suggestion identifier, if approval is required.
49 50 51 |
# File 'lib/datadog_api_client/v2/models/feature_flag_environment.rb', line 49 def pending_suggestion_id @pending_suggestion_id end |
#require_feature_flag_approval ⇒ Object
Indicates whether feature flag changes require approval in this environment.
52 53 54 |
# File 'lib/datadog_api_client/v2/models/feature_flag_environment.rb', line 52 def require_feature_flag_approval @require_feature_flag_approval end |
#rollout_percentage ⇒ Object
Rollout percentage for this environment.
55 56 57 |
# File 'lib/datadog_api_client/v2/models/feature_flag_environment.rb', line 55 def rollout_percentage @rollout_percentage end |
#rules ⇒ Object
Environment targeting rules for this feature flag.
58 59 60 |
# File 'lib/datadog_api_client/v2/models/feature_flag_environment.rb', line 58 def rules @rules 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 |