@maxim_mazurok/gapi.client.bigquery-v2 0.0.20220924 → 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.
Files changed (3) hide show
  1. package/index.d.ts +10 -1
  2. package/package.json +1 -1
  3. package/tests.ts +12 -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: 20220924
12
+ // Revision: 20221015
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -576,6 +576,8 @@ declare namespace gapi.client {
576
576
  satisfiesPzs?: boolean;
577
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. */
578
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;
579
581
  /** [Optional]The tags associated with this dataset. Tag keys are globally unique. */
580
582
  tags?: Array<{
581
583
  /** [Required] The namespaced friendly name of the tag key, e.g. "12345/environment" where 12345 is org id. */
@@ -846,6 +848,13 @@ declare namespace gapi.client {
846
848
  * Google Cloud Datastore backups and Avro formats.
847
849
  */
848
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;
849
858
  /** Additional properties to set if sourceFormat is set to Parquet. */
850
859
  parquetOptions?: ParquetOptions;
851
860
  /** [Optional] Provide a referencing file with the expected table schema. Enabled for the format: AVRO, PARQUET, ORC. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.bigquery-v2",
3
- "version": "0.0.20220924",
3
+ "version": "0.0.20221015",
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: 20220924
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,
@@ -2392,6 +2397,8 @@ gapi.load('client', async () => {
2392
2397
  },
2393
2398
  ignoreUnknownValues: true,
2394
2399
  maxBadRecords: 42,
2400
+ metadataCacheMode: "Test string",
2401
+ objectMetadata: "Test string",
2395
2402
  parquetOptions: {
2396
2403
  enableListInference: true,
2397
2404
  enumAsString: true,
@@ -2655,6 +2662,8 @@ gapi.load('client', async () => {
2655
2662
  },
2656
2663
  ignoreUnknownValues: true,
2657
2664
  maxBadRecords: 42,
2665
+ metadataCacheMode: "Test string",
2666
+ objectMetadata: "Test string",
2658
2667
  parquetOptions: {
2659
2668
  enableListInference: true,
2660
2669
  enumAsString: true,
@@ -2959,6 +2968,8 @@ gapi.load('client', async () => {
2959
2968
  },
2960
2969
  ignoreUnknownValues: true,
2961
2970
  maxBadRecords: 42,
2971
+ metadataCacheMode: "Test string",
2972
+ objectMetadata: "Test string",
2962
2973
  parquetOptions: {
2963
2974
  enableListInference: true,
2964
2975
  enumAsString: true,