@maxim_mazurok/gapi.client.cloudasset-v1 0.0.20230626 → 0.0.20230630
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 +6 -6
- package/package.json +1 -1
- package/readme.md +1 -1
- package/tests.ts +5 -5
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://cloudasset.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230630
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1775,7 +1775,7 @@ declare namespace gapi.client {
|
|
|
1775
1775
|
*/
|
|
1776
1776
|
readTimeWindow?:
|
|
1777
1777
|
TimeWindow;
|
|
1778
|
-
/** Optional. A SQL statement that's compatible with [BigQuery
|
|
1778
|
+
/** Optional. A SQL statement that's compatible with [BigQuery SQL](https://cloud.google.com/bigquery/docs/introduction-sql). */
|
|
1779
1779
|
statement?:
|
|
1780
1780
|
string;
|
|
1781
1781
|
/**
|
|
@@ -3786,10 +3786,10 @@ declare namespace gapi.client {
|
|
|
3786
3786
|
},
|
|
3787
3787
|
body: ExportAssetsRequest): Request<Operation>;
|
|
3788
3788
|
/**
|
|
3789
|
-
* Issue a job that queries assets using a SQL statement compatible with [BigQuery
|
|
3790
|
-
*
|
|
3791
|
-
*
|
|
3792
|
-
* https://cloud.google.com/bigquery/docs/best-practices-performance-output
|
|
3789
|
+
* Issue a job that queries assets using a SQL statement compatible with [BigQuery SQL](https://cloud.google.com/bigquery/docs/introduction-sql). If the query execution finishes within
|
|
3790
|
+
* timeout and there's no pagination, the full query results will be returned in the `QueryAssetsResponse`. Otherwise, full query results can be obtained by issuing extra requests with
|
|
3791
|
+
* the `job_reference` from the a previous `QueryAssets` call. Note, the query result has approximately 10 GB limitation enforced by
|
|
3792
|
+
* [BigQuery](https://cloud.google.com/bigquery/docs/best-practices-performance-output). Queries return larger results will result in errors.
|
|
3793
3793
|
*/
|
|
3794
3794
|
queryAssets(request: {
|
|
3795
3795
|
/** V1 error format. */
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -172,7 +172,7 @@ Exports assets with time and resource types to a given Cloud Storage location/Bi
|
|
|
172
172
|
await gapi.client.cloudasset.exportAssets({ parent: "parent", });
|
|
173
173
|
|
|
174
174
|
/*
|
|
175
|
-
Issue a job that queries assets using a SQL statement compatible with [BigQuery
|
|
175
|
+
Issue a job that queries assets using a SQL statement compatible with [BigQuery SQL](https://cloud.google.com/bigquery/docs/introduction-sql). If the query execution finishes within timeout and there's no pagination, the full query results will be returned in the `QueryAssetsResponse`. Otherwise, full query results can be obtained by issuing extra requests with the `job_reference` from the a previous `QueryAssets` call. Note, the query result has approximately 10 GB limitation enforced by [BigQuery](https://cloud.google.com/bigquery/docs/best-practices-performance-output). Queries return larger results will result in errors.
|
|
176
176
|
*/
|
|
177
177
|
await gapi.client.cloudasset.queryAssets({ parent: "parent", });
|
|
178
178
|
|
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230630
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -377,10 +377,10 @@ gapi.load('client', async () => {
|
|
|
377
377
|
],
|
|
378
378
|
});
|
|
379
379
|
/**
|
|
380
|
-
* Issue a job that queries assets using a SQL statement compatible with [BigQuery
|
|
381
|
-
*
|
|
382
|
-
*
|
|
383
|
-
* https://cloud.google.com/bigquery/docs/best-practices-performance-output
|
|
380
|
+
* Issue a job that queries assets using a SQL statement compatible with [BigQuery SQL](https://cloud.google.com/bigquery/docs/introduction-sql). If the query execution finishes within
|
|
381
|
+
* timeout and there's no pagination, the full query results will be returned in the `QueryAssetsResponse`. Otherwise, full query results can be obtained by issuing extra requests with the
|
|
382
|
+
* `job_reference` from the a previous `QueryAssets` call. Note, the query result has approximately 10 GB limitation enforced by
|
|
383
|
+
* [BigQuery](https://cloud.google.com/bigquery/docs/best-practices-performance-output). Queries return larger results will result in errors.
|
|
384
384
|
*/
|
|
385
385
|
await gapi.client.cloudasset.v1.queryAssets({
|
|
386
386
|
parent: "Test string",
|