@databricks/sdk-dataquality 0.34.0 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/package.js +7 -0
- package/dist/package.js.map +1 -0
- package/dist/v1/client.d.ts +129 -125
- package/dist/v1/client.d.ts.map +1 -1
- package/dist/v1/client.js +370 -451
- package/dist/v1/client.js.map +1 -1
- package/dist/v1/index.d.ts +3 -8
- package/dist/v1/index.js +4 -8
- package/dist/v1/model.d.ts +416 -441
- package/dist/v1/model.d.ts.map +1 -1
- package/dist/v1/model.js +392 -531
- package/dist/v1/model.js.map +1 -1
- package/dist/v1/transport.d.ts +21 -17
- package/dist/v1/transport.d.ts.map +1 -1
- package/dist/v1/transport.js +60 -69
- package/dist/v1/transport.js.map +1 -1
- package/dist/v1/utils.d.ts +18 -14
- package/dist/v1/utils.d.ts.map +1 -1
- package/dist/v1/utils.js +76 -103
- package/dist/v1/utils.js.map +1 -1
- package/package.json +5 -5
- package/dist/v1/index.d.ts.map +0 -1
- package/dist/v1/index.js.map +0 -1
package/dist/v1/model.d.ts
CHANGED
|
@@ -1,505 +1,480 @@
|
|
|
1
|
-
import { FieldMask } from
|
|
2
|
-
import { z } from
|
|
1
|
+
import { FieldMask } from "@databricks/sdk-core/wkt";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
4
|
+
//#region src/v1/model.d.ts
|
|
3
5
|
/** The granularity for aggregating data into time windows based on their timestamp. */
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
/** 2 weeks. */
|
|
17
|
-
readonly AGGREGATION_GRANULARITY_2_WEEKS: "AGGREGATION_GRANULARITY_2_WEEKS";
|
|
18
|
-
/** 3 weeks. */
|
|
19
|
-
readonly AGGREGATION_GRANULARITY_3_WEEKS: "AGGREGATION_GRANULARITY_3_WEEKS";
|
|
20
|
-
/** 4 weeks. */
|
|
21
|
-
readonly AGGREGATION_GRANULARITY_4_WEEKS: "AGGREGATION_GRANULARITY_4_WEEKS";
|
|
22
|
-
/** 1 month. */
|
|
23
|
-
readonly AGGREGATION_GRANULARITY_1_MONTH: "AGGREGATION_GRANULARITY_1_MONTH";
|
|
24
|
-
/** 1 year. */
|
|
25
|
-
readonly AGGREGATION_GRANULARITY_1_YEAR: "AGGREGATION_GRANULARITY_1_YEAR";
|
|
6
|
+
declare const AggregationGranularity: {
|
|
7
|
+
readonly AGGREGATION_GRANULARITY_UNSPECIFIED: "AGGREGATION_GRANULARITY_UNSPECIFIED"; /** 5 minutes. */
|
|
8
|
+
readonly AGGREGATION_GRANULARITY_5_MINUTES: "AGGREGATION_GRANULARITY_5_MINUTES"; /** 30 minutes. */
|
|
9
|
+
readonly AGGREGATION_GRANULARITY_30_MINUTES: "AGGREGATION_GRANULARITY_30_MINUTES"; /** 1 hour. */
|
|
10
|
+
readonly AGGREGATION_GRANULARITY_1_HOUR: "AGGREGATION_GRANULARITY_1_HOUR"; /** 1 day. */
|
|
11
|
+
readonly AGGREGATION_GRANULARITY_1_DAY: "AGGREGATION_GRANULARITY_1_DAY"; /** 1 week. */
|
|
12
|
+
readonly AGGREGATION_GRANULARITY_1_WEEK: "AGGREGATION_GRANULARITY_1_WEEK"; /** 2 weeks. */
|
|
13
|
+
readonly AGGREGATION_GRANULARITY_2_WEEKS: "AGGREGATION_GRANULARITY_2_WEEKS"; /** 3 weeks. */
|
|
14
|
+
readonly AGGREGATION_GRANULARITY_3_WEEKS: "AGGREGATION_GRANULARITY_3_WEEKS"; /** 4 weeks. */
|
|
15
|
+
readonly AGGREGATION_GRANULARITY_4_WEEKS: "AGGREGATION_GRANULARITY_4_WEEKS"; /** 1 month. */
|
|
16
|
+
readonly AGGREGATION_GRANULARITY_1_MONTH: "AGGREGATION_GRANULARITY_1_MONTH"; /** 1 year. */
|
|
17
|
+
readonly AGGREGATION_GRANULARITY_1_YEAR: "AGGREGATION_GRANULARITY_1_YEAR";
|
|
26
18
|
};
|
|
27
|
-
|
|
19
|
+
type AggregationGranularity = (typeof AggregationGranularity)[keyof typeof AggregationGranularity] | (string & {});
|
|
28
20
|
/** The data quality monitoring workflow cron schedule pause status. */
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
/** The cron schedule is paused. */
|
|
34
|
-
readonly CRON_SCHEDULE_PAUSE_STATUS_PAUSED: "CRON_SCHEDULE_PAUSE_STATUS_PAUSED";
|
|
21
|
+
declare const CronSchedulePauseStatus: {
|
|
22
|
+
readonly CRON_SCHEDULE_PAUSE_STATUS_UNSPECIFIED: "CRON_SCHEDULE_PAUSE_STATUS_UNSPECIFIED"; /** The cron schedule is not paused. */
|
|
23
|
+
readonly CRON_SCHEDULE_PAUSE_STATUS_UNPAUSED: "CRON_SCHEDULE_PAUSE_STATUS_UNPAUSED"; /** The cron schedule is paused. */
|
|
24
|
+
readonly CRON_SCHEDULE_PAUSE_STATUS_PAUSED: "CRON_SCHEDULE_PAUSE_STATUS_PAUSED";
|
|
35
25
|
};
|
|
36
|
-
|
|
26
|
+
type CronSchedulePauseStatus = (typeof CronSchedulePauseStatus)[keyof typeof CronSchedulePauseStatus] | (string & {});
|
|
37
27
|
/** The custom metric type. */
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
readonly DATA_PROFILING_CUSTOM_METRIC_TYPE_DERIVED: "DATA_PROFILING_CUSTOM_METRIC_TYPE_DERIVED";
|
|
44
|
-
/** Depend on previously computed aggregate or derived metrics. */
|
|
45
|
-
readonly DATA_PROFILING_CUSTOM_METRIC_TYPE_DRIFT: "DATA_PROFILING_CUSTOM_METRIC_TYPE_DRIFT";
|
|
28
|
+
declare const DataProfilingCustomMetricType: {
|
|
29
|
+
readonly DATA_PROFILING_CUSTOM_METRIC_TYPE_UNSPECIFIED: "DATA_PROFILING_CUSTOM_METRIC_TYPE_UNSPECIFIED"; /** Only depend on the existing columns in the table. */
|
|
30
|
+
readonly DATA_PROFILING_CUSTOM_METRIC_TYPE_AGGREGATE: "DATA_PROFILING_CUSTOM_METRIC_TYPE_AGGREGATE"; /** Only depend on previously computed aggregate metrics. */
|
|
31
|
+
readonly DATA_PROFILING_CUSTOM_METRIC_TYPE_DERIVED: "DATA_PROFILING_CUSTOM_METRIC_TYPE_DERIVED"; /** Depend on previously computed aggregate or derived metrics. */
|
|
32
|
+
readonly DATA_PROFILING_CUSTOM_METRIC_TYPE_DRIFT: "DATA_PROFILING_CUSTOM_METRIC_TYPE_DRIFT";
|
|
46
33
|
};
|
|
47
|
-
|
|
34
|
+
type DataProfilingCustomMetricType = (typeof DataProfilingCustomMetricType)[keyof typeof DataProfilingCustomMetricType] | (string & {});
|
|
48
35
|
/** The status of the data profiling monitor. */
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
36
|
+
declare const DataProfilingStatus: {
|
|
37
|
+
readonly DATA_PROFILING_STATUS_UNSPECIFIED: "DATA_PROFILING_STATUS_UNSPECIFIED";
|
|
38
|
+
readonly DATA_PROFILING_STATUS_ACTIVE: "DATA_PROFILING_STATUS_ACTIVE";
|
|
39
|
+
readonly DATA_PROFILING_STATUS_PENDING: "DATA_PROFILING_STATUS_PENDING";
|
|
40
|
+
readonly DATA_PROFILING_STATUS_DELETE_PENDING: "DATA_PROFILING_STATUS_DELETE_PENDING";
|
|
41
|
+
readonly DATA_PROFILING_STATUS_ERROR: "DATA_PROFILING_STATUS_ERROR";
|
|
42
|
+
readonly DATA_PROFILING_STATUS_FAILED: "DATA_PROFILING_STATUS_FAILED";
|
|
56
43
|
};
|
|
57
|
-
|
|
44
|
+
type DataProfilingStatus = (typeof DataProfilingStatus)[keyof typeof DataProfilingStatus] | (string & {});
|
|
58
45
|
/** Inference problem type the model aims to solve. */
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
/** Regression inference problem. */
|
|
64
|
-
readonly INFERENCE_PROBLEM_TYPE_REGRESSION: "INFERENCE_PROBLEM_TYPE_REGRESSION";
|
|
46
|
+
declare const InferenceProblemType: {
|
|
47
|
+
readonly INFERENCE_PROBLEM_TYPE_UNSPECIFIED: "INFERENCE_PROBLEM_TYPE_UNSPECIFIED"; /** Classification inference problem. */
|
|
48
|
+
readonly INFERENCE_PROBLEM_TYPE_CLASSIFICATION: "INFERENCE_PROBLEM_TYPE_CLASSIFICATION"; /** Regression inference problem. */
|
|
49
|
+
readonly INFERENCE_PROBLEM_TYPE_REGRESSION: "INFERENCE_PROBLEM_TYPE_REGRESSION";
|
|
65
50
|
};
|
|
66
|
-
|
|
51
|
+
type InferenceProblemType = (typeof InferenceProblemType)[keyof typeof InferenceProblemType] | (string & {});
|
|
67
52
|
/** The state of the refresh. */
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
readonly MONITOR_REFRESH_STATE_SUCCESS: "MONITOR_REFRESH_STATE_SUCCESS";
|
|
76
|
-
/** The refresh has failed. */
|
|
77
|
-
readonly MONITOR_REFRESH_STATE_FAILED: "MONITOR_REFRESH_STATE_FAILED";
|
|
78
|
-
/** The refresh is cancelled. */
|
|
79
|
-
readonly MONITOR_REFRESH_STATE_CANCELED: "MONITOR_REFRESH_STATE_CANCELED";
|
|
53
|
+
declare const RefreshState: {
|
|
54
|
+
readonly MONITOR_REFRESH_STATE_UNKNOWN: "MONITOR_REFRESH_STATE_UNKNOWN"; /** The refresh is pending. */
|
|
55
|
+
readonly MONITOR_REFRESH_STATE_PENDING: "MONITOR_REFRESH_STATE_PENDING"; /** The refresh is running. */
|
|
56
|
+
readonly MONITOR_REFRESH_STATE_RUNNING: "MONITOR_REFRESH_STATE_RUNNING"; /** The refresh is successful. */
|
|
57
|
+
readonly MONITOR_REFRESH_STATE_SUCCESS: "MONITOR_REFRESH_STATE_SUCCESS"; /** The refresh has failed. */
|
|
58
|
+
readonly MONITOR_REFRESH_STATE_FAILED: "MONITOR_REFRESH_STATE_FAILED"; /** The refresh is cancelled. */
|
|
59
|
+
readonly MONITOR_REFRESH_STATE_CANCELED: "MONITOR_REFRESH_STATE_CANCELED";
|
|
80
60
|
};
|
|
81
|
-
|
|
61
|
+
type RefreshState = (typeof RefreshState)[keyof typeof RefreshState] | (string & {});
|
|
82
62
|
/** The trigger of the refresh. */
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
readonly MONITOR_REFRESH_TRIGGER_SCHEDULE: "MONITOR_REFRESH_TRIGGER_SCHEDULE";
|
|
89
|
-
/** The refresh has been triggered from a data change. */
|
|
90
|
-
readonly MONITOR_REFRESH_TRIGGER_DATA_CHANGE: "MONITOR_REFRESH_TRIGGER_DATA_CHANGE";
|
|
63
|
+
declare const RefreshTrigger: {
|
|
64
|
+
readonly MONITOR_REFRESH_TRIGGER_UNKNOWN: "MONITOR_REFRESH_TRIGGER_UNKNOWN"; /** The refresh has been triggered manually. */
|
|
65
|
+
readonly MONITOR_REFRESH_TRIGGER_MANUAL: "MONITOR_REFRESH_TRIGGER_MANUAL"; /** The refresh has been triggered from a schedule. */
|
|
66
|
+
readonly MONITOR_REFRESH_TRIGGER_SCHEDULE: "MONITOR_REFRESH_TRIGGER_SCHEDULE"; /** The refresh has been triggered from a data change. */
|
|
67
|
+
readonly MONITOR_REFRESH_TRIGGER_DATA_CHANGE: "MONITOR_REFRESH_TRIGGER_DATA_CHANGE";
|
|
91
68
|
};
|
|
92
|
-
|
|
69
|
+
type RefreshTrigger = (typeof RefreshTrigger)[keyof typeof RefreshTrigger] | (string & {});
|
|
93
70
|
/** Anomaly Detection Configurations. */
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
71
|
+
interface AnomalyDetectionConfig {
|
|
72
|
+
/** List of fully qualified table names to exclude from anomaly detection. */
|
|
73
|
+
excludedTableFullNames?: string[] | undefined;
|
|
97
74
|
}
|
|
98
75
|
/** Request to cancel a refresh. */
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
76
|
+
interface CancelRefreshRequest {
|
|
77
|
+
/** The type of the monitored object. Can be one of the following: `schema` or `table`. */
|
|
78
|
+
objectType?: string | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
|
|
81
|
+
*
|
|
82
|
+
* Find the `schema_id` from either:
|
|
83
|
+
* 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
|
|
84
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
|
|
85
|
+
*
|
|
86
|
+
* Find the `table_id` from either:
|
|
87
|
+
* 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
|
|
88
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field.
|
|
89
|
+
*/
|
|
90
|
+
objectId?: string | undefined;
|
|
91
|
+
/** Unique id of the refresh operation. */
|
|
92
|
+
refreshId?: bigint | undefined;
|
|
116
93
|
}
|
|
117
94
|
/** Response to cancelling a refresh. */
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
95
|
+
interface CancelRefreshResponse {
|
|
96
|
+
/** The refresh to cancel. */
|
|
97
|
+
refresh?: Refresh | undefined;
|
|
121
98
|
}
|
|
122
99
|
/** Request to create a Monitor. */
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
100
|
+
interface CreateMonitorRequest {
|
|
101
|
+
/** The monitor to create. */
|
|
102
|
+
monitor?: Monitor | undefined;
|
|
126
103
|
}
|
|
127
104
|
/** Request to create a refresh. */
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
105
|
+
interface CreateRefreshRequest {
|
|
106
|
+
/** The refresh to create */
|
|
107
|
+
refresh?: Refresh | undefined;
|
|
131
108
|
}
|
|
132
109
|
/** The data quality monitoring workflow cron schedule. */
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
110
|
+
interface CronSchedule {
|
|
111
|
+
/** The expression that determines when to run the monitor. See [examples](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html). */
|
|
112
|
+
quartzCronExpression?: string | undefined;
|
|
113
|
+
/**
|
|
114
|
+
* A Java timezone id. The schedule for a job will be resolved with respect to this timezone.
|
|
115
|
+
* See `Java TimeZone <http://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html>`_ for details.
|
|
116
|
+
* The timezone id (e.g., ``America/Los_Angeles``) in which to evaluate the quartz expression.
|
|
117
|
+
*/
|
|
118
|
+
timezoneId?: string | undefined;
|
|
119
|
+
/** Read only field that indicates whether the schedule is paused or not. */
|
|
120
|
+
pauseStatus?: CronSchedulePauseStatus | undefined;
|
|
144
121
|
}
|
|
145
122
|
/** Data Profiling Configurations. */
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
monitorVersion?: bigint | undefined;
|
|
217
|
-
/** The warehouse for dashboard creation */
|
|
218
|
-
effectiveWarehouseId?: string | undefined;
|
|
123
|
+
interface DataProfilingConfig {
|
|
124
|
+
/** ID of the schema where output tables are created. */
|
|
125
|
+
outputSchemaId?: string | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* Field for specifying the absolute path to a custom directory to store data-monitoring
|
|
128
|
+
* assets. Normally prepopulated to a default user location via UI and Python APIs.
|
|
129
|
+
*/
|
|
130
|
+
assetsDir?: string | undefined;
|
|
131
|
+
/** (--[Create:REQ Update:REQ]--) Analysis config which is used to determine analysis logic. */
|
|
132
|
+
analysisConfig?: {
|
|
133
|
+
$case: 'inferenceLog'; /** `Analysis Configuration` for monitoring inference log tables. */
|
|
134
|
+
inferenceLog: InferenceLogConfig;
|
|
135
|
+
} | {
|
|
136
|
+
$case: 'timeSeries'; /** `Analysis Configuration` for monitoring time series tables. */
|
|
137
|
+
timeSeries: TimeSeriesConfig;
|
|
138
|
+
} | {
|
|
139
|
+
$case: 'snapshot'; /** `Analysis Configuration` for monitoring snapshot tables. */
|
|
140
|
+
snapshot: SnapshotConfig;
|
|
141
|
+
} | undefined;
|
|
142
|
+
/**
|
|
143
|
+
* List of column expressions to slice data with for targeted analysis. The data is grouped by
|
|
144
|
+
* each expression independently, resulting in a separate slice for each predicate and its
|
|
145
|
+
* complements. For example `slicing_exprs=[“col_1”, “col_2 > 10”]` will generate the following
|
|
146
|
+
* slices: two slices for `col_2 > 10` (True and False), and one slice per unique value in
|
|
147
|
+
* `col1`. For high-cardinality columns, only the top 100 unique values by frequency will
|
|
148
|
+
* generate slices.
|
|
149
|
+
*/
|
|
150
|
+
slicingExprs?: string[] | undefined;
|
|
151
|
+
/** Custom metrics. */
|
|
152
|
+
customMetrics?: DataProfilingCustomMetric[] | undefined;
|
|
153
|
+
/**
|
|
154
|
+
* Baseline table name.
|
|
155
|
+
* Baseline data is used to compute drift from the data in the monitored `table_name`.
|
|
156
|
+
* The baseline table and the monitored table shall have the same schema.
|
|
157
|
+
*/
|
|
158
|
+
baselineTableName?: string | undefined;
|
|
159
|
+
/** The cron schedule. */
|
|
160
|
+
schedule?: CronSchedule | undefined;
|
|
161
|
+
/** Field for specifying notification settings. */
|
|
162
|
+
notificationSettings?: NotificationSettings | undefined;
|
|
163
|
+
/** Whether to skip creating a default dashboard summarizing data quality metrics. */
|
|
164
|
+
skipBuiltinDashboard?: boolean | undefined;
|
|
165
|
+
/**
|
|
166
|
+
* Optional argument to specify the warehouse for dashboard creation. If not specified, the first running
|
|
167
|
+
* warehouse will be used.
|
|
168
|
+
*/
|
|
169
|
+
warehouseId?: string | undefined;
|
|
170
|
+
/** Unity Catalog table to monitor. Format: `catalog.schema.table_name` */
|
|
171
|
+
monitoredTableName?: string | undefined;
|
|
172
|
+
/** The data profiling monitor status. */
|
|
173
|
+
status?: DataProfilingStatus | undefined;
|
|
174
|
+
/** The latest error message for a monitor failure. */
|
|
175
|
+
latestMonitorFailureMessage?: string | undefined;
|
|
176
|
+
/** Table that stores profile metrics data. Format: `catalog.schema.table_name`. */
|
|
177
|
+
profileMetricsTableName?: string | undefined;
|
|
178
|
+
/** Table that stores drift metrics data. Format: `catalog.schema.table_name`. */
|
|
179
|
+
driftMetricsTableName?: string | undefined;
|
|
180
|
+
/**
|
|
181
|
+
* Id of dashboard that visualizes the computed metrics.
|
|
182
|
+
* This can be empty if the monitor is in PENDING state.
|
|
183
|
+
*/
|
|
184
|
+
dashboardId?: string | undefined;
|
|
185
|
+
/**
|
|
186
|
+
* Represents the current monitor configuration version in use. The version will be represented in a
|
|
187
|
+
* numeric fashion (1,2,3...). The field has flexibility to take on negative values, which can indicate corrupted
|
|
188
|
+
* monitor_version numbers.
|
|
189
|
+
*/
|
|
190
|
+
monitorVersion?: bigint | undefined;
|
|
191
|
+
/** The warehouse for dashboard creation */
|
|
192
|
+
effectiveWarehouseId?: string | undefined;
|
|
219
193
|
}
|
|
220
194
|
/** Custom metric definition. */
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
195
|
+
interface DataProfilingCustomMetric {
|
|
196
|
+
/** Name of the metric in the output tables. */
|
|
197
|
+
name?: string | undefined;
|
|
198
|
+
/** Jinja template for a SQL expression that specifies how to compute the metric. See [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition). */
|
|
199
|
+
definition?: string | undefined;
|
|
200
|
+
/**
|
|
201
|
+
* A list of column names in the input table the metric should be computed for.
|
|
202
|
+
* Can use ``":table"`` to indicate that the metric needs information from multiple columns.
|
|
203
|
+
*/
|
|
204
|
+
inputColumns?: string[] | undefined;
|
|
205
|
+
/** The output type of the custom metric. */
|
|
206
|
+
outputDataType?: string | undefined;
|
|
207
|
+
/** The type of the custom metric. */
|
|
208
|
+
type?: DataProfilingCustomMetricType | undefined;
|
|
235
209
|
}
|
|
236
210
|
/** Request to delete a Monitor. */
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
211
|
+
interface DeleteMonitorRequest {
|
|
212
|
+
/** The type of the monitored object. Can be one of the following: `schema` or `table`. */
|
|
213
|
+
objectType?: string | undefined;
|
|
214
|
+
/**
|
|
215
|
+
* The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
|
|
216
|
+
*
|
|
217
|
+
* Find the `schema_id` from either:
|
|
218
|
+
* 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
|
|
219
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
|
|
220
|
+
*
|
|
221
|
+
* Find the `table_id` from either:
|
|
222
|
+
* 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
|
|
223
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field.
|
|
224
|
+
*/
|
|
225
|
+
objectId?: string | undefined;
|
|
252
226
|
}
|
|
253
227
|
/** Request to delete a ronitor. */
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
228
|
+
interface DeleteRefreshRequest {
|
|
229
|
+
/** The type of the monitored object. Can be one of the following: `schema` or `table`. */
|
|
230
|
+
objectType?: string | undefined;
|
|
231
|
+
/**
|
|
232
|
+
* The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
|
|
233
|
+
*
|
|
234
|
+
* Find the `schema_id` from either:
|
|
235
|
+
* 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
|
|
236
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
|
|
237
|
+
*
|
|
238
|
+
* Find the `table_id` from either:
|
|
239
|
+
* 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
|
|
240
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field.
|
|
241
|
+
*/
|
|
242
|
+
objectId?: string | undefined;
|
|
243
|
+
/** Unique id of the refresh operation. */
|
|
244
|
+
refreshId?: bigint | undefined;
|
|
271
245
|
}
|
|
272
246
|
/** Request to get a Monitor. */
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
247
|
+
interface GetMonitorRequest {
|
|
248
|
+
/** The type of the monitored object. Can be one of the following: `schema` or `table`. */
|
|
249
|
+
objectType?: string | undefined;
|
|
250
|
+
/**
|
|
251
|
+
* The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
|
|
252
|
+
*
|
|
253
|
+
* Find the `schema_id` from either:
|
|
254
|
+
* 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
|
|
255
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
|
|
256
|
+
*
|
|
257
|
+
* Find the `table_id` from either:
|
|
258
|
+
* 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
|
|
259
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field.
|
|
260
|
+
*/
|
|
261
|
+
objectId?: string | undefined;
|
|
288
262
|
}
|
|
289
263
|
/** Request to get a refresh. */
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
264
|
+
interface GetRefreshRequest {
|
|
265
|
+
/** The type of the monitored object. Can be one of the following: `schema` or `table`. */
|
|
266
|
+
objectType?: string | undefined;
|
|
267
|
+
/**
|
|
268
|
+
* The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
|
|
269
|
+
*
|
|
270
|
+
* Find the `schema_id` from either:
|
|
271
|
+
* 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
|
|
272
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
|
|
273
|
+
*
|
|
274
|
+
* Find the `table_id` from either:
|
|
275
|
+
* 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
|
|
276
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field.
|
|
277
|
+
*/
|
|
278
|
+
objectId?: string | undefined;
|
|
279
|
+
/** Unique id of the refresh operation. */
|
|
280
|
+
refreshId?: bigint | undefined;
|
|
307
281
|
}
|
|
308
282
|
/** Inference log configuration. */
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
283
|
+
interface InferenceLogConfig {
|
|
284
|
+
/** Problem type the model aims to solve. */
|
|
285
|
+
problemType?: InferenceProblemType | undefined;
|
|
286
|
+
/** Column for the timestamp. */
|
|
287
|
+
timestampColumn?: string | undefined;
|
|
288
|
+
/** List of granularities to use when aggregating data into time windows based on their timestamp. */
|
|
289
|
+
granularities?: AggregationGranularity[] | undefined;
|
|
290
|
+
/** Column for the prediction. */
|
|
291
|
+
predictionColumn?: string | undefined;
|
|
292
|
+
/** Column for the label. */
|
|
293
|
+
labelColumn?: string | undefined;
|
|
294
|
+
/** Column for the model identifier. */
|
|
295
|
+
modelIdColumn?: string | undefined;
|
|
322
296
|
}
|
|
323
297
|
/** Request to list Monitors. */
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
298
|
+
interface ListMonitorRequest {
|
|
299
|
+
pageToken?: string | undefined;
|
|
300
|
+
pageSize?: number | undefined;
|
|
327
301
|
}
|
|
328
302
|
/** Response for listing Monitors. */
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
303
|
+
interface ListMonitorResponse {
|
|
304
|
+
monitors?: Monitor[] | undefined;
|
|
305
|
+
nextPageToken?: string | undefined;
|
|
332
306
|
}
|
|
333
307
|
/** Request to list refreshes. */
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
308
|
+
interface ListRefreshRequest {
|
|
309
|
+
/** The type of the monitored object. Can be one of the following: `schema` or `table`. */
|
|
310
|
+
objectType?: string | undefined;
|
|
311
|
+
/**
|
|
312
|
+
* The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
|
|
313
|
+
*
|
|
314
|
+
* Find the `schema_id` from either:
|
|
315
|
+
* 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
|
|
316
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
|
|
317
|
+
*
|
|
318
|
+
* Find the `table_id` from either:
|
|
319
|
+
* 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
|
|
320
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field.
|
|
321
|
+
*/
|
|
322
|
+
objectId?: string | undefined;
|
|
323
|
+
pageToken?: string | undefined;
|
|
324
|
+
pageSize?: number | undefined;
|
|
351
325
|
}
|
|
352
326
|
/** Response for listing refreshes. */
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
327
|
+
interface ListRefreshResponse {
|
|
328
|
+
refreshes?: Refresh[] | undefined;
|
|
329
|
+
nextPageToken?: string | undefined;
|
|
356
330
|
}
|
|
357
331
|
/** Monitor for the data quality of unity catalog entities such as schema or table. */
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
332
|
+
interface Monitor {
|
|
333
|
+
/** The type of the monitored object. Can be one of the following: `schema` or `table`. */
|
|
334
|
+
objectType?: string | undefined;
|
|
335
|
+
/**
|
|
336
|
+
* The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
|
|
337
|
+
*
|
|
338
|
+
* Find the `schema_id` from either:
|
|
339
|
+
* 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
|
|
340
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
|
|
341
|
+
*
|
|
342
|
+
* Find the `table_id` from either:
|
|
343
|
+
* 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
|
|
344
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field.
|
|
345
|
+
*/
|
|
346
|
+
objectId?: string | undefined;
|
|
347
|
+
/** Anomaly Detection Configuration, applicable to `schema` object types. */
|
|
348
|
+
anomalyDetectionConfig?: AnomalyDetectionConfig | undefined;
|
|
349
|
+
/**
|
|
350
|
+
* Data Profiling Configuration, applicable to `table` object types. Exactly one `Analysis Configuration`
|
|
351
|
+
* must be present.
|
|
352
|
+
*/
|
|
353
|
+
dataProfilingConfig?: DataProfilingConfig | undefined;
|
|
380
354
|
}
|
|
381
355
|
/** Destination of the data quality monitoring notification. */
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
356
|
+
interface NotificationDestination {
|
|
357
|
+
/** The list of email addresses to send the notification to. A maximum of 5 email addresses is supported. */
|
|
358
|
+
emailAddresses?: string[] | undefined;
|
|
385
359
|
}
|
|
386
360
|
/** Settings for sending notifications on the data quality monitoring. */
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
361
|
+
interface NotificationSettings {
|
|
362
|
+
/** Destinations to send notifications on failure/timeout. */
|
|
363
|
+
onFailure?: NotificationDestination | undefined;
|
|
390
364
|
}
|
|
391
365
|
/** The Refresh object gives information on a refresh of the data quality monitoring pipeline. */
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
366
|
+
interface Refresh {
|
|
367
|
+
/** The type of the monitored object. Can be one of the following: `schema` or `table`. */
|
|
368
|
+
objectType?: string | undefined;
|
|
369
|
+
/**
|
|
370
|
+
* The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
|
|
371
|
+
*
|
|
372
|
+
* Find the `schema_id` from either:
|
|
373
|
+
* 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
|
|
374
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
|
|
375
|
+
*
|
|
376
|
+
* Find the `table_id` from either:
|
|
377
|
+
* 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
|
|
378
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field.
|
|
379
|
+
*/
|
|
380
|
+
objectId?: string | undefined;
|
|
381
|
+
/** Unique id of the refresh operation. */
|
|
382
|
+
refreshId?: bigint | undefined;
|
|
383
|
+
/** The current state of the refresh. */
|
|
384
|
+
state?: RefreshState | undefined;
|
|
385
|
+
/** An optional message to give insight into the current state of the refresh (e.g. FAILURE messages). */
|
|
386
|
+
message?: string | undefined;
|
|
387
|
+
/** Time when the refresh started (milliseconds since 1/1/1970 UTC). */
|
|
388
|
+
startTimeMs?: bigint | undefined;
|
|
389
|
+
/** Time when the refresh ended (milliseconds since 1/1/1970 UTC). */
|
|
390
|
+
endTimeMs?: bigint | undefined;
|
|
391
|
+
/** What triggered the refresh. */
|
|
392
|
+
trigger?: RefreshTrigger | undefined;
|
|
419
393
|
}
|
|
420
394
|
/** Snapshot analysis configuration. */
|
|
421
|
-
|
|
422
|
-
}
|
|
395
|
+
interface SnapshotConfig {}
|
|
423
396
|
/** Time series analysis configuration. */
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
397
|
+
interface TimeSeriesConfig {
|
|
398
|
+
/** Column for the timestamp. */
|
|
399
|
+
timestampColumn?: string | undefined;
|
|
400
|
+
/** List of granularities to use when aggregating data into time windows based on their timestamp. */
|
|
401
|
+
granularities?: AggregationGranularity[] | undefined;
|
|
429
402
|
}
|
|
430
403
|
/** Request to update a Monitor. */
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
404
|
+
interface UpdateMonitorRequest {
|
|
405
|
+
/** The type of the monitored object. Can be one of the following: `schema` or `table`. */
|
|
406
|
+
objectType?: string | undefined;
|
|
407
|
+
/**
|
|
408
|
+
* The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
|
|
409
|
+
*
|
|
410
|
+
* Find the `schema_id` from either:
|
|
411
|
+
* 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
|
|
412
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
|
|
413
|
+
*
|
|
414
|
+
* Find the `table_id` from either:
|
|
415
|
+
* 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
|
|
416
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field.
|
|
417
|
+
*/
|
|
418
|
+
objectId?: string | undefined;
|
|
419
|
+
/** The monitor to update. */
|
|
420
|
+
monitor?: Monitor | undefined;
|
|
421
|
+
/**
|
|
422
|
+
* The field mask to specify which fields to update as a comma-separated list.
|
|
423
|
+
* Example value: `data_profiling_config.custom_metrics,data_profiling_config.schedule.quartz_cron_expression`
|
|
424
|
+
*/
|
|
425
|
+
updateMask?: FieldMask<Monitor> | undefined;
|
|
453
426
|
}
|
|
454
427
|
/** Request to update a refresh. */
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
428
|
+
interface UpdateRefreshRequest {
|
|
429
|
+
/** The type of the monitored object. Can be one of the following: `schema` or `table`. */
|
|
430
|
+
objectType?: string | undefined;
|
|
431
|
+
/**
|
|
432
|
+
* The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
|
|
433
|
+
*
|
|
434
|
+
* Find the `schema_id` from either:
|
|
435
|
+
* 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
|
|
436
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
|
|
437
|
+
*
|
|
438
|
+
* Find the `table_id` from either:
|
|
439
|
+
* 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
|
|
440
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field.
|
|
441
|
+
*/
|
|
442
|
+
objectId?: string | undefined;
|
|
443
|
+
/** Unique id of the refresh operation. */
|
|
444
|
+
refreshId?: bigint | undefined;
|
|
445
|
+
/** The refresh to update. */
|
|
446
|
+
refresh?: Refresh | undefined;
|
|
447
|
+
/** The field mask to specify which fields to update. */
|
|
448
|
+
updateMask?: FieldMask<Refresh> | undefined;
|
|
476
449
|
}
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
450
|
+
declare const unmarshalAnomalyDetectionConfigSchema: z.ZodType<AnomalyDetectionConfig>;
|
|
451
|
+
declare const unmarshalCancelRefreshResponseSchema: z.ZodType<CancelRefreshResponse>;
|
|
452
|
+
declare const unmarshalCronScheduleSchema: z.ZodType<CronSchedule>;
|
|
453
|
+
declare const unmarshalDataProfilingConfigSchema: z.ZodType<DataProfilingConfig>;
|
|
454
|
+
declare const unmarshalDataProfilingCustomMetricSchema: z.ZodType<DataProfilingCustomMetric>;
|
|
455
|
+
declare const unmarshalInferenceLogConfigSchema: z.ZodType<InferenceLogConfig>;
|
|
456
|
+
declare const unmarshalListMonitorResponseSchema: z.ZodType<ListMonitorResponse>;
|
|
457
|
+
declare const unmarshalListRefreshResponseSchema: z.ZodType<ListRefreshResponse>;
|
|
458
|
+
declare const unmarshalMonitorSchema: z.ZodType<Monitor>;
|
|
459
|
+
declare const unmarshalNotificationDestinationSchema: z.ZodType<NotificationDestination>;
|
|
460
|
+
declare const unmarshalNotificationSettingsSchema: z.ZodType<NotificationSettings>;
|
|
461
|
+
declare const unmarshalRefreshSchema: z.ZodType<Refresh>;
|
|
462
|
+
declare const unmarshalSnapshotConfigSchema: z.ZodType<SnapshotConfig>;
|
|
463
|
+
declare const unmarshalTimeSeriesConfigSchema: z.ZodType<TimeSeriesConfig>;
|
|
464
|
+
declare const marshalAnomalyDetectionConfigSchema: z.ZodType;
|
|
465
|
+
declare const marshalCancelRefreshRequestSchema: z.ZodType;
|
|
466
|
+
declare const marshalCronScheduleSchema: z.ZodType;
|
|
467
|
+
declare const marshalDataProfilingConfigSchema: z.ZodType;
|
|
468
|
+
declare const marshalDataProfilingCustomMetricSchema: z.ZodType;
|
|
469
|
+
declare const marshalInferenceLogConfigSchema: z.ZodType;
|
|
470
|
+
declare const marshalMonitorSchema: z.ZodType;
|
|
471
|
+
declare const marshalNotificationDestinationSchema: z.ZodType;
|
|
472
|
+
declare const marshalNotificationSettingsSchema: z.ZodType;
|
|
473
|
+
declare const marshalRefreshSchema: z.ZodType;
|
|
474
|
+
declare const marshalSnapshotConfigSchema: z.ZodType;
|
|
475
|
+
declare const marshalTimeSeriesConfigSchema: z.ZodType;
|
|
476
|
+
declare function monitorFieldMask(...paths: string[]): FieldMask<Monitor>;
|
|
477
|
+
declare function refreshFieldMask(...paths: string[]): FieldMask<Refresh>;
|
|
478
|
+
//#endregion
|
|
479
|
+
export { AggregationGranularity, AnomalyDetectionConfig, CancelRefreshRequest, CancelRefreshResponse, CreateMonitorRequest, CreateRefreshRequest, CronSchedule, CronSchedulePauseStatus, DataProfilingConfig, DataProfilingCustomMetric, DataProfilingCustomMetricType, DataProfilingStatus, DeleteMonitorRequest, DeleteRefreshRequest, GetMonitorRequest, GetRefreshRequest, InferenceLogConfig, InferenceProblemType, ListMonitorRequest, ListMonitorResponse, ListRefreshRequest, ListRefreshResponse, Monitor, NotificationDestination, NotificationSettings, Refresh, RefreshState, RefreshTrigger, SnapshotConfig, TimeSeriesConfig, UpdateMonitorRequest, UpdateRefreshRequest, marshalAnomalyDetectionConfigSchema, marshalCancelRefreshRequestSchema, marshalCronScheduleSchema, marshalDataProfilingConfigSchema, marshalDataProfilingCustomMetricSchema, marshalInferenceLogConfigSchema, marshalMonitorSchema, marshalNotificationDestinationSchema, marshalNotificationSettingsSchema, marshalRefreshSchema, marshalSnapshotConfigSchema, marshalTimeSeriesConfigSchema, monitorFieldMask, refreshFieldMask, unmarshalAnomalyDetectionConfigSchema, unmarshalCancelRefreshResponseSchema, unmarshalCronScheduleSchema, unmarshalDataProfilingConfigSchema, unmarshalDataProfilingCustomMetricSchema, unmarshalInferenceLogConfigSchema, unmarshalListMonitorResponseSchema, unmarshalListRefreshResponseSchema, unmarshalMonitorSchema, unmarshalNotificationDestinationSchema, unmarshalNotificationSettingsSchema, unmarshalRefreshSchema, unmarshalSnapshotConfigSchema, unmarshalTimeSeriesConfigSchema };
|
|
505
480
|
//# sourceMappingURL=model.d.ts.map
|