From b3600353453ac89ec3f5ca40f34a57070f1f6cd7 Mon Sep 17 00:00:00 2001 From: "databricks-ci-ghec-1[bot]" <184311507+databricks-ci-ghec-1[bot]@users.noreply.github.com> Date: Sat, 10 Jan 2026 09:46:23 +0000 Subject: [PATCH] Update SDK to e16060430295515f0c147e5252a3fee3c19fde9f --- .codegen/_openapi_sha | 2 +- NEXT_CHANGELOG.md | 2 +- .../com/databricks/sdk/WorkspaceClient.java | 5 ++- .../service/catalog/QualityMonitorsAPI.java | 43 +++++++++++++------ .../catalog/QualityMonitorsService.java | 43 +++++++++++++------ 5 files changed, 64 insertions(+), 31 deletions(-) mode change 100755 => 100644 databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/QualityMonitorsAPI.java mode change 100755 => 100644 databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/QualityMonitorsService.java diff --git a/.codegen/_openapi_sha b/.codegen/_openapi_sha index cbb2ed4ae..6379cfb7b 100644 --- a/.codegen/_openapi_sha +++ b/.codegen/_openapi_sha @@ -1 +1 @@ -8921a828d1741af0952eb5c4f0292c194c0d5f38 \ No newline at end of file +e16060430295515f0c147e5252a3fee3c19fde9f \ No newline at end of file diff --git a/NEXT_CHANGELOG.md b/NEXT_CHANGELOG.md index 8044601d2..248bb0db7 100644 --- a/NEXT_CHANGELOG.md +++ b/NEXT_CHANGELOG.md @@ -28,4 +28,4 @@ * [Breaking] Remove `pgbouncerSettings` field for `com.databricks.sdk.service.postgres.EndpointSettings`. * [Breaking] Remove `poolerMode` field for `com.databricks.sdk.service.postgres.EndpointSpec`. * [Breaking] Remove `poolerMode` field for `com.databricks.sdk.service.postgres.EndpointStatus`. -* [Breaking] Remove `pgbouncerSettings` field for `com.databricks.sdk.service.postgres.ProjectDefaultEndpointSettings`. \ No newline at end of file +* [Breaking] Remove `pgbouncerSettings` field for `com.databricks.sdk.service.postgres.ProjectDefaultEndpointSettings`. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/WorkspaceClient.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/WorkspaceClient.java index 3fd68fc01..e29c17705 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/WorkspaceClient.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/WorkspaceClient.java @@ -1428,7 +1428,10 @@ public QualityMonitorV2API qualityMonitorV2() { } /** - * A monitor computes and monitors data or model quality metrics for a table over time. It + * [DEPRECATED] This API is deprecated. Please use the Data Quality Monitors API instead (REST: + * /api/data-quality/v1/monitors), which manages both Data Profiling and Anomaly Detection. + * + *
A monitor computes and monitors data or model quality metrics for a table over time. It * generates metrics tables and a dashboard that you can use to monitor table health and set * alerts. Most write operations require the user to be the owner of the table (or its parent * schema or parent catalog). Viewing the dashboard, computed metrics, or monitor configuration diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/QualityMonitorsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/QualityMonitorsAPI.java old mode 100755 new mode 100644 index 6ce0fd3da..778fcc643 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/QualityMonitorsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/QualityMonitorsAPI.java @@ -7,11 +7,15 @@ import org.slf4j.LoggerFactory; /** - * A monitor computes and monitors data or model quality metrics for a table over time. It generates - * metrics tables and a dashboard that you can use to monitor table health and set alerts. Most - * write operations require the user to be the owner of the table (or its parent schema or parent - * catalog). Viewing the dashboard, computed metrics, or monitor configuration only requires the - * user to have **SELECT** privileges on the table (along with **USE_SCHEMA** and **USE_CATALOG**). + * [DEPRECATED] This API is deprecated. Please use the Data Quality Monitors API instead (REST: + * /api/data-quality/v1/monitors), which manages both Data Profiling and Anomaly Detection. + * + *
A monitor computes and monitors data or model quality metrics for a table over time. It + * generates metrics tables and a dashboard that you can use to monitor table health and set alerts. + * Most write operations require the user to be the owner of the table (or its parent schema or + * parent catalog). Viewing the dashboard, computed metrics, or monitor configuration only requires + * the user to have **SELECT** privileges on the table (along with **USE_SCHEMA** and + * **USE_CATALOG**). */ @Generated public class QualityMonitorsAPI { @@ -29,13 +33,17 @@ public QualityMonitorsAPI(QualityMonitorsService mock) { impl = mock; } - /** Cancels an already-initiated refresh job. */ + /** + * [DEPRECATED] Cancels an already-initiated refresh job. Use Data Quality Monitors API instead + * (/api/data-quality/v1/monitors). + */ public void cancelRefresh(CancelRefreshRequest request) { impl.cancelRefresh(request); } /** - * Creates a new monitor for the specified table. + * [DEPRECATED] Creates a new monitor for the specified table. Use Data Quality Monitors API + * instead (/api/data-quality/v1/monitors). * *
The caller must either: 1. be an owner of the table's parent catalog, have **USE_SCHEMA** on * the table's parent schema, and have **SELECT** access on the table 2. have **USE_CATALOG** on @@ -55,7 +63,8 @@ public DeleteMonitorResponse delete(String tableName) { } /** - * Deletes a monitor for the specified table. + * [DEPRECATED] Deletes a monitor for the specified table. Use Data Quality Monitors API instead + * (/api/data-quality/v1/monitors). * *
The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** * on the table's parent catalog and be an owner of the table's parent schema 3. have the @@ -76,7 +85,8 @@ public MonitorInfo get(String tableName) { } /** - * Gets a monitor for the specified table. + * [DEPRECATED] Gets a monitor for the specified table. Use Data Quality Monitors API instead + * (/api/data-quality/v1/monitors). * *
The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** * on the table's parent catalog and be an owner of the table's parent schema. 3. have the @@ -96,7 +106,8 @@ public MonitorRefreshInfo getRefresh(String tableName, long refreshId) { } /** - * Gets info about a specific monitor refresh using the given refresh ID. + * [DEPRECATED] Gets info about a specific monitor refresh using the given refresh ID. Use Data + * Quality Monitors API instead (/api/data-quality/v1/monitors). * *
The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** * on the table's parent catalog and be an owner of the table's parent schema 3. have the @@ -114,7 +125,8 @@ public MonitorRefreshListResponse listRefreshes(String tableName) { } /** - * Gets an array containing the history of the most recent refreshes (up to 25) for this table. + * [DEPRECATED] Gets an array containing the history of the most recent refreshes (up to 25) for + * this table. Use Data Quality Monitors API instead (/api/data-quality/v1/monitors). * *
The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** * on the table's parent catalog and be an owner of the table's parent schema 3. have the @@ -128,7 +140,8 @@ public MonitorRefreshListResponse listRefreshes(ListRefreshesRequest request) { } /** - * Regenerates the monitoring dashboard for the specified table. + * [DEPRECATED] Regenerates the monitoring dashboard for the specified table. Use Data Quality + * Monitors API instead (/api/data-quality/v1/monitors). * *
The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** * on the table's parent catalog and be an owner of the table's parent schema 3. have the @@ -143,7 +156,8 @@ public RegenerateDashboardResponse regenerateDashboard(RegenerateDashboardReques } /** - * Queues a metric refresh on the monitor for the specified table. The refresh will execute in the + * [DEPRECATED] Queues a metric refresh on the monitor for the specified table. Use Data Quality + * Monitors API instead (/api/data-quality/v1/monitors). The refresh will execute in the * background. * *
The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** @@ -158,7 +172,8 @@ public MonitorRefreshInfo runRefresh(RunRefreshRequest request) { } /** - * Updates a monitor for the specified table. + * [DEPRECATED] Updates a monitor for the specified table. Use Data Quality Monitors API instead + * (/api/data-quality/v1/monitors). * *
The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** * on the table's parent catalog and be an owner of the table's parent schema 3. have the diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/QualityMonitorsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/QualityMonitorsService.java old mode 100755 new mode 100644 index 912ca81c3..bdcf551f8 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/QualityMonitorsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/QualityMonitorsService.java @@ -4,11 +4,15 @@ import com.databricks.sdk.support.Generated; /** - * A monitor computes and monitors data or model quality metrics for a table over time. It generates - * metrics tables and a dashboard that you can use to monitor table health and set alerts. Most - * write operations require the user to be the owner of the table (or its parent schema or parent - * catalog). Viewing the dashboard, computed metrics, or monitor configuration only requires the - * user to have **SELECT** privileges on the table (along with **USE_SCHEMA** and **USE_CATALOG**). + * [DEPRECATED] This API is deprecated. Please use the Data Quality Monitors API instead (REST: + * /api/data-quality/v1/monitors), which manages both Data Profiling and Anomaly Detection. + * + *
A monitor computes and monitors data or model quality metrics for a table over time. It + * generates metrics tables and a dashboard that you can use to monitor table health and set alerts. + * Most write operations require the user to be the owner of the table (or its parent schema or + * parent catalog). Viewing the dashboard, computed metrics, or monitor configuration only requires + * the user to have **SELECT** privileges on the table (along with **USE_SCHEMA** and + * **USE_CATALOG**). * *
This is the high-level interface, that contains generated methods. * @@ -16,11 +20,15 @@ */ @Generated public interface QualityMonitorsService { - /** Cancels an already-initiated refresh job. */ + /** + * [DEPRECATED] Cancels an already-initiated refresh job. Use Data Quality Monitors API instead + * (/api/data-quality/v1/monitors). + */ void cancelRefresh(CancelRefreshRequest cancelRefreshRequest); /** - * Creates a new monitor for the specified table. + * [DEPRECATED] Creates a new monitor for the specified table. Use Data Quality Monitors API + * instead (/api/data-quality/v1/monitors). * *
The caller must either: 1. be an owner of the table's parent catalog, have **USE_SCHEMA** on * the table's parent schema, and have **SELECT** access on the table 2. have **USE_CATALOG** on @@ -34,7 +42,8 @@ public interface QualityMonitorsService { MonitorInfo create(CreateMonitor createMonitor); /** - * Deletes a monitor for the specified table. + * [DEPRECATED] Deletes a monitor for the specified table. Use Data Quality Monitors API instead + * (/api/data-quality/v1/monitors). * *
The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** * on the table's parent catalog and be an owner of the table's parent schema 3. have the @@ -49,7 +58,8 @@ public interface QualityMonitorsService { DeleteMonitorResponse delete(DeleteQualityMonitorRequest deleteQualityMonitorRequest); /** - * Gets a monitor for the specified table. + * [DEPRECATED] Gets a monitor for the specified table. Use Data Quality Monitors API instead + * (/api/data-quality/v1/monitors). * *
The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** * on the table's parent catalog and be an owner of the table's parent schema. 3. have the @@ -63,7 +73,8 @@ public interface QualityMonitorsService { MonitorInfo get(GetQualityMonitorRequest getQualityMonitorRequest); /** - * Gets info about a specific monitor refresh using the given refresh ID. + * [DEPRECATED] Gets info about a specific monitor refresh using the given refresh ID. Use Data + * Quality Monitors API instead (/api/data-quality/v1/monitors). * *
The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** * on the table's parent catalog and be an owner of the table's parent schema 3. have the @@ -75,7 +86,8 @@ public interface QualityMonitorsService { MonitorRefreshInfo getRefresh(GetRefreshRequest getRefreshRequest); /** - * Gets an array containing the history of the most recent refreshes (up to 25) for this table. + * [DEPRECATED] Gets an array containing the history of the most recent refreshes (up to 25) for + * this table. Use Data Quality Monitors API instead (/api/data-quality/v1/monitors). * *
The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** * on the table's parent catalog and be an owner of the table's parent schema 3. have the @@ -87,7 +99,8 @@ public interface QualityMonitorsService { MonitorRefreshListResponse listRefreshes(ListRefreshesRequest listRefreshesRequest); /** - * Regenerates the monitoring dashboard for the specified table. + * [DEPRECATED] Regenerates the monitoring dashboard for the specified table. Use Data Quality + * Monitors API instead (/api/data-quality/v1/monitors). * *
The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** * on the table's parent catalog and be an owner of the table's parent schema 3. have the @@ -101,7 +114,8 @@ RegenerateDashboardResponse regenerateDashboard( RegenerateDashboardRequest regenerateDashboardRequest); /** - * Queues a metric refresh on the monitor for the specified table. The refresh will execute in the + * [DEPRECATED] Queues a metric refresh on the monitor for the specified table. Use Data Quality + * Monitors API instead (/api/data-quality/v1/monitors). The refresh will execute in the * background. * *
The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** @@ -114,7 +128,8 @@ RegenerateDashboardResponse regenerateDashboard( MonitorRefreshInfo runRefresh(RunRefreshRequest runRefreshRequest); /** - * Updates a monitor for the specified table. + * [DEPRECATED] Updates a monitor for the specified table. Use Data Quality Monitors API instead + * (/api/data-quality/v1/monitors). * *
The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG** * on the table's parent catalog and be an owner of the table's parent schema 3. have the