@databricks/sdk-postgres 0.1.0-dev.4 → 0.1.0-dev.6
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/README.md +28 -0
- package/dist/v1/client.d.ts +46 -46
- package/dist/v1/client.d.ts.map +1 -1
- package/dist/v1/client.js +312 -279
- package/dist/v1/client.js.map +1 -1
- package/dist/v1/index.d.ts +1 -1
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/index.js.map +1 -1
- package/dist/v1/model.d.ts +185 -167
- package/dist/v1/model.d.ts.map +1 -1
- package/dist/v1/model.js +238 -219
- package/dist/v1/model.js.map +1 -1
- package/dist/v1/transport.d.ts +30 -2
- package/dist/v1/transport.d.ts.map +1 -1
- package/dist/v1/transport.js +33 -16
- package/dist/v1/transport.js.map +1 -1
- package/dist/v1/utils.d.ts.map +1 -1
- package/dist/v1/utils.js +2 -1
- package/dist/v1/utils.js.map +1 -1
- package/package.json +9 -5
- package/src/v1/client.ts +0 -3277
- package/src/v1/index.ts +0 -140
- package/src/v1/model.ts +0 -3929
- package/src/v1/transport.ts +0 -73
- package/src/v1/utils.ts +0 -180
package/dist/v1/model.d.ts
CHANGED
|
@@ -2,14 +2,15 @@ import { Temporal } from '@js-temporal/polyfill';
|
|
|
2
2
|
import { FieldMask } from '@databricks/sdk-core/wkt';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
/** The compute endpoint type. Either `read_write` or `read_only`. */
|
|
5
|
-
export declare
|
|
5
|
+
export declare const EndpointType: {
|
|
6
6
|
/** Default value, not used */
|
|
7
|
-
ENDPOINT_TYPE_UNSPECIFIED
|
|
8
|
-
ENDPOINT_TYPE_READ_WRITE
|
|
9
|
-
ENDPOINT_TYPE_READ_ONLY
|
|
10
|
-
}
|
|
7
|
+
readonly ENDPOINT_TYPE_UNSPECIFIED: "ENDPOINT_TYPE_UNSPECIFIED";
|
|
8
|
+
readonly ENDPOINT_TYPE_READ_WRITE: "ENDPOINT_TYPE_READ_WRITE";
|
|
9
|
+
readonly ENDPOINT_TYPE_READ_ONLY: "ENDPOINT_TYPE_READ_ONLY";
|
|
10
|
+
};
|
|
11
|
+
export type EndpointType = (typeof EndpointType)[keyof typeof EndpointType] | (string & {});
|
|
11
12
|
/** Error codes returned by Databricks APIs to indicate specific failure conditions. */
|
|
12
|
-
export declare
|
|
13
|
+
export declare const ErrorCode: {
|
|
13
14
|
/**
|
|
14
15
|
* Unknown error. This error generally should not be returned explicitly, but will be used
|
|
15
16
|
* as a fallback if the error enum is missing from the message for some reason.
|
|
@@ -22,7 +23,7 @@ export declare enum ErrorCode {
|
|
|
22
23
|
* - google.rpc.Code: UNKNOWN = 2;
|
|
23
24
|
* - HTTP code: 500 Internal Server Error
|
|
24
25
|
*/
|
|
25
|
-
UNKNOWN
|
|
26
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
26
27
|
/**
|
|
27
28
|
* Internal error. This means that some invariants expected by the underlying system have been
|
|
28
29
|
* broken. This error code is reserved for serious errors, which generally cannot be resolved
|
|
@@ -35,7 +36,7 @@ export declare enum ErrorCode {
|
|
|
35
36
|
* - google.rpc.Code: INTERNAL = 13;
|
|
36
37
|
* - HTTP code: 500 Internal Server Error
|
|
37
38
|
*/
|
|
38
|
-
INTERNAL_ERROR
|
|
39
|
+
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
39
40
|
/**
|
|
40
41
|
* The service is currently unavailable. This is most likely a transient condition, which can be
|
|
41
42
|
* corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent
|
|
@@ -50,13 +51,13 @@ export declare enum ErrorCode {
|
|
|
50
51
|
* - google.rpc.Code: UNAVAILABLE = 14;
|
|
51
52
|
* - HTTP code: 503 Service Unavailable
|
|
52
53
|
*/
|
|
53
|
-
TEMPORARILY_UNAVAILABLE
|
|
54
|
+
readonly TEMPORARILY_UNAVAILABLE: "TEMPORARILY_UNAVAILABLE";
|
|
54
55
|
/**
|
|
55
56
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
56
57
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
57
58
|
* Indicates that an IOException has been internally thrown.
|
|
58
59
|
*/
|
|
59
|
-
IO_ERROR
|
|
60
|
+
readonly IO_ERROR: "IO_ERROR";
|
|
60
61
|
/**
|
|
61
62
|
* The request is invalid. Prefer more specific error code whenever possible.
|
|
62
63
|
* Also see similar recommendation for the google.rpc.Code.FAILED_PRECONDITION.
|
|
@@ -67,14 +68,14 @@ export declare enum ErrorCode {
|
|
|
67
68
|
* - google.rpc.Code: FAILED_PRECONDITION = 9;
|
|
68
69
|
* - HTTP code: 400 Bad Request
|
|
69
70
|
*/
|
|
70
|
-
BAD_REQUEST
|
|
71
|
+
readonly BAD_REQUEST: "BAD_REQUEST";
|
|
71
72
|
/**
|
|
72
73
|
* An external service is unavailable temporarily as it is being updated/re-deployed. Indicates
|
|
73
74
|
* gateway proxy to safely retry the request.
|
|
74
75
|
*/
|
|
75
|
-
SERVICE_UNDER_MAINTENANCE
|
|
76
|
+
readonly SERVICE_UNDER_MAINTENANCE: "SERVICE_UNDER_MAINTENANCE";
|
|
76
77
|
/** A workspace is temporarily unavailable as the workspace is being re-assigned. */
|
|
77
|
-
WORKSPACE_TEMPORARILY_UNAVAILABLE
|
|
78
|
+
readonly WORKSPACE_TEMPORARILY_UNAVAILABLE: "WORKSPACE_TEMPORARILY_UNAVAILABLE";
|
|
78
79
|
/**
|
|
79
80
|
* The deadline expired before the operation could complete. For operations that change the state
|
|
80
81
|
* of the system, this error may be returned even if the operation has completed successfully.
|
|
@@ -87,7 +88,7 @@ export declare enum ErrorCode {
|
|
|
87
88
|
* - google.rpc.Code: DEADLINE_EXCEEDED = 4;
|
|
88
89
|
* - HTTP code: 504 Gateway Timeout
|
|
89
90
|
*/
|
|
90
|
-
DEADLINE_EXCEEDED
|
|
91
|
+
readonly DEADLINE_EXCEEDED: "DEADLINE_EXCEEDED";
|
|
91
92
|
/**
|
|
92
93
|
* The operation was canceled by the caller. An example - client closed the connection without
|
|
93
94
|
* waiting for a response.
|
|
@@ -96,7 +97,7 @@ export declare enum ErrorCode {
|
|
|
96
97
|
* - google.rpc.Code: CANCELLED = 1;
|
|
97
98
|
* - HTTP code: 499 Client Closed Request
|
|
98
99
|
*/
|
|
99
|
-
CANCELLED
|
|
100
|
+
readonly CANCELLED: "CANCELLED";
|
|
100
101
|
/**
|
|
101
102
|
* The operation is rejected because of either rate limiting or resource quota,
|
|
102
103
|
* such as the client has sent too many requests recently or the client has allocated too many
|
|
@@ -109,7 +110,7 @@ export declare enum ErrorCode {
|
|
|
109
110
|
* - google.rpc.Code: RESOURCE_EXHAUSTED = 8;
|
|
110
111
|
* - HTTP code: 429 Too Many Requests
|
|
111
112
|
*/
|
|
112
|
-
RESOURCE_EXHAUSTED
|
|
113
|
+
readonly RESOURCE_EXHAUSTED: "RESOURCE_EXHAUSTED";
|
|
113
114
|
/**
|
|
114
115
|
* The operation was aborted, typically due to a concurrency issue such as a sequencer
|
|
115
116
|
* check failure, transaction abort, or transaction conflict.
|
|
@@ -118,7 +119,7 @@ export declare enum ErrorCode {
|
|
|
118
119
|
* - google.rpc.Code: ABORTED = 10;
|
|
119
120
|
* - HTTP code: 409 Conflict
|
|
120
121
|
*/
|
|
121
|
-
ABORTED
|
|
122
|
+
readonly ABORTED: "ABORTED";
|
|
122
123
|
/**
|
|
123
124
|
* Operation was performed on a resource that does not exist,
|
|
124
125
|
* e.g. file or directory was not found.
|
|
@@ -127,7 +128,7 @@ export declare enum ErrorCode {
|
|
|
127
128
|
* - google.rpc.Code: NOT_FOUND = 5;
|
|
128
129
|
* - HTTP code: 404 Not Found
|
|
129
130
|
*/
|
|
130
|
-
NOT_FOUND
|
|
131
|
+
readonly NOT_FOUND: "NOT_FOUND";
|
|
131
132
|
/**
|
|
132
133
|
* Operation was rejected due a conflict with an existing resource, e.g. attempted to create
|
|
133
134
|
* file or directory that already exists.
|
|
@@ -138,7 +139,7 @@ export declare enum ErrorCode {
|
|
|
138
139
|
* - google.rpc.Code: ALREADY_EXISTS = 6;
|
|
139
140
|
* - HTTP code: 409 Conflict
|
|
140
141
|
*/
|
|
141
|
-
ALREADY_EXISTS
|
|
142
|
+
readonly ALREADY_EXISTS: "ALREADY_EXISTS";
|
|
142
143
|
/**
|
|
143
144
|
* The request does not have valid authentication (AuthN) credentials for the operation.
|
|
144
145
|
*
|
|
@@ -150,7 +151,7 @@ export declare enum ErrorCode {
|
|
|
150
151
|
* - google.rpc.Code: UNAUTHENTICATED = 16;
|
|
151
152
|
* - HTTP code: 401 Unauthorized
|
|
152
153
|
*/
|
|
153
|
-
UNAUTHENTICATED
|
|
154
|
+
readonly UNAUTHENTICATED: "UNAUTHENTICATED";
|
|
154
155
|
/**
|
|
155
156
|
* The service is currently unavailable. Please note that the unavailability may or may not be transient.
|
|
156
157
|
* That means if this is a non-transient condition, retrying it does not work. If the unavailability
|
|
@@ -165,7 +166,7 @@ export declare enum ErrorCode {
|
|
|
165
166
|
* - google.rpc.Code: UNAVAILABLE = 14;
|
|
166
167
|
* - HTTP code: 503 Service Unavailable
|
|
167
168
|
*/
|
|
168
|
-
UNAVAILABLE
|
|
169
|
+
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
169
170
|
/**
|
|
170
171
|
* Supplied value for a parameter was invalid (e.g., giving a number for a string parameter).
|
|
171
172
|
*
|
|
@@ -173,7 +174,7 @@ export declare enum ErrorCode {
|
|
|
173
174
|
* - google.rpc.Code: INVALID_ARGUMENT = 3;
|
|
174
175
|
* - HTTP code: 400 Bad Request
|
|
175
176
|
*/
|
|
176
|
-
INVALID_PARAMETER_VALUE
|
|
177
|
+
readonly INVALID_PARAMETER_VALUE: "INVALID_PARAMETER_VALUE";
|
|
177
178
|
/**
|
|
178
179
|
* Indicates that the given API endpoint does not exist. Legacy, when possible - NOT_IMPLEMENTED
|
|
179
180
|
* should be used instead to indicate that API doesn't exist.
|
|
@@ -182,15 +183,15 @@ export declare enum ErrorCode {
|
|
|
182
183
|
* - google.rpc.Code: NOT_FOUND = 5;
|
|
183
184
|
* - HTTP code: 404 Not Found
|
|
184
185
|
*/
|
|
185
|
-
ENDPOINT_NOT_FOUND
|
|
186
|
+
readonly ENDPOINT_NOT_FOUND: "ENDPOINT_NOT_FOUND";
|
|
186
187
|
/** Indicates that the given API request was malformed. */
|
|
187
|
-
MALFORMED_REQUEST
|
|
188
|
+
readonly MALFORMED_REQUEST: "MALFORMED_REQUEST";
|
|
188
189
|
/**
|
|
189
190
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
190
191
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
191
192
|
* If one or more of the inputs to a given RPC are not in a valid state for the action.
|
|
192
193
|
*/
|
|
193
|
-
INVALID_STATE
|
|
194
|
+
readonly INVALID_STATE: "INVALID_STATE";
|
|
194
195
|
/**
|
|
195
196
|
* The caller does not have permission to execute the specified operation.
|
|
196
197
|
* PERMISSION_DENIED must not be used for rejections caused by exhausting some resource,
|
|
@@ -204,7 +205,7 @@ export declare enum ErrorCode {
|
|
|
204
205
|
* - google.rpc.Code: PERMISSION_DENIED = 7;
|
|
205
206
|
* - HTTP code: 403 Forbidden
|
|
206
207
|
*/
|
|
207
|
-
PERMISSION_DENIED
|
|
208
|
+
readonly PERMISSION_DENIED: "PERMISSION_DENIED";
|
|
208
209
|
/**
|
|
209
210
|
* NOTE: Deprecated due to inconsistent mapping in legacy code, see
|
|
210
211
|
* https://docs.google.com/document/d/17TZIKX_Y39cJMBr333lc-d5dTvvBLSu3DPUyGU5eMJg/edit?disco=AAAAzVGt6FA.
|
|
@@ -216,7 +217,7 @@ export declare enum ErrorCode {
|
|
|
216
217
|
* - google.rpc.Code: NOT_FOUND = 5;
|
|
217
218
|
* - HTTP code: 404 Not Found
|
|
218
219
|
*/
|
|
219
|
-
FEATURE_DISABLED
|
|
220
|
+
readonly FEATURE_DISABLED: "FEATURE_DISABLED";
|
|
220
221
|
/**
|
|
221
222
|
* The request does not have valid authentication (AuthN) credentials for the operation.
|
|
222
223
|
*
|
|
@@ -237,7 +238,7 @@ export declare enum ErrorCode {
|
|
|
237
238
|
* - google.rpc.Code: UNAUTHENTICATED = 16;
|
|
238
239
|
* - HTTP code: 401 Unauthorized
|
|
239
240
|
*/
|
|
240
|
-
CUSTOMER_UNAUTHORIZED
|
|
241
|
+
readonly CUSTOMER_UNAUTHORIZED: "CUSTOMER_UNAUTHORIZED";
|
|
241
242
|
/**
|
|
242
243
|
* The operation is rejected because of request rate limit, for example rate limiting applied to
|
|
243
244
|
* users, workspaces, IP addresses, etc.
|
|
@@ -251,16 +252,16 @@ export declare enum ErrorCode {
|
|
|
251
252
|
* - google.rpc.Code: RESOURCE_EXHAUSTED = 8;
|
|
252
253
|
* - HTTP code: 429 Too Many Requests
|
|
253
254
|
*/
|
|
254
|
-
REQUEST_LIMIT_EXCEEDED
|
|
255
|
+
readonly REQUEST_LIMIT_EXCEEDED: "REQUEST_LIMIT_EXCEEDED";
|
|
255
256
|
/** Indicates API request was rejected due a conflict with an existing resource. */
|
|
256
|
-
RESOURCE_CONFLICT
|
|
257
|
+
readonly RESOURCE_CONFLICT: "RESOURCE_CONFLICT";
|
|
257
258
|
/**
|
|
258
259
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
259
260
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
260
261
|
* Indicates that the HTTP response cannot be correctly deserialized.
|
|
261
262
|
* This currently is only used in DUST test clients, and not by any real service code.
|
|
262
263
|
*/
|
|
263
|
-
UNPARSEABLE_HTTP_ERROR
|
|
264
|
+
readonly UNPARSEABLE_HTTP_ERROR: "UNPARSEABLE_HTTP_ERROR";
|
|
264
265
|
/**
|
|
265
266
|
* The operation is not implemented or is not supported/enabled in this service.
|
|
266
267
|
*
|
|
@@ -268,7 +269,7 @@ export declare enum ErrorCode {
|
|
|
268
269
|
* - google.rpc.Code: UNIMPLEMENTED = 12;
|
|
269
270
|
* - HTTP code: 501 Not Implemented
|
|
270
271
|
*/
|
|
271
|
-
NOT_IMPLEMENTED
|
|
272
|
+
readonly NOT_IMPLEMENTED: "NOT_IMPLEMENTED";
|
|
272
273
|
/**
|
|
273
274
|
* Unrecoverable data loss or corruption.
|
|
274
275
|
*
|
|
@@ -283,15 +284,15 @@ export declare enum ErrorCode {
|
|
|
283
284
|
* - google.rpc.Code: DATA_LOSS = 15;
|
|
284
285
|
* - HTTP code: 500 Internal Server Error
|
|
285
286
|
*/
|
|
286
|
-
DATA_LOSS
|
|
287
|
+
readonly DATA_LOSS: "DATA_LOSS";
|
|
287
288
|
/** If the user attempts to perform an invalid state transition on a shard. */
|
|
288
|
-
INVALID_STATE_TRANSITION
|
|
289
|
+
readonly INVALID_STATE_TRANSITION: "INVALID_STATE_TRANSITION";
|
|
289
290
|
/**
|
|
290
291
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
291
292
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
292
293
|
* Unable to perform the operation because the shard was locked by some other operation.
|
|
293
294
|
*/
|
|
294
|
-
COULD_NOT_ACQUIRE_LOCK
|
|
295
|
+
readonly COULD_NOT_ACQUIRE_LOCK: "COULD_NOT_ACQUIRE_LOCK";
|
|
295
296
|
/**
|
|
296
297
|
* NOTE: Deprecated, prefer using ALREADY_EXISTS.
|
|
297
298
|
* Unlike ALREADY_EXISTS - this maps to HTTP code 400 Bad Request due to legacy reasons,
|
|
@@ -299,7 +300,7 @@ export declare enum ErrorCode {
|
|
|
299
300
|
*
|
|
300
301
|
* Operation was performed on a resource that already exists.
|
|
301
302
|
*/
|
|
302
|
-
RESOURCE_ALREADY_EXISTS
|
|
303
|
+
readonly RESOURCE_ALREADY_EXISTS: "RESOURCE_ALREADY_EXISTS";
|
|
303
304
|
/**
|
|
304
305
|
* NOTE: Deprecated, prefer using NOT_FOUND - see the note for the RESOURCE_ALREADY_EXISTS,
|
|
305
306
|
* because this pair of codes is related and RESOURCE_ALREADY_EXISTS has bad mapping to the HTTP
|
|
@@ -307,360 +308,371 @@ export declare enum ErrorCode {
|
|
|
307
308
|
*
|
|
308
309
|
* Operation was performed on a resource that does not exist.
|
|
309
310
|
*/
|
|
310
|
-
RESOURCE_DOES_NOT_EXIST
|
|
311
|
+
readonly RESOURCE_DOES_NOT_EXIST: "RESOURCE_DOES_NOT_EXIST";
|
|
311
312
|
/**
|
|
312
313
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
313
314
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
314
315
|
*/
|
|
315
|
-
QUOTA_EXCEEDED
|
|
316
|
+
readonly QUOTA_EXCEEDED: "QUOTA_EXCEEDED";
|
|
316
317
|
/**
|
|
317
318
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
318
319
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
319
320
|
*/
|
|
320
|
-
MAX_BLOCK_SIZE_EXCEEDED
|
|
321
|
+
readonly MAX_BLOCK_SIZE_EXCEEDED: "MAX_BLOCK_SIZE_EXCEEDED";
|
|
321
322
|
/**
|
|
322
323
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
323
324
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
324
325
|
*/
|
|
325
|
-
MAX_READ_SIZE_EXCEEDED
|
|
326
|
-
PARTIAL_DELETE
|
|
327
|
-
MAX_LIST_SIZE_EXCEEDED
|
|
326
|
+
readonly MAX_READ_SIZE_EXCEEDED: "MAX_READ_SIZE_EXCEEDED";
|
|
327
|
+
readonly PARTIAL_DELETE: "PARTIAL_DELETE";
|
|
328
|
+
readonly MAX_LIST_SIZE_EXCEEDED: "MAX_LIST_SIZE_EXCEEDED";
|
|
328
329
|
/**
|
|
329
330
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
330
331
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
331
332
|
*/
|
|
332
|
-
DRY_RUN_FAILED
|
|
333
|
+
readonly DRY_RUN_FAILED: "DRY_RUN_FAILED";
|
|
333
334
|
/**
|
|
334
335
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
335
336
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
336
337
|
* Cluster request was rejected because it would exceed a resource limit.
|
|
337
338
|
*/
|
|
338
|
-
RESOURCE_LIMIT_EXCEEDED
|
|
339
|
+
readonly RESOURCE_LIMIT_EXCEEDED: "RESOURCE_LIMIT_EXCEEDED";
|
|
339
340
|
/**
|
|
340
341
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
341
342
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
342
343
|
*/
|
|
343
|
-
DIRECTORY_NOT_EMPTY
|
|
344
|
+
readonly DIRECTORY_NOT_EMPTY: "DIRECTORY_NOT_EMPTY";
|
|
344
345
|
/**
|
|
345
346
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
346
347
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
347
348
|
*/
|
|
348
|
-
DIRECTORY_PROTECTED
|
|
349
|
+
readonly DIRECTORY_PROTECTED: "DIRECTORY_PROTECTED";
|
|
349
350
|
/**
|
|
350
351
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
351
352
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
352
353
|
*/
|
|
353
|
-
MAX_NOTEBOOK_SIZE_EXCEEDED
|
|
354
|
-
MAX_CHILD_NODE_SIZE_EXCEEDED
|
|
354
|
+
readonly MAX_NOTEBOOK_SIZE_EXCEEDED: "MAX_NOTEBOOK_SIZE_EXCEEDED";
|
|
355
|
+
readonly MAX_CHILD_NODE_SIZE_EXCEEDED: "MAX_CHILD_NODE_SIZE_EXCEEDED";
|
|
355
356
|
/**
|
|
356
357
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
357
358
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
358
359
|
*/
|
|
359
|
-
SEARCH_QUERY_TOO_LONG
|
|
360
|
+
readonly SEARCH_QUERY_TOO_LONG: "SEARCH_QUERY_TOO_LONG";
|
|
360
361
|
/**
|
|
361
362
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
362
363
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
363
364
|
*/
|
|
364
|
-
SEARCH_QUERY_TOO_SHORT
|
|
365
|
+
readonly SEARCH_QUERY_TOO_SHORT: "SEARCH_QUERY_TOO_SHORT";
|
|
365
366
|
/**
|
|
366
367
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
367
368
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
368
369
|
*/
|
|
369
|
-
MANAGED_RESOURCE_GROUP_DOES_NOT_EXIST
|
|
370
|
+
readonly MANAGED_RESOURCE_GROUP_DOES_NOT_EXIST: "MANAGED_RESOURCE_GROUP_DOES_NOT_EXIST";
|
|
370
371
|
/**
|
|
371
372
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
372
373
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
373
374
|
*/
|
|
374
|
-
PERMISSION_NOT_PROPAGATED
|
|
375
|
+
readonly PERMISSION_NOT_PROPAGATED: "PERMISSION_NOT_PROPAGATED";
|
|
375
376
|
/**
|
|
376
377
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
377
378
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
378
379
|
*/
|
|
379
|
-
DEPLOYMENT_TIMEOUT
|
|
380
|
+
readonly DEPLOYMENT_TIMEOUT: "DEPLOYMENT_TIMEOUT";
|
|
380
381
|
/**
|
|
381
382
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
382
383
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
383
384
|
*/
|
|
384
|
-
GIT_CONFLICT
|
|
385
|
+
readonly GIT_CONFLICT: "GIT_CONFLICT";
|
|
385
386
|
/**
|
|
386
387
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
387
388
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
388
389
|
*/
|
|
389
|
-
GIT_UNKNOWN_REF
|
|
390
|
+
readonly GIT_UNKNOWN_REF: "GIT_UNKNOWN_REF";
|
|
390
391
|
/**
|
|
391
392
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
392
393
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
393
394
|
*/
|
|
394
|
-
GIT_SENSITIVE_TOKEN_DETECTED
|
|
395
|
+
readonly GIT_SENSITIVE_TOKEN_DETECTED: "GIT_SENSITIVE_TOKEN_DETECTED";
|
|
395
396
|
/**
|
|
396
397
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
397
398
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
398
399
|
*/
|
|
399
|
-
GIT_URL_NOT_ON_ALLOW_LIST
|
|
400
|
+
readonly GIT_URL_NOT_ON_ALLOW_LIST: "GIT_URL_NOT_ON_ALLOW_LIST";
|
|
400
401
|
/**
|
|
401
402
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
402
403
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
403
404
|
*/
|
|
404
|
-
GIT_REMOTE_ERROR
|
|
405
|
+
readonly GIT_REMOTE_ERROR: "GIT_REMOTE_ERROR";
|
|
405
406
|
/**
|
|
406
407
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
407
408
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
408
409
|
*/
|
|
409
|
-
PROJECTS_OPERATION_TIMEOUT
|
|
410
|
+
readonly PROJECTS_OPERATION_TIMEOUT: "PROJECTS_OPERATION_TIMEOUT";
|
|
410
411
|
/**
|
|
411
412
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
412
413
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
413
414
|
*/
|
|
414
|
-
IPYNB_FILE_IN_REPO
|
|
415
|
+
readonly IPYNB_FILE_IN_REPO: "IPYNB_FILE_IN_REPO";
|
|
415
416
|
/**
|
|
416
417
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
417
418
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
418
419
|
*/
|
|
419
|
-
INSECURE_PARTNER_RESPONSE
|
|
420
|
+
readonly INSECURE_PARTNER_RESPONSE: "INSECURE_PARTNER_RESPONSE";
|
|
420
421
|
/**
|
|
421
422
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
422
423
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
423
424
|
*/
|
|
424
|
-
MALFORMED_PARTNER_RESPONSE
|
|
425
|
-
METASTORE_DOES_NOT_EXIST
|
|
425
|
+
readonly MALFORMED_PARTNER_RESPONSE: "MALFORMED_PARTNER_RESPONSE";
|
|
426
|
+
readonly METASTORE_DOES_NOT_EXIST: "METASTORE_DOES_NOT_EXIST";
|
|
426
427
|
/**
|
|
427
428
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
428
429
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
429
430
|
*/
|
|
430
|
-
DAC_DOES_NOT_EXIST
|
|
431
|
-
CATALOG_DOES_NOT_EXIST
|
|
432
|
-
SCHEMA_DOES_NOT_EXIST
|
|
433
|
-
TABLE_DOES_NOT_EXIST
|
|
434
|
-
SHARE_DOES_NOT_EXIST
|
|
435
|
-
RECIPIENT_DOES_NOT_EXIST
|
|
436
|
-
STORAGE_CREDENTIAL_DOES_NOT_EXIST
|
|
437
|
-
EXTERNAL_LOCATION_DOES_NOT_EXIST
|
|
438
|
-
PRINCIPAL_DOES_NOT_EXIST
|
|
439
|
-
PROVIDER_DOES_NOT_EXIST
|
|
431
|
+
readonly DAC_DOES_NOT_EXIST: "DAC_DOES_NOT_EXIST";
|
|
432
|
+
readonly CATALOG_DOES_NOT_EXIST: "CATALOG_DOES_NOT_EXIST";
|
|
433
|
+
readonly SCHEMA_DOES_NOT_EXIST: "SCHEMA_DOES_NOT_EXIST";
|
|
434
|
+
readonly TABLE_DOES_NOT_EXIST: "TABLE_DOES_NOT_EXIST";
|
|
435
|
+
readonly SHARE_DOES_NOT_EXIST: "SHARE_DOES_NOT_EXIST";
|
|
436
|
+
readonly RECIPIENT_DOES_NOT_EXIST: "RECIPIENT_DOES_NOT_EXIST";
|
|
437
|
+
readonly STORAGE_CREDENTIAL_DOES_NOT_EXIST: "STORAGE_CREDENTIAL_DOES_NOT_EXIST";
|
|
438
|
+
readonly EXTERNAL_LOCATION_DOES_NOT_EXIST: "EXTERNAL_LOCATION_DOES_NOT_EXIST";
|
|
439
|
+
readonly PRINCIPAL_DOES_NOT_EXIST: "PRINCIPAL_DOES_NOT_EXIST";
|
|
440
|
+
readonly PROVIDER_DOES_NOT_EXIST: "PROVIDER_DOES_NOT_EXIST";
|
|
440
441
|
/**
|
|
441
442
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
442
443
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
443
444
|
*/
|
|
444
|
-
METASTORE_ALREADY_EXISTS
|
|
445
|
+
readonly METASTORE_ALREADY_EXISTS: "METASTORE_ALREADY_EXISTS";
|
|
445
446
|
/**
|
|
446
447
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
447
448
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
448
449
|
*/
|
|
449
|
-
DAC_ALREADY_EXISTS
|
|
450
|
+
readonly DAC_ALREADY_EXISTS: "DAC_ALREADY_EXISTS";
|
|
450
451
|
/**
|
|
451
452
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
452
453
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
453
454
|
*/
|
|
454
|
-
CATALOG_ALREADY_EXISTS
|
|
455
|
+
readonly CATALOG_ALREADY_EXISTS: "CATALOG_ALREADY_EXISTS";
|
|
455
456
|
/**
|
|
456
457
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
457
458
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
458
459
|
*/
|
|
459
|
-
SCHEMA_ALREADY_EXISTS
|
|
460
|
+
readonly SCHEMA_ALREADY_EXISTS: "SCHEMA_ALREADY_EXISTS";
|
|
460
461
|
/**
|
|
461
462
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
462
463
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
463
464
|
*/
|
|
464
|
-
TABLE_ALREADY_EXISTS
|
|
465
|
+
readonly TABLE_ALREADY_EXISTS: "TABLE_ALREADY_EXISTS";
|
|
465
466
|
/**
|
|
466
467
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
467
468
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
468
469
|
*/
|
|
469
|
-
SHARE_ALREADY_EXISTS
|
|
470
|
+
readonly SHARE_ALREADY_EXISTS: "SHARE_ALREADY_EXISTS";
|
|
470
471
|
/**
|
|
471
472
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
472
473
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
473
474
|
*/
|
|
474
|
-
RECIPIENT_ALREADY_EXISTS
|
|
475
|
+
readonly RECIPIENT_ALREADY_EXISTS: "RECIPIENT_ALREADY_EXISTS";
|
|
475
476
|
/**
|
|
476
477
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
477
478
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
478
479
|
*/
|
|
479
|
-
STORAGE_CREDENTIAL_ALREADY_EXISTS
|
|
480
|
+
readonly STORAGE_CREDENTIAL_ALREADY_EXISTS: "STORAGE_CREDENTIAL_ALREADY_EXISTS";
|
|
480
481
|
/**
|
|
481
482
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
482
483
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
483
484
|
*/
|
|
484
|
-
EXTERNAL_LOCATION_ALREADY_EXISTS
|
|
485
|
+
readonly EXTERNAL_LOCATION_ALREADY_EXISTS: "EXTERNAL_LOCATION_ALREADY_EXISTS";
|
|
485
486
|
/**
|
|
486
487
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
487
488
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
488
489
|
*/
|
|
489
|
-
PROVIDER_ALREADY_EXISTS
|
|
490
|
+
readonly PROVIDER_ALREADY_EXISTS: "PROVIDER_ALREADY_EXISTS";
|
|
490
491
|
/**
|
|
491
492
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
492
493
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
493
494
|
*/
|
|
494
|
-
CATALOG_NOT_EMPTY
|
|
495
|
+
readonly CATALOG_NOT_EMPTY: "CATALOG_NOT_EMPTY";
|
|
495
496
|
/**
|
|
496
497
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
497
498
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
498
499
|
*/
|
|
499
|
-
SCHEMA_NOT_EMPTY
|
|
500
|
+
readonly SCHEMA_NOT_EMPTY: "SCHEMA_NOT_EMPTY";
|
|
500
501
|
/**
|
|
501
502
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
502
503
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
503
504
|
*/
|
|
504
|
-
METASTORE_NOT_EMPTY
|
|
505
|
+
readonly METASTORE_NOT_EMPTY: "METASTORE_NOT_EMPTY";
|
|
505
506
|
/**
|
|
506
507
|
* NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
|
|
507
508
|
* avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
|
|
508
509
|
*/
|
|
509
|
-
PROVIDER_SHARE_NOT_ACCESSIBLE
|
|
510
|
-
}
|
|
510
|
+
readonly PROVIDER_SHARE_NOT_ACCESSIBLE: "PROVIDER_SHARE_NOT_ACCESSIBLE";
|
|
511
|
+
};
|
|
512
|
+
export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode] | (string & {});
|
|
511
513
|
/** The current phase of the data synchronization pipeline. */
|
|
512
|
-
export declare
|
|
514
|
+
export declare const ProvisioningPhase: {
|
|
513
515
|
/** The default phase. It should not be reported by any synced tables. */
|
|
514
|
-
PROVISIONING_PHASE_UNSPECIFIED
|
|
516
|
+
readonly PROVISIONING_PHASE_UNSPECIFIED: "PROVISIONING_PHASE_UNSPECIFIED";
|
|
515
517
|
/** Ingestion phase of the synced table. This is when the synced table is ingesting data from the delta table. */
|
|
516
|
-
PROVISIONING_PHASE_MAIN
|
|
518
|
+
readonly PROVISIONING_PHASE_MAIN: "PROVISIONING_PHASE_MAIN";
|
|
517
519
|
/** Index scan phase of the synced table. This is when the synced table is creating indexes on the ingested data. */
|
|
518
|
-
PROVISIONING_PHASE_INDEX_SCAN
|
|
520
|
+
readonly PROVISIONING_PHASE_INDEX_SCAN: "PROVISIONING_PHASE_INDEX_SCAN";
|
|
519
521
|
/** Index sort phase of the synced table. This is when the synced table is creating indexes on the ingested data. */
|
|
520
|
-
PROVISIONING_PHASE_INDEX_SORT
|
|
521
|
-
}
|
|
522
|
+
readonly PROVISIONING_PHASE_INDEX_SORT: "PROVISIONING_PHASE_INDEX_SORT";
|
|
523
|
+
};
|
|
524
|
+
export type ProvisioningPhase = (typeof ProvisioningPhase)[keyof typeof ProvisioningPhase] | (string & {});
|
|
522
525
|
/** The state of a synced table. */
|
|
523
|
-
export declare
|
|
526
|
+
export declare const SyncedTableState: {
|
|
524
527
|
/** The default state. It should not be reported by any synced tables. */
|
|
525
|
-
SYNCED_TABLE_STATE_UNSPECIFIED
|
|
528
|
+
readonly SYNCED_TABLE_STATE_UNSPECIFIED: "SYNCED_TABLE_STATE_UNSPECIFIED";
|
|
526
529
|
/**
|
|
527
530
|
* The synced table has just been created and resources are being provisioned. This is also the
|
|
528
531
|
* catch-all state if there is not a more suitable state to report for the synced table.
|
|
529
532
|
*/
|
|
530
|
-
SYNCED_TABLE_PROVISIONING
|
|
533
|
+
readonly SYNCED_TABLE_PROVISIONING: "SYNCED_TABLE_PROVISIONING";
|
|
531
534
|
/** The synced table is provisioning resources for the data synchronization pipeline. */
|
|
532
|
-
SYNCED_TABLE_PROVISIONING_PIPELINE_RESOURCES
|
|
535
|
+
readonly SYNCED_TABLE_PROVISIONING_PIPELINE_RESOURCES: "SYNCED_TABLE_PROVISIONING_PIPELINE_RESOURCES";
|
|
533
536
|
/** The synced table is executing the initial data synchronization. */
|
|
534
|
-
SYNCED_TABLE_PROVISIONING_INITIAL_SNAPSHOT
|
|
537
|
+
readonly SYNCED_TABLE_PROVISIONING_INITIAL_SNAPSHOT: "SYNCED_TABLE_PROVISIONING_INITIAL_SNAPSHOT";
|
|
535
538
|
/** The synced table is ready to serve data. */
|
|
536
|
-
SYNCED_TABLE_ONLINE
|
|
539
|
+
readonly SYNCED_TABLE_ONLINE: "SYNCED_TABLE_ONLINE";
|
|
537
540
|
/**
|
|
538
541
|
* The synced table is ready to serve data and is continuously updating. Only shown for synced
|
|
539
542
|
* tables using the "Continuous" sync mode.
|
|
540
543
|
*/
|
|
541
|
-
SYNCED_TABLE_ONLINE_CONTINUOUS_UPDATE
|
|
544
|
+
readonly SYNCED_TABLE_ONLINE_CONTINUOUS_UPDATE: "SYNCED_TABLE_ONLINE_CONTINUOUS_UPDATE";
|
|
542
545
|
/**
|
|
543
546
|
* The synced table is ready to serve data and an active update is in progress. Only shown for
|
|
544
547
|
* synced tables using the "Triggered" sync mode.
|
|
545
548
|
*/
|
|
546
|
-
SYNCED_TABLE_ONLINE_TRIGGERED_UPDATE
|
|
549
|
+
readonly SYNCED_TABLE_ONLINE_TRIGGERED_UPDATE: "SYNCED_TABLE_ONLINE_TRIGGERED_UPDATE";
|
|
547
550
|
/**
|
|
548
551
|
* The synced table is ready to serve data and there are no active updates. Only shown for synced
|
|
549
552
|
* tables using the "Triggered" sync mode.
|
|
550
553
|
*/
|
|
551
|
-
SYNCED_TABLE_ONLINE_NO_PENDING_UPDATE
|
|
554
|
+
readonly SYNCED_TABLE_ONLINE_NO_PENDING_UPDATE: "SYNCED_TABLE_ONLINE_NO_PENDING_UPDATE";
|
|
552
555
|
/** The synced table has encountered an internal error and is not available for serving. */
|
|
553
|
-
SYNCED_TABLE_OFFLINE
|
|
556
|
+
readonly SYNCED_TABLE_OFFLINE: "SYNCED_TABLE_OFFLINE";
|
|
554
557
|
/**
|
|
555
558
|
* The synced table is not available for serving because the data synchronization pipeline has
|
|
556
559
|
* failed. Please review the pipeline event logs to troubleshoot.
|
|
557
560
|
*/
|
|
558
|
-
SYNCED_TABLE_OFFLINE_FAILED
|
|
561
|
+
readonly SYNCED_TABLE_OFFLINE_FAILED: "SYNCED_TABLE_OFFLINE_FAILED";
|
|
559
562
|
/**
|
|
560
563
|
* The data synchronization pipeline has encountered an error but the synced table is still
|
|
561
564
|
* available for serving (potentially stale) data. Please review the pipeline event logs to
|
|
562
565
|
* troubleshoot.
|
|
563
566
|
*/
|
|
564
|
-
SYNCED_TABLE_ONLINE_PIPELINE_FAILED
|
|
567
|
+
readonly SYNCED_TABLE_ONLINE_PIPELINE_FAILED: "SYNCED_TABLE_ONLINE_PIPELINE_FAILED";
|
|
565
568
|
/**
|
|
566
569
|
* The synced table is available for serving, and is provisioning resources for a newly started
|
|
567
570
|
* data synchronization pipeline.
|
|
568
571
|
*/
|
|
569
|
-
SYNCED_TABLE_ONLINE_UPDATING_PIPELINE_RESOURCES
|
|
570
|
-
}
|
|
572
|
+
readonly SYNCED_TABLE_ONLINE_UPDATING_PIPELINE_RESOURCES: "SYNCED_TABLE_ONLINE_UPDATING_PIPELINE_RESOURCES";
|
|
573
|
+
};
|
|
574
|
+
export type SyncedTableState = (typeof SyncedTableState)[keyof typeof SyncedTableState] | (string & {});
|
|
571
575
|
/** The state of the branch. */
|
|
572
|
-
export declare
|
|
576
|
+
export declare const BranchStatus_State: {
|
|
573
577
|
/** Default value, not used. */
|
|
574
|
-
STATE_UNSPECIFIED
|
|
578
|
+
readonly STATE_UNSPECIFIED: "STATE_UNSPECIFIED";
|
|
575
579
|
/** The branch is being created but is not yet available for querying. */
|
|
576
|
-
INIT
|
|
580
|
+
readonly INIT: "INIT";
|
|
577
581
|
/** The branch is being imported and is not yet available for querying. */
|
|
578
|
-
IMPORTING
|
|
582
|
+
readonly IMPORTING: "IMPORTING";
|
|
579
583
|
/** The branch is being reset to a specific point in time or LSN and is not yet available for querying. */
|
|
580
|
-
RESETTING
|
|
584
|
+
readonly RESETTING: "RESETTING";
|
|
581
585
|
/** The branch is fully operational and ready for querying. */
|
|
582
|
-
READY
|
|
586
|
+
readonly READY: "READY";
|
|
583
587
|
/** The branch is stored in cost-effective archival storage. Expect slow query response times. */
|
|
584
|
-
ARCHIVED
|
|
588
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
585
589
|
/** The branch is deleted and is not available for querying, but can be undeleted. */
|
|
586
|
-
DELETED
|
|
587
|
-
}
|
|
590
|
+
readonly DELETED: "DELETED";
|
|
591
|
+
};
|
|
592
|
+
export type BranchStatus_State = (typeof BranchStatus_State)[keyof typeof BranchStatus_State] | (string & {});
|
|
588
593
|
/** The state of the compute endpoint. */
|
|
589
|
-
export declare
|
|
594
|
+
export declare const EndpointStatus_State: {
|
|
590
595
|
/** Default value, not used */
|
|
591
|
-
STATE_UNSPECIFIED
|
|
592
|
-
INIT
|
|
593
|
-
ACTIVE
|
|
594
|
-
IDLE
|
|
595
|
-
DEGRADED
|
|
596
|
-
}
|
|
597
|
-
export
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
596
|
+
readonly STATE_UNSPECIFIED: "STATE_UNSPECIFIED";
|
|
597
|
+
readonly INIT: "INIT";
|
|
598
|
+
readonly ACTIVE: "ACTIVE";
|
|
599
|
+
readonly IDLE: "IDLE";
|
|
600
|
+
readonly DEGRADED: "DEGRADED";
|
|
601
|
+
};
|
|
602
|
+
export type EndpointStatus_State = (typeof EndpointStatus_State)[keyof typeof EndpointStatus_State] | (string & {});
|
|
603
|
+
export declare const ProvisioningInfo_State: {
|
|
604
|
+
readonly STATE_UNSPECIFIED: "STATE_UNSPECIFIED";
|
|
605
|
+
readonly PROVISIONING: "PROVISIONING";
|
|
606
|
+
readonly ACTIVE: "ACTIVE";
|
|
607
|
+
readonly FAILED: "FAILED";
|
|
608
|
+
readonly DELETING: "DELETING";
|
|
609
|
+
readonly UPDATING: "UPDATING";
|
|
610
|
+
readonly DEGRADED: "DEGRADED";
|
|
611
|
+
};
|
|
612
|
+
export type ProvisioningInfo_State = (typeof ProvisioningInfo_State)[keyof typeof ProvisioningInfo_State] | (string & {});
|
|
613
|
+
export declare const RequestedClaims_PermissionSet: {
|
|
614
|
+
readonly PERMISSION_SET_UNSPECIFIED: "PERMISSION_SET_UNSPECIFIED";
|
|
615
|
+
readonly READ_ONLY: "READ_ONLY";
|
|
616
|
+
};
|
|
617
|
+
export type RequestedClaims_PermissionSet = (typeof RequestedClaims_PermissionSet)[keyof typeof RequestedClaims_PermissionSet] | (string & {});
|
|
610
618
|
/** How the role is authenticated when connecting to Postgres. */
|
|
611
|
-
export declare
|
|
612
|
-
AUTH_METHOD_UNSPECIFIED
|
|
619
|
+
export declare const Role_AuthMethod: {
|
|
620
|
+
readonly AUTH_METHOD_UNSPECIFIED: "AUTH_METHOD_UNSPECIFIED";
|
|
613
621
|
/** NO_LOGIN means this role cannot be used for interactive access */
|
|
614
|
-
NO_LOGIN
|
|
622
|
+
readonly NO_LOGIN: "NO_LOGIN";
|
|
615
623
|
/** PG_PASSWORD_SCRAM_SHA_256 is a password-based authentication */
|
|
616
|
-
PG_PASSWORD_SCRAM_SHA_256
|
|
624
|
+
readonly PG_PASSWORD_SCRAM_SHA_256: "PG_PASSWORD_SCRAM_SHA_256";
|
|
617
625
|
/**
|
|
618
626
|
* LAKEBASE_OAUTH_V1 is for logging in with the managed identities like
|
|
619
627
|
* the <Databricks> service principal, <Databricks> Group or <Databricks> user.
|
|
620
628
|
*/
|
|
621
|
-
LAKEBASE_OAUTH_V1
|
|
622
|
-
}
|
|
629
|
+
readonly LAKEBASE_OAUTH_V1: "LAKEBASE_OAUTH_V1";
|
|
630
|
+
};
|
|
631
|
+
export type Role_AuthMethod = (typeof Role_AuthMethod)[keyof typeof Role_AuthMethod] | (string & {});
|
|
623
632
|
/**
|
|
624
633
|
* The type of the <Databricks> managed identity that this Role represents.
|
|
625
634
|
* Leave empty if you wish to create a regular Postgres role not associated with a <Databricks> identity.
|
|
626
635
|
*/
|
|
627
|
-
export declare
|
|
636
|
+
export declare const Role_IdentityType: {
|
|
628
637
|
/** Default value, not used */
|
|
629
|
-
IDENTITY_TYPE_UNSPECIFIED
|
|
638
|
+
readonly IDENTITY_TYPE_UNSPECIFIED: "IDENTITY_TYPE_UNSPECIFIED";
|
|
630
639
|
/** A user in a <Databricks> workspace. */
|
|
631
|
-
USER
|
|
640
|
+
readonly USER: "USER";
|
|
632
641
|
/** A service principal in a <Databricks> workspace. */
|
|
633
|
-
SERVICE_PRINCIPAL
|
|
642
|
+
readonly SERVICE_PRINCIPAL: "SERVICE_PRINCIPAL";
|
|
634
643
|
/** A group in a <Databricks> workspace. */
|
|
635
|
-
GROUP
|
|
636
|
-
}
|
|
644
|
+
readonly GROUP: "GROUP";
|
|
645
|
+
};
|
|
646
|
+
export type Role_IdentityType = (typeof Role_IdentityType)[keyof typeof Role_IdentityType] | (string & {});
|
|
637
647
|
/** Roles that the DatabaseInstanceRole can be a member of. */
|
|
638
|
-
export declare
|
|
648
|
+
export declare const Role_MembershipRole: {
|
|
639
649
|
/** Indicates that the DatabaseInstanceRole is not a member of any standard, managed roles. */
|
|
640
|
-
MEMBERSHIP_ROLE_UNSPECIFIED
|
|
650
|
+
readonly MEMBERSHIP_ROLE_UNSPECIFIED: "MEMBERSHIP_ROLE_UNSPECIFIED";
|
|
641
651
|
/** Indicates membership in DATABRICKS_SUPERUSER, the highest set of privileges exposed to customers. */
|
|
642
|
-
DATABRICKS_SUPERUSER
|
|
643
|
-
}
|
|
652
|
+
readonly DATABRICKS_SUPERUSER: "DATABRICKS_SUPERUSER";
|
|
653
|
+
};
|
|
654
|
+
export type Role_MembershipRole = (typeof Role_MembershipRole)[keyof typeof Role_MembershipRole] | (string & {});
|
|
644
655
|
/** Scheduling policy of the synced table's underlying pipeline. */
|
|
645
|
-
export declare
|
|
646
|
-
SYNCED_TABLE_SCHEDULING_POLICY_UNSPECIFIED
|
|
656
|
+
export declare const SyncedTable_SyncedTableSpec_SyncedTableSchedulingPolicy: {
|
|
657
|
+
readonly SYNCED_TABLE_SCHEDULING_POLICY_UNSPECIFIED: "SYNCED_TABLE_SCHEDULING_POLICY_UNSPECIFIED";
|
|
647
658
|
/**
|
|
648
659
|
* Pipeline runs continuously after generating the initial data.
|
|
649
660
|
* Requires the source table to have Change Data Feed (CDF) enabled.
|
|
650
661
|
*/
|
|
651
|
-
CONTINUOUS
|
|
662
|
+
readonly CONTINUOUS: "CONTINUOUS";
|
|
652
663
|
/**
|
|
653
664
|
* Pipeline stops after generating the initial data and can be triggered later (manually, through a cron job or through data triggers).
|
|
654
665
|
* Requires the source table to have Change Data Feed (CDF) enabled.
|
|
655
666
|
*/
|
|
656
|
-
TRIGGERED
|
|
667
|
+
readonly TRIGGERED: "TRIGGERED";
|
|
657
668
|
/**
|
|
658
669
|
* Pipeline stops after generating the initial data and can be triggered later (manually, through a cron job or through data triggers).
|
|
659
670
|
* Successive updates always perform a full copy of the source table data (no incremental updates).
|
|
660
671
|
* Does not require the source table to have Change Data Feed (CDF) enabled.
|
|
661
672
|
*/
|
|
662
|
-
SNAPSHOT
|
|
663
|
-
}
|
|
673
|
+
readonly SNAPSHOT: "SNAPSHOT";
|
|
674
|
+
};
|
|
675
|
+
export type SyncedTable_SyncedTableSpec_SyncedTableSchedulingPolicy = (typeof SyncedTable_SyncedTableSpec_SyncedTableSchedulingPolicy)[keyof typeof SyncedTable_SyncedTableSpec_SyncedTableSchedulingPolicy] | (string & {});
|
|
664
676
|
/** Databricks Error that is returned by all Databricks APIs. */
|
|
665
677
|
export interface ApiError {
|
|
666
678
|
errorCode?: ErrorCode | undefined;
|
|
@@ -692,6 +704,8 @@ export interface Branch {
|
|
|
692
704
|
spec?: BranchSpec | undefined;
|
|
693
705
|
/** The current status of a Branch. */
|
|
694
706
|
status?: BranchStatus | undefined;
|
|
707
|
+
/** The part of the name, chosen by the user when the resource was created. */
|
|
708
|
+
branchId?: string | undefined;
|
|
695
709
|
}
|
|
696
710
|
export interface BranchOperationMetadata {
|
|
697
711
|
}
|
|
@@ -792,6 +806,8 @@ export interface Catalog {
|
|
|
792
806
|
createTime?: Temporal.Instant | undefined;
|
|
793
807
|
/** A timestamp indicating when the catalog was last updated. */
|
|
794
808
|
updateTime?: Temporal.Instant | undefined;
|
|
809
|
+
/** The part of the name, chosen by the user when the resource was created. */
|
|
810
|
+
catalogId?: string | undefined;
|
|
795
811
|
}
|
|
796
812
|
/** The desired state of the Catalog. */
|
|
797
813
|
export interface Catalog_CatalogSpec {
|
|
@@ -975,6 +991,8 @@ export interface Database {
|
|
|
975
991
|
spec?: Database_DatabaseSpec | undefined;
|
|
976
992
|
/** The observed state of the Database. */
|
|
977
993
|
status?: Database_DatabaseStatus | undefined;
|
|
994
|
+
/** The part of the name, chosen by the user when the resource was created. */
|
|
995
|
+
databaseId?: string | undefined;
|
|
978
996
|
}
|
|
979
997
|
export interface Database_DatabaseSpec {
|
|
980
998
|
/**
|
|
@@ -1111,6 +1129,8 @@ export interface Endpoint {
|
|
|
1111
1129
|
spec?: EndpointSpec | undefined;
|
|
1112
1130
|
/** Current operational status of the compute endpoint. */
|
|
1113
1131
|
status?: EndpointStatus | undefined;
|
|
1132
|
+
/** The part of the name, chosen by the user when the resource was created. */
|
|
1133
|
+
endpointId?: string | undefined;
|
|
1114
1134
|
}
|
|
1115
1135
|
export interface EndpointGroupSpec {
|
|
1116
1136
|
/**
|
|
@@ -1169,10 +1189,6 @@ export interface EndpointSettings {
|
|
|
1169
1189
|
/** A raw representation of Postgres settings. */
|
|
1170
1190
|
pgSettings?: Record<string, string> | undefined;
|
|
1171
1191
|
}
|
|
1172
|
-
export interface EndpointSettings_PgSettingsEntry {
|
|
1173
|
-
key?: string | undefined;
|
|
1174
|
-
value?: string | undefined;
|
|
1175
|
-
}
|
|
1176
1192
|
export interface EndpointSpec {
|
|
1177
1193
|
/** The endpoint type. A branch can only have one READ_WRITE endpoint. */
|
|
1178
1194
|
endpointType?: EndpointType | undefined;
|
|
@@ -1499,6 +1515,8 @@ export interface Project {
|
|
|
1499
1515
|
* Empty if the project is not deleted, otherwise set to a timestamp in the future.
|
|
1500
1516
|
*/
|
|
1501
1517
|
purgeTime?: Temporal.Instant | undefined;
|
|
1518
|
+
/** The part of the name, chosen by the user when the resource was created. */
|
|
1519
|
+
projectId?: string | undefined;
|
|
1502
1520
|
}
|
|
1503
1521
|
export interface ProjectCustomTag {
|
|
1504
1522
|
/** The key of the custom tag. */
|
|
@@ -1532,10 +1550,6 @@ export interface ProjectDefaultEndpointSettings {
|
|
|
1532
1550
|
/** A raw representation of Postgres settings. */
|
|
1533
1551
|
pgSettings?: Record<string, string> | undefined;
|
|
1534
1552
|
}
|
|
1535
|
-
export interface ProjectDefaultEndpointSettings_PgSettingsEntry {
|
|
1536
|
-
key?: string | undefined;
|
|
1537
|
-
value?: string | undefined;
|
|
1538
|
-
}
|
|
1539
1553
|
export interface ProjectOperationMetadata {
|
|
1540
1554
|
}
|
|
1541
1555
|
export interface ProjectSpec {
|
|
@@ -1624,6 +1638,8 @@ export interface Role {
|
|
|
1624
1638
|
spec?: Role_RoleSpec | undefined;
|
|
1625
1639
|
/** Current status of the role, including its identity type, authentication method, and role attributes. */
|
|
1626
1640
|
status?: Role_RoleStatus | undefined;
|
|
1641
|
+
/** The part of the name, chosen by the user when the resource was created. */
|
|
1642
|
+
roleId?: string | undefined;
|
|
1627
1643
|
}
|
|
1628
1644
|
/**
|
|
1629
1645
|
* Attributes that can be granted to a Postgres role. We are only implementing a subset for now, see xref:
|
|
@@ -1725,6 +1741,8 @@ export interface SyncedTable {
|
|
|
1725
1741
|
/** Synced Table data synchronization status. */
|
|
1726
1742
|
status?: SyncedTable_SyncedTableStatus | undefined;
|
|
1727
1743
|
createTime?: Temporal.Instant | undefined;
|
|
1744
|
+
/** The part of the name, chosen by the user when the resource was created. */
|
|
1745
|
+
syncedTableId?: string | undefined;
|
|
1728
1746
|
}
|
|
1729
1747
|
export interface SyncedTable_SyncedTableSpec {
|
|
1730
1748
|
/**
|