@maxim_mazurok/gapi.client.bigquery-v2 0.0.20250706 → 0.0.20250802
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.
- package/index.d.ts +20 -8
- 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:
|
|
12
|
+
// Revision: 20250802
|
|
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,15 +788,15 @@ declare namespace gapi.client {
|
|
|
786
788
|
externalSource?: string;
|
|
787
789
|
}
|
|
788
790
|
interface ExternalRuntimeOptions {
|
|
789
|
-
/** Optional. Amount of CPU provisioned for
|
|
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
|
|
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
|
|
799
|
+
/** Optional. Language runtime version. Example: `python-3.11`. */
|
|
798
800
|
runtimeVersion?: string;
|
|
799
801
|
}
|
|
800
802
|
interface ExternalServiceCost {
|
|
@@ -1070,6 +1072,8 @@ declare namespace gapi.client {
|
|
|
1070
1072
|
labels?: {[P in string]: string};
|
|
1071
1073
|
/** [Pick one] Configures a load job. */
|
|
1072
1074
|
load?: JobConfigurationLoad;
|
|
1075
|
+
/** 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. */
|
|
1076
|
+
maxSlots?: number;
|
|
1073
1077
|
/** [Pick one] Configures a query job. */
|
|
1074
1078
|
query?: JobConfigurationQuery;
|
|
1075
1079
|
/** Optional. The reservation that job would use. User can specify a reservation to execute the job. If reservation is not set, reservation is determined based on the rules defined by the reservation assignments. The expected format is `projects/{project}/locations/{location}/reservations/{reservation}`. */
|
|
@@ -1756,9 +1760,9 @@ declare namespace gapi.client {
|
|
|
1756
1760
|
projectId?: string;
|
|
1757
1761
|
}
|
|
1758
1762
|
interface PythonOptions {
|
|
1759
|
-
/** Required. The
|
|
1763
|
+
/** Required. The name of the function defined in Python code as the entry point when the Python UDF is invoked. */
|
|
1760
1764
|
entryPoint?: string;
|
|
1761
|
-
/** Optional. A list of package names along with versions to be installed.
|
|
1765
|
+
/** 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). */
|
|
1762
1766
|
packages?: string[];
|
|
1763
1767
|
}
|
|
1764
1768
|
interface QueryInfo {
|
|
@@ -1787,6 +1791,8 @@ declare namespace gapi.client {
|
|
|
1787
1791
|
/** Required. The type of this field. */
|
|
1788
1792
|
type?: QueryParameterType;
|
|
1789
1793
|
}>;
|
|
1794
|
+
/** 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) */
|
|
1795
|
+
timestampPrecision?: string;
|
|
1790
1796
|
/** Required. The top level type of this field. */
|
|
1791
1797
|
type?: string;
|
|
1792
1798
|
}
|
|
@@ -1829,6 +1835,8 @@ declare namespace gapi.client {
|
|
|
1829
1835
|
maximumBytesBilled?: string;
|
|
1830
1836
|
/** 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. */
|
|
1831
1837
|
maxResults?: number;
|
|
1838
|
+
/** 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. */
|
|
1839
|
+
maxSlots?: number;
|
|
1832
1840
|
/** GoogleSQL only. Set to POSITIONAL to use positional (?) query parameters or to NAMED to use named (@myparam) query parameters in this query. */
|
|
1833
1841
|
parameterMode?: string;
|
|
1834
1842
|
/** This property is deprecated. */
|
|
@@ -1986,7 +1994,7 @@ declare namespace gapi.client {
|
|
|
1986
1994
|
creationTime?: string;
|
|
1987
1995
|
/** Optional. If set to `DATA_MASKING`, the function is validated and made available as a masking function. For more information, see [Create custom masking routines](https://cloud.google.com/bigquery/docs/user-defined-functions#custom-mask). */
|
|
1988
1996
|
dataGovernanceType?: string;
|
|
1989
|
-
/** Required. The body of the routine. For functions, this is the expression in the AS clause. If language=SQL
|
|
1997
|
+
/** Required. The body of the routine. For functions, this is the expression in the AS clause. If `language = "SQL"`, it is the substring inside (but excluding) the parentheses. For example, for the function created with the following statement: `CREATE FUNCTION JoinLines(x string, y string) as (concat(x, "\n", y))` The definition_body is `concat(x, "\n", y)` (\n is not replaced with linebreak). If `language="JAVASCRIPT"`, it is the evaluated string in the AS clause. For example, for the function created with the following statement: `CREATE FUNCTION f() RETURNS STRING LANGUAGE js AS 'return "\n";\n'` The definition_body is `return "\n";\n` Note that both \n are replaced with linebreaks. If `definition_body` references another routine, then that routine must be fully qualified with its project ID. */
|
|
1990
1998
|
definitionBody?: string;
|
|
1991
1999
|
/** Optional. The description of the routine, if defined. */
|
|
1992
2000
|
description?: string;
|
|
@@ -2002,7 +2010,7 @@ declare namespace gapi.client {
|
|
|
2002
2010
|
language?: string;
|
|
2003
2011
|
/** Output only. The time when this routine was last modified, in milliseconds since the epoch. */
|
|
2004
2012
|
lastModifiedTime?: string;
|
|
2005
|
-
/** Optional. Options for Python UDF. [Preview](https://cloud.google.com/products/#product-launch-stages) */
|
|
2013
|
+
/** Optional. Options for the Python UDF. [Preview](https://cloud.google.com/products/#product-launch-stages) */
|
|
2006
2014
|
pythonOptions?: PythonOptions;
|
|
2007
2015
|
/** Optional. Remote function specific options. */
|
|
2008
2016
|
remoteFunctionOptions?: RemoteFunctionOptions;
|
|
@@ -3299,6 +3307,8 @@ declare namespace gapi.client {
|
|
|
3299
3307
|
callback?: string;
|
|
3300
3308
|
/** Selector specifying which fields to include in a partial response. */
|
|
3301
3309
|
fields?: string;
|
|
3310
|
+
/** 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. */
|
|
3311
|
+
'formatOptions.timestampOutputFormat'?: string;
|
|
3302
3312
|
/** Optional. Output timestamp as usec int64. Default is false. */
|
|
3303
3313
|
'formatOptions.useInt64Timestamp'?: boolean;
|
|
3304
3314
|
/** Required. Job ID of the query job. */
|
|
@@ -4478,6 +4488,8 @@ declare namespace gapi.client {
|
|
|
4478
4488
|
datasetId: string;
|
|
4479
4489
|
/** Selector specifying which fields to include in a partial response. */
|
|
4480
4490
|
fields?: string;
|
|
4491
|
+
/** 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. */
|
|
4492
|
+
'formatOptions.timestampOutputFormat'?: string;
|
|
4481
4493
|
/** Optional. Output timestamp as usec int64. Default is false. */
|
|
4482
4494
|
'formatOptions.useInt64Timestamp'?: boolean;
|
|
4483
4495
|
/** 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. */
|