Skip to content

Commit b360035

Browse files
Update SDK to e16060430295515f0c147e5252a3fee3c19fde9f
1 parent d46a3c5 commit b360035

File tree

5 files changed

+64
-31
lines changed

5 files changed

+64
-31
lines changed

.codegen/_openapi_sha

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8921a828d1741af0952eb5c4f0292c194c0d5f38
1+
e16060430295515f0c147e5252a3fee3c19fde9f

NEXT_CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@
2828
* [Breaking] Remove `pgbouncerSettings` field for `com.databricks.sdk.service.postgres.EndpointSettings`.
2929
* [Breaking] Remove `poolerMode` field for `com.databricks.sdk.service.postgres.EndpointSpec`.
3030
* [Breaking] Remove `poolerMode` field for `com.databricks.sdk.service.postgres.EndpointStatus`.
31-
* [Breaking] Remove `pgbouncerSettings` field for `com.databricks.sdk.service.postgres.ProjectDefaultEndpointSettings`.
31+
* [Breaking] Remove `pgbouncerSettings` field for `com.databricks.sdk.service.postgres.ProjectDefaultEndpointSettings`.

databricks-sdk-java/src/main/java/com/databricks/sdk/WorkspaceClient.java

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/QualityMonitorsAPI.java

100755100644
Lines changed: 29 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,15 @@
77
import org.slf4j.LoggerFactory;
88

99
/**
10-
* A monitor computes and monitors data or model quality metrics for a table over time. It generates
11-
* metrics tables and a dashboard that you can use to monitor table health and set alerts. Most
12-
* write operations require the user to be the owner of the table (or its parent schema or parent
13-
* catalog). Viewing the dashboard, computed metrics, or monitor configuration only requires the
14-
* user to have **SELECT** privileges on the table (along with **USE_SCHEMA** and **USE_CATALOG**).
10+
* [DEPRECATED] This API is deprecated. Please use the Data Quality Monitors API instead (REST:
11+
* /api/data-quality/v1/monitors), which manages both Data Profiling and Anomaly Detection.
12+
*
13+
* <p>A monitor computes and monitors data or model quality metrics for a table over time. It
14+
* generates metrics tables and a dashboard that you can use to monitor table health and set alerts.
15+
* Most write operations require the user to be the owner of the table (or its parent schema or
16+
* parent catalog). Viewing the dashboard, computed metrics, or monitor configuration only requires
17+
* the user to have **SELECT** privileges on the table (along with **USE_SCHEMA** and
18+
* **USE_CATALOG**).
1519
*/
1620
@Generated
1721
public class QualityMonitorsAPI {
@@ -29,13 +33,17 @@ public QualityMonitorsAPI(QualityMonitorsService mock) {
2933
impl = mock;
3034
}
3135

32-
/** Cancels an already-initiated refresh job. */
36+
/**
37+
* [DEPRECATED] Cancels an already-initiated refresh job. Use Data Quality Monitors API instead
38+
* (/api/data-quality/v1/monitors).
39+
*/
3340
public void cancelRefresh(CancelRefreshRequest request) {
3441
impl.cancelRefresh(request);
3542
}
3643

3744
/**
38-
* Creates a new monitor for the specified table.
45+
* [DEPRECATED] Creates a new monitor for the specified table. Use Data Quality Monitors API
46+
* instead (/api/data-quality/v1/monitors).
3947
*
4048
* <p>The caller must either: 1. be an owner of the table's parent catalog, have **USE_SCHEMA** on
4149
* 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) {
5563
}
5664

5765
/**
58-
* Deletes a monitor for the specified table.
66+
* [DEPRECATED] Deletes a monitor for the specified table. Use Data Quality Monitors API instead
67+
* (/api/data-quality/v1/monitors).
5968
*
6069
* <p>The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG**
6170
* 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) {
7685
}
7786

7887
/**
79-
* Gets a monitor for the specified table.
88+
* [DEPRECATED] Gets a monitor for the specified table. Use Data Quality Monitors API instead
89+
* (/api/data-quality/v1/monitors).
8090
*
8191
* <p>The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG**
8292
* 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) {
96106
}
97107

98108
/**
99-
* Gets info about a specific monitor refresh using the given refresh ID.
109+
* [DEPRECATED] Gets info about a specific monitor refresh using the given refresh ID. Use Data
110+
* Quality Monitors API instead (/api/data-quality/v1/monitors).
100111
*
101112
* <p>The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG**
102113
* 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) {
114125
}
115126

116127
/**
117-
* Gets an array containing the history of the most recent refreshes (up to 25) for this table.
128+
* [DEPRECATED] Gets an array containing the history of the most recent refreshes (up to 25) for
129+
* this table. Use Data Quality Monitors API instead (/api/data-quality/v1/monitors).
118130
*
119131
* <p>The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG**
120132
* 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) {
128140
}
129141

130142
/**
131-
* Regenerates the monitoring dashboard for the specified table.
143+
* [DEPRECATED] Regenerates the monitoring dashboard for the specified table. Use Data Quality
144+
* Monitors API instead (/api/data-quality/v1/monitors).
132145
*
133146
* <p>The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG**
134147
* 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
143156
}
144157

145158
/**
146-
* Queues a metric refresh on the monitor for the specified table. The refresh will execute in the
159+
* [DEPRECATED] Queues a metric refresh on the monitor for the specified table. Use Data Quality
160+
* Monitors API instead (/api/data-quality/v1/monitors). The refresh will execute in the
147161
* background.
148162
*
149163
* <p>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) {
158172
}
159173

160174
/**
161-
* Updates a monitor for the specified table.
175+
* [DEPRECATED] Updates a monitor for the specified table. Use Data Quality Monitors API instead
176+
* (/api/data-quality/v1/monitors).
162177
*
163178
* <p>The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG**
164179
* on the table's parent catalog and be an owner of the table's parent schema 3. have the

databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/QualityMonitorsService.java

100755100644
Lines changed: 29 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,31 @@
44
import com.databricks.sdk.support.Generated;
55

66
/**
7-
* A monitor computes and monitors data or model quality metrics for a table over time. It generates
8-
* metrics tables and a dashboard that you can use to monitor table health and set alerts. Most
9-
* write operations require the user to be the owner of the table (or its parent schema or parent
10-
* catalog). Viewing the dashboard, computed metrics, or monitor configuration only requires the
11-
* user to have **SELECT** privileges on the table (along with **USE_SCHEMA** and **USE_CATALOG**).
7+
* [DEPRECATED] This API is deprecated. Please use the Data Quality Monitors API instead (REST:
8+
* /api/data-quality/v1/monitors), which manages both Data Profiling and Anomaly Detection.
9+
*
10+
* <p>A monitor computes and monitors data or model quality metrics for a table over time. It
11+
* generates metrics tables and a dashboard that you can use to monitor table health and set alerts.
12+
* Most write operations require the user to be the owner of the table (or its parent schema or
13+
* parent catalog). Viewing the dashboard, computed metrics, or monitor configuration only requires
14+
* the user to have **SELECT** privileges on the table (along with **USE_SCHEMA** and
15+
* **USE_CATALOG**).
1216
*
1317
* <p>This is the high-level interface, that contains generated methods.
1418
*
1519
* <p>Evolving: this interface is under development. Method signatures may change.
1620
*/
1721
@Generated
1822
public interface QualityMonitorsService {
19-
/** Cancels an already-initiated refresh job. */
23+
/**
24+
* [DEPRECATED] Cancels an already-initiated refresh job. Use Data Quality Monitors API instead
25+
* (/api/data-quality/v1/monitors).
26+
*/
2027
void cancelRefresh(CancelRefreshRequest cancelRefreshRequest);
2128

2229
/**
23-
* Creates a new monitor for the specified table.
30+
* [DEPRECATED] Creates a new monitor for the specified table. Use Data Quality Monitors API
31+
* instead (/api/data-quality/v1/monitors).
2432
*
2533
* <p>The caller must either: 1. be an owner of the table's parent catalog, have **USE_SCHEMA** on
2634
* the table's parent schema, and have **SELECT** access on the table 2. have **USE_CATALOG** on
@@ -34,7 +42,8 @@ public interface QualityMonitorsService {
3442
MonitorInfo create(CreateMonitor createMonitor);
3543

3644
/**
37-
* Deletes a monitor for the specified table.
45+
* [DEPRECATED] Deletes a monitor for the specified table. Use Data Quality Monitors API instead
46+
* (/api/data-quality/v1/monitors).
3847
*
3948
* <p>The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG**
4049
* 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 {
4958
DeleteMonitorResponse delete(DeleteQualityMonitorRequest deleteQualityMonitorRequest);
5059

5160
/**
52-
* Gets a monitor for the specified table.
61+
* [DEPRECATED] Gets a monitor for the specified table. Use Data Quality Monitors API instead
62+
* (/api/data-quality/v1/monitors).
5363
*
5464
* <p>The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG**
5565
* 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 {
6373
MonitorInfo get(GetQualityMonitorRequest getQualityMonitorRequest);
6474

6575
/**
66-
* Gets info about a specific monitor refresh using the given refresh ID.
76+
* [DEPRECATED] Gets info about a specific monitor refresh using the given refresh ID. Use Data
77+
* Quality Monitors API instead (/api/data-quality/v1/monitors).
6778
*
6879
* <p>The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG**
6980
* 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 {
7586
MonitorRefreshInfo getRefresh(GetRefreshRequest getRefreshRequest);
7687

7788
/**
78-
* Gets an array containing the history of the most recent refreshes (up to 25) for this table.
89+
* [DEPRECATED] Gets an array containing the history of the most recent refreshes (up to 25) for
90+
* this table. Use Data Quality Monitors API instead (/api/data-quality/v1/monitors).
7991
*
8092
* <p>The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG**
8193
* 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 {
8799
MonitorRefreshListResponse listRefreshes(ListRefreshesRequest listRefreshesRequest);
88100

89101
/**
90-
* Regenerates the monitoring dashboard for the specified table.
102+
* [DEPRECATED] Regenerates the monitoring dashboard for the specified table. Use Data Quality
103+
* Monitors API instead (/api/data-quality/v1/monitors).
91104
*
92105
* <p>The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG**
93106
* 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(
101114
RegenerateDashboardRequest regenerateDashboardRequest);
102115

103116
/**
104-
* Queues a metric refresh on the monitor for the specified table. The refresh will execute in the
117+
* [DEPRECATED] Queues a metric refresh on the monitor for the specified table. Use Data Quality
118+
* Monitors API instead (/api/data-quality/v1/monitors). The refresh will execute in the
105119
* background.
106120
*
107121
* <p>The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG**
@@ -114,7 +128,8 @@ RegenerateDashboardResponse regenerateDashboard(
114128
MonitorRefreshInfo runRefresh(RunRefreshRequest runRefreshRequest);
115129

116130
/**
117-
* Updates a monitor for the specified table.
131+
* [DEPRECATED] Updates a monitor for the specified table. Use Data Quality Monitors API instead
132+
* (/api/data-quality/v1/monitors).
118133
*
119134
* <p>The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG**
120135
* on the table's parent catalog and be an owner of the table's parent schema 3. have the

0 commit comments

Comments
 (0)