Skip to content

Commit f28181e

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit a0867244 of spec repo (#1178)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 3306553 commit f28181e

File tree

5 files changed

+11
-12
lines changed

5 files changed

+11
-12
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.4",
7-
"regenerated": "2022-10-04 17:11:32.362522",
8-
"spec_repo_commit": "abff3edb"
7+
"regenerated": "2022-10-05 17:41:33.921164",
8+
"spec_repo_commit": "a0867244"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2022-10-04 17:11:32.376361",
13-
"spec_repo_commit": "abff3edb"
12+
"regenerated": "2022-10-05 17:41:33.936184",
13+
"spec_repo_commit": "a0867244"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28539,8 +28539,7 @@ paths:
2853928539
- Usage Metering
2854028540
/api/v1/usage/summary:
2854128541
get:
28542-
description: Get usage across your multi-org account. You must have the multi-org
28543-
feature enabled.
28542+
description: Get all usage across your account.
2854428543
operationId: GetUsageSummary
2854528544
parameters:
2854628545
- description: 'Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]`
@@ -28597,7 +28596,7 @@ paths:
2859728596
appKeyAuth: []
2859828597
- AuthZ:
2859928598
- usage_read
28600-
summary: Get usage across your multi-org account
28599+
summary: Get usage across your account
2860128600
tags:
2860228601
- Usage Metering
2860328602
/api/v1/usage/synthetics:

examples/v1/usage-metering/GetUsageSummary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Get usage across your multi-org account returns "OK" response
2+
Get usage across your account returns "OK" response
33
"""
44

55
from datadog_api_client import ApiClient, Configuration

src/datadog_api_client/v1/api/usage_metering_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2314,9 +2314,9 @@ def get_usage_summary(
23142314
end_month: Union[datetime, UnsetType] = unset,
23152315
include_org_details: Union[bool, UnsetType] = unset,
23162316
) -> UsageSummaryResponse:
2317-
"""Get usage across your multi-org account.
2317+
"""Get usage across your account.
23182318
2319-
Get usage across your multi-org account. You must have the multi-org feature enabled.
2319+
Get all usage across your account.
23202320
23212321
:param start_month: Datetime in ISO-8601 format, UTC, precise to month: ``[YYYY-MM]`` for usage beginning in this month.
23222322
Maximum of 15 months ago.

tests/v1/features/usage_metering.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -721,14 +721,14 @@ Feature: Usage Metering
721721
Then the response status is 200 OK
722722

723723
@generated @skip @team:DataDog/red-zone-revenue-query
724-
Scenario: Get usage across your multi-org account returns "Bad Request" response
724+
Scenario: Get usage across your account returns "Bad Request" response
725725
Given new "GetUsageSummary" request
726726
And request contains "start_month" parameter from "REPLACE.ME"
727727
When the request is sent
728728
Then the response status is 400 Bad Request
729729

730730
@generated @skip @team:DataDog/red-zone-revenue-query
731-
Scenario: Get usage across your multi-org account returns "OK" response
731+
Scenario: Get usage across your account returns "OK" response
732732
Given new "GetUsageSummary" request
733733
And request contains "start_month" parameter from "REPLACE.ME"
734734
When the request is sent

0 commit comments

Comments
 (0)