Skip to content

Commit fd6205c

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Deprecate options from logs aggregate API public spec (#2476)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 0d83181 commit fd6205c

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.apigentools-info

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-03-28 15:07:46.000209",
8-
"spec_repo_commit": "3f3e8eaf"
7+
"regenerated": "2025-03-28 19:43:01.676721",
8+
"spec_repo_commit": "1d2132af"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-03-28 15:07:46.022107",
13-
"spec_repo_commit": "3f3e8eaf"
12+
"regenerated": "2025-03-28 19:43:01.699661",
13+
"spec_repo_commit": "1d2132af"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19109,10 +19109,10 @@ components:
1910919109
type: string
1911019110
type: object
1911119111
LogsQueryOptions:
19112+
deprecated: true
1911219113
description: 'Global query options that are used during the query.
1911319114

19114-
Note: you should supply either timezone or time offset, but not both. Otherwise,
19115-
the query will fail.'
19115+
Note: These fields are currently deprecated and do not affect the query results.'
1911619116
properties:
1911719117
timeOffset:
1911819118
description: The time offset (in seconds) to apply to the query.

src/datadog_api_client/v2/model/logs_aggregate_request.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def __init__(
6868
:type group_by: [LogsGroupBy], optional
6969
7070
:param options: Global query options that are used during the query.
71-
Note: you should supply either timezone or time offset, but not both. Otherwise, the query will fail.
71+
Note: These fields are currently deprecated and do not affect the query results. **Deprecated**.
7272
:type options: LogsQueryOptions, optional
7373
7474
:param page: Paging settings

src/datadog_api_client/v2/model/logs_list_request.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def __init__(
5757
:type filter: LogsQueryFilter, optional
5858
5959
:param options: Global query options that are used during the query.
60-
Note: you should supply either timezone or time offset, but not both. Otherwise, the query will fail.
60+
Note: These fields are currently deprecated and do not affect the query results. **Deprecated**.
6161
:type options: LogsQueryOptions, optional
6262
6363
:param page: Paging attributes for listing logs.

src/datadog_api_client/v2/model/logs_query_options.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def openapi_types(_):
2929
def __init__(self_, time_offset: Union[int, UnsetType] = unset, timezone: Union[str, UnsetType] = unset, **kwargs):
3030
"""
3131
Global query options that are used during the query.
32-
Note: you should supply either timezone or time offset, but not both. Otherwise, the query will fail.
32+
Note: These fields are currently deprecated and do not affect the query results.
3333
3434
:param time_offset: The time offset (in seconds) to apply to the query.
3535
:type time_offset: int, optional

0 commit comments

Comments
 (0)