From 7405e8f7557fe1767f28cf9979b2a5b02e1e1908 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Wed, 9 Sep 2026 13:59:01 +0000 Subject: [PATCH] Regenerate client from commit 5f34a4b of spec repo --- .generator/schemas/v2/openapi.yaml | 32 +++++-------------- .../usage_metering/src/v2/UsageMeteringApi.ts | 8 ++--- 2 files changed, 12 insertions(+), 28 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index ea614b7f86f7..8bd2f15d2634 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -223892,7 +223892,7 @@ paths: /api/v2/usage/quotas/{quota_namespace}: get: description: |- - Lists usage quotas for the caller's organization in a quota namespace. You can optionally include descendant organizations in the same datacenter as the caller. Requires the `user_access_manage`, `billing_edit`, and `org_management` permissions. + Lists usage quotas for the caller's organization in a quota namespace. You can optionally include descendant organizations in the same datacenter as the caller. Requires the `billing_edit` permission. operationId: ListQuotas parameters: - description: The product-specific namespace whose usage quotas are being managed. @@ -223965,9 +223965,7 @@ paths: - apiKeyAuth: [] appKeyAuth: [] - AuthZ: - - user_access_manage - billing_edit - - org_management summary: List usage quotas tags: - Usage Metering @@ -223977,17 +223975,15 @@ paths: limitParam: page[limit] resultsPath: data "x-permission": - operator: AND + operator: OR permissions: - - user_access_manage - billing_edit - - org_management x-unstable: |- **Note**: This endpoint is in Preview and is subject to change. If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: description: |- - Creates or updates one or more usage quotas by scope. If a quota already exists for a supplied scope, it is updated; otherwise, a new quota is created. Requires the `user_access_manage`, `billing_edit`, and `org_management` permissions. + Creates or updates one or more usage quotas by scope. If a quota already exists for a supplied scope, it is updated; otherwise, a new quota is created. Requires the `billing_edit` permission. operationId: CreateQuotas parameters: - description: The product-specific namespace whose usage quotas are being managed. @@ -224075,25 +224071,21 @@ paths: - apiKeyAuth: [] appKeyAuth: [] - AuthZ: - - user_access_manage - billing_edit - - org_management summary: Create or update usage quotas tags: - Usage Metering "x-permission": - operator: AND + operator: OR permissions: - - user_access_manage - billing_edit - - org_management x-unstable: |- **Note**: This endpoint is in Preview and is subject to change. If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/usage/quotas/{quota_namespace}/{id}: delete: description: |- - Deletes a usage quota by its opaque identifier. The quota must belong to the caller's organization or one of its descendants, and its opaque identifier must belong to the requested quota namespace. Requires the `user_access_manage`, `billing_edit`, and `org_management` permissions. + Deletes a usage quota by its opaque identifier. The quota must belong to the caller's organization or one of its descendants, and its opaque identifier must belong to the requested quota namespace. Requires the `billing_edit` permission. operationId: DeleteQuota parameters: - description: The product-specific namespace whose usage quotas are being managed. @@ -224131,24 +224123,20 @@ paths: - apiKeyAuth: [] appKeyAuth: [] - AuthZ: - - user_access_manage - billing_edit - - org_management summary: Delete a usage quota tags: - Usage Metering "x-permission": - operator: AND + operator: OR permissions: - - user_access_manage - billing_edit - - org_management x-unstable: |- **Note**: This endpoint is in Preview and is subject to change. If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). patch: description: |- - Updates the supplied fields on a usage quota and leaves omitted fields unchanged. The quota must belong to the caller's organization or one of its descendants, and its opaque identifier must belong to the requested quota namespace. Requires the `user_access_manage`, `billing_edit`, and `org_management` permissions. + Updates the supplied fields on a usage quota and leaves omitted fields unchanged. The quota must belong to the caller's organization or one of its descendants, and its opaque identifier must belong to the requested quota namespace. Requires the `billing_edit` permission. operationId: UpdateQuota parameters: - description: The product-specific namespace whose usage quotas are being managed. @@ -224224,18 +224212,14 @@ paths: - apiKeyAuth: [] appKeyAuth: [] - AuthZ: - - user_access_manage - billing_edit - - org_management summary: Update a usage quota tags: - Usage Metering "x-permission": - operator: AND + operator: OR permissions: - - user_access_manage - billing_edit - - org_management x-unstable: |- **Note**: This endpoint is in Preview and is subject to change. If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). diff --git a/services/usage_metering/src/v2/UsageMeteringApi.ts b/services/usage_metering/src/v2/UsageMeteringApi.ts index ba557885a058..eb91aff839d0 100644 --- a/services/usage_metering/src/v2/UsageMeteringApi.ts +++ b/services/usage_metering/src/v2/UsageMeteringApi.ts @@ -2734,7 +2734,7 @@ export class UsageMeteringApi { } /** - * Creates or updates one or more usage quotas by scope. If a quota already exists for a supplied scope, it is updated; otherwise, a new quota is created. Requires the `user_access_manage`, `billing_edit`, and `org_management` permissions. + * Creates or updates one or more usage quotas by scope. If a quota already exists for a supplied scope, it is updated; otherwise, a new quota is created. Requires the `billing_edit` permission. * @param param The request object */ public createQuotas( @@ -2757,7 +2757,7 @@ export class UsageMeteringApi { } /** - * Deletes a usage quota by its opaque identifier. The quota must belong to the caller's organization or one of its descendants, and its opaque identifier must belong to the requested quota namespace. Requires the `user_access_manage`, `billing_edit`, and `org_management` permissions. + * Deletes a usage quota by its opaque identifier. The quota must belong to the caller's organization or one of its descendants, and its opaque identifier must belong to the requested quota namespace. Requires the `billing_edit` permission. * @param param The request object */ public deleteQuota( @@ -3168,7 +3168,7 @@ export class UsageMeteringApi { } /** - * Lists usage quotas for the caller's organization in a quota namespace. You can optionally include descendant organizations in the same datacenter as the caller. Requires the `user_access_manage`, `billing_edit`, and `org_management` permissions. + * Lists usage quotas for the caller's organization in a quota namespace. You can optionally include descendant organizations in the same datacenter as the caller. Requires the `billing_edit` permission. * @param param The request object */ public listQuotas( @@ -3244,7 +3244,7 @@ export class UsageMeteringApi { } /** - * Updates the supplied fields on a usage quota and leaves omitted fields unchanged. The quota must belong to the caller's organization or one of its descendants, and its opaque identifier must belong to the requested quota namespace. Requires the `user_access_manage`, `billing_edit`, and `org_management` permissions. + * Updates the supplied fields on a usage quota and leaves omitted fields unchanged. The quota must belong to the caller's organization or one of its descendants, and its opaque identifier must belong to the requested quota namespace. Requires the `billing_edit` permission. * @param param The request object */ public updateQuota(