@maxim_mazurok/gapi.client.bigquery-v2 0.1.20250912 → 0.1.20250928

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 (2) hide show
  1. package/index.d.ts +11 -3
  2. package/package.json +1 -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: 20250912
12
+ // Revision: 20250928
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -778,6 +778,8 @@ declare namespace gapi.client {
778
778
  timeFormat?: string;
779
779
  /** Optional. Format used to parse TIMESTAMP values. Supports C-style and SQL-style values. */
780
780
  timestampFormat?: string;
781
+ /** Precisions (maximum number of total digits in base 10) for seconds of TIMESTAMP types that are allowed to the destination table for autodetection mode. Available for the formats: CSV. For the CSV Format, Possible values include: Not Specified, [], or [6]: timestamp(6) for all auto detected TIMESTAMP columns [6, 12]: timestamp(6) for all auto detected TIMESTAMP columns that have less than 6 digits of subseconds. timestamp(12) for all auto detected TIMESTAMP columns that have more than 6 digits of subseconds. [12]: timestamp(12) for all auto detected TIMESTAMP columns. The order of the elements in this array is ignored. Inputs that have higher precision than the highest target precision in this array will be truncated. */
782
+ timestampTargetPrecision?: number[];
781
783
  /** Optional. Time zone used when parsing timestamp values that do not have specific time zone information (e.g. 2024-04-20 12:34:56). The expected format is a IANA timezone string (e.g. America/Los_Angeles). */
782
784
  timeZone?: string;
783
785
  }
@@ -1088,7 +1090,7 @@ declare namespace gapi.client {
1088
1090
  labels?: {[P in string]: string};
1089
1091
  /** [Pick one] Configures a load job. */
1090
1092
  load?: JobConfigurationLoad;
1091
- /** Optional. INTERNAL: DO NOT USE. The maximum rate of slot consumption to allow for this job. If set, the number of slots used to execute the job will be throttled to try and keep its slot consumption below the requested rate. */
1093
+ /** Optional. A target limit on the rate of slot consumption by this job. If set to a value > 0, BigQuery will attempt to limit the rate of slot consumption by this job to keep it below the configured limit, even if the job is eligible for more slots based on fair scheduling. The unused slots will be available for other jobs and queries to use. Note: This feature is not yet generally available. */
1092
1094
  maxSlots?: number;
1093
1095
  /** [Pick one] Configures a query job. */
1094
1096
  query?: JobConfigurationQuery;
@@ -1200,6 +1202,8 @@ declare namespace gapi.client {
1200
1202
  timePartitioning?: TimePartitioning;
1201
1203
  /** Optional. Date format used for parsing TIMESTAMP values. */
1202
1204
  timestampFormat?: string;
1205
+ /** Precisions (maximum number of total digits in base 10) for seconds of TIMESTAMP types that are allowed to the destination table for autodetection mode. Available for the formats: CSV. For the CSV Format, Possible values include: Not Specified, [], or [6]: timestamp(6) for all auto detected TIMESTAMP columns [6, 12]: timestamp(6) for all auto detected TIMESTAMP columns that have less than 6 digits of subseconds. timestamp(12) for all auto detected TIMESTAMP columns that have more than 6 digits of subseconds. [12]: timestamp(12) for all auto detected TIMESTAMP columns. The order of the elements in this array is ignored. Inputs that have higher precision than the highest target precision in this array will be truncated. */
1206
+ timestampTargetPrecision?: number[];
1203
1207
  /** Optional. Default time zone that will apply when parsing timestamp values that have no specific time zone. */
1204
1208
  timeZone?: string;
1205
1209
  /** Optional. If sourceFormat is set to "AVRO", indicates whether to interpret logical types as the corresponding BigQuery data type (for example, TIMESTAMP), instead of using the raw type (for example, INTEGER). */
@@ -1357,6 +1361,8 @@ declare namespace gapi.client {
1357
1361
  quotaDeferments?: string[];
1358
1362
  /** Output only. Name of the primary reservation assigned to this job. Note that this could be different than reservations reported in the reservation usage field if parent reservations were used to execute this job. */
1359
1363
  reservation_id?: string;
1364
+ /** Output only. The reservation group path of the reservation assigned to this job. This field has a limit of 10 nested reservation groups. This is to maintain consistency between reservatins info schema and jobs info schema. The first reservation group is the root reservation group and the last is the leaf or lowest level reservation group. */
1365
+ reservationGroupPath?: string[];
1360
1366
  /** Output only. Job resource usage breakdown by reservation. This field reported misleading information and will no longer be populated. */
1361
1367
  reservationUsage?: Array<{
1362
1368
  /** Reservation name or "unreserved" for on-demand resource usage and multi-statement queries. */
@@ -1861,7 +1867,7 @@ declare namespace gapi.client {
1861
1867
  maximumBytesBilled?: string;
1862
1868
  /** Optional. The maximum number of rows of data to return per page of results. Setting this flag to a small value such as 1000 and then paging through results might improve reliability when the query result set is large. In addition to this limit, responses are also limited to 10 MB. By default, there is no maximum row count, and only the byte limit applies. */
1863
1869
  maxResults?: number;
1864
- /** Optional. INTERNAL: DO NOT USE. The maximum rate of slot consumption to allow for this job. If set, the number of slots used to execute the job will be throttled to try and keep its slot consumption below the requested rate. This limit is best effort. */
1870
+ /** Optional. A target limit on the rate of slot consumption by this query. If set to a value > 0, BigQuery will attempt to limit the rate of slot consumption by this query to keep it below the configured limit, even if the query is eligible for more slots based on fair scheduling. The unused slots will be available for other jobs and queries to use. Note: This feature is not yet generally available. */
1865
1871
  maxSlots?: number;
1866
1872
  /** GoogleSQL only. Set to POSITIONAL to use positional (?) query parameters or to NAMED to use named (@myparam) query parameters in this query. */
1867
1873
  parameterMode?: string;
@@ -2505,6 +2511,8 @@ declare namespace gapi.client {
2505
2511
  roundingMode?: string;
2506
2512
  /** Optional. See documentation for precision. */
2507
2513
  scale?: string;
2514
+ /** Optional. Precision (maximum number of total digits in base 10) for seconds of TIMESTAMP type. Possible values include: * 6 (Default, for TIMESTAMP type with microsecond precision) * 12 (For TIMESTAMP type with picosecond precision) */
2515
+ timestampPrecision?: string;
2508
2516
  /** Required. The field data type. Possible values include: * STRING * BYTES * INTEGER (or INT64) * FLOAT (or FLOAT64) * BOOLEAN (or BOOL) * TIMESTAMP * DATE * TIME * DATETIME * GEOGRAPHY * NUMERIC * BIGNUMERIC * JSON * RECORD (or STRUCT) * RANGE Use of RECORD/STRUCT indicates that the field contains a nested schema. */
2509
2517
  type?: string;
2510
2518
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.bigquery-v2",
3
- "version": "0.1.20250912",
3
+ "version": "0.1.20250928",
4
4
  "description": "TypeScript typings for BigQuery API v2",
5
5
  "repository": {
6
6
  "type": "git",