@maxim_mazurok/gapi.client.bigquery-v2 0.0.20220913 → 0.0.20221015
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 +14 -4
- package/package.json +1 -1
- package/tests.ts +13 -1
package/index.d.ts
CHANGED
|
@@ -4,13 +4,12 @@
|
|
|
4
4
|
// Nick Amoscato <https://github.com/namoscato>
|
|
5
5
|
// Declan Vong <https://github.com/declanvong>
|
|
6
6
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
7
|
-
// TypeScript Version: 2.8
|
|
8
7
|
|
|
9
8
|
// IMPORTANT
|
|
10
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
11
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
12
11
|
// Generated from: https://bigquery.googleapis.com/$discovery/rest?version=v2
|
|
13
|
-
// Revision:
|
|
12
|
+
// Revision: 20221015
|
|
14
13
|
|
|
15
14
|
/// <reference types="gapi.client" />
|
|
16
15
|
|
|
@@ -577,6 +576,8 @@ declare namespace gapi.client {
|
|
|
577
576
|
satisfiesPzs?: boolean;
|
|
578
577
|
/** [Output-only] A URL that can be used to access the resource again. You can use this URL in Get or Update requests to the resource. */
|
|
579
578
|
selfLink?: string;
|
|
579
|
+
/** [Optional] Storage billing model to be used for all tables in the dataset. Can be set to PHYSICAL. Default is LOGICAL. */
|
|
580
|
+
storageBillingModel?: string;
|
|
580
581
|
/** [Optional]The tags associated with this dataset. Tag keys are globally unique. */
|
|
581
582
|
tags?: Array<{
|
|
582
583
|
/** [Required] The namespaced friendly name of the tag key, e.g. "12345/environment" where 12345 is org id. */
|
|
@@ -847,6 +848,13 @@ declare namespace gapi.client {
|
|
|
847
848
|
* Google Cloud Datastore backups and Avro formats.
|
|
848
849
|
*/
|
|
849
850
|
maxBadRecords?: number;
|
|
851
|
+
/** [Optional] Metadata Cache Mode for the table. Set this to enable caching of metadata from external data source. */
|
|
852
|
+
metadataCacheMode?: string;
|
|
853
|
+
/**
|
|
854
|
+
* ObjectMetadata is used to create Object Tables. Object Tables contain a listing of objects (with their metadata) found at the source_uris. If ObjectMetadata is set, source_format
|
|
855
|
+
* should be omitted. Currently SIMPLE is the only supported Object Metadata type.
|
|
856
|
+
*/
|
|
857
|
+
objectMetadata?: string;
|
|
850
858
|
/** Additional properties to set if sourceFormat is set to Parquet. */
|
|
851
859
|
parquetOptions?: ParquetOptions;
|
|
852
860
|
/** [Optional] Provide a referencing file with the expected table schema. Enabled for the format: AVRO, PARQUET, ORC. */
|
|
@@ -1597,6 +1605,8 @@ declare namespace gapi.client {
|
|
|
1597
1605
|
totalPartitionsProcessed?: string;
|
|
1598
1606
|
/** [Output only] Slot-milliseconds for the job. */
|
|
1599
1607
|
totalSlotMs?: string;
|
|
1608
|
+
/** [Output-only] Total bytes transferred for cross-cloud queries such as Cross Cloud Transfer and CREATE TABLE AS SELECT (CTAS). */
|
|
1609
|
+
transferredBytes?: string;
|
|
1600
1610
|
/** Standard SQL only: list of undeclared query parameters detected during a dry run validation. */
|
|
1601
1611
|
undeclaredQueryParameters?: QueryParameter[];
|
|
1602
1612
|
}
|
|
@@ -2755,9 +2765,9 @@ declare namespace gapi.client {
|
|
|
2755
2765
|
trainingOptions?: TrainingOptions;
|
|
2756
2766
|
/** Output only. The start time of this training run, in milliseconds since epoch. */
|
|
2757
2767
|
trainingStartTime?: string;
|
|
2758
|
-
/** The model id in Vertex AI Model Registry for this training run */
|
|
2768
|
+
/** The model id in the [Vertex AI Model Registry](https://cloud.google.com/vertex-ai/docs/model-registry/introduction) for this training run. */
|
|
2759
2769
|
vertexAiModelId?: string;
|
|
2760
|
-
/** Output only. The model version in Vertex AI Model Registry for this training run */
|
|
2770
|
+
/** Output only. The model version in the [Vertex AI Model Registry](https://cloud.google.com/vertex-ai/docs/model-registry/introduction) for this training run. */
|
|
2761
2771
|
vertexAiModelVersion?: string;
|
|
2762
2772
|
}
|
|
2763
2773
|
interface TransactionInfo {
|
package/package.json
CHANGED
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: 20221015
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -113,6 +113,7 @@ gapi.load('client', async () => {
|
|
|
113
113
|
maxTimeTravelHours: "Test string",
|
|
114
114
|
satisfiesPzs: true,
|
|
115
115
|
selfLink: "Test string",
|
|
116
|
+
storageBillingModel: "Test string",
|
|
116
117
|
tags: [
|
|
117
118
|
{
|
|
118
119
|
tagKey: "Test string",
|
|
@@ -190,6 +191,7 @@ gapi.load('client', async () => {
|
|
|
190
191
|
maxTimeTravelHours: "Test string",
|
|
191
192
|
satisfiesPzs: true,
|
|
192
193
|
selfLink: "Test string",
|
|
194
|
+
storageBillingModel: "Test string",
|
|
193
195
|
tags: [
|
|
194
196
|
{
|
|
195
197
|
tagKey: "Test string",
|
|
@@ -259,6 +261,7 @@ gapi.load('client', async () => {
|
|
|
259
261
|
maxTimeTravelHours: "Test string",
|
|
260
262
|
satisfiesPzs: true,
|
|
261
263
|
selfLink: "Test string",
|
|
264
|
+
storageBillingModel: "Test string",
|
|
262
265
|
tags: [
|
|
263
266
|
{
|
|
264
267
|
tagKey: "Test string",
|
|
@@ -588,6 +591,8 @@ gapi.load('client', async () => {
|
|
|
588
591
|
},
|
|
589
592
|
ignoreUnknownValues: true,
|
|
590
593
|
maxBadRecords: 42,
|
|
594
|
+
metadataCacheMode: "Test string",
|
|
595
|
+
objectMetadata: "Test string",
|
|
591
596
|
parquetOptions: {
|
|
592
597
|
enableListInference: true,
|
|
593
598
|
enumAsString: true,
|
|
@@ -872,6 +877,7 @@ gapi.load('client', async () => {
|
|
|
872
877
|
totalBytesProcessedAccuracy: "Test string",
|
|
873
878
|
totalPartitionsProcessed: "Test string",
|
|
874
879
|
totalSlotMs: "Test string",
|
|
880
|
+
transferredBytes: "Test string",
|
|
875
881
|
undeclaredQueryParameters: [
|
|
876
882
|
{
|
|
877
883
|
name: "Test string",
|
|
@@ -2391,6 +2397,8 @@ gapi.load('client', async () => {
|
|
|
2391
2397
|
},
|
|
2392
2398
|
ignoreUnknownValues: true,
|
|
2393
2399
|
maxBadRecords: 42,
|
|
2400
|
+
metadataCacheMode: "Test string",
|
|
2401
|
+
objectMetadata: "Test string",
|
|
2394
2402
|
parquetOptions: {
|
|
2395
2403
|
enableListInference: true,
|
|
2396
2404
|
enumAsString: true,
|
|
@@ -2654,6 +2662,8 @@ gapi.load('client', async () => {
|
|
|
2654
2662
|
},
|
|
2655
2663
|
ignoreUnknownValues: true,
|
|
2656
2664
|
maxBadRecords: 42,
|
|
2665
|
+
metadataCacheMode: "Test string",
|
|
2666
|
+
objectMetadata: "Test string",
|
|
2657
2667
|
parquetOptions: {
|
|
2658
2668
|
enableListInference: true,
|
|
2659
2669
|
enumAsString: true,
|
|
@@ -2958,6 +2968,8 @@ gapi.load('client', async () => {
|
|
|
2958
2968
|
},
|
|
2959
2969
|
ignoreUnknownValues: true,
|
|
2960
2970
|
maxBadRecords: 42,
|
|
2971
|
+
metadataCacheMode: "Test string",
|
|
2972
|
+
objectMetadata: "Test string",
|
|
2961
2973
|
parquetOptions: {
|
|
2962
2974
|
enableListInference: true,
|
|
2963
2975
|
enumAsString: true,
|