diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 681999b60b..36ff9d3940 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/src/datadog_api_client/v2/api/usage_metering_api.py b/src/datadog_api_client/v2/api/usage_metering_api.py index 0c4d5ffb36..8f0c0546f0 100644 --- a/src/datadog_api_client/v2/api/usage_metering_api.py +++ b/src/datadog_api_client/v2/api/usage_metering_api.py @@ -959,9 +959,14 @@ def create_quotas( **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 `_. + * **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 `_. + * ``"*"`` , 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 @@ -976,6 +981,12 @@ def create_quotas( ``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 `_. + * **Availability:** Quotas on ``team_id`` are in private preview. Contact your Datadog account team to request access. + :param quota_namespace: The product-specific namespace whose usage quotas are being managed. :type quota_namespace: str :param body: The usage quotas to create or update.