@databricks/sdk-postgres 0.33.0 → 0.35.0

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