@maxim_mazurok/gapi.client.bigquery-v2 0.1.20260612 → 0.1.20260620

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 +33 -2
  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: 20260612
12
+ // Revision: 20260620
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -176,6 +176,24 @@ declare namespace gapi.client {
176
176
  /** The tuple of time_series_ids identifying this time series. It will be one of the unique tuples of values present in the time_series_id_columns specified during ARIMA model training. Only present when time_series_id_columns training option was used and the order of values here are same as the order of time_series_id_columns. */
177
177
  timeSeriesIds?: string[];
178
178
  }
179
+ interface ArrowRecordBatch {
180
+ /** IPC-serialized Arrow RecordBatch. */
181
+ serializedRecordBatch?: string;
182
+ }
183
+ interface ArrowSchema {
184
+ /** IPC serialized Arrow schema. */
185
+ serializedSchema?: string;
186
+ }
187
+ interface ArrowSerializationOptions {
188
+ /** The compression codec to use for Arrow buffers in serialized record batches. */
189
+ bufferCompression?: 'COMPRESSION_UNSPECIFIED' | 'LZ4_FRAME' | 'ZSTD';
190
+ /** Optional. Set timestamp precision option. If not set, the default precision is microseconds. */
191
+ picosTimestampPrecision?:
192
+ | 'PICOS_TIMESTAMP_PRECISION_UNSPECIFIED'
193
+ | 'TIMESTAMP_PRECISION_MICROS'
194
+ | 'TIMESTAMP_PRECISION_NANOS'
195
+ | 'TIMESTAMP_PRECISION_PICOS';
196
+ }
179
197
  interface AuditConfig {
180
198
  /** The configuration for logging of each type of permission. */
181
199
  auditLogConfigs?: AuditLogConfig[];
@@ -989,7 +1007,7 @@ declare namespace gapi.client {
989
1007
  interface GeneratedExpressionInfo {
990
1008
  /** Optional. Whether the column generation is done asynchronously. */
991
1009
  asynchronous?: boolean;
992
- /** Optional. The generation expression (e.g. AI.EMBED(...)) used to generated the field. */
1010
+ /** Optional. The generation expression (e.g. AI.EMBED(...)) used to generate the field. */
993
1011
  generationExpression?: string;
994
1012
  /** Optional. Whether the generated column is stored in the table. */
995
1013
  stored?: boolean;
@@ -2161,6 +2179,8 @@ declare namespace gapi.client {
2161
2179
  value?: string;
2162
2180
  }
2163
2181
  interface QueryRequest {
2182
+ /** Optional. Options specific to the Apache Arrow output format. */
2183
+ arrowSerializationOptions?: ArrowSerializationOptions;
2164
2184
  /** Optional. Connection properties which can modify the query behavior. */
2165
2185
  connectionProperties?: ConnectionProperty[];
2166
2186
  /** [Optional] Specifies whether the query should be executed as a continuous query. The default value is false. */
@@ -2202,6 +2222,11 @@ declare namespace gapi.client {
2202
2222
  query?: string;
2203
2223
  /** Query parameters for GoogleSQL queries. */
2204
2224
  queryParameters?: QueryParameter[];
2225
+ /** Optional. The query results format. If the value is anything other than `STRUCT_ENCODING` or unspecified: * The schema of the results will be provided in `QueryResponse.results_schema` field. * The results of the first page will be provided in `QueryResponse.results` field. * The `QueryResponse.rows` will not be populated. * The `QueryResponse.schema` for `QueryResponse.rows` will also not be populated since it is the schema of the `QueryResponse.rows`. This feature is not yet available. */
2226
+ queryResultsFormat?:
2227
+ | 'QUERY_RESULTS_FORMAT_UNSPECIFIED'
2228
+ | 'STRUCT_ENCODING'
2229
+ | 'ARROW';
2205
2230
  /** Optional. A unique user provided identifier to ensure idempotent behavior for queries. Note that this is different from the job_id. It has the following properties: 1. It is case-sensitive, limited to up to 36 ASCII characters. A UUID is recommended. 2. Read only queries can ignore this token since they are nullipotent by definition. 3. For the purposes of idempotency ensured by the request_id, a request is considered duplicate of another only if they have the same request_id and are actually duplicates. When determining whether a request is a duplicate of another request, all parameters in the request that may affect the result are considered. For example, query, connection_properties, query_parameters, use_legacy_sql are parameters that affect the result and are considered when determining whether a request is a duplicate, but properties like timeout_ms don't affect the result and are thus not considered. Dry run query requests are never considered duplicate of another request. 4. When a duplicate mutating query request is detected, it returns: a. the results of the mutation if it completes successfully within the timeout. b. the running operation if it is still in progress at the end of the timeout. 5. Its lifetime is limited to 15 minutes. In other words, if two requests are sent with the same request_id, but more than 15 minutes apart, idempotency is not guaranteed. */
2206
2231
  requestId?: string;
2207
2232
  /** Optional. The reservation that jobs.query request would use. User can specify a reservation to execute the job.query. The expected format is `projects/{project}/locations/{location}/reservations/{reservation}`. */
@@ -2216,6 +2241,10 @@ declare namespace gapi.client {
2216
2241
  writeIncrementalResults?: boolean;
2217
2242
  }
2218
2243
  interface QueryResponse {
2244
+ /** Output only. Serialized row data in Arrow RecordBatch format. */
2245
+ arrowRecordBatch?: ArrowRecordBatch;
2246
+ /** Output only. Arrow schema */
2247
+ arrowSchema?: ArrowSchema;
2219
2248
  /** Whether the query result was fetched from the query cache. */
2220
2249
  cacheHit?: boolean;
2221
2250
  /** Output only. Creation time of this query, in milliseconds since the epoch. This field will be present on all queries. */
@@ -2238,6 +2267,8 @@ declare namespace gapi.client {
2238
2267
  location?: string;
2239
2268
  /** Output only. The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE. */
2240
2269
  numDmlAffectedRows?: string;
2270
+ /** Output only. The number of rows out of `total_rows` returned in this response. This feature is not yet available. */
2271
+ pageRowCount?: string;
2241
2272
  /** A token used for paging results. A non-empty token indicates that additional results are available. To see additional results, query the [`jobs.getQueryResults`](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/getQueryResults) method. For more information, see [Paging through table data](https://cloud.google.com/bigquery/docs/paging-results). */
2242
2273
  pageToken?: string;
2243
2274
  /** Auto-generated ID for the query. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.bigquery-v2",
3
- "version": "0.1.20260612",
3
+ "version": "0.1.20260620",
4
4
  "description": "TypeScript typings for BigQuery API v2",
5
5
  "repository": {
6
6
  "type": "git",