@maxim_mazurok/gapi.client.bigquery-v2 0.0.20230304 → 0.0.20230311
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 +8 -2
- package/package.json +1 -1
- package/tests.ts +5 -1
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://bigquery.googleapis.com/$discovery/rest?version=v2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230311
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1330,6 +1330,8 @@ declare namespace gapi.client {
|
|
|
1330
1330
|
clustering?: Clustering;
|
|
1331
1331
|
/** Connection properties. */
|
|
1332
1332
|
connectionProperties?: ConnectionProperty[];
|
|
1333
|
+
/** [Optional] Specifies whether the query should be executed as a continuous query. The default value is false. */
|
|
1334
|
+
continuous?: boolean;
|
|
1333
1335
|
/**
|
|
1334
1336
|
* [Optional] Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table.
|
|
1335
1337
|
* CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append
|
|
@@ -1899,6 +1901,8 @@ declare namespace gapi.client {
|
|
|
1899
1901
|
interface QueryRequest {
|
|
1900
1902
|
/** Connection properties. */
|
|
1901
1903
|
connectionProperties?: ConnectionProperty[];
|
|
1904
|
+
/** [Optional] Specifies whether the query should be executed as a continuous query. The default value is false. */
|
|
1905
|
+
continuous?: boolean;
|
|
1902
1906
|
/**
|
|
1903
1907
|
* If true, creates a new session, where session id will be a server generated random id. If false, runs query with an existing session_id passed in ConnectionProperty, otherwise runs
|
|
1904
1908
|
* query in non-session mode.
|
|
@@ -2249,6 +2253,8 @@ declare namespace gapi.client {
|
|
|
2249
2253
|
fileUris?: string[];
|
|
2250
2254
|
/** JARs to include on the driver and executor CLASSPATH. For more information about Apache Spark, see [Apache Spark](https://spark.apache.org/docs/latest/index.html). */
|
|
2251
2255
|
jarUris?: string[];
|
|
2256
|
+
/** The fully qualified name of a class in jar_uris, for example, com.example.wordcount. Exactly one of main_class and main_jar_uri field should be set for Java/Scala language type. */
|
|
2257
|
+
mainClass?: string;
|
|
2252
2258
|
/**
|
|
2253
2259
|
* The main file/jar URI of the Spark application. Exactly one of the definition_body field and the main_file_uri field must be set for Python. Exactly one of main_class and
|
|
2254
2260
|
* main_file_uri field should be set for Java/Scala language type.
|
|
@@ -2282,7 +2288,7 @@ declare namespace gapi.client {
|
|
|
2282
2288
|
arrayElementType?: StandardSqlDataType;
|
|
2283
2289
|
/** The fields of this struct, in order, if type_kind = "STRUCT". */
|
|
2284
2290
|
structType?: StandardSqlStructType;
|
|
2285
|
-
/** Required. The top level type of this field. Can be any
|
|
2291
|
+
/** Required. The top level type of this field. Can be any GoogleSQL data type (e.g., "INT64", "DATE", "ARRAY"). */
|
|
2286
2292
|
typeKind?: string;
|
|
2287
2293
|
}
|
|
2288
2294
|
interface StandardSqlField {
|
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: 20230311
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -488,6 +488,7 @@ gapi.load('client', async () => {
|
|
|
488
488
|
value: "Test string",
|
|
489
489
|
}
|
|
490
490
|
],
|
|
491
|
+
continuous: true,
|
|
491
492
|
createDisposition: "Test string",
|
|
492
493
|
createSession: true,
|
|
493
494
|
defaultDataset: {
|
|
@@ -987,6 +988,7 @@ gapi.load('client', async () => {
|
|
|
987
988
|
value: "Test string",
|
|
988
989
|
}
|
|
989
990
|
],
|
|
991
|
+
continuous: true,
|
|
990
992
|
createSession: true,
|
|
991
993
|
defaultDataset: {
|
|
992
994
|
datasetId: "Test string",
|
|
@@ -2092,6 +2094,7 @@ gapi.load('client', async () => {
|
|
|
2092
2094
|
jarUris: [
|
|
2093
2095
|
"Test string"
|
|
2094
2096
|
],
|
|
2097
|
+
mainClass: "Test string",
|
|
2095
2098
|
mainFileUri: "Test string",
|
|
2096
2099
|
properties: {
|
|
2097
2100
|
A: "Test string"
|
|
@@ -2199,6 +2202,7 @@ gapi.load('client', async () => {
|
|
|
2199
2202
|
jarUris: [
|
|
2200
2203
|
"Test string"
|
|
2201
2204
|
],
|
|
2205
|
+
mainClass: "Test string",
|
|
2202
2206
|
mainFileUri: "Test string",
|
|
2203
2207
|
properties: {
|
|
2204
2208
|
A: "Test string"
|