@maxim_mazurok/gapi.client.bigquery-v2 0.0.20231208 → 0.0.20240124
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/index.d.ts +1471 -750
- package/package.json +1 -1
- package/readme.md +18 -10
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -109,18 +109,26 @@ Creates a new empty dataset.
|
|
|
109
109
|
await gapi.client.bigquery.datasets.insert({projectId: 'projectId'});
|
|
110
110
|
|
|
111
111
|
/*
|
|
112
|
-
Lists all datasets in the specified project to which
|
|
112
|
+
Lists all datasets in the specified project to which the user has been granted the READER dataset role.
|
|
113
113
|
*/
|
|
114
114
|
await gapi.client.bigquery.datasets.list({projectId: 'projectId'});
|
|
115
115
|
|
|
116
116
|
/*
|
|
117
|
-
Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource. This method supports patch semantics.
|
|
117
|
+
Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource. This method supports RFC5789 patch semantics.
|
|
118
118
|
*/
|
|
119
119
|
await gapi.client.bigquery.datasets.patch({
|
|
120
120
|
datasetId: 'datasetId',
|
|
121
121
|
projectId: 'projectId',
|
|
122
122
|
});
|
|
123
123
|
|
|
124
|
+
/*
|
|
125
|
+
Undeletes a dataset which is within time travel window based on datasetId. If a time is specified, the dataset version deleted at that time is undeleted, else the last live version is undeleted.
|
|
126
|
+
*/
|
|
127
|
+
await gapi.client.bigquery.datasets.undelete({
|
|
128
|
+
datasetId: 'datasetId',
|
|
129
|
+
projectId: 'projectId',
|
|
130
|
+
});
|
|
131
|
+
|
|
124
132
|
/*
|
|
125
133
|
Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource.
|
|
126
134
|
*/
|
|
@@ -151,7 +159,7 @@ Returns information about a specific job. Job information is available for a six
|
|
|
151
159
|
await gapi.client.bigquery.jobs.get({jobId: 'jobId', projectId: 'projectId'});
|
|
152
160
|
|
|
153
161
|
/*
|
|
154
|
-
|
|
162
|
+
RPC to get the results of a query job.
|
|
155
163
|
*/
|
|
156
164
|
await gapi.client.bigquery.jobs.getQueryResults({
|
|
157
165
|
jobId: 'jobId',
|
|
@@ -159,7 +167,7 @@ await gapi.client.bigquery.jobs.getQueryResults({
|
|
|
159
167
|
});
|
|
160
168
|
|
|
161
169
|
/*
|
|
162
|
-
Starts a new asynchronous job.
|
|
170
|
+
Starts a new asynchronous job. This API has two different kinds of endpoint URIs, as this method supports a variety of use cases. * The *Metadata* URI is used for most interactions, as it accepts the job configuration directly. * The *Upload* URI is ONLY for the case when you're sending both a load job configuration and a data stream together. In this case, the Upload URI accepts the job configuration and the data as two distinct multipart MIME parts.
|
|
163
171
|
*/
|
|
164
172
|
await gapi.client.bigquery.jobs.insert({projectId: 'projectId'});
|
|
165
173
|
|
|
@@ -209,12 +217,12 @@ await gapi.client.bigquery.models.patch({
|
|
|
209
217
|
});
|
|
210
218
|
|
|
211
219
|
/*
|
|
212
|
-
|
|
220
|
+
RPC to get the service account for a project used for interactions with Google Cloud KMS
|
|
213
221
|
*/
|
|
214
222
|
await gapi.client.bigquery.projects.getServiceAccount({projectId: 'projectId'});
|
|
215
223
|
|
|
216
224
|
/*
|
|
217
|
-
|
|
225
|
+
RPC to list projects to which the user has been granted any project role. Users of this method are encouraged to consider the [Resource Manager](https://cloud.google.com/resource-manager/docs/) API, which provides the underlying data for this method and has more capabilities.
|
|
218
226
|
*/
|
|
219
227
|
await gapi.client.bigquery.projects.list({});
|
|
220
228
|
|
|
@@ -285,7 +293,7 @@ await gapi.client.bigquery.rowAccessPolicies.testIamPermissions({
|
|
|
285
293
|
});
|
|
286
294
|
|
|
287
295
|
/*
|
|
288
|
-
Streams data into BigQuery one record at a time without needing to run a load job.
|
|
296
|
+
Streams data into BigQuery one record at a time without needing to run a load job.
|
|
289
297
|
*/
|
|
290
298
|
await gapi.client.bigquery.tabledata.insertAll({
|
|
291
299
|
datasetId: 'datasetId',
|
|
@@ -294,7 +302,7 @@ await gapi.client.bigquery.tabledata.insertAll({
|
|
|
294
302
|
});
|
|
295
303
|
|
|
296
304
|
/*
|
|
297
|
-
|
|
305
|
+
List the content of a table in rows.
|
|
298
306
|
*/
|
|
299
307
|
await gapi.client.bigquery.tabledata.list({
|
|
300
308
|
datasetId: 'datasetId',
|
|
@@ -342,7 +350,7 @@ await gapi.client.bigquery.tables.list({
|
|
|
342
350
|
});
|
|
343
351
|
|
|
344
352
|
/*
|
|
345
|
-
Updates information in an existing table. The update method replaces the entire table resource, whereas the patch method only replaces fields that are provided in the submitted table resource. This method supports patch semantics.
|
|
353
|
+
Updates information in an existing table. The update method replaces the entire table resource, whereas the patch method only replaces fields that are provided in the submitted table resource. This method supports RFC5789 patch semantics.
|
|
346
354
|
*/
|
|
347
355
|
await gapi.client.bigquery.tables.patch({
|
|
348
356
|
datasetId: 'datasetId',
|
|
@@ -361,7 +369,7 @@ Returns permissions that a caller has on the specified resource. If the resource
|
|
|
361
369
|
await gapi.client.bigquery.tables.testIamPermissions({resource: 'resource'});
|
|
362
370
|
|
|
363
371
|
/*
|
|
364
|
-
Updates information in an existing table. The update method replaces the entire
|
|
372
|
+
Updates information in an existing table. The update method replaces the entire Table resource, whereas the patch method only replaces fields that are provided in the submitted Table resource.
|
|
365
373
|
*/
|
|
366
374
|
await gapi.client.bigquery.tables.update({
|
|
367
375
|
datasetId: 'datasetId',
|