diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index c15232d0429..4d2c9181bee 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -226444,7 +226444,9 @@ 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 `billing_edit` permission. + 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_read` or + `billing_edit` permission. operationId: ListQuotas parameters: - description: The product-specific namespace whose usage quotas are being managed. @@ -226516,6 +226518,8 @@ paths: security: - apiKeyAuth: [] appKeyAuth: [] + - AuthZ: + - billing_read - AuthZ: - billing_edit summary: List usage quotas @@ -226529,6 +226533,7 @@ paths: "x-permission": operator: OR permissions: + - billing_read - billing_edit x-unstable: |- **Note**: This endpoint is in Preview and is subject to change. diff --git a/src/main/java/com/datadog/api/client/v2/api/UsageMeteringApi.java b/src/main/java/com/datadog/api/client/v2/api/UsageMeteringApi.java index b3a6c61f91f..0be5a567dc2 100644 --- a/src/main/java/com/datadog/api/client/v2/api/UsageMeteringApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/UsageMeteringApi.java @@ -3790,7 +3790,7 @@ public PaginationIterable listQuotasWithPagination( /** * 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. + * billing_read or billing_edit permission. * * @param quotaNamespace The product-specific namespace whose usage quotas are being managed. * (required)