Class: DatadogAPIClient::V2::UpdateEnvironmentAttributes

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

Overview

Attributes for updating an 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.



39
40
41
# File 'lib/datadog_api_client/v2/models/update_environment_attributes.rb', line 39

def additional_properties
  @additional_properties
end

#is_production ⇒ Object

Indicates whether this is a production environment. If omitted, resets to false. Include the existing value to preserve it.



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

def is_production
  @is_production
end

#name ⇒ Object

The name of the environment. Required on every request and unique within the organization. Must contain 1 to 200 ASCII characters, start with a letter or digit, and contain only letters, digits, spaces, underscores, hyphens, and periods.



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

def name
  @name
end

#observe_full_evaluation_data ⇒ Object

Controls whether feature flag evaluation events may include original targeting identifiers and full evaluation context. When true, SDKs may include this data. When false, SDKs hash targeting identifiers and omit evaluation context. If omitted, the existing value is preserved.



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

def observe_full_evaluation_data
  @observe_full_evaluation_data
end

#queries ⇒ Object

Required list of at least one exact DD_ENV value associated with this environment. Values cannot be used by another environment in the same organization. Wildcards and search expressions are not supported.



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

def queries
  @queries
end

#require_feature_flag_approval ⇒ Object

Indicates whether feature flag changes require approval in this environment. If omitted, resets to false. Include the existing value to preserve it.



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

def require_feature_flag_approval
  @require_feature_flag_approval
end