@databricks/sdk-postgres 0.34.0 → 0.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/package.js +7 -0
- package/dist/package.js.map +1 -0
- package/dist/v1/client.d.ts +621 -617
- package/dist/v1/client.d.ts.map +1 -1
- package/dist/v1/client.js +2371 -3250
- package/dist/v1/client.js.map +1 -1
- package/dist/v1/index.d.ts +3 -8
- package/dist/v1/index.js +4 -8
- package/dist/v1/model.d.ts +2319 -2367
- package/dist/v1/model.d.ts.map +1 -1
- package/dist/v1/model.js +1804 -2876
- package/dist/v1/model.js.map +1 -1
- package/dist/v1/transport.d.ts +21 -17
- package/dist/v1/transport.d.ts.map +1 -1
- package/dist/v1/transport.js +60 -69
- package/dist/v1/transport.js.map +1 -1
- package/dist/v1/utils.d.ts +21 -18
- package/dist/v1/utils.d.ts.map +1 -1
- package/dist/v1/utils.js +90 -118
- package/dist/v1/utils.js.map +1 -1
- package/package.json +5 -5
- package/dist/v1/index.d.ts.map +0 -1
- package/dist/v1/index.js.map +0 -1
package/dist/v1/client.d.ts
CHANGED
|
@@ -1,645 +1,649 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
1
|
+
import { Branch, BranchOperationMetadata, Catalog, CatalogOperationMetadata, CdfConfig, CdfConfigOperationMetadata, CdfStatus, CreateBranchRequest, CreateCatalogRequest, CreateCdfConfigRequest, CreateDataApiRequest, CreateDatabaseRequest, CreateEndpointRequest, CreateProjectRequest, CreateRoleRequest, CreateSyncedTableRequest, DataApi, DataApiOperationMetadata, Database, DatabaseCredential, DatabaseOperationMetadata, DeleteBranchRequest, DeleteCatalogRequest, DeleteCdfConfigRequest, DeleteDataApiRequest, DeleteDatabaseRequest, DeleteEndpointRequest, DeleteProjectRequest, DeleteRoleRequest, DeleteSyncedTableRequest, Endpoint, EndpointOperationMetadata, GenerateDatabaseCredentialRequest, GetBranchRequest, GetCatalogRequest, GetCdfConfigRequest, GetCdfStatusRequest, GetDataApiRequest, GetDatabaseRequest, GetEndpointRequest, GetOperationRequest, GetProjectRequest, GetRoleRequest, GetSyncedTableRequest, ListBranchesRequest, ListBranchesResponse, ListCdfConfigsRequest, ListCdfConfigsResponse, ListCdfStatusesRequest, ListCdfStatusesResponse, ListDatabasesRequest, ListDatabasesResponse, ListEndpointsRequest, ListEndpointsResponse, ListProjectsRequest, ListProjectsResponse, ListRolesRequest, ListRolesResponse, Operation, Project, ProjectOperationMetadata, Role, RoleOperationMetadata, SyncedTable, SyncedTableOperationMetadata, UndeleteBranchRequest, UndeleteProjectRequest, UpdateBranchRequest, UpdateDataApiRequest, UpdateDatabaseRequest, UpdateEndpointRequest, UpdateProjectRequest, UpdateRoleRequest } from "./model.js";
|
|
2
|
+
import { CallOptions } from "@databricks/sdk-options/call";
|
|
3
|
+
import { ClientOptions } from "@databricks/sdk-options/client";
|
|
4
|
+
import { LroOptions } from "@databricks/sdk-options/lro";
|
|
5
|
+
|
|
6
|
+
//#region src/v1/client.d.ts
|
|
7
|
+
declare class PostgresClient {
|
|
8
|
+
private readonly options;
|
|
9
|
+
private readonly logger;
|
|
10
|
+
private readonly userAgent;
|
|
11
|
+
private config;
|
|
12
|
+
constructor(options: ClientOptions);
|
|
13
|
+
private resolveConfig;
|
|
14
|
+
/** Creates a new database branch in the project. */
|
|
15
|
+
private createBranchBase;
|
|
16
|
+
/** Creates a new database branch in the project. */
|
|
17
|
+
createBranch(req: CreateBranchRequest, options?: CallOptions): Promise<CreateBranchOperation>;
|
|
18
|
+
/** Register a Postgres database in the Unity Catalog. */
|
|
19
|
+
private createCatalogBase;
|
|
20
|
+
/** Register a Postgres database in the Unity Catalog. */
|
|
21
|
+
createCatalog(req: CreateCatalogRequest, options?: CallOptions): Promise<CreateCatalogOperation>;
|
|
22
|
+
/**
|
|
23
|
+
* Create a CDF configuration that materializes the change data feed for all
|
|
24
|
+
* tables in a Postgres schema as open-format Delta tables in Unity Catalog.
|
|
25
|
+
* Once created, each table's change history is continuously written to its
|
|
26
|
+
* corresponding Lakehouse table.
|
|
27
|
+
*/
|
|
28
|
+
private createCdfConfigBase;
|
|
29
|
+
/**
|
|
30
|
+
* Create a CDF configuration that materializes the change data feed for all
|
|
31
|
+
* tables in a Postgres schema as open-format Delta tables in Unity Catalog.
|
|
32
|
+
* Once created, each table's change history is continuously written to its
|
|
33
|
+
* corresponding Lakehouse table.
|
|
34
|
+
*/
|
|
35
|
+
createCdfConfig(req: CreateCdfConfigRequest, options?: CallOptions): Promise<CreateCdfConfigOperation>;
|
|
36
|
+
/** Enable Data API for a database. */
|
|
37
|
+
private createDataApiBase;
|
|
38
|
+
/** Enable Data API for a database. */
|
|
39
|
+
createDataApi(req: CreateDataApiRequest, options?: CallOptions): Promise<CreateDataApiOperation>;
|
|
40
|
+
/**
|
|
41
|
+
* Create a Database.
|
|
42
|
+
*
|
|
43
|
+
* Creates a database in the specified branch. A branch can have multiple databases.
|
|
44
|
+
*/
|
|
45
|
+
private createDatabaseBase;
|
|
46
|
+
/**
|
|
47
|
+
* Create a Database.
|
|
48
|
+
*
|
|
49
|
+
* Creates a database in the specified branch. A branch can have multiple databases.
|
|
50
|
+
*/
|
|
51
|
+
createDatabase(req: CreateDatabaseRequest, options?: CallOptions): Promise<CreateDatabaseOperation>;
|
|
52
|
+
/** Creates a new compute endpoint in the branch. */
|
|
53
|
+
private createEndpointBase;
|
|
54
|
+
/** Creates a new compute endpoint in the branch. */
|
|
55
|
+
createEndpoint(req: CreateEndpointRequest, options?: CallOptions): Promise<CreateEndpointOperation>;
|
|
56
|
+
/** Creates a new Lakebase Autoscaling Postgres database project, which contains branches and compute endpoints. */
|
|
57
|
+
private createProjectBase;
|
|
58
|
+
/** Creates a new Lakebase Autoscaling Postgres database project, which contains branches and compute endpoints. */
|
|
59
|
+
createProject(req: CreateProjectRequest, options?: CallOptions): Promise<CreateProjectOperation>;
|
|
60
|
+
/** Creates a new Postgres role in the branch. */
|
|
61
|
+
private createRoleBase;
|
|
62
|
+
/** Creates a new Postgres role in the branch. */
|
|
63
|
+
createRole(req: CreateRoleRequest, options?: CallOptions): Promise<CreateRoleOperation>;
|
|
64
|
+
/** Create a Synced Table. */
|
|
65
|
+
private createSyncedTableBase;
|
|
66
|
+
/** Create a Synced Table. */
|
|
67
|
+
createSyncedTable(req: CreateSyncedTableRequest, options?: CallOptions): Promise<CreateSyncedTableOperation>;
|
|
68
|
+
/** Deletes the specified database branch. */
|
|
69
|
+
private deleteBranchBase;
|
|
70
|
+
/** Deletes the specified database branch. */
|
|
71
|
+
deleteBranch(req: DeleteBranchRequest, options?: CallOptions): Promise<DeleteBranchOperation>;
|
|
72
|
+
/** Delete a Database Catalog. */
|
|
73
|
+
private deleteCatalogBase;
|
|
74
|
+
/** Delete a Database Catalog. */
|
|
75
|
+
deleteCatalog(req: DeleteCatalogRequest, options?: CallOptions): Promise<DeleteCatalogOperation>;
|
|
76
|
+
/**
|
|
77
|
+
* Delete a CDF configuration and stop materializing the change data feed. When
|
|
78
|
+
* force=true, also drops the Delta tables in Unity Catalog. When force=false
|
|
79
|
+
* (default), the existing tables are preserved at their last state.
|
|
80
|
+
*/
|
|
81
|
+
private deleteCdfConfigBase;
|
|
82
|
+
/**
|
|
83
|
+
* Delete a CDF configuration and stop materializing the change data feed. When
|
|
84
|
+
* force=true, also drops the Delta tables in Unity Catalog. When force=false
|
|
85
|
+
* (default), the existing tables are preserved at their last state.
|
|
86
|
+
*/
|
|
87
|
+
deleteCdfConfig(req: DeleteCdfConfigRequest, options?: CallOptions): Promise<DeleteCdfConfigOperation>;
|
|
88
|
+
/** Disable Data API for a database. */
|
|
89
|
+
private deleteDataApiBase;
|
|
90
|
+
/** Disable Data API for a database. */
|
|
91
|
+
deleteDataApi(req: DeleteDataApiRequest, options?: CallOptions): Promise<DeleteDataApiOperation>;
|
|
92
|
+
/** Delete a Database. */
|
|
93
|
+
private deleteDatabaseBase;
|
|
94
|
+
/** Delete a Database. */
|
|
95
|
+
deleteDatabase(req: DeleteDatabaseRequest, options?: CallOptions): Promise<DeleteDatabaseOperation>;
|
|
96
|
+
/** Deletes the specified compute endpoint. */
|
|
97
|
+
private deleteEndpointBase;
|
|
98
|
+
/** Deletes the specified compute endpoint. */
|
|
99
|
+
deleteEndpoint(req: DeleteEndpointRequest, options?: CallOptions): Promise<DeleteEndpointOperation>;
|
|
100
|
+
/** Deletes the specified database project. */
|
|
101
|
+
private deleteProjectBase;
|
|
102
|
+
/** Deletes the specified database project. */
|
|
103
|
+
deleteProject(req: DeleteProjectRequest, options?: CallOptions): Promise<DeleteProjectOperation>;
|
|
104
|
+
/** Deletes the specified Postgres role. */
|
|
105
|
+
private deleteRoleBase;
|
|
106
|
+
/** Deletes the specified Postgres role. */
|
|
107
|
+
deleteRole(req: DeleteRoleRequest, options?: CallOptions): Promise<DeleteRoleOperation>;
|
|
108
|
+
/** Delete a Synced Table. */
|
|
109
|
+
private deleteSyncedTableBase;
|
|
110
|
+
/** Delete a Synced Table. */
|
|
111
|
+
deleteSyncedTable(req: DeleteSyncedTableRequest, options?: CallOptions): Promise<DeleteSyncedTableOperation>;
|
|
112
|
+
/** Generate OAuth credentials for a Postgres database. */
|
|
113
|
+
generateDatabaseCredential(req: GenerateDatabaseCredentialRequest, options?: CallOptions): Promise<DatabaseCredential>;
|
|
114
|
+
/** Retrieves information about the specified database branch. */
|
|
115
|
+
getBranch(req: GetBranchRequest, options?: CallOptions): Promise<Branch>;
|
|
116
|
+
/** Get a Database Catalog. */
|
|
117
|
+
getCatalog(req: GetCatalogRequest, options?: CallOptions): Promise<Catalog>;
|
|
118
|
+
/**
|
|
119
|
+
* Get a single Lakebase CDF configuration, including the source Postgres
|
|
120
|
+
* schema, target Unity Catalog schema, and the identity under which writes are
|
|
121
|
+
* authorized.
|
|
122
|
+
*/
|
|
123
|
+
getCdfConfig(req: GetCdfConfigRequest, options?: CallOptions): Promise<CdfConfig>;
|
|
124
|
+
/**
|
|
125
|
+
* Get the CDF status of a single table within a Lakebase CDF configuration,
|
|
126
|
+
* including its current state and the last committed position in the feed.
|
|
127
|
+
*/
|
|
128
|
+
getCdfStatus(req: GetCdfStatusRequest, options?: CallOptions): Promise<CdfStatus>;
|
|
129
|
+
/** Get Data API configuration for a database. */
|
|
130
|
+
getDataApi(req: GetDataApiRequest, options?: CallOptions): Promise<DataApi>;
|
|
131
|
+
/** Get a Database. */
|
|
132
|
+
getDatabase(req: GetDatabaseRequest, options?: CallOptions): Promise<Database>;
|
|
133
|
+
/** Retrieves information about the specified compute endpoint, including its connection details and operational state. */
|
|
134
|
+
getEndpoint(req: GetEndpointRequest, options?: CallOptions): Promise<Endpoint>;
|
|
135
|
+
/** Retrieves the status of a long-running operation. */
|
|
136
|
+
private getOperation;
|
|
137
|
+
/** Retrieves information about the specified database project. */
|
|
138
|
+
getProject(req: GetProjectRequest, options?: CallOptions): Promise<Project>;
|
|
139
|
+
/** Retrieves information about the specified Postgres role, including its authentication method and permissions. */
|
|
140
|
+
getRole(req: GetRoleRequest, options?: CallOptions): Promise<Role>;
|
|
141
|
+
/** Get a Synced Table. */
|
|
142
|
+
getSyncedTable(req: GetSyncedTableRequest, options?: CallOptions): Promise<SyncedTable>;
|
|
143
|
+
/** Returns a paginated list of database branches in the project. */
|
|
144
|
+
listBranches(req: ListBranchesRequest, options?: CallOptions): Promise<ListBranchesResponse>;
|
|
145
|
+
listBranchesIter(req: ListBranchesRequest, options?: CallOptions): AsyncGenerator<Branch>;
|
|
146
|
+
/**
|
|
147
|
+
* List all CDF configurations for a Lakebase database. Each configuration maps
|
|
148
|
+
* a Postgres schema to a Unity Catalog schema where the change data feed is
|
|
149
|
+
* materialized.
|
|
150
|
+
*/
|
|
151
|
+
listCdfConfigs(req: ListCdfConfigsRequest, options?: CallOptions): Promise<ListCdfConfigsResponse>;
|
|
152
|
+
listCdfConfigsIter(req: ListCdfConfigsRequest, options?: CallOptions): AsyncGenerator<CdfConfig>;
|
|
153
|
+
/**
|
|
154
|
+
* List the per-table CDF statuses within a Lakebase CDF configuration. Each
|
|
155
|
+
* status shows whether a table's change data feed is snapshotting, streaming,
|
|
156
|
+
* or skipped.
|
|
157
|
+
*/
|
|
158
|
+
listCdfStatuses(req: ListCdfStatusesRequest, options?: CallOptions): Promise<ListCdfStatusesResponse>;
|
|
159
|
+
listCdfStatusesIter(req: ListCdfStatusesRequest, options?: CallOptions): AsyncGenerator<CdfStatus>;
|
|
160
|
+
/** List Databases. */
|
|
161
|
+
listDatabases(req: ListDatabasesRequest, options?: CallOptions): Promise<ListDatabasesResponse>;
|
|
162
|
+
listDatabasesIter(req: ListDatabasesRequest, options?: CallOptions): AsyncGenerator<Database>;
|
|
163
|
+
/** Returns a paginated list of compute endpoints in the branch. */
|
|
164
|
+
listEndpoints(req: ListEndpointsRequest, options?: CallOptions): Promise<ListEndpointsResponse>;
|
|
165
|
+
listEndpointsIter(req: ListEndpointsRequest, options?: CallOptions): AsyncGenerator<Endpoint>;
|
|
166
|
+
/** Returns a paginated list of database projects in the workspace that the user has permission to access. */
|
|
167
|
+
listProjects(req: ListProjectsRequest, options?: CallOptions): Promise<ListProjectsResponse>;
|
|
168
|
+
listProjectsIter(req: ListProjectsRequest, options?: CallOptions): AsyncGenerator<Project>;
|
|
169
|
+
/** Returns a paginated list of Postgres roles in the branch. */
|
|
170
|
+
listRoles(req: ListRolesRequest, options?: CallOptions): Promise<ListRolesResponse>;
|
|
171
|
+
listRolesIter(req: ListRolesRequest, options?: CallOptions): AsyncGenerator<Role>;
|
|
172
|
+
/** Undeletes the specified database branch. */
|
|
173
|
+
private undeleteBranchBase;
|
|
174
|
+
/** Undeletes the specified database branch. */
|
|
175
|
+
undeleteBranch(req: UndeleteBranchRequest, options?: CallOptions): Promise<UndeleteBranchOperation>;
|
|
176
|
+
/** Undeletes a soft-deleted project. */
|
|
177
|
+
private undeleteProjectBase;
|
|
178
|
+
/** Undeletes a soft-deleted project. */
|
|
179
|
+
undeleteProject(req: UndeleteProjectRequest, options?: CallOptions): Promise<UndeleteProjectOperation>;
|
|
180
|
+
/** Updates the specified database branch. You can set this branch as the project's default branch, or protect/unprotect it. */
|
|
181
|
+
private updateBranchBase;
|
|
182
|
+
/** Updates the specified database branch. You can set this branch as the project's default branch, or protect/unprotect it. */
|
|
183
|
+
updateBranch(req: UpdateBranchRequest, options?: CallOptions): Promise<UpdateBranchOperation>;
|
|
184
|
+
/** Update Data API configuration for a database. */
|
|
185
|
+
private updateDataApiBase;
|
|
186
|
+
/** Update Data API configuration for a database. */
|
|
187
|
+
updateDataApi(req: UpdateDataApiRequest, options?: CallOptions): Promise<UpdateDataApiOperation>;
|
|
188
|
+
/** Update a Database. */
|
|
189
|
+
private updateDatabaseBase;
|
|
190
|
+
/** Update a Database. */
|
|
191
|
+
updateDatabase(req: UpdateDatabaseRequest, options?: CallOptions): Promise<UpdateDatabaseOperation>;
|
|
192
|
+
/** Updates the specified compute endpoint. You can update autoscaling limits, suspend timeout, or enable/disable the compute endpoint. */
|
|
193
|
+
private updateEndpointBase;
|
|
194
|
+
/** Updates the specified compute endpoint. You can update autoscaling limits, suspend timeout, or enable/disable the compute endpoint. */
|
|
195
|
+
updateEndpoint(req: UpdateEndpointRequest, options?: CallOptions): Promise<UpdateEndpointOperation>;
|
|
196
|
+
/** Updates the specified database project. */
|
|
197
|
+
private updateProjectBase;
|
|
198
|
+
/** Updates the specified database project. */
|
|
199
|
+
updateProject(req: UpdateProjectRequest, options?: CallOptions): Promise<UpdateProjectOperation>;
|
|
200
|
+
/** Update a role for a branch. */
|
|
201
|
+
private updateRoleBase;
|
|
202
|
+
/** Update a role for a branch. */
|
|
203
|
+
updateRole(req: UpdateRoleRequest, options?: CallOptions): Promise<UpdateRoleOperation>;
|
|
202
204
|
}
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
205
|
+
declare class CreateBranchOperation {
|
|
206
|
+
private operation;
|
|
207
|
+
private readonly getOperation;
|
|
208
|
+
constructor(operation: Operation, getOperation: (req: GetOperationRequest, options?: CallOptions) => Promise<Operation>);
|
|
209
|
+
/** Returns the server-assigned name of the long-running operation. */
|
|
210
|
+
name(): Promise<string | undefined>;
|
|
211
|
+
/** Returns metadata associated with the long-running operation. */
|
|
212
|
+
metadata(): Promise<BranchOperationMetadata | undefined>;
|
|
213
|
+
/**
|
|
214
|
+
* Polls the operation until it completes.
|
|
215
|
+
*
|
|
216
|
+
* Throws if the operation failed.
|
|
217
|
+
*/
|
|
218
|
+
wait(options?: LroOptions): Promise<Branch>;
|
|
219
|
+
/** Checks whether the operation has completed */
|
|
220
|
+
done(options?: CallOptions): Promise<boolean | undefined>;
|
|
219
221
|
}
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
222
|
+
declare class CreateCatalogOperation {
|
|
223
|
+
private operation;
|
|
224
|
+
private readonly getOperation;
|
|
225
|
+
constructor(operation: Operation, getOperation: (req: GetOperationRequest, options?: CallOptions) => Promise<Operation>);
|
|
226
|
+
/** Returns the server-assigned name of the long-running operation. */
|
|
227
|
+
name(): Promise<string | undefined>;
|
|
228
|
+
/** Returns metadata associated with the long-running operation. */
|
|
229
|
+
metadata(): Promise<CatalogOperationMetadata | undefined>;
|
|
230
|
+
/**
|
|
231
|
+
* Polls the operation until it completes.
|
|
232
|
+
*
|
|
233
|
+
* Throws if the operation failed.
|
|
234
|
+
*/
|
|
235
|
+
wait(options?: LroOptions): Promise<Catalog>;
|
|
236
|
+
/** Checks whether the operation has completed */
|
|
237
|
+
done(options?: CallOptions): Promise<boolean | undefined>;
|
|
236
238
|
}
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
239
|
+
declare class CreateCdfConfigOperation {
|
|
240
|
+
private operation;
|
|
241
|
+
private readonly getOperation;
|
|
242
|
+
constructor(operation: Operation, getOperation: (req: GetOperationRequest, options?: CallOptions) => Promise<Operation>);
|
|
243
|
+
/** Returns the server-assigned name of the long-running operation. */
|
|
244
|
+
name(): Promise<string | undefined>;
|
|
245
|
+
/** Returns metadata associated with the long-running operation. */
|
|
246
|
+
metadata(): Promise<CdfConfigOperationMetadata | undefined>;
|
|
247
|
+
/**
|
|
248
|
+
* Polls the operation until it completes.
|
|
249
|
+
*
|
|
250
|
+
* Throws if the operation failed.
|
|
251
|
+
*/
|
|
252
|
+
wait(options?: LroOptions): Promise<CdfConfig>;
|
|
253
|
+
/** Checks whether the operation has completed */
|
|
254
|
+
done(options?: CallOptions): Promise<boolean | undefined>;
|
|
253
255
|
}
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
256
|
+
declare class CreateDataApiOperation {
|
|
257
|
+
private operation;
|
|
258
|
+
private readonly getOperation;
|
|
259
|
+
constructor(operation: Operation, getOperation: (req: GetOperationRequest, options?: CallOptions) => Promise<Operation>);
|
|
260
|
+
/** Returns the server-assigned name of the long-running operation. */
|
|
261
|
+
name(): Promise<string | undefined>;
|
|
262
|
+
/** Returns metadata associated with the long-running operation. */
|
|
263
|
+
metadata(): Promise<DataApiOperationMetadata | undefined>;
|
|
264
|
+
/**
|
|
265
|
+
* Polls the operation until it completes.
|
|
266
|
+
*
|
|
267
|
+
* Throws if the operation failed.
|
|
268
|
+
*/
|
|
269
|
+
wait(options?: LroOptions): Promise<DataApi>;
|
|
270
|
+
/** Checks whether the operation has completed */
|
|
271
|
+
done(options?: CallOptions): Promise<boolean | undefined>;
|
|
270
272
|
}
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
273
|
+
declare class CreateDatabaseOperation {
|
|
274
|
+
private operation;
|
|
275
|
+
private readonly getOperation;
|
|
276
|
+
constructor(operation: Operation, getOperation: (req: GetOperationRequest, options?: CallOptions) => Promise<Operation>);
|
|
277
|
+
/** Returns the server-assigned name of the long-running operation. */
|
|
278
|
+
name(): Promise<string | undefined>;
|
|
279
|
+
/** Returns metadata associated with the long-running operation. */
|
|
280
|
+
metadata(): Promise<DatabaseOperationMetadata | undefined>;
|
|
281
|
+
/**
|
|
282
|
+
* Polls the operation until it completes.
|
|
283
|
+
*
|
|
284
|
+
* Throws if the operation failed.
|
|
285
|
+
*/
|
|
286
|
+
wait(options?: LroOptions): Promise<Database>;
|
|
287
|
+
/** Checks whether the operation has completed */
|
|
288
|
+
done(options?: CallOptions): Promise<boolean | undefined>;
|
|
287
289
|
}
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
290
|
+
declare class CreateEndpointOperation {
|
|
291
|
+
private operation;
|
|
292
|
+
private readonly getOperation;
|
|
293
|
+
constructor(operation: Operation, getOperation: (req: GetOperationRequest, options?: CallOptions) => Promise<Operation>);
|
|
294
|
+
/** Returns the server-assigned name of the long-running operation. */
|
|
295
|
+
name(): Promise<string | undefined>;
|
|
296
|
+
/** Returns metadata associated with the long-running operation. */
|
|
297
|
+
metadata(): Promise<EndpointOperationMetadata | undefined>;
|
|
298
|
+
/**
|
|
299
|
+
* Polls the operation until it completes.
|
|
300
|
+
*
|
|
301
|
+
* Throws if the operation failed.
|
|
302
|
+
*/
|
|
303
|
+
wait(options?: LroOptions): Promise<Endpoint>;
|
|
304
|
+
/** Checks whether the operation has completed */
|
|
305
|
+
done(options?: CallOptions): Promise<boolean | undefined>;
|
|
304
306
|
}
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
307
|
+
declare class CreateProjectOperation {
|
|
308
|
+
private operation;
|
|
309
|
+
private readonly getOperation;
|
|
310
|
+
constructor(operation: Operation, getOperation: (req: GetOperationRequest, options?: CallOptions) => Promise<Operation>);
|
|
311
|
+
/** Returns the server-assigned name of the long-running operation. */
|
|
312
|
+
name(): Promise<string | undefined>;
|
|
313
|
+
/** Returns metadata associated with the long-running operation. */
|
|
314
|
+
metadata(): Promise<ProjectOperationMetadata | undefined>;
|
|
315
|
+
/**
|
|
316
|
+
* Polls the operation until it completes.
|
|
317
|
+
*
|
|
318
|
+
* Throws if the operation failed.
|
|
319
|
+
*/
|
|
320
|
+
wait(options?: LroOptions): Promise<Project>;
|
|
321
|
+
/** Checks whether the operation has completed */
|
|
322
|
+
done(options?: CallOptions): Promise<boolean | undefined>;
|
|
321
323
|
}
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
324
|
+
declare class CreateRoleOperation {
|
|
325
|
+
private operation;
|
|
326
|
+
private readonly getOperation;
|
|
327
|
+
constructor(operation: Operation, getOperation: (req: GetOperationRequest, options?: CallOptions) => Promise<Operation>);
|
|
328
|
+
/** Returns the server-assigned name of the long-running operation. */
|
|
329
|
+
name(): Promise<string | undefined>;
|
|
330
|
+
/** Returns metadata associated with the long-running operation. */
|
|
331
|
+
metadata(): Promise<RoleOperationMetadata | undefined>;
|
|
332
|
+
/**
|
|
333
|
+
* Polls the operation until it completes.
|
|
334
|
+
*
|
|
335
|
+
* Throws if the operation failed.
|
|
336
|
+
*/
|
|
337
|
+
wait(options?: LroOptions): Promise<Role>;
|
|
338
|
+
/** Checks whether the operation has completed */
|
|
339
|
+
done(options?: CallOptions): Promise<boolean | undefined>;
|
|
338
340
|
}
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
341
|
+
declare class CreateSyncedTableOperation {
|
|
342
|
+
private operation;
|
|
343
|
+
private readonly getOperation;
|
|
344
|
+
constructor(operation: Operation, getOperation: (req: GetOperationRequest, options?: CallOptions) => Promise<Operation>);
|
|
345
|
+
/** Returns the server-assigned name of the long-running operation. */
|
|
346
|
+
name(): Promise<string | undefined>;
|
|
347
|
+
/** Returns metadata associated with the long-running operation. */
|
|
348
|
+
metadata(): Promise<SyncedTableOperationMetadata | undefined>;
|
|
349
|
+
/**
|
|
350
|
+
* Polls the operation until it completes.
|
|
351
|
+
*
|
|
352
|
+
* Throws if the operation failed.
|
|
353
|
+
*/
|
|
354
|
+
wait(options?: LroOptions): Promise<SyncedTable>;
|
|
355
|
+
/** Checks whether the operation has completed */
|
|
356
|
+
done(options?: CallOptions): Promise<boolean | undefined>;
|
|
355
357
|
}
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
358
|
+
declare class DeleteBranchOperation {
|
|
359
|
+
private operation;
|
|
360
|
+
private readonly getOperation;
|
|
361
|
+
constructor(operation: Operation, getOperation: (req: GetOperationRequest, options?: CallOptions) => Promise<Operation>);
|
|
362
|
+
/** Returns the server-assigned name of the long-running operation. */
|
|
363
|
+
name(): Promise<string | undefined>;
|
|
364
|
+
/** Returns metadata associated with the long-running operation. */
|
|
365
|
+
metadata(): Promise<BranchOperationMetadata | undefined>;
|
|
366
|
+
/**
|
|
367
|
+
* Polls the operation until it completes.
|
|
368
|
+
*
|
|
369
|
+
* Throws if the operation failed.
|
|
370
|
+
*/
|
|
371
|
+
wait(options?: LroOptions): Promise<void>;
|
|
372
|
+
/** Checks whether the operation has completed */
|
|
373
|
+
done(options?: CallOptions): Promise<boolean | undefined>;
|
|
372
374
|
}
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
375
|
+
declare class DeleteCatalogOperation {
|
|
376
|
+
private operation;
|
|
377
|
+
private readonly getOperation;
|
|
378
|
+
constructor(operation: Operation, getOperation: (req: GetOperationRequest, options?: CallOptions) => Promise<Operation>);
|
|
379
|
+
/** Returns the server-assigned name of the long-running operation. */
|
|
380
|
+
name(): Promise<string | undefined>;
|
|
381
|
+
/** Returns metadata associated with the long-running operation. */
|
|
382
|
+
metadata(): Promise<CatalogOperationMetadata | undefined>;
|
|
383
|
+
/**
|
|
384
|
+
* Polls the operation until it completes.
|
|
385
|
+
*
|
|
386
|
+
* Throws if the operation failed.
|
|
387
|
+
*/
|
|
388
|
+
wait(options?: LroOptions): Promise<void>;
|
|
389
|
+
/** Checks whether the operation has completed */
|
|
390
|
+
done(options?: CallOptions): Promise<boolean | undefined>;
|
|
389
391
|
}
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
392
|
+
declare class DeleteCdfConfigOperation {
|
|
393
|
+
private operation;
|
|
394
|
+
private readonly getOperation;
|
|
395
|
+
constructor(operation: Operation, getOperation: (req: GetOperationRequest, options?: CallOptions) => Promise<Operation>);
|
|
396
|
+
/** Returns the server-assigned name of the long-running operation. */
|
|
397
|
+
name(): Promise<string | undefined>;
|
|
398
|
+
/** Returns metadata associated with the long-running operation. */
|
|
399
|
+
metadata(): Promise<CdfConfigOperationMetadata | undefined>;
|
|
400
|
+
/**
|
|
401
|
+
* Polls the operation until it completes.
|
|
402
|
+
*
|
|
403
|
+
* Throws if the operation failed.
|
|
404
|
+
*/
|
|
405
|
+
wait(options?: LroOptions): Promise<void>;
|
|
406
|
+
/** Checks whether the operation has completed */
|
|
407
|
+
done(options?: CallOptions): Promise<boolean | undefined>;
|
|
406
408
|
}
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
409
|
+
declare class DeleteDataApiOperation {
|
|
410
|
+
private operation;
|
|
411
|
+
private readonly getOperation;
|
|
412
|
+
constructor(operation: Operation, getOperation: (req: GetOperationRequest, options?: CallOptions) => Promise<Operation>);
|
|
413
|
+
/** Returns the server-assigned name of the long-running operation. */
|
|
414
|
+
name(): Promise<string | undefined>;
|
|
415
|
+
/** Returns metadata associated with the long-running operation. */
|
|
416
|
+
metadata(): Promise<DataApiOperationMetadata | undefined>;
|
|
417
|
+
/**
|
|
418
|
+
* Polls the operation until it completes.
|
|
419
|
+
*
|
|
420
|
+
* Throws if the operation failed.
|
|
421
|
+
*/
|
|
422
|
+
wait(options?: LroOptions): Promise<void>;
|
|
423
|
+
/** Checks whether the operation has completed */
|
|
424
|
+
done(options?: CallOptions): Promise<boolean | undefined>;
|
|
423
425
|
}
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
426
|
+
declare class DeleteDatabaseOperation {
|
|
427
|
+
private operation;
|
|
428
|
+
private readonly getOperation;
|
|
429
|
+
constructor(operation: Operation, getOperation: (req: GetOperationRequest, options?: CallOptions) => Promise<Operation>);
|
|
430
|
+
/** Returns the server-assigned name of the long-running operation. */
|
|
431
|
+
name(): Promise<string | undefined>;
|
|
432
|
+
/** Returns metadata associated with the long-running operation. */
|
|
433
|
+
metadata(): Promise<DatabaseOperationMetadata | undefined>;
|
|
434
|
+
/**
|
|
435
|
+
* Polls the operation until it completes.
|
|
436
|
+
*
|
|
437
|
+
* Throws if the operation failed.
|
|
438
|
+
*/
|
|
439
|
+
wait(options?: LroOptions): Promise<void>;
|
|
440
|
+
/** Checks whether the operation has completed */
|
|
441
|
+
done(options?: CallOptions): Promise<boolean | undefined>;
|
|
440
442
|
}
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
443
|
+
declare class DeleteEndpointOperation {
|
|
444
|
+
private operation;
|
|
445
|
+
private readonly getOperation;
|
|
446
|
+
constructor(operation: Operation, getOperation: (req: GetOperationRequest, options?: CallOptions) => Promise<Operation>);
|
|
447
|
+
/** Returns the server-assigned name of the long-running operation. */
|
|
448
|
+
name(): Promise<string | undefined>;
|
|
449
|
+
/** Returns metadata associated with the long-running operation. */
|
|
450
|
+
metadata(): Promise<EndpointOperationMetadata | undefined>;
|
|
451
|
+
/**
|
|
452
|
+
* Polls the operation until it completes.
|
|
453
|
+
*
|
|
454
|
+
* Throws if the operation failed.
|
|
455
|
+
*/
|
|
456
|
+
wait(options?: LroOptions): Promise<void>;
|
|
457
|
+
/** Checks whether the operation has completed */
|
|
458
|
+
done(options?: CallOptions): Promise<boolean | undefined>;
|
|
457
459
|
}
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
460
|
+
declare class DeleteProjectOperation {
|
|
461
|
+
private operation;
|
|
462
|
+
private readonly getOperation;
|
|
463
|
+
constructor(operation: Operation, getOperation: (req: GetOperationRequest, options?: CallOptions) => Promise<Operation>);
|
|
464
|
+
/** Returns the server-assigned name of the long-running operation. */
|
|
465
|
+
name(): Promise<string | undefined>;
|
|
466
|
+
/** Returns metadata associated with the long-running operation. */
|
|
467
|
+
metadata(): Promise<ProjectOperationMetadata | undefined>;
|
|
468
|
+
/**
|
|
469
|
+
* Polls the operation until it completes.
|
|
470
|
+
*
|
|
471
|
+
* Throws if the operation failed.
|
|
472
|
+
*/
|
|
473
|
+
wait(options?: LroOptions): Promise<void>;
|
|
474
|
+
/** Checks whether the operation has completed */
|
|
475
|
+
done(options?: CallOptions): Promise<boolean | undefined>;
|
|
474
476
|
}
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
477
|
+
declare class DeleteRoleOperation {
|
|
478
|
+
private operation;
|
|
479
|
+
private readonly getOperation;
|
|
480
|
+
constructor(operation: Operation, getOperation: (req: GetOperationRequest, options?: CallOptions) => Promise<Operation>);
|
|
481
|
+
/** Returns the server-assigned name of the long-running operation. */
|
|
482
|
+
name(): Promise<string | undefined>;
|
|
483
|
+
/** Returns metadata associated with the long-running operation. */
|
|
484
|
+
metadata(): Promise<RoleOperationMetadata | undefined>;
|
|
485
|
+
/**
|
|
486
|
+
* Polls the operation until it completes.
|
|
487
|
+
*
|
|
488
|
+
* Throws if the operation failed.
|
|
489
|
+
*/
|
|
490
|
+
wait(options?: LroOptions): Promise<void>;
|
|
491
|
+
/** Checks whether the operation has completed */
|
|
492
|
+
done(options?: CallOptions): Promise<boolean | undefined>;
|
|
491
493
|
}
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
494
|
+
declare class DeleteSyncedTableOperation {
|
|
495
|
+
private operation;
|
|
496
|
+
private readonly getOperation;
|
|
497
|
+
constructor(operation: Operation, getOperation: (req: GetOperationRequest, options?: CallOptions) => Promise<Operation>);
|
|
498
|
+
/** Returns the server-assigned name of the long-running operation. */
|
|
499
|
+
name(): Promise<string | undefined>;
|
|
500
|
+
/** Returns metadata associated with the long-running operation. */
|
|
501
|
+
metadata(): Promise<SyncedTableOperationMetadata | undefined>;
|
|
502
|
+
/**
|
|
503
|
+
* Polls the operation until it completes.
|
|
504
|
+
*
|
|
505
|
+
* Throws if the operation failed.
|
|
506
|
+
*/
|
|
507
|
+
wait(options?: LroOptions): Promise<void>;
|
|
508
|
+
/** Checks whether the operation has completed */
|
|
509
|
+
done(options?: CallOptions): Promise<boolean | undefined>;
|
|
508
510
|
}
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
511
|
+
declare class UndeleteBranchOperation {
|
|
512
|
+
private operation;
|
|
513
|
+
private readonly getOperation;
|
|
514
|
+
constructor(operation: Operation, getOperation: (req: GetOperationRequest, options?: CallOptions) => Promise<Operation>);
|
|
515
|
+
/** Returns the server-assigned name of the long-running operation. */
|
|
516
|
+
name(): Promise<string | undefined>;
|
|
517
|
+
/** Returns metadata associated with the long-running operation. */
|
|
518
|
+
metadata(): Promise<BranchOperationMetadata | undefined>;
|
|
519
|
+
/**
|
|
520
|
+
* Polls the operation until it completes.
|
|
521
|
+
*
|
|
522
|
+
* Throws if the operation failed.
|
|
523
|
+
*/
|
|
524
|
+
wait(options?: LroOptions): Promise<void>;
|
|
525
|
+
/** Checks whether the operation has completed */
|
|
526
|
+
done(options?: CallOptions): Promise<boolean | undefined>;
|
|
525
527
|
}
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
528
|
+
declare class UndeleteProjectOperation {
|
|
529
|
+
private operation;
|
|
530
|
+
private readonly getOperation;
|
|
531
|
+
constructor(operation: Operation, getOperation: (req: GetOperationRequest, options?: CallOptions) => Promise<Operation>);
|
|
532
|
+
/** Returns the server-assigned name of the long-running operation. */
|
|
533
|
+
name(): Promise<string | undefined>;
|
|
534
|
+
/** Returns metadata associated with the long-running operation. */
|
|
535
|
+
metadata(): Promise<ProjectOperationMetadata | undefined>;
|
|
536
|
+
/**
|
|
537
|
+
* Polls the operation until it completes.
|
|
538
|
+
*
|
|
539
|
+
* Throws if the operation failed.
|
|
540
|
+
*/
|
|
541
|
+
wait(options?: LroOptions): Promise<void>;
|
|
542
|
+
/** Checks whether the operation has completed */
|
|
543
|
+
done(options?: CallOptions): Promise<boolean | undefined>;
|
|
542
544
|
}
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
545
|
+
declare class UpdateBranchOperation {
|
|
546
|
+
private operation;
|
|
547
|
+
private readonly getOperation;
|
|
548
|
+
constructor(operation: Operation, getOperation: (req: GetOperationRequest, options?: CallOptions) => Promise<Operation>);
|
|
549
|
+
/** Returns the server-assigned name of the long-running operation. */
|
|
550
|
+
name(): Promise<string | undefined>;
|
|
551
|
+
/** Returns metadata associated with the long-running operation. */
|
|
552
|
+
metadata(): Promise<BranchOperationMetadata | undefined>;
|
|
553
|
+
/**
|
|
554
|
+
* Polls the operation until it completes.
|
|
555
|
+
*
|
|
556
|
+
* Throws if the operation failed.
|
|
557
|
+
*/
|
|
558
|
+
wait(options?: LroOptions): Promise<Branch>;
|
|
559
|
+
/** Checks whether the operation has completed */
|
|
560
|
+
done(options?: CallOptions): Promise<boolean | undefined>;
|
|
559
561
|
}
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
562
|
+
declare class UpdateDataApiOperation {
|
|
563
|
+
private operation;
|
|
564
|
+
private readonly getOperation;
|
|
565
|
+
constructor(operation: Operation, getOperation: (req: GetOperationRequest, options?: CallOptions) => Promise<Operation>);
|
|
566
|
+
/** Returns the server-assigned name of the long-running operation. */
|
|
567
|
+
name(): Promise<string | undefined>;
|
|
568
|
+
/** Returns metadata associated with the long-running operation. */
|
|
569
|
+
metadata(): Promise<DataApiOperationMetadata | undefined>;
|
|
570
|
+
/**
|
|
571
|
+
* Polls the operation until it completes.
|
|
572
|
+
*
|
|
573
|
+
* Throws if the operation failed.
|
|
574
|
+
*/
|
|
575
|
+
wait(options?: LroOptions): Promise<DataApi>;
|
|
576
|
+
/** Checks whether the operation has completed */
|
|
577
|
+
done(options?: CallOptions): Promise<boolean | undefined>;
|
|
576
578
|
}
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
579
|
+
declare class UpdateDatabaseOperation {
|
|
580
|
+
private operation;
|
|
581
|
+
private readonly getOperation;
|
|
582
|
+
constructor(operation: Operation, getOperation: (req: GetOperationRequest, options?: CallOptions) => Promise<Operation>);
|
|
583
|
+
/** Returns the server-assigned name of the long-running operation. */
|
|
584
|
+
name(): Promise<string | undefined>;
|
|
585
|
+
/** Returns metadata associated with the long-running operation. */
|
|
586
|
+
metadata(): Promise<DatabaseOperationMetadata | undefined>;
|
|
587
|
+
/**
|
|
588
|
+
* Polls the operation until it completes.
|
|
589
|
+
*
|
|
590
|
+
* Throws if the operation failed.
|
|
591
|
+
*/
|
|
592
|
+
wait(options?: LroOptions): Promise<Database>;
|
|
593
|
+
/** Checks whether the operation has completed */
|
|
594
|
+
done(options?: CallOptions): Promise<boolean | undefined>;
|
|
593
595
|
}
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
596
|
+
declare class UpdateEndpointOperation {
|
|
597
|
+
private operation;
|
|
598
|
+
private readonly getOperation;
|
|
599
|
+
constructor(operation: Operation, getOperation: (req: GetOperationRequest, options?: CallOptions) => Promise<Operation>);
|
|
600
|
+
/** Returns the server-assigned name of the long-running operation. */
|
|
601
|
+
name(): Promise<string | undefined>;
|
|
602
|
+
/** Returns metadata associated with the long-running operation. */
|
|
603
|
+
metadata(): Promise<EndpointOperationMetadata | undefined>;
|
|
604
|
+
/**
|
|
605
|
+
* Polls the operation until it completes.
|
|
606
|
+
*
|
|
607
|
+
* Throws if the operation failed.
|
|
608
|
+
*/
|
|
609
|
+
wait(options?: LroOptions): Promise<Endpoint>;
|
|
610
|
+
/** Checks whether the operation has completed */
|
|
611
|
+
done(options?: CallOptions): Promise<boolean | undefined>;
|
|
610
612
|
}
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
613
|
+
declare class UpdateProjectOperation {
|
|
614
|
+
private operation;
|
|
615
|
+
private readonly getOperation;
|
|
616
|
+
constructor(operation: Operation, getOperation: (req: GetOperationRequest, options?: CallOptions) => Promise<Operation>);
|
|
617
|
+
/** Returns the server-assigned name of the long-running operation. */
|
|
618
|
+
name(): Promise<string | undefined>;
|
|
619
|
+
/** Returns metadata associated with the long-running operation. */
|
|
620
|
+
metadata(): Promise<ProjectOperationMetadata | undefined>;
|
|
621
|
+
/**
|
|
622
|
+
* Polls the operation until it completes.
|
|
623
|
+
*
|
|
624
|
+
* Throws if the operation failed.
|
|
625
|
+
*/
|
|
626
|
+
wait(options?: LroOptions): Promise<Project>;
|
|
627
|
+
/** Checks whether the operation has completed */
|
|
628
|
+
done(options?: CallOptions): Promise<boolean | undefined>;
|
|
627
629
|
}
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
630
|
+
declare class UpdateRoleOperation {
|
|
631
|
+
private operation;
|
|
632
|
+
private readonly getOperation;
|
|
633
|
+
constructor(operation: Operation, getOperation: (req: GetOperationRequest, options?: CallOptions) => Promise<Operation>);
|
|
634
|
+
/** Returns the server-assigned name of the long-running operation. */
|
|
635
|
+
name(): Promise<string | undefined>;
|
|
636
|
+
/** Returns metadata associated with the long-running operation. */
|
|
637
|
+
metadata(): Promise<RoleOperationMetadata | undefined>;
|
|
638
|
+
/**
|
|
639
|
+
* Polls the operation until it completes.
|
|
640
|
+
*
|
|
641
|
+
* Throws if the operation failed.
|
|
642
|
+
*/
|
|
643
|
+
wait(options?: LroOptions): Promise<Role>;
|
|
644
|
+
/** Checks whether the operation has completed */
|
|
645
|
+
done(options?: CallOptions): Promise<boolean | undefined>;
|
|
644
646
|
}
|
|
647
|
+
//#endregion
|
|
648
|
+
export { CreateBranchOperation, CreateCatalogOperation, CreateCdfConfigOperation, CreateDataApiOperation, CreateDatabaseOperation, CreateEndpointOperation, CreateProjectOperation, CreateRoleOperation, CreateSyncedTableOperation, DeleteBranchOperation, DeleteCatalogOperation, DeleteCdfConfigOperation, DeleteDataApiOperation, DeleteDatabaseOperation, DeleteEndpointOperation, DeleteProjectOperation, DeleteRoleOperation, DeleteSyncedTableOperation, PostgresClient, UndeleteBranchOperation, UndeleteProjectOperation, UpdateBranchOperation, UpdateDataApiOperation, UpdateDatabaseOperation, UpdateEndpointOperation, UpdateProjectOperation, UpdateRoleOperation };
|
|
645
649
|
//# sourceMappingURL=client.d.ts.map
|