diff --git a/.apigentools-info b/.apigentools-info index b5ddb8e1102..ef70a48a6b2 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-03-28 15:07:41.004258", - "spec_repo_commit": "3f3e8eaf" + "regenerated": "2025-03-28 19:42:58.001817", + "spec_repo_commit": "1d2132af" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-03-28 15:07:41.026638", - "spec_repo_commit": "3f3e8eaf" + "regenerated": "2025-03-28 19:42:58.026085", + "spec_repo_commit": "1d2132af" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 664a9f7ecae..4aacf7eab58 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -19109,10 +19109,10 @@ components: type: string type: object LogsQueryOptions: + deprecated: true description: 'Global query options that are used during the query. - Note: you should supply either timezone or time offset, but not both. Otherwise, - the query will fail.' + Note: These fields are currently deprecated and do not affect the query results.' properties: timeOffset: description: The time offset (in seconds) to apply to the query. diff --git a/src/main/java/com/datadog/api/client/v2/model/LogsAggregateRequest.java b/src/main/java/com/datadog/api/client/v2/model/LogsAggregateRequest.java index d8812b57c28..188a0a7cdcc 100644 --- a/src/main/java/com/datadog/api/client/v2/model/LogsAggregateRequest.java +++ b/src/main/java/com/datadog/api/client/v2/model/LogsAggregateRequest.java @@ -140,11 +140,13 @@ public LogsAggregateRequest options(LogsQueryOptions options) { } /** - * Global query options that are used during the query. Note: you should supply either timezone or - * time offset, but not both. Otherwise, the query will fail. + * Global query options that are used during the query. Note: These fields are currently + * deprecated and do not affect the query results. * * @return options + * @deprecated */ + @Deprecated @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_OPTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -152,6 +154,7 @@ public LogsQueryOptions getOptions() { return options; } + @Deprecated public void setOptions(LogsQueryOptions options) { this.options = options; } diff --git a/src/main/java/com/datadog/api/client/v2/model/LogsListRequest.java b/src/main/java/com/datadog/api/client/v2/model/LogsListRequest.java index c0ca2fe8cc9..d699ba22c1e 100644 --- a/src/main/java/com/datadog/api/client/v2/model/LogsListRequest.java +++ b/src/main/java/com/datadog/api/client/v2/model/LogsListRequest.java @@ -68,11 +68,13 @@ public LogsListRequest options(LogsQueryOptions options) { } /** - * Global query options that are used during the query. Note: you should supply either timezone or - * time offset, but not both. Otherwise, the query will fail. + * Global query options that are used during the query. Note: These fields are currently + * deprecated and do not affect the query results. * * @return options + * @deprecated */ + @Deprecated @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_OPTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -80,6 +82,7 @@ public LogsQueryOptions getOptions() { return options; } + @Deprecated public void setOptions(LogsQueryOptions options) { this.options = options; } diff --git a/src/main/java/com/datadog/api/client/v2/model/LogsQueryOptions.java b/src/main/java/com/datadog/api/client/v2/model/LogsQueryOptions.java index a2afeee86df..b5fe5364dcb 100644 --- a/src/main/java/com/datadog/api/client/v2/model/LogsQueryOptions.java +++ b/src/main/java/com/datadog/api/client/v2/model/LogsQueryOptions.java @@ -17,9 +17,12 @@ import java.util.Objects; /** - * Global query options that are used during the query. Note: you should supply either timezone or - * time offset, but not both. Otherwise, the query will fail. + * Global query options that are used during the query. Note: These fields are currently deprecated + * and do not affect the query results. + * + * @deprecated */ +@Deprecated @JsonPropertyOrder({ LogsQueryOptions.JSON_PROPERTY_TIME_OFFSET, LogsQueryOptions.JSON_PROPERTY_TIMEZONE