@maxim_mazurok/gapi.client.bigquery-v2 0.0.20220813 → 0.0.20220903
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 +33 -12
- package/package.json +1 -1
- package/tests.ts +18 -1
package/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
11
11
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
12
12
|
// Generated from: https://bigquery.googleapis.com/$discovery/rest?version=v2
|
|
13
|
-
// Revision:
|
|
13
|
+
// Revision: 20220903
|
|
14
14
|
|
|
15
15
|
/// <reference types="gapi.client" />
|
|
16
16
|
|
|
@@ -310,17 +310,18 @@ declare namespace gapi.client {
|
|
|
310
310
|
/**
|
|
311
311
|
* Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on
|
|
312
312
|
* the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service
|
|
313
|
-
* account.
|
|
314
|
-
*
|
|
315
|
-
*
|
|
316
|
-
* `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. *
|
|
317
|
-
* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
|
|
318
|
-
* `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to
|
|
319
|
-
* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing
|
|
320
|
-
* `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value
|
|
321
|
-
* account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
|
|
322
|
-
* deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to
|
|
323
|
-
* the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For
|
|
313
|
+
* account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific
|
|
314
|
+
* Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example,
|
|
315
|
+
* `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service
|
|
316
|
+
* account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. *
|
|
317
|
+
* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
|
|
318
|
+
* identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to
|
|
319
|
+
* `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing
|
|
320
|
+
* a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value
|
|
321
|
+
* reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
|
|
322
|
+
* identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to
|
|
323
|
+
* `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For
|
|
324
|
+
* example, `google.com` or `example.com`.
|
|
324
325
|
*/
|
|
325
326
|
members?: string[];
|
|
326
327
|
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
|
|
@@ -1167,6 +1168,8 @@ declare namespace gapi.client {
|
|
|
1167
1168
|
autodetect?: boolean;
|
|
1168
1169
|
/** [Beta] Clustering specification for the destination table. Must be specified with time-based partitioning, data in the table will be first partitioned and subsequently clustered. */
|
|
1169
1170
|
clustering?: Clustering;
|
|
1171
|
+
/** Connection properties. */
|
|
1172
|
+
connectionProperties?: ConnectionProperty[];
|
|
1170
1173
|
/**
|
|
1171
1174
|
* [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.
|
|
1172
1175
|
* 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
|
|
@@ -1552,6 +1555,8 @@ declare namespace gapi.client {
|
|
|
1552
1555
|
schema?: TableSchema;
|
|
1553
1556
|
/** [Output-only] Search query specific statistics. */
|
|
1554
1557
|
searchStatistics?: SearchStatistics;
|
|
1558
|
+
/** [Output-only] Statistics of a Spark procedure job. */
|
|
1559
|
+
sparkStatistics?: SparkStatistics;
|
|
1555
1560
|
/**
|
|
1556
1561
|
* The type of query statement, if valid. Possible values (new values might be added in the future): "SELECT": SELECT query. "INSERT": INSERT query; see
|
|
1557
1562
|
* https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language. "UPDATE": UPDATE query; see
|
|
@@ -2194,6 +2199,12 @@ declare namespace gapi.client {
|
|
|
2194
2199
|
/** [Required] The time at which the base table was snapshot. This value is reported in the JSON response using RFC3339 format. */
|
|
2195
2200
|
snapshotTime?: string;
|
|
2196
2201
|
}
|
|
2202
|
+
interface SparkLoggingInfo {
|
|
2203
|
+
/** [Output-only] Project ID used for logging */
|
|
2204
|
+
project_id?: string;
|
|
2205
|
+
/** [Output-only] Resource type used for logging */
|
|
2206
|
+
resource_type?: string;
|
|
2207
|
+
}
|
|
2197
2208
|
interface SparkOptions {
|
|
2198
2209
|
/**
|
|
2199
2210
|
* Archive files to be extracted into the working directory of each executor. For more information about Apache Spark, see [Apache
|
|
@@ -2223,6 +2234,16 @@ declare namespace gapi.client {
|
|
|
2223
2234
|
/** Runtime version. If not specified, the default runtime version is used. */
|
|
2224
2235
|
runtimeVersion?: string;
|
|
2225
2236
|
}
|
|
2237
|
+
interface SparkStatistics {
|
|
2238
|
+
/** [Output-only] Endpoints generated for the Spark job. */
|
|
2239
|
+
endpoints?: { [P in string]: string };
|
|
2240
|
+
/** [Output-only] Logging info is used to generate a link to Cloud Logging. */
|
|
2241
|
+
logging_info?: SparkLoggingInfo;
|
|
2242
|
+
/** [Output-only] Spark job id if a Spark job is created successfully. */
|
|
2243
|
+
spark_job_id?: string;
|
|
2244
|
+
/** [Output-only] Location where the Spark job is executed. */
|
|
2245
|
+
spark_job_location?: string;
|
|
2246
|
+
}
|
|
2226
2247
|
interface StandardSqlDataType {
|
|
2227
2248
|
/** The type of the array's elements, if type_kind = "ARRAY". */
|
|
2228
2249
|
arrayElementType?: StandardSqlDataType;
|
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: 20220903
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -367,6 +367,12 @@ gapi.load('client', async () => {
|
|
|
367
367
|
"Test string"
|
|
368
368
|
],
|
|
369
369
|
},
|
|
370
|
+
connectionProperties: [
|
|
371
|
+
{
|
|
372
|
+
key: "Test string",
|
|
373
|
+
value: "Test string",
|
|
374
|
+
}
|
|
375
|
+
],
|
|
370
376
|
createDisposition: "Test string",
|
|
371
377
|
decimalTargetTypes: [
|
|
372
378
|
"Test string"
|
|
@@ -835,6 +841,17 @@ gapi.load('client', async () => {
|
|
|
835
841
|
],
|
|
836
842
|
indexUsageMode: "Test string",
|
|
837
843
|
},
|
|
844
|
+
sparkStatistics: {
|
|
845
|
+
endpoints: {
|
|
846
|
+
A: "Test string"
|
|
847
|
+
},
|
|
848
|
+
logging_info: {
|
|
849
|
+
project_id: "Test string",
|
|
850
|
+
resource_type: "Test string",
|
|
851
|
+
},
|
|
852
|
+
spark_job_id: "Test string",
|
|
853
|
+
spark_job_location: "Test string",
|
|
854
|
+
},
|
|
838
855
|
statementType: "Test string",
|
|
839
856
|
timeline: [
|
|
840
857
|
{
|