@maxim_mazurok/gapi.client.bigquery-v2 0.2.20260620 → 0.2.20260707
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 +27 -4
- 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: 20260707
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -48,7 +48,12 @@ declare namespace gapi.client {
|
|
|
48
48
|
}
|
|
49
49
|
interface Argument {
|
|
50
50
|
/** Optional. Defaults to FIXED_TYPE. */
|
|
51
|
-
argumentKind?:
|
|
51
|
+
argumentKind?:
|
|
52
|
+
| 'ARGUMENT_KIND_UNSPECIFIED'
|
|
53
|
+
| 'FIXED_TYPE'
|
|
54
|
+
| 'ANY_TYPE'
|
|
55
|
+
| 'FIXED_TABLE'
|
|
56
|
+
| 'ANY_TABLE';
|
|
52
57
|
/** Set if argument_kind == FIXED_TYPE. */
|
|
53
58
|
dataType?: StandardSqlDataType;
|
|
54
59
|
/** Optional. Whether the argument is an aggregate function parameter. Must be Unset for routine types other than AGGREGATE_FUNCTION. For AGGREGATE_FUNCTION, if set to false, it is equivalent to adding "NOT AGGREGATE" clause in DDL; Otherwise, it is equivalent to omitting "NOT AGGREGATE" clause in DDL. */
|
|
@@ -57,6 +62,8 @@ declare namespace gapi.client {
|
|
|
57
62
|
mode?: 'MODE_UNSPECIFIED' | 'IN' | 'OUT' | 'INOUT';
|
|
58
63
|
/** Optional. The name of this argument. Can be absent for function return argument. */
|
|
59
64
|
name?: string;
|
|
65
|
+
/** Optional. Set if argument_kind == FIXED_TABLE. */
|
|
66
|
+
tableType?: StandardSqlTableType;
|
|
60
67
|
}
|
|
61
68
|
interface ArimaCoefficients {
|
|
62
69
|
/** Auto-regressive coefficients, an array of double. */
|
|
@@ -1301,7 +1308,7 @@ declare namespace gapi.client {
|
|
|
1301
1308
|
maxSlots?: number;
|
|
1302
1309
|
/** [Pick one] Configures a query job. */
|
|
1303
1310
|
query?: JobConfigurationQuery;
|
|
1304
|
-
/** 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}`. */
|
|
1311
|
+
/** 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}`. Forces the query to use on-demand billing when set to `none`, which requires the project or organization to have `reservation_override_mode` set to `ALLOW_ANY_OVERRIDE`. */
|
|
1305
1312
|
reservation?: string;
|
|
1306
1313
|
}
|
|
1307
1314
|
interface JobConfigurationExtract {
|
|
@@ -1578,10 +1585,14 @@ declare namespace gapi.client {
|
|
|
1578
1585
|
extract?: JobStatistics4;
|
|
1579
1586
|
/** Output only. The duration in milliseconds of the execution of the final attempt of this job, as BigQuery may internally re-attempt to execute the job. */
|
|
1580
1587
|
finalExecutionDurationMs?: string;
|
|
1588
|
+
/** Output only. Regions where the global query accesses data. */
|
|
1589
|
+
globalQueryRemoteRegions?: string[];
|
|
1581
1590
|
/** Output only. Statistics for a load job. */
|
|
1582
1591
|
load?: JobStatistics3;
|
|
1583
1592
|
/** Output only. Number of child jobs executed. */
|
|
1584
1593
|
numChildJobs?: string;
|
|
1594
|
+
/** Output only. The global query that created this job. */
|
|
1595
|
+
parentGlobalQueryJob?: JobReference;
|
|
1585
1596
|
/** Output only. If this is a child job, specifies the job ID of the parent. */
|
|
1586
1597
|
parentJobId?: string;
|
|
1587
1598
|
/** Output only. Statistics for a query job. */
|
|
@@ -1669,6 +1680,8 @@ declare namespace gapi.client {
|
|
|
1669
1680
|
modelTrainingExpectedTotalIteration?: string;
|
|
1670
1681
|
/** Output only. The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE. */
|
|
1671
1682
|
numDmlAffectedRows?: string;
|
|
1683
|
+
/** Output only. Storage and caching statistics per cloud provider for queries over object storage. */
|
|
1684
|
+
objectStorageStats?: ObjectStorageStats[];
|
|
1672
1685
|
/** Output only. Performance insights. */
|
|
1673
1686
|
performanceInsights?: PerformanceInsights;
|
|
1674
1687
|
/** Output only. Query optimization information for a QUERY job. */
|
|
@@ -1744,6 +1757,8 @@ declare namespace gapi.client {
|
|
|
1744
1757
|
copiedLogicalBytes?: string;
|
|
1745
1758
|
/** Output only. Number of rows copied to the destination table. */
|
|
1746
1759
|
copiedRows?: string;
|
|
1760
|
+
/** Output only. Destination region for a cross-region copy job. Not set for in-region copy jobs. */
|
|
1761
|
+
remoteDestinationRegion?: string;
|
|
1747
1762
|
}
|
|
1748
1763
|
interface JobStatus {
|
|
1749
1764
|
/** Output only. Final error result of the job. If present, indicates that the job has completed and was unsuccessful. */
|
|
@@ -2009,6 +2024,14 @@ declare namespace gapi.client {
|
|
|
2009
2024
|
/** Confusion matrix at different thresholds. */
|
|
2010
2025
|
confusionMatrixList?: ConfusionMatrix[];
|
|
2011
2026
|
}
|
|
2027
|
+
interface ObjectStorageStats {
|
|
2028
|
+
/** Total bytes read from the GCP Lakehouse-internal cache, avoiding an object storage read. */
|
|
2029
|
+
cacheBytesRead?: string;
|
|
2030
|
+
/** The cloud provider for this block of statistics. */
|
|
2031
|
+
cloudProvider?: 'CLOUD_PROVIDER_UNSPECIFIED' | 'GCP' | 'AWS' | 'AZURE';
|
|
2032
|
+
/** Total bytes read directly from the cloud provider's storage. */
|
|
2033
|
+
objectStorageBytesRead?: string;
|
|
2034
|
+
}
|
|
2012
2035
|
interface ParquetOptions {
|
|
2013
2036
|
/** Optional. Indicates whether to use schema inference specifically for Parquet LIST logical type. */
|
|
2014
2037
|
enableListInference?: boolean;
|
|
@@ -2206,7 +2229,7 @@ declare namespace gapi.client {
|
|
|
2206
2229
|
'QUERY_RESULTS_FORMAT_UNSPECIFIED' | 'STRUCT_ENCODING' | 'ARROW';
|
|
2207
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. */
|
|
2208
2231
|
requestId?: string;
|
|
2209
|
-
/** 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}`. */
|
|
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}`. Forces the query to use on-demand billing when set to `none`. This requires the project or organization to have `reservation_override_mode` set to `ALLOW_ANY_OVERRIDE`. */
|
|
2210
2233
|
reservation?: string;
|
|
2211
2234
|
/** Optional. Optional: Specifies the maximum amount of time, in milliseconds, that the client is willing to wait for the query to complete. By default, this limit is 10 seconds (10,000 milliseconds). If the query is complete, the jobComplete field in the response is true. If the query has not yet completed, jobComplete is false. You can request a longer timeout period in the timeoutMs field. However, the call is not guaranteed to wait for the specified timeout; it typically returns after around 200 seconds (200,000 milliseconds), even if the query is not complete. If jobComplete is false, you can continue to wait for the query to complete by calling the getQueryResults method until the jobComplete field in the getQueryResults response is true. */
|
|
2212
2235
|
timeoutMs?: number;
|