@@ -3054,7 +3054,8 @@ public static class ListFeatureFlagsEnvironmentsOptionalParameters {
30543054 /**
30553055 * Set name.
30563056 *
3057- * @param name Filter environments by name (partial matching). (optional)
3057+ * @param name This parameter is currently ignored. Use dd_env to filter environments.
3058+ * (optional)
30583059 * @return ListFeatureFlagsEnvironmentsOptionalParameters
30593060 */
30603061 public ListFeatureFlagsEnvironmentsOptionalParameters name (String name ) {
@@ -3065,7 +3066,7 @@ public ListFeatureFlagsEnvironmentsOptionalParameters name(String name) {
30653066 /**
30663067 * Set key.
30673068 *
3068- * @param key Filter environments by key (partial matching) . (optional)
3069+ * @param key This parameter is currently ignored. Use dd_env to filter environments . (optional)
30693070 * @return ListFeatureFlagsEnvironmentsOptionalParameters
30703071 */
30713072 public ListFeatureFlagsEnvironmentsOptionalParameters key (String key ) {
@@ -3076,8 +3077,8 @@ public ListFeatureFlagsEnvironmentsOptionalParameters key(String key) {
30763077 /**
30773078 * Set ddEnv.
30783079 *
3079- * @param ddEnv Filter environments by queries that contain the provided DD_ENV value.
3080- * (optional)
3080+ * @param ddEnv Filter environments whose queries list contains an exact match for the provided
3081+ * DD_ENV value. (optional)
30813082 * @return ListFeatureFlagsEnvironmentsOptionalParameters
30823083 */
30833084 public ListFeatureFlagsEnvironmentsOptionalParameters ddEnv (String ddEnv ) {
@@ -3088,7 +3089,8 @@ public ListFeatureFlagsEnvironmentsOptionalParameters ddEnv(String ddEnv) {
30883089 /**
30893090 * Set limit.
30903091 *
3091- * @param limit Maximum number of results to return. (optional, default to 100)
3092+ * @param limit This parameter is currently ignored. All matching environments are returned.
3093+ * (optional, default to 100)
30923094 * @return ListFeatureFlagsEnvironmentsOptionalParameters
30933095 */
30943096 public ListFeatureFlagsEnvironmentsOptionalParameters limit (Long limit ) {
@@ -3099,7 +3101,8 @@ public ListFeatureFlagsEnvironmentsOptionalParameters limit(Long limit) {
30993101 /**
31003102 * Set offset.
31013103 *
3102- * @param offset Number of results to skip. (optional, default to 0)
3104+ * @param offset This parameter is currently ignored. All matching environments are returned.
3105+ * (optional, default to 0)
31033106 * @return ListFeatureFlagsEnvironmentsOptionalParameters
31043107 */
31053108 public ListFeatureFlagsEnvironmentsOptionalParameters offset (Long offset ) {
@@ -3170,8 +3173,8 @@ public CompletableFuture<ListEnvironmentsResponse> listFeatureFlagsEnvironmentsA
31703173 }
31713174
31723175 /**
3173- * Returns a list of environments for the organization. Supports filtering by name, key, and
3174- * DD_ENV.
3176+ * Returns a list of environments for the organization. Use <code>dd_env</code> to filter by an
3177+ * exact DD_ENV value in an environment's <code>queries</code> list .
31753178 *
31763179 * @param parameters Optional parameters for the request.
31773180 * @return ApiResponse<ListEnvironmentsResponse>
@@ -4422,7 +4425,15 @@ public CompletableFuture<EnvironmentResponse> updateFeatureFlagsEnvironmentAsync
44224425 }
44234426
44244427 /**
4425- * Updates an existing environment's metadata such as name and description.
4428+ * Updates an environment's name, DD_ENV values, and settings.
4429+ *
4430+ * <p>Every request must include <code>name</code> and <code>queries</code>, even when changing
4431+ * only <code>observe_full_evaluation_data</code>. To preserve the current name and DD_ENV values,
4432+ * get the environment first and include those values in the request.
4433+ *
4434+ * <p>Omitting <code>is_production</code> or <code>require_feature_flag_approval</code> resets
4435+ * that setting to <code>false</code>. Include their current values to preserve them. Omitting
4436+ * <code>observe_full_evaluation_data</code> preserves its current value.
44264437 *
44274438 * @param environmentId The ID of the environment. (required)
44284439 * @param body (required)
0 commit comments