@maxim_mazurok/gapi.client.bigquery-v2 0.0.20230925 → 0.0.20231008

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 -3
  2. package/package.json +1 -1
  3. package/tests.ts +5 -3
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: 20230925
12
+ // Revision: 20231008
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -48,6 +48,18 @@ declare namespace gapi.client {
48
48
  threshold?:
49
49
  number;
50
50
  }
51
+ interface AggregationThresholdPolicy {
52
+ /**
53
+ * Optional. The privacy unit column(s) associated with this policy. For now, only one column per data source object (table, view) is allowed as a privacy unit column. Representing as
54
+ * a repeated field in metadata for extensibility to multiple columns in future. Duplicates and Repeated struct fields are not allowed. For nested fields, use dot notation
55
+ * ("outer.inner")
56
+ */
57
+ privacyUnitColumns?:
58
+ string[];
59
+ /** Optional. The threshold for the "aggregation threshold" policy. */
60
+ threshold?:
61
+ string;
62
+ }
51
63
  interface Argument {
52
64
  /** Optional. Defaults to FIXED_TYPE. */
53
65
  argumentKind?:
@@ -1939,6 +1951,11 @@ declare namespace gapi.client {
1939
1951
  writeDisposition?:
1940
1952
  string;
1941
1953
  }
1954
+ interface JobCreationReason {
1955
+ /** Output only. Specifies the high level reason why a Job was created. */
1956
+ code?:
1957
+ string;
1958
+ }
1942
1959
  interface JobList {
1943
1960
  /** A hash of this page of results. */
1944
1961
  etag?:
@@ -2493,6 +2510,11 @@ declare namespace gapi.client {
2493
2510
  principalComponentId?:
2494
2511
  string;
2495
2512
  }
2513
+ interface PrivacyPolicy {
2514
+ /** Optional. Policy used for aggregation thresholds. */
2515
+ aggregationThresholdPolicy?:
2516
+ AggregationThresholdPolicy;
2517
+ }
2496
2518
  interface ProjectList {
2497
2519
  /** A hash of the page of results */
2498
2520
  etag?:
@@ -2713,6 +2735,9 @@ declare namespace gapi.client {
2713
2735
  /** A token used for paging results. */
2714
2736
  pageToken?:
2715
2737
  string;
2738
+ /** Query ID for the completed query. This ID will be auto-generated. This field is not yet available and it is currently not guaranteed to be populated. */
2739
+ queryId?:
2740
+ string;
2716
2741
  /**
2717
2742
  * An object with as many results as can be contained within the maximum permitted reply size. To get any additional rows, you can call GetQueryResults and specify the jobReference
2718
2743
  * returned above.
@@ -2911,6 +2936,9 @@ declare namespace gapi.client {
2911
2936
  /** Required. The type of routine. */
2912
2937
  routineType?:
2913
2938
  string;
2939
+ /** Optional. The security mode of the routine, if defined. If not defined, the security mode is automatically determined from the routine's configuration. */
2940
+ securityMode?:
2941
+ string;
2914
2942
  /** Optional. Spark specific options. */
2915
2943
  sparkOptions?:
2916
2944
  SparkOptions;
@@ -3051,10 +3079,10 @@ declare namespace gapi.client {
3051
3079
  }
3052
3080
  interface SparkLoggingInfo {
3053
3081
  /** [Output-only] Project ID used for logging */
3054
- project_id?:
3082
+ projectId?:
3055
3083
  string;
3056
3084
  /** [Output-only] Resource type used for logging */
3057
- resource_type?:
3085
+ resourceType?:
3058
3086
  string;
3059
3087
  }
3060
3088
  interface SparkOptions {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.bigquery-v2",
3
- "version": "0.0.20230925",
3
+ "version": "0.0.20231008",
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: 20230925
6
+ // Revision: 20231008
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -897,8 +897,8 @@ gapi.load('client', async () => {
897
897
  A: "Test string"
898
898
  },
899
899
  loggingInfo: {
900
- project_id: "Test string",
901
- resource_type: "Test string",
900
+ projectId: "Test string",
901
+ resourceType: "Test string",
902
902
  },
903
903
  sparkJobId: "Test string",
904
904
  sparkJobLocation: "Test string",
@@ -2196,6 +2196,7 @@ gapi.load('client', async () => {
2196
2196
  routineId: "Test string",
2197
2197
  },
2198
2198
  routineType: "Test string",
2199
+ securityMode: "Test string",
2199
2200
  sparkOptions: {
2200
2201
  archiveUris: [
2201
2202
  "Test string"
@@ -2309,6 +2310,7 @@ gapi.load('client', async () => {
2309
2310
  routineId: "Test string",
2310
2311
  },
2311
2312
  routineType: "Test string",
2313
+ securityMode: "Test string",
2312
2314
  sparkOptions: {
2313
2315
  archiveUris: [
2314
2316
  "Test string"