Skip to content

Commit 4ddb58f

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 54fe2a4 of spec repo
1 parent 83c4232 commit 4ddb58f

2 files changed

Lines changed: 26 additions & 6 deletions

File tree

‎.generator/schemas/v2/openapi.yaml‎

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271111,9 +271111,12 @@ paths:
271111271111

271112271112
**`user_handle`**
271113271113

271114-
- **Value:** The handle of a user, for example `jane@example.com`, or `"*"` for the default quota applied to
271115-
users without a specific quota. User handles are returned in the `data[].attributes.handle` field by the
271116-
[Users API](https://docs.datadoghq.com/api/latest/users/#list-all-users).
271114+
- **Value:** One of the following:
271115+
- A user's handle, such as `jane@example.com`. User handles are returned in the
271116+
`data[].attributes.handle` field by the
271117+
[Users API](https://docs.datadoghq.com/api/latest/users/#list-all-users).
271118+
- `"*"`, the default quota applied to users without a specific quota.
271119+
- `"*agents*"`, the quota shared by all autonomous agents.
271117271120
- **Validation:** A specific handle must identify an existing user in the caller's organization when
271118271121
`include_descendants` is false. When `include_descendants` is true, the handle must exist in the caller's
271119271122
organization or in at least one targeted descendant organization. The quota is then applied only to the
@@ -271127,6 +271130,12 @@ paths:
271127271130
- **Validation:** The role must exist in the caller's organization. Role UUIDs are unique, so
271128271131
`include_descendants` has no effect on a `role_uuid` scope: the role is validated against the caller's
271129271132
organization only.
271133+
271134+
**`team_id`** (private preview)
271135+
271136+
- **Value:** The ID of a team. Team IDs are returned in the `data[].id` field by the
271137+
[Teams API](https://docs.datadoghq.com/api/latest/teams/get-all-teams/).
271138+
- **Availability:** Quotas on `team_id` are in private preview. Contact your Datadog account team to request access.
271130271139
operationId: CreateQuotas
271131271140
parameters:
271132271141
- description: The product-specific namespace whose usage quotas are being managed.

‎src/datadog_api_client/v2/api/usage_metering_api.py‎

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -959,9 +959,14 @@ def create_quotas(
959959
960960
**user_handle**
961961
962-
* **Value:** The handle of a user, for example ``jane@example.com`` , or ``"*"`` for the default quota applied to
963-
users without a specific quota. User handles are returned in the ``data[].attributes.handle`` field by the
964-
`Users API <https://docs.datadoghq.com/api/latest/users/#list-all-users>`_.
962+
* **Value:** One of the following:
963+
964+
* A user's handle, such as ``jane@example.com``. User handles are returned in the
965+
``data[].attributes.handle`` field by the
966+
`Users API <https://docs.datadoghq.com/api/latest/users/#list-all-users>`_.
967+
* ``"*"`` , the default quota applied to users without a specific quota.
968+
* ``"*agents*"`` , the quota shared by all autonomous agents.
969+
965970
* **Validation:** A specific handle must identify an existing user in the caller's organization when
966971
``include_descendants`` is false. When ``include_descendants`` is true, the handle must exist in the caller's
967972
organization or in at least one targeted descendant organization. The quota is then applied only to the
@@ -976,6 +981,12 @@ def create_quotas(
976981
``include_descendants`` has no effect on a ``role_uuid`` scope: the role is validated against the caller's
977982
organization only.
978983
984+
**team_id** (private preview)
985+
986+
* **Value:** The ID of a team. Team IDs are returned in the ``data[].id`` field by the
987+
`Teams API <https://docs.datadoghq.com/api/latest/teams/get-all-teams/>`_.
988+
* **Availability:** Quotas on ``team_id`` are in private preview. Contact your Datadog account team to request access.
989+
979990
:param quota_namespace: The product-specific namespace whose usage quotas are being managed.
980991
:type quota_namespace: str
981992
:param body: The usage quotas to create or update.

0 commit comments

Comments
 (0)