@maxim_mazurok/gapi.client.bigquery-v2 0.0.20250628 → 0.0.20250713

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 +19 -7
  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: 20250628
12
+ // Revision: 20250713
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -381,6 +381,8 @@ declare namespace gapi.client {
381
381
  sourceColumnMatch?: string;
382
382
  }
383
383
  interface DataFormatOptions {
384
+ /** Optional. The API output format for a timestamp. This offers more explicit control over the timestamp output format as compared to the existing `use_int64_timestamp` option. */
385
+ timestampOutputFormat?: string;
384
386
  /** Optional. Output timestamp as usec int64. Default is false. */
385
387
  useInt64Timestamp?: boolean;
386
388
  }
@@ -786,18 +788,20 @@ declare namespace gapi.client {
786
788
  externalSource?: string;
787
789
  }
788
790
  interface ExternalRuntimeOptions {
789
- /** Optional. Amount of CPU provisioned for the container instance. If not specified, the default value is 0.33 vCPUs. */
791
+ /** Optional. Amount of CPU provisioned for a Python UDF container instance. For more information, see [Configure container limits for Python UDFs](https://cloud.google.com/bigquery/docs/user-defined-functions-python#configure-container-limits) */
790
792
  containerCpu?: number;
791
- /** Optional. Amount of memory provisioned for the container instance. Format: {number}{unit} where unit is one of "M", "G", "Mi" and "Gi" (e.g. 1G, 512Mi). If not specified, the default value is 512Mi. */
793
+ /** Optional. Amount of memory provisioned for a Python UDF container instance. Format: {number}{unit} where unit is one of "M", "G", "Mi" and "Gi" (e.g. 1G, 512Mi). If not specified, the default value is 512Mi. For more information, see [Configure container limits for Python UDFs](https://cloud.google.com/bigquery/docs/user-defined-functions-python#configure-container-limits) */
792
794
  containerMemory?: string;
793
795
  /** Optional. Maximum number of rows in each batch sent to the external runtime. If absent or if 0, BigQuery dynamically decides the number of rows in a batch. */
794
796
  maxBatchingRows?: string;
795
797
  /** Optional. Fully qualified name of the connection whose service account will be used to execute the code in the container. Format: ```"projects/{project_id}/locations/{location_id}/connections/{connection_id}"``` */
796
798
  runtimeConnection?: string;
797
- /** Optional. Language runtime version (e.g. python-3.11). */
799
+ /** Optional. Language runtime version. Example: `python-3.11`. */
798
800
  runtimeVersion?: string;
799
801
  }
800
802
  interface ExternalServiceCost {
803
+ /** The billing method used for the external job. This field is only used when billed on the services sku, set to "SERVICES_SKU". Otherwise, it is unspecified for backward compatibility. */
804
+ billingMethod?: string;
801
805
  /** External service cost in terms of bigquery bytes billed. */
802
806
  bytesBilled?: string;
803
807
  /** External service cost in terms of bigquery bytes processed. */
@@ -1443,6 +1447,8 @@ declare namespace gapi.client {
1443
1447
  totalBytesProcessedAccuracy?: string;
1444
1448
  /** Output only. Total number of partitions processed from all partitioned tables referenced in the job. */
1445
1449
  totalPartitionsProcessed?: string;
1450
+ /** Output only. Total slot-milliseconds for the job that run on external services and billed on the service SKU. This field is only populated for jobs that have external service costs, and is the total of the usage for costs whose billing method is "SERVICES_SKU". */
1451
+ totalServicesSkuSlotMs?: string;
1446
1452
  /** Output only. Slot-milliseconds for the job. */
1447
1453
  totalSlotMs?: string;
1448
1454
  /** Output only. Total bytes transferred for cross-cloud queries such as Cross Cloud Transfer and CREATE TABLE AS SELECT (CTAS). */
@@ -1752,9 +1758,9 @@ declare namespace gapi.client {
1752
1758
  projectId?: string;
1753
1759
  }
1754
1760
  interface PythonOptions {
1755
- /** Required. The entry point function in the user's Python code. */
1761
+ /** Required. The name of the function defined in Python code as the entry point when the Python UDF is invoked. */
1756
1762
  entryPoint?: string;
1757
- /** Optional. A list of package names along with versions to be installed. Follows requirements.txt syntax (e.g. numpy==2.0, permutation, urllib3<2.2.1) */
1763
+ /** Optional. A list of Python package names along with versions to be installed. Example: ["pandas>=2.1", "google-cloud-translate==3.11"]. For more information, see [Use third-party packages](https://cloud.google.com/bigquery/docs/user-defined-functions-python#third-party-packages). */
1758
1764
  packages?: string[];
1759
1765
  }
1760
1766
  interface QueryInfo {
@@ -1783,6 +1789,8 @@ declare namespace gapi.client {
1783
1789
  /** Required. The type of this field. */
1784
1790
  type?: QueryParameterType;
1785
1791
  }>;
1792
+ /** 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) */
1793
+ timestampPrecision?: string;
1786
1794
  /** Required. The top level type of this field. */
1787
1795
  type?: string;
1788
1796
  }
@@ -1998,7 +2006,7 @@ declare namespace gapi.client {
1998
2006
  language?: string;
1999
2007
  /** Output only. The time when this routine was last modified, in milliseconds since the epoch. */
2000
2008
  lastModifiedTime?: string;
2001
- /** Optional. Options for Python UDF. [Preview](https://cloud.google.com/products/#product-launch-stages) */
2009
+ /** Optional. Options for the Python UDF. [Preview](https://cloud.google.com/products/#product-launch-stages) */
2002
2010
  pythonOptions?: PythonOptions;
2003
2011
  /** Optional. Remote function specific options. */
2004
2012
  remoteFunctionOptions?: RemoteFunctionOptions;
@@ -3295,6 +3303,8 @@ declare namespace gapi.client {
3295
3303
  callback?: string;
3296
3304
  /** Selector specifying which fields to include in a partial response. */
3297
3305
  fields?: string;
3306
+ /** Optional. The API output format for a timestamp. This offers more explicit control over the timestamp output format as compared to the existing `use_int64_timestamp` option. */
3307
+ 'formatOptions.timestampOutputFormat'?: string;
3298
3308
  /** Optional. Output timestamp as usec int64. Default is false. */
3299
3309
  'formatOptions.useInt64Timestamp'?: boolean;
3300
3310
  /** Required. Job ID of the query job. */
@@ -4474,6 +4484,8 @@ declare namespace gapi.client {
4474
4484
  datasetId: string;
4475
4485
  /** Selector specifying which fields to include in a partial response. */
4476
4486
  fields?: string;
4487
+ /** Optional. The API output format for a timestamp. This offers more explicit control over the timestamp output format as compared to the existing `use_int64_timestamp` option. */
4488
+ 'formatOptions.timestampOutputFormat'?: string;
4477
4489
  /** Optional. Output timestamp as usec int64. Default is false. */
4478
4490
  'formatOptions.useInt64Timestamp'?: boolean;
4479
4491
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.bigquery-v2",
3
- "version": "0.0.20250628",
3
+ "version": "0.0.20250713",
4
4
  "description": "TypeScript typings for BigQuery API v2",
5
5
  "repository": {
6
6
  "type": "git",