From e9fb67cc1937b8cc14d3a7a5f085ae56f773f79a Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Mon, 16 Nov 2026 23:08:35 +0000 Subject: [PATCH] Regenerate client from commit 54fe2a4 of spec repo --- .generator/schemas/v2/openapi.yaml | 15 ++++++++++++--- .../v2/api/usage_metering_api.rb | 15 ++++++++++++--- 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 681999b60bb7..36ff9d39409f 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -271111,9 +271111,12 @@ paths: **`user_handle`** - - **Value:** The handle of a user, for example `jane@example.com`, or `"*"` for the default quota applied to - users without a specific quota. User handles are returned in the `data[].attributes.handle` field by the - [Users API](https://docs.datadoghq.com/api/latest/users/#list-all-users). + - **Value:** One of the following: + - A user's handle, such as `jane@example.com`. User handles are returned in the + `data[].attributes.handle` field by the + [Users API](https://docs.datadoghq.com/api/latest/users/#list-all-users). + - `"*"`, the default quota applied to users without a specific quota. + - `"*agents*"`, the quota shared by all autonomous agents. - **Validation:** A specific handle must identify an existing user in the caller's organization when `include_descendants` is false. When `include_descendants` is true, the handle must exist in the caller's organization or in at least one targeted descendant organization. The quota is then applied only to the @@ -271127,6 +271130,12 @@ paths: - **Validation:** The role must exist in the caller's organization. Role UUIDs are unique, so `include_descendants` has no effect on a `role_uuid` scope: the role is validated against the caller's organization only. + + **`team_id`** (private preview) + + - **Value:** The ID of a team. Team IDs are returned in the `data[].id` field by the + [Teams API](https://docs.datadoghq.com/api/latest/teams/get-all-teams/). + - **Availability:** Quotas on `team_id` are in private preview. Contact your Datadog account team to request access. operationId: CreateQuotas parameters: - description: The product-specific namespace whose usage quotas are being managed. diff --git a/lib/datadog_api_client/v2/api/usage_metering_api.rb b/lib/datadog_api_client/v2/api/usage_metering_api.rb index f41144300bac..7701c291335b 100644 --- a/lib/datadog_api_client/v2/api/usage_metering_api.rb +++ b/lib/datadog_api_client/v2/api/usage_metering_api.rb @@ -54,9 +54,12 @@ def create_quotas(quota_namespace, body, opts = {}) # # **`user_handle`** # - # - **Value:** The handle of a user, for example `jane@example.com`, or `"*"` for the default quota applied to - # users without a specific quota. User handles are returned in the `data[].attributes.handle` field by the - # [Users API](https://docs.datadoghq.com/api/latest/users/#list-all-users). + # - **Value:** One of the following: + # - A user's handle, such as `jane@example.com`. User handles are returned in the + # `data[].attributes.handle` field by the + # [Users API](https://docs.datadoghq.com/api/latest/users/#list-all-users). + # - `"*"`, the default quota applied to users without a specific quota. + # - `"*agents*"`, the quota shared by all autonomous agents. # - **Validation:** A specific handle must identify an existing user in the caller's organization when # `include_descendants` is false. When `include_descendants` is true, the handle must exist in the caller's # organization or in at least one targeted descendant organization. The quota is then applied only to the @@ -71,6 +74,12 @@ def create_quotas(quota_namespace, body, opts = {}) # `include_descendants` has no effect on a `role_uuid` scope: the role is validated against the caller's # organization only. # + # **`team_id`** (private preview) + # + # - **Value:** The ID of a team. Team IDs are returned in the `data[].id` field by the + # [Teams API](https://docs.datadoghq.com/api/latest/teams/get-all-teams/). + # - **Availability:** Quotas on `team_id` are in private preview. Contact your Datadog account team to request access. + # # @param quota_namespace [String] The product-specific namespace whose usage quotas are being managed. # @param body [UsageQuotasCreateRequest] The usage quotas to create or update. # @param opts [Hash] the optional parameters