@databricks/sdk-uc-registeredmodels 0.27.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.
@@ -1,407 +1,405 @@
1
- import { z } from 'zod';
2
- export declare const ModelVersionStatus: {
3
- readonly MODEL_VERSION_STATUS_UNKNOWN: "MODEL_VERSION_STATUS_UNKNOWN";
4
- /** Request to register a new model version is pending as client uploads model files. */
5
- readonly PENDING_REGISTRATION: "PENDING_REGISTRATION";
6
- /** Request to register a new model version has failed. */
7
- readonly FAILED_REGISTRATION: "FAILED_REGISTRATION";
8
- /** Model version is ready for use. */
9
- readonly READY: "READY";
1
+ import { z } from "zod";
2
+
3
+ //#region src/v1/model.d.ts
4
+ declare const ModelVersionStatus: {
5
+ readonly MODEL_VERSION_STATUS_UNKNOWN: "MODEL_VERSION_STATUS_UNKNOWN"; /** Request to register a new model version is pending as client uploads model files. */
6
+ readonly PENDING_REGISTRATION: "PENDING_REGISTRATION"; /** Request to register a new model version has failed. */
7
+ readonly FAILED_REGISTRATION: "FAILED_REGISTRATION"; /** Model version is ready for use. */
8
+ readonly READY: "READY";
10
9
  };
11
- export type ModelVersionStatus = (typeof ModelVersionStatus)[keyof typeof ModelVersionStatus] | (string & {});
10
+ type ModelVersionStatus = (typeof ModelVersionStatus)[keyof typeof ModelVersionStatus] | (string & {});
12
11
  /** A connection that is dependent on a SQL object. */
13
- export interface ConnectionDependency {
14
- /** Full name of the dependent connection, in the form of __connection_name__. */
15
- connectionName?: string | undefined;
12
+ interface ConnectionDependency {
13
+ /** Full name of the dependent connection, in the form of __connection_name__. */
14
+ connectionName?: string | undefined;
16
15
  }
17
- export interface CreateRegisteredModelRequest {
18
- /** The name of the registered model */
19
- name?: string | undefined;
20
- /** The name of the catalog where the schema and the registered model reside */
21
- catalogName?: string | undefined;
22
- /** The name of the schema where the registered model resides */
23
- schemaName?: string | undefined;
24
- /** The identifier of the user who owns the registered model */
25
- owner?: string | undefined;
26
- /** The comment attached to the registered model */
27
- comment?: string | undefined;
28
- /** The storage location on the cloud under which model version data files are stored */
29
- storageLocation?: string | undefined;
30
- /** The unique identifier of the metastore */
31
- metastoreId?: string | undefined;
32
- /** The three-level (fully qualified) name of the registered model */
33
- fullName?: string | undefined;
34
- /** Creation timestamp of the registered model in milliseconds since the Unix epoch */
35
- createdAt?: bigint | undefined;
36
- /** The identifier of the user who created the registered model */
37
- createdBy?: string | undefined;
38
- /** Last-update timestamp of the registered model in milliseconds since the Unix epoch */
39
- updatedAt?: bigint | undefined;
40
- /** The identifier of the user who updated the registered model last time */
41
- updatedBy?: string | undefined;
42
- /** List of aliases associated with the registered model */
43
- aliases?: RegisteredModelAliasInfo[] | undefined;
44
- /** Indicates whether the principal is limited to retrieving metadata for the associated object through the BROWSE privilege when include_browse is enabled in the request. */
45
- browseOnly?: boolean | undefined;
16
+ interface CreateRegisteredModelRequest {
17
+ /** The name of the registered model */
18
+ name?: string | undefined;
19
+ /** The name of the catalog where the schema and the registered model reside */
20
+ catalogName?: string | undefined;
21
+ /** The name of the schema where the registered model resides */
22
+ schemaName?: string | undefined;
23
+ /** The identifier of the user who owns the registered model */
24
+ owner?: string | undefined;
25
+ /** The comment attached to the registered model */
26
+ comment?: string | undefined;
27
+ /** The storage location on the cloud under which model version data files are stored */
28
+ storageLocation?: string | undefined;
29
+ /** The unique identifier of the metastore */
30
+ metastoreId?: string | undefined;
31
+ /** The three-level (fully qualified) name of the registered model */
32
+ fullName?: string | undefined;
33
+ /** Creation timestamp of the registered model in milliseconds since the Unix epoch */
34
+ createdAt?: bigint | undefined;
35
+ /** The identifier of the user who created the registered model */
36
+ createdBy?: string | undefined;
37
+ /** Last-update timestamp of the registered model in milliseconds since the Unix epoch */
38
+ updatedAt?: bigint | undefined;
39
+ /** The identifier of the user who updated the registered model last time */
40
+ updatedBy?: string | undefined;
41
+ /** List of aliases associated with the registered model */
42
+ aliases?: RegisteredModelAliasInfo[] | undefined;
43
+ /** Indicates whether the principal is limited to retrieving metadata for the associated object through the BROWSE privilege when include_browse is enabled in the request. */
44
+ browseOnly?: boolean | undefined;
46
45
  }
47
46
  /** A credential that is dependent on a SQL object. */
48
- export interface CredentialDependency {
49
- /** Full name of the dependent credential, in the form of __credential_name__. */
50
- credentialName?: string | undefined;
47
+ interface CredentialDependency {
48
+ /** Full name of the dependent credential, in the form of __credential_name__. */
49
+ credentialName?: string | undefined;
51
50
  }
52
- export interface DeleteModelVersionRequest {
53
- /** The three-level (fully qualified) name of the model version */
54
- fullNameArg?: string | undefined;
55
- /** The integer version number of the model version */
56
- versionArg?: bigint | undefined;
51
+ interface DeleteModelVersionRequest {
52
+ /** The three-level (fully qualified) name of the model version */
53
+ fullNameArg?: string | undefined;
54
+ /** The integer version number of the model version */
55
+ versionArg?: bigint | undefined;
57
56
  }
58
- export interface DeleteModelVersionResponse {
57
+ interface DeleteModelVersionResponse {}
58
+ interface DeleteRegisteredModelAliasRequest {
59
+ /** The three-level (fully qualified) name of the registered model */
60
+ fullNameArg?: string | undefined;
61
+ /** The name of the alias */
62
+ aliasArg?: string | undefined;
59
63
  }
60
- export interface DeleteRegisteredModelAliasRequest {
61
- /** The three-level (fully qualified) name of the registered model */
62
- fullNameArg?: string | undefined;
63
- /** The name of the alias */
64
- aliasArg?: string | undefined;
65
- }
66
- export interface DeleteRegisteredModelAliasResponse {
67
- }
68
- export interface DeleteRegisteredModelRequest {
69
- /** The three-level (fully qualified) name of the registered model */
70
- fullNameArg?: string | undefined;
71
- }
72
- export interface DeleteRegisteredModelResponse {
64
+ interface DeleteRegisteredModelAliasResponse {}
65
+ interface DeleteRegisteredModelRequest {
66
+ /** The three-level (fully qualified) name of the registered model */
67
+ fullNameArg?: string | undefined;
73
68
  }
69
+ interface DeleteRegisteredModelResponse {}
74
70
  /**
75
71
  * A dependency of a SQL object. One of the following fields must be defined:
76
72
  * __table__, __function__, __connection__, __credential__, __volume__, or __secret__.
77
73
  */
78
- export interface Dependency {
79
- value?: {
80
- $case: 'table';
81
- table: TableDependency;
82
- } | {
83
- $case: 'function';
84
- function: FunctionDependency;
85
- } | {
86
- $case: 'connection';
87
- connection: ConnectionDependency;
88
- } | {
89
- $case: 'credential';
90
- credential: CredentialDependency;
91
- } | undefined;
74
+ interface Dependency {
75
+ value?: {
76
+ $case: 'table';
77
+ table: TableDependency;
78
+ } | {
79
+ $case: 'function';
80
+ function: FunctionDependency;
81
+ } | {
82
+ $case: 'connection';
83
+ connection: ConnectionDependency;
84
+ } | {
85
+ $case: 'credential';
86
+ credential: CredentialDependency;
87
+ } | undefined;
92
88
  }
93
89
  /** A list of dependencies. */
94
- export interface DependencyList {
95
- /** Array of dependencies. */
96
- dependencies?: Dependency[] | undefined;
90
+ interface DependencyList {
91
+ /** Array of dependencies. */
92
+ dependencies?: Dependency[] | undefined;
97
93
  }
98
94
  /** A function that is dependent on a SQL object. */
99
- export interface FunctionDependency {
100
- /** Full name of the dependent function, in the form of __catalog_name__.__schema_name__.__function_name__. */
101
- functionFullName?: string | undefined;
95
+ interface FunctionDependency {
96
+ /** Full name of the dependent function, in the form of __catalog_name__.__schema_name__.__function_name__. */
97
+ functionFullName?: string | undefined;
102
98
  }
103
- export interface GetModelVersionByAliasRequest {
104
- /** The three-level (fully qualified) name of the registered model */
105
- fullNameArg?: string | undefined;
106
- /** The name of the alias */
107
- aliasArg?: string | undefined;
108
- /** Whether to include aliases associated with the model version in the response */
109
- includeAliases?: boolean | undefined;
99
+ interface GetModelVersionByAliasRequest {
100
+ /** The three-level (fully qualified) name of the registered model */
101
+ fullNameArg?: string | undefined;
102
+ /** The name of the alias */
103
+ aliasArg?: string | undefined;
104
+ /** Whether to include aliases associated with the model version in the response */
105
+ includeAliases?: boolean | undefined;
110
106
  }
111
- export interface GetModelVersionRequest {
112
- /** The three-level (fully qualified) name of the model version */
113
- fullNameArg?: string | undefined;
114
- /** The integer version number of the model version */
115
- versionArg?: bigint | undefined;
116
- /** Whether to include aliases associated with the model version in the response */
117
- includeAliases?: boolean | undefined;
118
- /** Whether to include model versions in the response for which the principal can only access selective metadata for */
119
- includeBrowse?: boolean | undefined;
107
+ interface GetModelVersionRequest {
108
+ /** The three-level (fully qualified) name of the model version */
109
+ fullNameArg?: string | undefined;
110
+ /** The integer version number of the model version */
111
+ versionArg?: bigint | undefined;
112
+ /** Whether to include aliases associated with the model version in the response */
113
+ includeAliases?: boolean | undefined;
114
+ /** Whether to include model versions in the response for which the principal can only access selective metadata for */
115
+ includeBrowse?: boolean | undefined;
120
116
  }
121
- export interface GetRegisteredModelRequest {
122
- /** The three-level (fully qualified) name of the registered model */
123
- fullNameArg?: string | undefined;
124
- /** Whether to include registered model aliases in the response */
125
- includeAliases?: boolean | undefined;
126
- /** Whether to include registered models in the response for which the principal can only access selective metadata for */
127
- includeBrowse?: boolean | undefined;
117
+ interface GetRegisteredModelRequest {
118
+ /** The three-level (fully qualified) name of the registered model */
119
+ fullNameArg?: string | undefined;
120
+ /** Whether to include registered model aliases in the response */
121
+ includeAliases?: boolean | undefined;
122
+ /** Whether to include registered models in the response for which the principal can only access selective metadata for */
123
+ includeBrowse?: boolean | undefined;
128
124
  }
129
- export interface ListModelVersionsRequest {
130
- /** The full three-level name of the registered model under which to list model versions */
131
- fullNameArg?: string | undefined;
132
- /**
133
- * Maximum number of model versions to return.
134
- * If not set, the page length is set to a server configured value (100, as of 1/3/2024).
135
- * - when set to a value greater than 0, the page length is the minimum of this value and a server configured value(1000, as of 1/3/2024);
136
- * - when set to 0, the page length is set to a server configured value (100, as of 1/3/2024) (recommended);
137
- * - when set to a value less than 0, an invalid parameter error is returned;
138
- */
139
- maxResults?: bigint | undefined;
140
- /** Opaque pagination token to go to next page based on previous query. */
141
- pageToken?: string | undefined;
142
- /** Whether to include model versions in the response for which the principal can only access selective metadata for */
143
- includeBrowse?: boolean | undefined;
125
+ interface ListModelVersionsRequest {
126
+ /** The full three-level name of the registered model under which to list model versions */
127
+ fullNameArg?: string | undefined;
128
+ /**
129
+ * Maximum number of model versions to return.
130
+ * If not set, the page length is set to a server configured value (100, as of 1/3/2024).
131
+ * - when set to a value greater than 0, the page length is the minimum of this value and a server configured value(1000, as of 1/3/2024);
132
+ * - when set to 0, the page length is set to a server configured value (100, as of 1/3/2024) (recommended);
133
+ * - when set to a value less than 0, an invalid parameter error is returned;
134
+ */
135
+ maxResults?: bigint | undefined;
136
+ /** Opaque pagination token to go to next page based on previous query. */
137
+ pageToken?: string | undefined;
138
+ /** Whether to include model versions in the response for which the principal can only access selective metadata for */
139
+ includeBrowse?: boolean | undefined;
144
140
  }
145
- export interface ListModelVersionsResponse {
146
- modelVersions?: ModelVersionInfo[] | undefined;
147
- /**
148
- * Opaque token to retrieve the next page of results. Absent if there are no more pages.
149
- * __page_token__ should be set to this value for the next request (for the next page of results).
150
- */
151
- nextPageToken?: string | undefined;
141
+ interface ListModelVersionsResponse {
142
+ modelVersions?: ModelVersionInfo[] | undefined;
143
+ /**
144
+ * Opaque token to retrieve the next page of results. Absent if there are no more pages.
145
+ * __page_token__ should be set to this value for the next request (for the next page of results).
146
+ */
147
+ nextPageToken?: string | undefined;
152
148
  }
153
- export interface ListRegisteredModelsRequest {
154
- /**
155
- * The identifier of the catalog under which to list registered models.
156
- * If specified, schema_name must be specified.
157
- */
158
- catalogName?: string | undefined;
159
- /**
160
- * The identifier of the schema under which to list registered models.
161
- * If specified, catalog_name must be specified.
162
- */
163
- schemaName?: string | undefined;
164
- /** Whether to include registered models in the response for which the principal can only access selective metadata for */
165
- includeBrowse?: boolean | undefined;
166
- /**
167
- * Max number of registered models to return.
168
- *
169
- * If both catalog and schema are specified:
170
- * - when max_results is not specified, the page length is set to a server configured value (10000, as of 4/2/2024).
171
- * - when set to a value greater than 0, the page length is the minimum of this value and a server configured value (10000, as of 4/2/2024);
172
- * - when set to 0, the page length is set to a server configured value (10000, as of 4/2/2024);
173
- * - when set to a value less than 0, an invalid parameter error is returned;
174
- *
175
- * If neither schema nor catalog is specified:
176
- * - when max_results is not specified, the page length is set to a server configured value (100, as of 4/2/2024).
177
- * - when set to a value greater than 0, the page length is the minimum of this value and a server configured value (1000, as of 4/2/2024);
178
- * - when set to 0, the page length is set to a server configured value (100, as of 4/2/2024);
179
- * - when set to a value less than 0, an invalid parameter error is returned;
180
- */
181
- maxResults?: bigint | undefined;
182
- /** Opaque token to send for the next page of results (pagination). */
183
- pageToken?: string | undefined;
149
+ interface ListRegisteredModelsRequest {
150
+ /**
151
+ * The identifier of the catalog under which to list registered models.
152
+ * If specified, schema_name must be specified.
153
+ */
154
+ catalogName?: string | undefined;
155
+ /**
156
+ * The identifier of the schema under which to list registered models.
157
+ * If specified, catalog_name must be specified.
158
+ */
159
+ schemaName?: string | undefined;
160
+ /** Whether to include registered models in the response for which the principal can only access selective metadata for */
161
+ includeBrowse?: boolean | undefined;
162
+ /**
163
+ * Max number of registered models to return.
164
+ *
165
+ * If both catalog and schema are specified:
166
+ * - when max_results is not specified, the page length is set to a server configured value (10000, as of 4/2/2024).
167
+ * - when set to a value greater than 0, the page length is the minimum of this value and a server configured value (10000, as of 4/2/2024);
168
+ * - when set to 0, the page length is set to a server configured value (10000, as of 4/2/2024);
169
+ * - when set to a value less than 0, an invalid parameter error is returned;
170
+ *
171
+ * If neither schema nor catalog is specified:
172
+ * - when max_results is not specified, the page length is set to a server configured value (100, as of 4/2/2024).
173
+ * - when set to a value greater than 0, the page length is the minimum of this value and a server configured value (1000, as of 4/2/2024);
174
+ * - when set to 0, the page length is set to a server configured value (100, as of 4/2/2024);
175
+ * - when set to a value less than 0, an invalid parameter error is returned;
176
+ */
177
+ maxResults?: bigint | undefined;
178
+ /** Opaque token to send for the next page of results (pagination). */
179
+ pageToken?: string | undefined;
184
180
  }
185
- export interface ListRegisteredModelsResponse {
186
- registeredModels?: RegisteredModelInfo[] | undefined;
187
- /**
188
- * Opaque token for pagination. Omitted if there are no more results. page_token should
189
- * be set to this value for fetching the next page.
190
- */
191
- nextPageToken?: string | undefined;
181
+ interface ListRegisteredModelsResponse {
182
+ registeredModels?: RegisteredModelInfo[] | undefined;
183
+ /**
184
+ * Opaque token for pagination. Omitted if there are no more results. page_token should
185
+ * be set to this value for fetching the next page.
186
+ */
187
+ nextPageToken?: string | undefined;
192
188
  }
193
- export interface ModelVersionInfo {
194
- /** The name of the parent registered model of the model version, relative to parent schema */
195
- modelName?: string | undefined;
196
- /** The name of the catalog containing the model version */
197
- catalogName?: string | undefined;
198
- /** The name of the schema containing the model version, relative to parent catalog */
199
- schemaName?: string | undefined;
200
- /** URI indicating the location of the source artifacts (files) for the model version */
201
- source?: string | undefined;
202
- /** The comment attached to the model version */
203
- comment?: string | undefined;
204
- /**
205
- * MLflow run ID used when creating the model version, if ``source`` was generated by an
206
- * experiment run stored in an MLflow tracking server
207
- */
208
- runId?: string | undefined;
209
- /**
210
- * ID of the <Databricks> workspace containing the MLflow run that generated this model
211
- * version, if applicable
212
- */
213
- runWorkspaceId?: bigint | undefined;
214
- /** Model version dependencies, for feature-store packaged models */
215
- modelVersionDependencies?: DependencyList | undefined;
216
- /**
217
- * Current status of the model version. Newly created model versions start in
218
- * PENDING_REGISTRATION status, then move to READY status once the model version files are uploaded and
219
- * the model version is finalized. Only model versions in READY status can be loaded for inference or
220
- * served.
221
- */
222
- status?: ModelVersionStatus | undefined;
223
- /** Integer model version number, used to reference the model version in API requests. */
224
- version?: bigint | undefined;
225
- /** The storage location on the cloud under which model version data files are stored */
226
- storageLocation?: string | undefined;
227
- /** The unique identifier of the metastore containing the model version */
228
- metastoreId?: string | undefined;
229
- createdAt?: bigint | undefined;
230
- /** The identifier of the user who created the model version */
231
- createdBy?: string | undefined;
232
- updatedAt?: bigint | undefined;
233
- /** The identifier of the user who updated the model version last time */
234
- updatedBy?: string | undefined;
235
- /** The unique identifier of the model version */
236
- id?: string | undefined;
237
- /** List of aliases associated with the model version */
238
- aliases?: RegisteredModelAliasInfo[] | undefined;
189
+ interface ModelVersionInfo {
190
+ /** The name of the parent registered model of the model version, relative to parent schema */
191
+ modelName?: string | undefined;
192
+ /** The name of the catalog containing the model version */
193
+ catalogName?: string | undefined;
194
+ /** The name of the schema containing the model version, relative to parent catalog */
195
+ schemaName?: string | undefined;
196
+ /** URI indicating the location of the source artifacts (files) for the model version */
197
+ source?: string | undefined;
198
+ /** The comment attached to the model version */
199
+ comment?: string | undefined;
200
+ /**
201
+ * MLflow run ID used when creating the model version, if ``source`` was generated by an
202
+ * experiment run stored in an MLflow tracking server
203
+ */
204
+ runId?: string | undefined;
205
+ /**
206
+ * ID of the <Databricks> workspace containing the MLflow run that generated this model
207
+ * version, if applicable
208
+ */
209
+ runWorkspaceId?: bigint | undefined;
210
+ /** Model version dependencies, for feature-store packaged models */
211
+ modelVersionDependencies?: DependencyList | undefined;
212
+ /**
213
+ * Current status of the model version. Newly created model versions start in
214
+ * PENDING_REGISTRATION status, then move to READY status once the model version files are uploaded and
215
+ * the model version is finalized. Only model versions in READY status can be loaded for inference or
216
+ * served.
217
+ */
218
+ status?: ModelVersionStatus | undefined;
219
+ /** Integer model version number, used to reference the model version in API requests. */
220
+ version?: bigint | undefined;
221
+ /** The storage location on the cloud under which model version data files are stored */
222
+ storageLocation?: string | undefined;
223
+ /** The unique identifier of the metastore containing the model version */
224
+ metastoreId?: string | undefined;
225
+ createdAt?: bigint | undefined;
226
+ /** The identifier of the user who created the model version */
227
+ createdBy?: string | undefined;
228
+ updatedAt?: bigint | undefined;
229
+ /** The identifier of the user who updated the model version last time */
230
+ updatedBy?: string | undefined;
231
+ /** The unique identifier of the model version */
232
+ id?: string | undefined;
233
+ /** List of aliases associated with the model version */
234
+ aliases?: RegisteredModelAliasInfo[] | undefined;
239
235
  }
240
- export interface RegisteredModelAliasInfo {
241
- /** Name of the alias, e.g. 'champion' or 'latest_stable' */
242
- aliasName?: string | undefined;
243
- /** Integer version number of the model version to which this alias points. */
244
- versionNum?: bigint | undefined;
245
- /** The unique identifier of the alias */
246
- id?: string | undefined;
247
- /** The name of the parent registered model of the model version, relative to parent schema */
248
- modelName?: string | undefined;
249
- /** The name of the catalog containing the model version */
250
- catalogName?: string | undefined;
251
- /** The name of the schema containing the model version, relative to parent catalog */
252
- schemaName?: string | undefined;
236
+ interface RegisteredModelAliasInfo {
237
+ /** Name of the alias, e.g. 'champion' or 'latest_stable' */
238
+ aliasName?: string | undefined;
239
+ /** Integer version number of the model version to which this alias points. */
240
+ versionNum?: bigint | undefined;
241
+ /** The unique identifier of the alias */
242
+ id?: string | undefined;
243
+ /** The name of the parent registered model of the model version, relative to parent schema */
244
+ modelName?: string | undefined;
245
+ /** The name of the catalog containing the model version */
246
+ catalogName?: string | undefined;
247
+ /** The name of the schema containing the model version, relative to parent catalog */
248
+ schemaName?: string | undefined;
253
249
  }
254
- export interface RegisteredModelInfo {
255
- /** The name of the registered model */
256
- name?: string | undefined;
257
- /** The name of the catalog where the schema and the registered model reside */
258
- catalogName?: string | undefined;
259
- /** The name of the schema where the registered model resides */
260
- schemaName?: string | undefined;
261
- /** The identifier of the user who owns the registered model */
262
- owner?: string | undefined;
263
- /** The comment attached to the registered model */
264
- comment?: string | undefined;
265
- /** The storage location on the cloud under which model version data files are stored */
266
- storageLocation?: string | undefined;
267
- /** The unique identifier of the metastore */
268
- metastoreId?: string | undefined;
269
- /** The three-level (fully qualified) name of the registered model */
270
- fullName?: string | undefined;
271
- /** Creation timestamp of the registered model in milliseconds since the Unix epoch */
272
- createdAt?: bigint | undefined;
273
- /** The identifier of the user who created the registered model */
274
- createdBy?: string | undefined;
275
- /** Last-update timestamp of the registered model in milliseconds since the Unix epoch */
276
- updatedAt?: bigint | undefined;
277
- /** The identifier of the user who updated the registered model last time */
278
- updatedBy?: string | undefined;
279
- /** List of aliases associated with the registered model */
280
- aliases?: RegisteredModelAliasInfo[] | undefined;
281
- /** Indicates whether the principal is limited to retrieving metadata for the associated object through the BROWSE privilege when include_browse is enabled in the request. */
282
- browseOnly?: boolean | undefined;
250
+ interface RegisteredModelInfo {
251
+ /** The name of the registered model */
252
+ name?: string | undefined;
253
+ /** The name of the catalog where the schema and the registered model reside */
254
+ catalogName?: string | undefined;
255
+ /** The name of the schema where the registered model resides */
256
+ schemaName?: string | undefined;
257
+ /** The identifier of the user who owns the registered model */
258
+ owner?: string | undefined;
259
+ /** The comment attached to the registered model */
260
+ comment?: string | undefined;
261
+ /** The storage location on the cloud under which model version data files are stored */
262
+ storageLocation?: string | undefined;
263
+ /** The unique identifier of the metastore */
264
+ metastoreId?: string | undefined;
265
+ /** The three-level (fully qualified) name of the registered model */
266
+ fullName?: string | undefined;
267
+ /** Creation timestamp of the registered model in milliseconds since the Unix epoch */
268
+ createdAt?: bigint | undefined;
269
+ /** The identifier of the user who created the registered model */
270
+ createdBy?: string | undefined;
271
+ /** Last-update timestamp of the registered model in milliseconds since the Unix epoch */
272
+ updatedAt?: bigint | undefined;
273
+ /** The identifier of the user who updated the registered model last time */
274
+ updatedBy?: string | undefined;
275
+ /** List of aliases associated with the registered model */
276
+ aliases?: RegisteredModelAliasInfo[] | undefined;
277
+ /** Indicates whether the principal is limited to retrieving metadata for the associated object through the BROWSE privilege when include_browse is enabled in the request. */
278
+ browseOnly?: boolean | undefined;
283
279
  }
284
- export interface SetRegisteredModelAliasRequest {
285
- /** The three-level (fully qualified) name of the registered model */
286
- fullNameArg?: string | undefined;
287
- /** The name of the alias */
288
- aliasArg?: string | undefined;
289
- /** The version number of the model version to which the alias points */
290
- versionNum?: bigint | undefined;
280
+ interface SetRegisteredModelAliasRequest {
281
+ /** The three-level (fully qualified) name of the registered model */
282
+ fullNameArg?: string | undefined;
283
+ /** The name of the alias */
284
+ aliasArg?: string | undefined;
285
+ /** The version number of the model version to which the alias points */
286
+ versionNum?: bigint | undefined;
291
287
  }
292
288
  /** A table that is dependent on a SQL object. */
293
- export interface TableDependency {
294
- /** Full name of the dependent table, in the form of __catalog_name__.__schema_name__.__table_name__. */
295
- tableFullName?: string | undefined;
289
+ interface TableDependency {
290
+ /** Full name of the dependent table, in the form of __catalog_name__.__schema_name__.__table_name__. */
291
+ tableFullName?: string | undefined;
296
292
  }
297
- export interface UpdateModelVersionRequest {
298
- /** The three-level (fully qualified) name of the model version */
299
- fullNameArg?: string | undefined;
300
- /** The integer version number of the model version */
301
- versionArg?: bigint | undefined;
302
- /** The name of the parent registered model of the model version, relative to parent schema */
303
- modelName?: string | undefined;
304
- /** The name of the catalog containing the model version */
305
- catalogName?: string | undefined;
306
- /** The name of the schema containing the model version, relative to parent catalog */
307
- schemaName?: string | undefined;
308
- /** URI indicating the location of the source artifacts (files) for the model version */
309
- source?: string | undefined;
310
- /** The comment attached to the model version */
311
- comment?: string | undefined;
312
- /**
313
- * MLflow run ID used when creating the model version, if ``source`` was generated by an
314
- * experiment run stored in an MLflow tracking server
315
- */
316
- runId?: string | undefined;
317
- /**
318
- * ID of the <Databricks> workspace containing the MLflow run that generated this model
319
- * version, if applicable
320
- */
321
- runWorkspaceId?: bigint | undefined;
322
- /** Model version dependencies, for feature-store packaged models */
323
- modelVersionDependencies?: DependencyList | undefined;
324
- /**
325
- * Current status of the model version. Newly created model versions start in
326
- * PENDING_REGISTRATION status, then move to READY status once the model version files are uploaded and
327
- * the model version is finalized. Only model versions in READY status can be loaded for inference or
328
- * served.
329
- */
330
- status?: ModelVersionStatus | undefined;
331
- /** Integer model version number, used to reference the model version in API requests. */
332
- version?: bigint | undefined;
333
- /** The storage location on the cloud under which model version data files are stored */
334
- storageLocation?: string | undefined;
335
- /** The unique identifier of the metastore containing the model version */
336
- metastoreId?: string | undefined;
337
- createdAt?: bigint | undefined;
338
- /** The identifier of the user who created the model version */
339
- createdBy?: string | undefined;
340
- updatedAt?: bigint | undefined;
341
- /** The identifier of the user who updated the model version last time */
342
- updatedBy?: string | undefined;
343
- /** The unique identifier of the model version */
344
- id?: string | undefined;
345
- /** List of aliases associated with the model version */
346
- aliases?: RegisteredModelAliasInfo[] | undefined;
293
+ interface UpdateModelVersionRequest {
294
+ /** The three-level (fully qualified) name of the model version */
295
+ fullNameArg?: string | undefined;
296
+ /** The integer version number of the model version */
297
+ versionArg?: bigint | undefined;
298
+ /** The name of the parent registered model of the model version, relative to parent schema */
299
+ modelName?: string | undefined;
300
+ /** The name of the catalog containing the model version */
301
+ catalogName?: string | undefined;
302
+ /** The name of the schema containing the model version, relative to parent catalog */
303
+ schemaName?: string | undefined;
304
+ /** URI indicating the location of the source artifacts (files) for the model version */
305
+ source?: string | undefined;
306
+ /** The comment attached to the model version */
307
+ comment?: string | undefined;
308
+ /**
309
+ * MLflow run ID used when creating the model version, if ``source`` was generated by an
310
+ * experiment run stored in an MLflow tracking server
311
+ */
312
+ runId?: string | undefined;
313
+ /**
314
+ * ID of the <Databricks> workspace containing the MLflow run that generated this model
315
+ * version, if applicable
316
+ */
317
+ runWorkspaceId?: bigint | undefined;
318
+ /** Model version dependencies, for feature-store packaged models */
319
+ modelVersionDependencies?: DependencyList | undefined;
320
+ /**
321
+ * Current status of the model version. Newly created model versions start in
322
+ * PENDING_REGISTRATION status, then move to READY status once the model version files are uploaded and
323
+ * the model version is finalized. Only model versions in READY status can be loaded for inference or
324
+ * served.
325
+ */
326
+ status?: ModelVersionStatus | undefined;
327
+ /** Integer model version number, used to reference the model version in API requests. */
328
+ version?: bigint | undefined;
329
+ /** The storage location on the cloud under which model version data files are stored */
330
+ storageLocation?: string | undefined;
331
+ /** The unique identifier of the metastore containing the model version */
332
+ metastoreId?: string | undefined;
333
+ createdAt?: bigint | undefined;
334
+ /** The identifier of the user who created the model version */
335
+ createdBy?: string | undefined;
336
+ updatedAt?: bigint | undefined;
337
+ /** The identifier of the user who updated the model version last time */
338
+ updatedBy?: string | undefined;
339
+ /** The unique identifier of the model version */
340
+ id?: string | undefined;
341
+ /** List of aliases associated with the model version */
342
+ aliases?: RegisteredModelAliasInfo[] | undefined;
347
343
  }
348
- export interface UpdateRegisteredModelRequest {
349
- /** The three-level (fully qualified) name of the registered model */
350
- fullNameArg?: string | undefined;
351
- /** New name for the registered model. */
352
- newName?: string | undefined;
353
- /** The name of the registered model */
354
- name?: string | undefined;
355
- /** The name of the catalog where the schema and the registered model reside */
356
- catalogName?: string | undefined;
357
- /** The name of the schema where the registered model resides */
358
- schemaName?: string | undefined;
359
- /** The identifier of the user who owns the registered model */
360
- owner?: string | undefined;
361
- /** The comment attached to the registered model */
362
- comment?: string | undefined;
363
- /** The storage location on the cloud under which model version data files are stored */
364
- storageLocation?: string | undefined;
365
- /** The unique identifier of the metastore */
366
- metastoreId?: string | undefined;
367
- /** The three-level (fully qualified) name of the registered model */
368
- fullName?: string | undefined;
369
- /** Creation timestamp of the registered model in milliseconds since the Unix epoch */
370
- createdAt?: bigint | undefined;
371
- /** The identifier of the user who created the registered model */
372
- createdBy?: string | undefined;
373
- /** Last-update timestamp of the registered model in milliseconds since the Unix epoch */
374
- updatedAt?: bigint | undefined;
375
- /** The identifier of the user who updated the registered model last time */
376
- updatedBy?: string | undefined;
377
- /** List of aliases associated with the registered model */
378
- aliases?: RegisteredModelAliasInfo[] | undefined;
379
- /** Indicates whether the principal is limited to retrieving metadata for the associated object through the BROWSE privilege when include_browse is enabled in the request. */
380
- browseOnly?: boolean | undefined;
344
+ interface UpdateRegisteredModelRequest {
345
+ /** The three-level (fully qualified) name of the registered model */
346
+ fullNameArg?: string | undefined;
347
+ /** New name for the registered model. */
348
+ newName?: string | undefined;
349
+ /** The name of the registered model */
350
+ name?: string | undefined;
351
+ /** The name of the catalog where the schema and the registered model reside */
352
+ catalogName?: string | undefined;
353
+ /** The name of the schema where the registered model resides */
354
+ schemaName?: string | undefined;
355
+ /** The identifier of the user who owns the registered model */
356
+ owner?: string | undefined;
357
+ /** The comment attached to the registered model */
358
+ comment?: string | undefined;
359
+ /** The storage location on the cloud under which model version data files are stored */
360
+ storageLocation?: string | undefined;
361
+ /** The unique identifier of the metastore */
362
+ metastoreId?: string | undefined;
363
+ /** The three-level (fully qualified) name of the registered model */
364
+ fullName?: string | undefined;
365
+ /** Creation timestamp of the registered model in milliseconds since the Unix epoch */
366
+ createdAt?: bigint | undefined;
367
+ /** The identifier of the user who created the registered model */
368
+ createdBy?: string | undefined;
369
+ /** Last-update timestamp of the registered model in milliseconds since the Unix epoch */
370
+ updatedAt?: bigint | undefined;
371
+ /** The identifier of the user who updated the registered model last time */
372
+ updatedBy?: string | undefined;
373
+ /** List of aliases associated with the registered model */
374
+ aliases?: RegisteredModelAliasInfo[] | undefined;
375
+ /** Indicates whether the principal is limited to retrieving metadata for the associated object through the BROWSE privilege when include_browse is enabled in the request. */
376
+ browseOnly?: boolean | undefined;
381
377
  }
382
- export declare const unmarshalConnectionDependencySchema: z.ZodType<ConnectionDependency>;
383
- export declare const unmarshalCredentialDependencySchema: z.ZodType<CredentialDependency>;
384
- export declare const unmarshalDeleteModelVersionResponseSchema: z.ZodType<DeleteModelVersionResponse>;
385
- export declare const unmarshalDeleteRegisteredModelAliasResponseSchema: z.ZodType<DeleteRegisteredModelAliasResponse>;
386
- export declare const unmarshalDeleteRegisteredModelResponseSchema: z.ZodType<DeleteRegisteredModelResponse>;
387
- export declare const unmarshalDependencySchema: z.ZodType<Dependency>;
388
- export declare const unmarshalDependencyListSchema: z.ZodType<DependencyList>;
389
- export declare const unmarshalFunctionDependencySchema: z.ZodType<FunctionDependency>;
390
- export declare const unmarshalListModelVersionsResponseSchema: z.ZodType<ListModelVersionsResponse>;
391
- export declare const unmarshalListRegisteredModelsResponseSchema: z.ZodType<ListRegisteredModelsResponse>;
392
- export declare const unmarshalModelVersionInfoSchema: z.ZodType<ModelVersionInfo>;
393
- export declare const unmarshalRegisteredModelAliasInfoSchema: z.ZodType<RegisteredModelAliasInfo>;
394
- export declare const unmarshalRegisteredModelInfoSchema: z.ZodType<RegisteredModelInfo>;
395
- export declare const unmarshalTableDependencySchema: z.ZodType<TableDependency>;
396
- export declare const marshalConnectionDependencySchema: z.ZodType;
397
- export declare const marshalCreateRegisteredModelRequestSchema: z.ZodType;
398
- export declare const marshalCredentialDependencySchema: z.ZodType;
399
- export declare const marshalDependencySchema: z.ZodType;
400
- export declare const marshalDependencyListSchema: z.ZodType;
401
- export declare const marshalFunctionDependencySchema: z.ZodType;
402
- export declare const marshalRegisteredModelAliasInfoSchema: z.ZodType;
403
- export declare const marshalSetRegisteredModelAliasRequestSchema: z.ZodType;
404
- export declare const marshalTableDependencySchema: z.ZodType;
405
- export declare const marshalUpdateModelVersionRequestSchema: z.ZodType;
406
- export declare const marshalUpdateRegisteredModelRequestSchema: z.ZodType;
378
+ declare const unmarshalConnectionDependencySchema: z.ZodType<ConnectionDependency>;
379
+ declare const unmarshalCredentialDependencySchema: z.ZodType<CredentialDependency>;
380
+ declare const unmarshalDeleteModelVersionResponseSchema: z.ZodType<DeleteModelVersionResponse>;
381
+ declare const unmarshalDeleteRegisteredModelAliasResponseSchema: z.ZodType<DeleteRegisteredModelAliasResponse>;
382
+ declare const unmarshalDeleteRegisteredModelResponseSchema: z.ZodType<DeleteRegisteredModelResponse>;
383
+ declare const unmarshalDependencySchema: z.ZodType<Dependency>;
384
+ declare const unmarshalDependencyListSchema: z.ZodType<DependencyList>;
385
+ declare const unmarshalFunctionDependencySchema: z.ZodType<FunctionDependency>;
386
+ declare const unmarshalListModelVersionsResponseSchema: z.ZodType<ListModelVersionsResponse>;
387
+ declare const unmarshalListRegisteredModelsResponseSchema: z.ZodType<ListRegisteredModelsResponse>;
388
+ declare const unmarshalModelVersionInfoSchema: z.ZodType<ModelVersionInfo>;
389
+ declare const unmarshalRegisteredModelAliasInfoSchema: z.ZodType<RegisteredModelAliasInfo>;
390
+ declare const unmarshalRegisteredModelInfoSchema: z.ZodType<RegisteredModelInfo>;
391
+ declare const unmarshalTableDependencySchema: z.ZodType<TableDependency>;
392
+ declare const marshalConnectionDependencySchema: z.ZodType;
393
+ declare const marshalCreateRegisteredModelRequestSchema: z.ZodType;
394
+ declare const marshalCredentialDependencySchema: z.ZodType;
395
+ declare const marshalDependencySchema: z.ZodType;
396
+ declare const marshalDependencyListSchema: z.ZodType;
397
+ declare const marshalFunctionDependencySchema: z.ZodType;
398
+ declare const marshalRegisteredModelAliasInfoSchema: z.ZodType;
399
+ declare const marshalSetRegisteredModelAliasRequestSchema: z.ZodType;
400
+ declare const marshalTableDependencySchema: z.ZodType;
401
+ declare const marshalUpdateModelVersionRequestSchema: z.ZodType;
402
+ declare const marshalUpdateRegisteredModelRequestSchema: z.ZodType;
403
+ //#endregion
404
+ export { ConnectionDependency, CreateRegisteredModelRequest, CredentialDependency, DeleteModelVersionRequest, DeleteModelVersionResponse, DeleteRegisteredModelAliasRequest, DeleteRegisteredModelAliasResponse, DeleteRegisteredModelRequest, DeleteRegisteredModelResponse, Dependency, DependencyList, FunctionDependency, GetModelVersionByAliasRequest, GetModelVersionRequest, GetRegisteredModelRequest, ListModelVersionsRequest, ListModelVersionsResponse, ListRegisteredModelsRequest, ListRegisteredModelsResponse, ModelVersionInfo, ModelVersionStatus, RegisteredModelAliasInfo, RegisteredModelInfo, SetRegisteredModelAliasRequest, TableDependency, UpdateModelVersionRequest, UpdateRegisteredModelRequest, marshalConnectionDependencySchema, marshalCreateRegisteredModelRequestSchema, marshalCredentialDependencySchema, marshalDependencyListSchema, marshalDependencySchema, marshalFunctionDependencySchema, marshalRegisteredModelAliasInfoSchema, marshalSetRegisteredModelAliasRequestSchema, marshalTableDependencySchema, marshalUpdateModelVersionRequestSchema, marshalUpdateRegisteredModelRequestSchema, unmarshalConnectionDependencySchema, unmarshalCredentialDependencySchema, unmarshalDeleteModelVersionResponseSchema, unmarshalDeleteRegisteredModelAliasResponseSchema, unmarshalDeleteRegisteredModelResponseSchema, unmarshalDependencyListSchema, unmarshalDependencySchema, unmarshalFunctionDependencySchema, unmarshalListModelVersionsResponseSchema, unmarshalListRegisteredModelsResponseSchema, unmarshalModelVersionInfoSchema, unmarshalRegisteredModelAliasInfoSchema, unmarshalRegisteredModelInfoSchema, unmarshalTableDependencySchema };
407
405
  //# sourceMappingURL=model.d.ts.map