@maxim_mazurok/gapi.client.bigquery-v2 0.0.20250404 → 0.0.20250511
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 +17 -5
- 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: 20250511
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -491,6 +491,8 @@ declare namespace gapi.client {
|
|
|
491
491
|
datasets?: Array<{
|
|
492
492
|
/** The dataset reference. Use this property to access specific parts of the dataset's ID, such as project ID or dataset ID. */
|
|
493
493
|
datasetReference?: DatasetReference;
|
|
494
|
+
/** Output only. Reference to a read-only external dataset defined in data catalogs outside of BigQuery. Filled out when the dataset type is EXTERNAL. */
|
|
495
|
+
externalDatasetReference?: ExternalDatasetReference;
|
|
494
496
|
/** An alternate name for the dataset. The friendly name is purely decorative in nature. */
|
|
495
497
|
friendlyName?: string;
|
|
496
498
|
/** The fully-qualified, unique, opaque ID of the dataset. */
|
|
@@ -1164,11 +1166,11 @@ declare namespace gapi.client {
|
|
|
1164
1166
|
timePartitioning?: TimePartitioning;
|
|
1165
1167
|
/** Optional. Date format used for parsing TIMESTAMP values. */
|
|
1166
1168
|
timestampFormat?: string;
|
|
1167
|
-
/** Optional.
|
|
1169
|
+
/** Optional. Default time zone that will apply when parsing timestamp values that have no specific time zone. */
|
|
1168
1170
|
timeZone?: string;
|
|
1169
1171
|
/** 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). */
|
|
1170
1172
|
useAvroLogicalTypes?: boolean;
|
|
1171
|
-
/** Optional. Specifies the action that occurs if the destination table already exists. The following values are supported: * WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the data, removes the constraints and uses the schema from the load job. * WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. * WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. The default value is WRITE_APPEND. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion. */
|
|
1173
|
+
/** Optional. Specifies the action that occurs if the destination table already exists. The following values are supported: * WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the data, removes the constraints and uses the schema from the load job. * WRITE_TRUNCATE_DATA: If the table already exists, BigQuery overwrites the data, but keeps the constraints and schema of the existing table. * WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. * WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. The default value is WRITE_APPEND. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion. */
|
|
1172
1174
|
writeDisposition?: string;
|
|
1173
1175
|
}
|
|
1174
1176
|
interface JobConfigurationQuery {
|
|
@@ -1224,7 +1226,7 @@ declare namespace gapi.client {
|
|
|
1224
1226
|
useQueryCache?: boolean;
|
|
1225
1227
|
/** Describes user-defined function resources used in the query. */
|
|
1226
1228
|
userDefinedFunctionResources?: UserDefinedFunctionResource[];
|
|
1227
|
-
/** Optional. Specifies the action that occurs if the destination table already exists. The following values are supported: * WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the data, removes the constraints, and uses the schema from the query result. * WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. * WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. The default value is WRITE_EMPTY. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion. */
|
|
1229
|
+
/** Optional. Specifies the action that occurs if the destination table already exists. The following values are supported: * WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the data, removes the constraints, and uses the schema from the query result. * WRITE_TRUNCATE_DATA: If the table already exists, BigQuery overwrites the data, but keeps the constraints and schema of the existing table. * WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. * WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. The default value is WRITE_EMPTY. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion. */
|
|
1228
1230
|
writeDisposition?: string;
|
|
1229
1231
|
/** Optional. This is only supported for a SELECT query using a temporary table. If set, the query is allowed to write results incrementally to the temporary result table. This may incur a performance penalty. This option cannot be used with Legacy SQL. This feature is not yet available. */
|
|
1230
1232
|
writeIncrementalResults?: boolean;
|
|
@@ -1402,7 +1404,7 @@ declare namespace gapi.client {
|
|
|
1402
1404
|
queryPlan?: ExplainQueryStage[];
|
|
1403
1405
|
/** Output only. Referenced routines for the job. */
|
|
1404
1406
|
referencedRoutines?: RoutineReference[];
|
|
1405
|
-
/** Output only. Referenced tables for the job.
|
|
1407
|
+
/** Output only. Referenced tables for the job. */
|
|
1406
1408
|
referencedTables?: TableReference[];
|
|
1407
1409
|
/** Output only. Job resource usage breakdown by reservation. This field reported misleading information and will no longer be populated. */
|
|
1408
1410
|
reservationUsage?: Array<{
|
|
@@ -1881,6 +1883,8 @@ declare namespace gapi.client {
|
|
|
1881
1883
|
estimatedRunnableUnits?: string;
|
|
1882
1884
|
/** Total units of work remaining for the query. This number can be revised (increased or decreased) while the query is running. */
|
|
1883
1885
|
pendingUnits?: string;
|
|
1886
|
+
/** Total shuffle usage ratio in shuffle RAM per reservation of this query. This will be provided for reservation customers only. */
|
|
1887
|
+
shuffleRamUsageRatio?: number;
|
|
1884
1888
|
/** Cumulative slot-ms consumed by the query. */
|
|
1885
1889
|
totalSlotMs?: string;
|
|
1886
1890
|
}
|
|
@@ -2986,6 +2990,8 @@ declare namespace gapi.client {
|
|
|
2986
2990
|
projectId: string;
|
|
2987
2991
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2988
2992
|
quotaUser?: string;
|
|
2993
|
+
/** Optional. Specifies the fields of dataset that update/patch operation is targeting By default, both metadata and ACL fields are updated. */
|
|
2994
|
+
updateMode?: string;
|
|
2989
2995
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2990
2996
|
upload_protocol?: string;
|
|
2991
2997
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -3019,6 +3025,8 @@ declare namespace gapi.client {
|
|
|
3019
3025
|
projectId: string;
|
|
3020
3026
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3021
3027
|
quotaUser?: string;
|
|
3028
|
+
/** Optional. Specifies the fields of dataset that update/patch operation is targeting By default, both metadata and ACL fields are updated. */
|
|
3029
|
+
updateMode?: string;
|
|
3022
3030
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3023
3031
|
upload_protocol?: string;
|
|
3024
3032
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -3114,6 +3122,8 @@ declare namespace gapi.client {
|
|
|
3114
3122
|
projectId: string;
|
|
3115
3123
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3116
3124
|
quotaUser?: string;
|
|
3125
|
+
/** Optional. Specifies the fields of dataset that update/patch operation is targeting By default, both metadata and ACL fields are updated. */
|
|
3126
|
+
updateMode?: string;
|
|
3117
3127
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3118
3128
|
upload_protocol?: string;
|
|
3119
3129
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -3147,6 +3157,8 @@ declare namespace gapi.client {
|
|
|
3147
3157
|
projectId: string;
|
|
3148
3158
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3149
3159
|
quotaUser?: string;
|
|
3160
|
+
/** Optional. Specifies the fields of dataset that update/patch operation is targeting By default, both metadata and ACL fields are updated. */
|
|
3161
|
+
updateMode?: string;
|
|
3150
3162
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3151
3163
|
upload_protocol?: string;
|
|
3152
3164
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|