@maxim_mazurok/gapi.client.bigquery-v2 0.0.20220818 → 0.0.20220827

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.
Files changed (3) hide show
  1. package/index.d.ts +31 -12
  2. package/package.json +1 -1
  3. package/tests.ts +12 -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: 20220818
13
+ // Revision: 20220827
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. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that
314
- * represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier
315
- * for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example,
316
- * `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. *
317
- * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example,
318
- * `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. *
319
- * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example,
320
- * `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service
321
- * account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently
322
- * deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in
323
- * the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
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`. */
@@ -1552,6 +1553,8 @@ declare namespace gapi.client {
1552
1553
  schema?: TableSchema;
1553
1554
  /** [Output-only] Search query specific statistics. */
1554
1555
  searchStatistics?: SearchStatistics;
1556
+ /** [Output-only] Statistics of a Spark procedure job. */
1557
+ sparkStatistics?: SparkStatistics;
1555
1558
  /**
1556
1559
  * 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
1560
  * https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language. "UPDATE": UPDATE query; see
@@ -2194,6 +2197,12 @@ declare namespace gapi.client {
2194
2197
  /** [Required] The time at which the base table was snapshot. This value is reported in the JSON response using RFC3339 format. */
2195
2198
  snapshotTime?: string;
2196
2199
  }
2200
+ interface SparkLoggingInfo {
2201
+ /** [Output-only] Project ID used for logging */
2202
+ project_id?: string;
2203
+ /** [Output-only] Resource type used for logging */
2204
+ resource_type?: string;
2205
+ }
2197
2206
  interface SparkOptions {
2198
2207
  /**
2199
2208
  * Archive files to be extracted into the working directory of each executor. For more information about Apache Spark, see [Apache
@@ -2223,6 +2232,16 @@ declare namespace gapi.client {
2223
2232
  /** Runtime version. If not specified, the default runtime version is used. */
2224
2233
  runtimeVersion?: string;
2225
2234
  }
2235
+ interface SparkStatistics {
2236
+ /** [Output-only] Endpoints generated for the Spark job. */
2237
+ endpoints?: { [P in string]: string };
2238
+ /** [Output-only] Logging info is used to generate a link to Cloud Logging. */
2239
+ logging_info?: SparkLoggingInfo;
2240
+ /** [Output-only] Spark job id if a Spark job is created successfully. */
2241
+ spark_job_id?: string;
2242
+ /** [Output-only] Location where the Spark job is executed. */
2243
+ spark_job_location?: string;
2244
+ }
2226
2245
  interface StandardSqlDataType {
2227
2246
  /** The type of the array's elements, if type_kind = "ARRAY". */
2228
2247
  arrayElementType?: StandardSqlDataType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.bigquery-v2",
3
- "version": "0.0.20220818",
3
+ "version": "0.0.20220827",
4
4
  "description": "TypeScript typings for BigQuery API v2",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20220818
6
+ // Revision: 20220827
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -835,6 +835,17 @@ gapi.load('client', async () => {
835
835
  ],
836
836
  indexUsageMode: "Test string",
837
837
  },
838
+ sparkStatistics: {
839
+ endpoints: {
840
+ A: "Test string"
841
+ },
842
+ logging_info: {
843
+ project_id: "Test string",
844
+ resource_type: "Test string",
845
+ },
846
+ spark_job_id: "Test string",
847
+ spark_job_location: "Test string",
848
+ },
838
849
  statementType: "Test string",
839
850
  timeline: [
840
851
  {