@maxim_mazurok/gapi.client.bigquery-v2 0.1.20260224 → 0.1.20260429
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 +884 -248
- package/package.json +1 -1
- package/readme.md +12 -0
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: 20260429
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -48,13 +48,13 @@ declare namespace gapi.client {
|
|
|
48
48
|
}
|
|
49
49
|
interface Argument {
|
|
50
50
|
/** Optional. Defaults to FIXED_TYPE. */
|
|
51
|
-
argumentKind?:
|
|
51
|
+
argumentKind?: 'ARGUMENT_KIND_UNSPECIFIED' | 'FIXED_TYPE' | 'ANY_TYPE';
|
|
52
52
|
/** Set if argument_kind == FIXED_TYPE. */
|
|
53
53
|
dataType?: StandardSqlDataType;
|
|
54
54
|
/** 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. */
|
|
55
55
|
isAggregate?: boolean;
|
|
56
56
|
/** Optional. Specifies whether the argument is input or output. Can be set for procedures only. */
|
|
57
|
-
mode?:
|
|
57
|
+
mode?: 'MODE_UNSPECIFIED' | 'IN' | 'OUT' | 'INOUT';
|
|
58
58
|
/** Optional. The name of this argument. Can be absent for function return argument. */
|
|
59
59
|
name?: string;
|
|
60
60
|
}
|
|
@@ -84,7 +84,15 @@ declare namespace gapi.client {
|
|
|
84
84
|
/** Non-seasonal order. */
|
|
85
85
|
nonSeasonalOrder?: ArimaOrder[];
|
|
86
86
|
/** Seasonal periods. Repeated because multiple periods are supported for one time series. */
|
|
87
|
-
seasonalPeriods?:
|
|
87
|
+
seasonalPeriods?:
|
|
88
|
+
| 'SEASONAL_PERIOD_TYPE_UNSPECIFIED'
|
|
89
|
+
| 'NO_SEASONALITY'
|
|
90
|
+
| 'DAILY'
|
|
91
|
+
| 'WEEKLY'
|
|
92
|
+
| 'MONTHLY'
|
|
93
|
+
| 'QUARTERLY'
|
|
94
|
+
| 'YEARLY'
|
|
95
|
+
| 'HOURLY'[];
|
|
88
96
|
/** Id to differentiate different time series for the large-scale case. */
|
|
89
97
|
timeSeriesId?: string[];
|
|
90
98
|
}
|
|
@@ -104,7 +112,15 @@ declare namespace gapi.client {
|
|
|
104
112
|
/** Non-seasonal order. */
|
|
105
113
|
nonSeasonalOrder?: ArimaOrder;
|
|
106
114
|
/** Seasonal periods. Repeated because multiple periods are supported for one time series. */
|
|
107
|
-
seasonalPeriods?:
|
|
115
|
+
seasonalPeriods?:
|
|
116
|
+
| 'SEASONAL_PERIOD_TYPE_UNSPECIFIED'
|
|
117
|
+
| 'NO_SEASONALITY'
|
|
118
|
+
| 'DAILY'
|
|
119
|
+
| 'WEEKLY'
|
|
120
|
+
| 'MONTHLY'
|
|
121
|
+
| 'QUARTERLY'
|
|
122
|
+
| 'YEARLY'
|
|
123
|
+
| 'HOURLY'[];
|
|
108
124
|
/** The time_series_id value for this time series. It will be one of the unique values from the time_series_id_column specified during ARIMA model training. Only present when time_series_id_column training option was used. */
|
|
109
125
|
timeSeriesId?: string;
|
|
110
126
|
/** 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. */
|
|
@@ -122,7 +138,15 @@ declare namespace gapi.client {
|
|
|
122
138
|
/** This message is repeated because there are multiple arima models fitted in auto-arima. For non-auto-arima model, its size is one. */
|
|
123
139
|
arimaModelInfo?: ArimaModelInfo[];
|
|
124
140
|
/** Seasonal periods. Repeated because multiple periods are supported for one time series. */
|
|
125
|
-
seasonalPeriods?:
|
|
141
|
+
seasonalPeriods?:
|
|
142
|
+
| 'SEASONAL_PERIOD_TYPE_UNSPECIFIED'
|
|
143
|
+
| 'NO_SEASONALITY'
|
|
144
|
+
| 'DAILY'
|
|
145
|
+
| 'WEEKLY'
|
|
146
|
+
| 'MONTHLY'
|
|
147
|
+
| 'QUARTERLY'
|
|
148
|
+
| 'YEARLY'
|
|
149
|
+
| 'HOURLY'[];
|
|
126
150
|
}
|
|
127
151
|
interface ArimaSingleModelForecastingMetrics {
|
|
128
152
|
/** Arima fitting metrics. */
|
|
@@ -138,7 +162,15 @@ declare namespace gapi.client {
|
|
|
138
162
|
/** Non-seasonal order. */
|
|
139
163
|
nonSeasonalOrder?: ArimaOrder;
|
|
140
164
|
/** Seasonal periods. Repeated because multiple periods are supported for one time series. */
|
|
141
|
-
seasonalPeriods?:
|
|
165
|
+
seasonalPeriods?:
|
|
166
|
+
| 'SEASONAL_PERIOD_TYPE_UNSPECIFIED'
|
|
167
|
+
| 'NO_SEASONALITY'
|
|
168
|
+
| 'DAILY'
|
|
169
|
+
| 'WEEKLY'
|
|
170
|
+
| 'MONTHLY'
|
|
171
|
+
| 'QUARTERLY'
|
|
172
|
+
| 'YEARLY'
|
|
173
|
+
| 'HOURLY'[];
|
|
142
174
|
/** The time_series_id value for this time series. It will be one of the unique values from the time_series_id_column specified during ARIMA model training. Only present when time_series_id_column training option was used. */
|
|
143
175
|
timeSeriesId?: string;
|
|
144
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. */
|
|
@@ -154,7 +186,11 @@ declare namespace gapi.client {
|
|
|
154
186
|
/** Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */
|
|
155
187
|
exemptedMembers?: string[];
|
|
156
188
|
/** The log type that this config enables. */
|
|
157
|
-
logType?:
|
|
189
|
+
logType?:
|
|
190
|
+
| 'LOG_TYPE_UNSPECIFIED'
|
|
191
|
+
| 'ADMIN_READ'
|
|
192
|
+
| 'DATA_WRITE'
|
|
193
|
+
| 'DATA_READ';
|
|
158
194
|
}
|
|
159
195
|
interface AvroOptions {
|
|
160
196
|
/** 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). */
|
|
@@ -168,15 +204,31 @@ declare namespace gapi.client {
|
|
|
168
204
|
}
|
|
169
205
|
interface BiEngineReason {
|
|
170
206
|
/** Output only. High-level BI Engine reason for partial or disabled acceleration */
|
|
171
|
-
code?:
|
|
207
|
+
code?:
|
|
208
|
+
| 'CODE_UNSPECIFIED'
|
|
209
|
+
| 'NO_RESERVATION'
|
|
210
|
+
| 'INSUFFICIENT_RESERVATION'
|
|
211
|
+
| 'UNSUPPORTED_SQL_TEXT'
|
|
212
|
+
| 'INPUT_TOO_LARGE'
|
|
213
|
+
| 'OTHER_REASON'
|
|
214
|
+
| 'TABLE_EXCLUDED';
|
|
172
215
|
/** Output only. Free form human-readable reason for partial or disabled acceleration. */
|
|
173
216
|
message?: string;
|
|
174
217
|
}
|
|
175
218
|
interface BiEngineStatistics {
|
|
176
219
|
/** Output only. Specifies which mode of BI Engine acceleration was performed (if any). */
|
|
177
|
-
accelerationMode?:
|
|
220
|
+
accelerationMode?:
|
|
221
|
+
| 'BI_ENGINE_ACCELERATION_MODE_UNSPECIFIED'
|
|
222
|
+
| 'BI_ENGINE_DISABLED'
|
|
223
|
+
| 'PARTIAL_INPUT'
|
|
224
|
+
| 'FULL_INPUT'
|
|
225
|
+
| 'FULL_QUERY';
|
|
178
226
|
/** Output only. Specifies which mode of BI Engine acceleration was performed (if any). */
|
|
179
|
-
biEngineMode?:
|
|
227
|
+
biEngineMode?:
|
|
228
|
+
| 'ACCELERATION_MODE_UNSPECIFIED'
|
|
229
|
+
| 'DISABLED'
|
|
230
|
+
| 'PARTIAL'
|
|
231
|
+
| 'FULL';
|
|
180
232
|
/** In case of DISABLED or PARTIAL bi_engine_mode, these contain the explanatory reasons as to why BI Engine could not accelerate. In case the full query was accelerated, this field is not populated. */
|
|
181
233
|
biEngineReasons?: BiEngineReason[];
|
|
182
234
|
}
|
|
@@ -184,11 +236,11 @@ declare namespace gapi.client {
|
|
|
184
236
|
/** Optional. The connection specifying the credentials to be used to read and write to external storage, such as Cloud Storage. The connection_id can have the form `{project}.{location}.{connection_id}` or `projects/{project}/locations/{location}/connections/{connection_id}". */
|
|
185
237
|
connectionId?: string;
|
|
186
238
|
/** Optional. The file format the table data is stored in. */
|
|
187
|
-
fileFormat?:
|
|
239
|
+
fileFormat?: 'FILE_FORMAT_UNSPECIFIED' | 'PARQUET';
|
|
188
240
|
/** Optional. The fully qualified location prefix of the external folder where table data is stored. The '*' wildcard character is not allowed. The URI should be in the format `gs://bucket/path_to_table/` */
|
|
189
241
|
storageUri?: string;
|
|
190
242
|
/** Optional. The table format the metadata only snapshots are stored in. */
|
|
191
|
-
tableFormat?:
|
|
243
|
+
tableFormat?: 'TABLE_FORMAT_UNSPECIFIED' | 'ICEBERG';
|
|
192
244
|
}
|
|
193
245
|
interface BigQueryModelTraining {
|
|
194
246
|
/** Deprecated. */
|
|
@@ -392,7 +444,11 @@ declare namespace gapi.client {
|
|
|
392
444
|
}
|
|
393
445
|
interface DataFormatOptions {
|
|
394
446
|
/** 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. */
|
|
395
|
-
timestampOutputFormat?:
|
|
447
|
+
timestampOutputFormat?:
|
|
448
|
+
| 'TIMESTAMP_OUTPUT_FORMAT_UNSPECIFIED'
|
|
449
|
+
| 'FLOAT64'
|
|
450
|
+
| 'INT64'
|
|
451
|
+
| 'ISO8601_STRING';
|
|
396
452
|
/** Optional. Output timestamp as usec int64. Default is false. */
|
|
397
453
|
useInt64Timestamp?: boolean;
|
|
398
454
|
}
|
|
@@ -400,13 +456,17 @@ declare namespace gapi.client {
|
|
|
400
456
|
/** Whether any accessed data was protected by the data masking. */
|
|
401
457
|
dataMaskingApplied?: boolean;
|
|
402
458
|
}
|
|
459
|
+
interface DataPolicyList {
|
|
460
|
+
/** Contains a list of data policy options. At most 9 data policies are allowed per field. */
|
|
461
|
+
dataPolicies?: DataPolicyOption[];
|
|
462
|
+
}
|
|
403
463
|
interface DataPolicyOption {
|
|
404
464
|
/** Data policy resource name in the form of projects/project_id/locations/location_id/dataPolicies/data_policy_id. */
|
|
405
465
|
name?: string;
|
|
406
466
|
}
|
|
407
467
|
interface Dataset {
|
|
408
468
|
/** Optional. An array of objects that define dataset access for one or more entities. You can set this property when inserting or updating a dataset in order to control who is allowed to access the data. If unspecified at dataset creation time, BigQuery adds default dataset access for the following entities: access.specialGroup: projectReaders; access.role: READER; access.specialGroup: projectWriters; access.role: WRITER; access.specialGroup: projectOwners; access.role: OWNER; access.userByEmail: [dataset creator email]; access.role: OWNER; If you patch a dataset, then this field is overwritten by the patched dataset's access field. To add entities, you must supply the entire existing access array in addition to any new entities that you want to add. */
|
|
409
|
-
access?:
|
|
469
|
+
access?: {
|
|
410
470
|
/** Optional. condition for the binding. If CEL expression in this field is true, this access binding will be considered */
|
|
411
471
|
condition?: Expr;
|
|
412
472
|
/** [Pick one] A grant authorizing all resources of a particular type in a particular dataset access to this dataset. Only views are supported for now. The role field is not required when this field is set. If that dataset is deleted and re-created, its access needs to be granted again via an update operation. */
|
|
@@ -427,7 +487,9 @@ declare namespace gapi.client {
|
|
|
427
487
|
userByEmail?: string;
|
|
428
488
|
/** [Pick one] A view from a different dataset to grant access to. Queries executed against that view will have read access to views/tables/routines in this dataset. The role field is not required when this field is set. If that view is updated by any user, access to the view needs to be granted again via an update operation. */
|
|
429
489
|
view?: TableReference;
|
|
430
|
-
}
|
|
490
|
+
}[];
|
|
491
|
+
/** Output only. The origin of the dataset, one of: * (Unset) - Native BigQuery Dataset * BIGLAKE - Dataset is backed by a namespace stored natively in Biglake */
|
|
492
|
+
catalogSource?: string;
|
|
431
493
|
/** Output only. The time when this dataset was created, in milliseconds since the epoch. */
|
|
432
494
|
creationTime?: string;
|
|
433
495
|
/** Required. A reference that identifies the dataset. */
|
|
@@ -439,7 +501,10 @@ declare namespace gapi.client {
|
|
|
439
501
|
/** This default partition expiration, expressed in milliseconds. When new time-partitioned tables are created in a dataset where this property is set, the table will inherit this value, propagated as the `TimePartitioning.expirationMs` property on the new table. If you set `TimePartitioning.expirationMs` explicitly when creating a table, the `defaultPartitionExpirationMs` of the containing dataset is ignored. When creating a partitioned table, if `defaultPartitionExpirationMs` is set, the `defaultTableExpirationMs` value is ignored and the table will not be inherit a table expiration deadline. */
|
|
440
502
|
defaultPartitionExpirationMs?: string;
|
|
441
503
|
/** Optional. Defines the default rounding mode specification of new tables created within this dataset. During table creation, if this field is specified, the table within this dataset will inherit the default rounding mode of the dataset. Setting the default rounding mode on a table overrides this option. Existing tables in the dataset are unaffected. If columns are defined during that table creation, they will immediately inherit the table's default rounding mode, unless otherwise specified. */
|
|
442
|
-
defaultRoundingMode?:
|
|
504
|
+
defaultRoundingMode?:
|
|
505
|
+
| 'ROUNDING_MODE_UNSPECIFIED'
|
|
506
|
+
| 'ROUND_HALF_AWAY_FROM_ZERO'
|
|
507
|
+
| 'ROUND_HALF_EVEN';
|
|
443
508
|
/** Optional. The default lifetime of all tables in the dataset, in milliseconds. The minimum lifetime value is 3600000 milliseconds (one hour). To clear an existing default expiration with a PATCH request, set to 0. Once this property is set, all newly-created tables in the dataset will have an expirationTime property set to the creation time plus the value in this property, and changing the value will only affect new tables, not existing ones. When the expirationTime for a given table is reached, that table will be deleted automatically. If a table's expirationTime is modified or removed before the table expires, or if you provide an explicit expirationTime when creating a table, that value takes precedence over the default expiration time indicated by this property. */
|
|
444
509
|
defaultTableExpirationMs?: string;
|
|
445
510
|
/** Optional. A user-friendly description of the dataset. */
|
|
@@ -481,26 +546,31 @@ declare namespace gapi.client {
|
|
|
481
546
|
/** Output only. A URL that can be used to access the resource again. You can use this URL in Get or Update requests to the resource. */
|
|
482
547
|
selfLink?: string;
|
|
483
548
|
/** Optional. Updates storage_billing_model for the dataset. */
|
|
484
|
-
storageBillingModel?:
|
|
549
|
+
storageBillingModel?:
|
|
550
|
+
| 'STORAGE_BILLING_MODEL_UNSPECIFIED'
|
|
551
|
+
| 'LOGICAL'
|
|
552
|
+
| 'PHYSICAL';
|
|
485
553
|
/** Output only. Tags for the dataset. To provide tags as inputs, use the `resourceTags` field. */
|
|
486
|
-
tags?:
|
|
554
|
+
tags?: {
|
|
487
555
|
/** Required. The namespaced friendly name of the tag key, e.g. "12345/environment" where 12345 is org id. */
|
|
488
556
|
tagKey?: string;
|
|
489
557
|
/** Required. The friendly short name of the tag value, e.g. "production". */
|
|
490
558
|
tagValue?: string;
|
|
491
|
-
}
|
|
492
|
-
/** Output only. Same as `type` in `ListFormatDataset`. The type of the dataset, one of: * DEFAULT - only accessible by owner and authorized accounts, * PUBLIC - accessible by everyone, * LINKED - linked dataset, * EXTERNAL - dataset with definition in external metadata catalog. */
|
|
559
|
+
}[];
|
|
560
|
+
/** Output only. Same as `type` in `ListFormatDataset`. The type of the dataset, one of: * DEFAULT - only accessible by owner and authorized accounts, * PUBLIC - accessible by everyone, * LINKED - linked dataset, * EXTERNAL - dataset with definition in external metadata catalog, * BIGLAKE_ICEBERG - a Biglake dataset accessible through the Iceberg API, * BIGLAKE_HIVE - a Biglake dataset accessible through the Hive API. */
|
|
493
561
|
type?: string;
|
|
494
562
|
}
|
|
495
563
|
interface DatasetAccessEntry {
|
|
496
564
|
/** The dataset this entry applies to */
|
|
497
565
|
dataset?: DatasetReference;
|
|
498
566
|
/** Which resources in the dataset this entry applies to. Currently, only views are supported, but additional target types may be added in the future. */
|
|
499
|
-
targetTypes?:
|
|
567
|
+
targetTypes?: 'TARGET_TYPE_UNSPECIFIED' | 'VIEWS' | 'ROUTINES'[];
|
|
500
568
|
}
|
|
501
569
|
interface DatasetList {
|
|
502
570
|
/** An array of the dataset resources in the project. Each resource contains basic information. For full information about a particular dataset resource, use the Datasets: get method. This property is omitted when there are no datasets in the project. */
|
|
503
|
-
datasets?:
|
|
571
|
+
datasets?: {
|
|
572
|
+
/** Output only. The origin of the dataset, one of: * (Unset) - Native BigQuery Dataset. * BIGLAKE - Dataset is backed by a namespace stored natively in Biglake. */
|
|
573
|
+
catalogSource?: string;
|
|
504
574
|
/** The dataset reference. Use this property to access specific parts of the dataset's ID, such as project ID or dataset ID. */
|
|
505
575
|
datasetReference?: DatasetReference;
|
|
506
576
|
/** Output only. Reference to a read-only external dataset defined in data catalogs outside of BigQuery. Filled out when the dataset type is EXTERNAL. */
|
|
@@ -515,7 +585,9 @@ declare namespace gapi.client {
|
|
|
515
585
|
labels?: {[P in string]: string};
|
|
516
586
|
/** The geographic location where the dataset resides. */
|
|
517
587
|
location?: string;
|
|
518
|
-
|
|
588
|
+
/** Output only. Same as `type` in `Dataset`. The type of the dataset, one of: * DEFAULT - only accessible by owner and authorized accounts, * PUBLIC - accessible by everyone, * LINKED - linked dataset, * EXTERNAL - dataset with definition in external metadata catalog, * BIGLAKE_ICEBERG - a Biglake dataset accessible through the Iceberg API, * BIGLAKE_HIVE - a Biglake dataset accessible through the Hive API. */
|
|
589
|
+
type?: string;
|
|
590
|
+
}[];
|
|
519
591
|
/** Output only. A hash value of the results page. You can use this property to determine if the page has changed since the last request. */
|
|
520
592
|
etag?: string;
|
|
521
593
|
/** Output only. The resource type. This property always returns the value "bigquery#datasetList" */
|
|
@@ -575,9 +647,16 @@ declare namespace gapi.client {
|
|
|
575
647
|
/** Output only. Number of deleted Rows. populated by DML DELETE, MERGE and TRUNCATE statements. */
|
|
576
648
|
deletedRowCount?: string;
|
|
577
649
|
/** Output only. DML mode used. */
|
|
578
|
-
dmlMode?:
|
|
650
|
+
dmlMode?:
|
|
651
|
+
| 'DML_MODE_UNSPECIFIED'
|
|
652
|
+
| 'COARSE_GRAINED_DML'
|
|
653
|
+
| 'FINE_GRAINED_DML';
|
|
579
654
|
/** Output only. Reason for disabling fine-grained DML if applicable. */
|
|
580
|
-
fineGrainedDmlUnusedReason?:
|
|
655
|
+
fineGrainedDmlUnusedReason?:
|
|
656
|
+
| 'FINE_GRAINED_DML_UNUSED_REASON_UNSPECIFIED'
|
|
657
|
+
| 'MAX_PARTITION_SIZE_EXCEEDED'
|
|
658
|
+
| 'TABLE_NOT_ENROLLED'
|
|
659
|
+
| 'DML_IN_MULTI_STATEMENT_TRANSACTION';
|
|
581
660
|
/** Output only. Number of inserted Rows. Populated by DML INSERT and MERGE statements */
|
|
582
661
|
insertedRowCount?: string;
|
|
583
662
|
/** Output only. Number of updated Rows. Populated by DML UPDATE and MERGE statements. */
|
|
@@ -639,7 +718,7 @@ declare namespace gapi.client {
|
|
|
639
718
|
/** Number of parallel input segments completed. */
|
|
640
719
|
completedParallelInputs?: string;
|
|
641
720
|
/** Output only. Compute mode for this stage. */
|
|
642
|
-
computeMode?:
|
|
721
|
+
computeMode?: 'COMPUTE_MODE_UNSPECIFIED' | 'BIGQUERY' | 'BI_ENGINE';
|
|
643
722
|
/** Milliseconds the average shard spent on CPU-bound tasks. */
|
|
644
723
|
computeMsAvg?: string;
|
|
645
724
|
/** Milliseconds the slowest shard spent on CPU-bound tasks. */
|
|
@@ -759,9 +838,15 @@ declare namespace gapi.client {
|
|
|
759
838
|
/** Optional. Format used to parse DATETIME values. Supports C-style and SQL-style values. */
|
|
760
839
|
datetimeFormat?: string;
|
|
761
840
|
/** Defines the list of possible SQL data types to which the source decimal values are converted. This list and the precision and the scale parameters of the decimal field determine the target type. In the order of NUMERIC, BIGNUMERIC, and STRING, a type is picked if it is in the specified list and if it supports the precision and the scale. STRING supports all precision and scale values. If none of the listed types supports the precision and the scale, the type supporting the widest range in the specified list is picked, and if a value exceeds the supported range when reading the data, an error will be thrown. Example: Suppose the value of this field is ["NUMERIC", "BIGNUMERIC"]. If (precision,scale) is: * (38,9) -> NUMERIC; * (39,9) -> BIGNUMERIC (NUMERIC cannot hold 30 integer digits); * (38,10) -> BIGNUMERIC (NUMERIC cannot hold 10 fractional digits); * (76,38) -> BIGNUMERIC; * (77,38) -> BIGNUMERIC (error if value exceeds supported range). This field cannot contain duplicate types. The order of the types in this field is ignored. For example, ["BIGNUMERIC", "NUMERIC"] is the same as ["NUMERIC", "BIGNUMERIC"] and NUMERIC always takes precedence over BIGNUMERIC. Defaults to ["NUMERIC", "STRING"] for ORC and ["NUMERIC"] for the other file formats. */
|
|
762
|
-
decimalTargetTypes?:
|
|
841
|
+
decimalTargetTypes?:
|
|
842
|
+
| 'DECIMAL_TARGET_TYPE_UNSPECIFIED'
|
|
843
|
+
| 'NUMERIC'
|
|
844
|
+
| 'BIGNUMERIC'
|
|
845
|
+
| 'STRING'[];
|
|
763
846
|
/** Optional. Specifies how source URIs are interpreted for constructing the file set to load. By default source URIs are expanded against the underlying storage. Other options include specifying manifest files. Only applicable to object storage systems. */
|
|
764
|
-
fileSetSpecType?:
|
|
847
|
+
fileSetSpecType?:
|
|
848
|
+
| 'FILE_SET_SPEC_TYPE_FILE_SYSTEM_MATCH'
|
|
849
|
+
| 'FILE_SET_SPEC_TYPE_NEW_LINE_DELIMITED_MANIFEST';
|
|
765
850
|
/** Optional. Additional options if sourceFormat is set to GOOGLE_SHEETS. */
|
|
766
851
|
googleSheetsOptions?: GoogleSheetsOptions;
|
|
767
852
|
/** Optional. When set, configures hive partitioning support. Not all storage formats support hive partitioning -- requesting hive partitioning on an unsupported format will lead to an error, as will providing an invalid specification. */
|
|
@@ -769,15 +854,18 @@ declare namespace gapi.client {
|
|
|
769
854
|
/** Optional. Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don't match any column names Google Cloud Bigtable: This setting is ignored. Google Cloud Datastore backups: This setting is ignored. Avro: This setting is ignored. ORC: This setting is ignored. Parquet: This setting is ignored. */
|
|
770
855
|
ignoreUnknownValues?: boolean;
|
|
771
856
|
/** Optional. Load option to be used together with source_format newline-delimited JSON to indicate that a variant of JSON is being loaded. To load newline-delimited GeoJSON, specify GEOJSON (and source_format must be set to NEWLINE_DELIMITED_JSON). */
|
|
772
|
-
jsonExtension?:
|
|
857
|
+
jsonExtension?: 'JSON_EXTENSION_UNSPECIFIED' | 'GEOJSON';
|
|
773
858
|
/** Optional. Additional properties to set if sourceFormat is set to JSON. */
|
|
774
859
|
jsonOptions?: JsonOptions;
|
|
775
860
|
/** Optional. The maximum number of bad records that BigQuery can ignore when reading data. If the number of bad records exceeds this value, an invalid error is returned in the job result. The default value is 0, which requires that all records are valid. This setting is ignored for Google Cloud Bigtable, Google Cloud Datastore backups, Avro, ORC and Parquet formats. */
|
|
776
861
|
maxBadRecords?: number;
|
|
777
862
|
/** Optional. Metadata Cache Mode for the table. Set this to enable caching of metadata from external data source. */
|
|
778
|
-
metadataCacheMode?:
|
|
863
|
+
metadataCacheMode?:
|
|
864
|
+
| 'METADATA_CACHE_MODE_UNSPECIFIED'
|
|
865
|
+
| 'AUTOMATIC'
|
|
866
|
+
| 'MANUAL';
|
|
779
867
|
/** Optional. ObjectMetadata is used to create Object Tables. Object Tables contain a listing of objects (with their metadata) found at the source_uris. If ObjectMetadata is set, source_format should be omitted. Currently SIMPLE is the only supported Object Metadata type. */
|
|
780
|
-
objectMetadata?:
|
|
868
|
+
objectMetadata?: 'OBJECT_METADATA_UNSPECIFIED' | 'DIRECTORY' | 'SIMPLE';
|
|
781
869
|
/** Optional. Additional properties to set if sourceFormat is set to PARQUET. */
|
|
782
870
|
parquetOptions?: ParquetOptions;
|
|
783
871
|
/** Optional. When creating an external table, the user can provide a reference file with the table schema. This is enabled for the following formats: AVRO, PARQUET, ORC. */
|
|
@@ -792,7 +880,7 @@ declare namespace gapi.client {
|
|
|
792
880
|
timeFormat?: string;
|
|
793
881
|
/** Optional. Format used to parse TIMESTAMP values. Supports C-style and SQL-style values. */
|
|
794
882
|
timestampFormat?: string;
|
|
795
|
-
/** Precisions (maximum number of total digits in base 10) for seconds of TIMESTAMP types that are allowed to the destination table for autodetection mode. Available for the formats: CSV
|
|
883
|
+
/** Precisions (maximum number of total digits in base 10) for seconds of TIMESTAMP types that are allowed to the destination table for autodetection mode. Available for the formats: CSV, PARQUET, and AVRO. Possible values include: Not Specified, [], or [6]: timestamp(6) for all auto detected TIMESTAMP columns [6, 12]: timestamp(6) for all auto detected TIMESTAMP columns that have less than 6 digits of subseconds. timestamp(12) for all auto detected TIMESTAMP columns that have more than 6 digits of subseconds. [12]: timestamp(12) for all auto detected TIMESTAMP columns. The order of the elements in this array is ignored. Inputs that have higher precision than the highest target precision in this array will be truncated. */
|
|
796
884
|
timestampTargetPrecision?: number[];
|
|
797
885
|
/** Optional. Time zone used when parsing timestamp values that do not have specific time zone information (e.g. 2024-04-20 12:34:56). The expected format is a IANA timezone string (e.g. America/Los_Angeles). */
|
|
798
886
|
timeZone?: string;
|
|
@@ -808,6 +896,8 @@ declare namespace gapi.client {
|
|
|
808
896
|
containerCpu?: number;
|
|
809
897
|
/** 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) */
|
|
810
898
|
containerMemory?: string;
|
|
899
|
+
/** Optional. Maximum number of requests that a Cloud Run instance can handle concurrently. If absent or if `0`, a default concurrency is used. */
|
|
900
|
+
containerRequestConcurrency?: string;
|
|
811
901
|
/** 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. */
|
|
812
902
|
maxBatchingRows?: string;
|
|
813
903
|
/** 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}"``` */
|
|
@@ -839,7 +929,7 @@ declare namespace gapi.client {
|
|
|
839
929
|
}
|
|
840
930
|
interface ForeignTypeInfo {
|
|
841
931
|
/** Required. Specifies the system which defines the foreign data type. */
|
|
842
|
-
typeSystem?:
|
|
932
|
+
typeSystem?: 'TYPE_SYSTEM_UNSPECIFIED' | 'HIVE';
|
|
843
933
|
}
|
|
844
934
|
interface ForeignViewDefinition {
|
|
845
935
|
/** Optional. Represents the dialect of the query. */
|
|
@@ -847,6 +937,63 @@ declare namespace gapi.client {
|
|
|
847
937
|
/** Required. The query that defines the view. */
|
|
848
938
|
query?: string;
|
|
849
939
|
}
|
|
940
|
+
interface GenAiErrorStats {
|
|
941
|
+
/** A list of unique errors at query level (up to 5, truncated to 100 chars) */
|
|
942
|
+
errors?: string[];
|
|
943
|
+
}
|
|
944
|
+
interface GenAiFunctionCacheStats {
|
|
945
|
+
/** Number of rows served from cache. */
|
|
946
|
+
numCacheHitRows?: string;
|
|
947
|
+
}
|
|
948
|
+
interface GenAiFunctionCostOptimizationStats {
|
|
949
|
+
/** System generated message to provide insights into cost optimization state. */
|
|
950
|
+
message?: string;
|
|
951
|
+
/** Number of rows inferred via cost optimized workflow. */
|
|
952
|
+
numCostOptimizedRows?: string;
|
|
953
|
+
}
|
|
954
|
+
interface GenAiFunctionErrorStats {
|
|
955
|
+
/** A list of unique errors at function level (up to 5, truncated to 100 chars). */
|
|
956
|
+
errors?: string[];
|
|
957
|
+
/** Number of failed rows processed by the function */
|
|
958
|
+
numFailedRows?: string;
|
|
959
|
+
}
|
|
960
|
+
interface GenAiFunctionStats {
|
|
961
|
+
/** Cache stats for the function. */
|
|
962
|
+
cacheStats?: GenAiFunctionCacheStats;
|
|
963
|
+
/** Cost optimization stats if applied on the rows processed by the function. */
|
|
964
|
+
costOptimizationStats?: GenAiFunctionCostOptimizationStats;
|
|
965
|
+
/** Error stats for the function. */
|
|
966
|
+
errorStats?: GenAiFunctionErrorStats;
|
|
967
|
+
/** Name of the function. */
|
|
968
|
+
functionName?: string;
|
|
969
|
+
/** Number of rows processed by this GenAi function. This includes all cost_optimized, llm_inferred and failed_rows. */
|
|
970
|
+
numProcessedRows?: string;
|
|
971
|
+
/** User input prompt of the function (truncated to 20 chars). */
|
|
972
|
+
prompt?: string;
|
|
973
|
+
}
|
|
974
|
+
interface GenAiStats {
|
|
975
|
+
/** Job level error stats across all GenAi functions */
|
|
976
|
+
errorStats?: GenAiErrorStats;
|
|
977
|
+
/** Function level stats for GenAi Functions. See https://docs.cloud.google.com/bigquery/docs/generative-ai-overview */
|
|
978
|
+
functionStats?: GenAiFunctionStats[];
|
|
979
|
+
}
|
|
980
|
+
interface GeneratedColumn {
|
|
981
|
+
/** Definition of the expression used to generate the field. */
|
|
982
|
+
generatedExpressionInfo?: GeneratedExpressionInfo;
|
|
983
|
+
/** Optional. Dictates when system generated values are used to populate the field. */
|
|
984
|
+
generatedMode?:
|
|
985
|
+
| 'GENERATED_MODE_UNSPECIFIED'
|
|
986
|
+
| 'GENERATED_ALWAYS'
|
|
987
|
+
| 'GENERATED_BY_DEFAULT';
|
|
988
|
+
}
|
|
989
|
+
interface GeneratedExpressionInfo {
|
|
990
|
+
/** Optional. Whether the column generation is done asynchronously. */
|
|
991
|
+
asynchronous?: boolean;
|
|
992
|
+
/** Optional. The generation expression (e.g. AI.EMBED(...)) used to generated the field. */
|
|
993
|
+
generationExpression?: string;
|
|
994
|
+
/** Optional. Whether the generated column is stored in the table. */
|
|
995
|
+
stored?: boolean;
|
|
996
|
+
}
|
|
850
997
|
interface GetIamPolicyRequest {
|
|
851
998
|
/** OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`. */
|
|
852
999
|
options?: GetPolicyOptions;
|
|
@@ -981,7 +1128,14 @@ declare namespace gapi.client {
|
|
|
981
1128
|
/** Starting time of the trial. */
|
|
982
1129
|
startTimeMs?: string;
|
|
983
1130
|
/** The status of the trial. */
|
|
984
|
-
status?:
|
|
1131
|
+
status?:
|
|
1132
|
+
| 'TRIAL_STATUS_UNSPECIFIED'
|
|
1133
|
+
| 'NOT_STARTED'
|
|
1134
|
+
| 'RUNNING'
|
|
1135
|
+
| 'SUCCEEDED'
|
|
1136
|
+
| 'FAILED'
|
|
1137
|
+
| 'INFEASIBLE'
|
|
1138
|
+
| 'STOPPED_EARLY';
|
|
985
1139
|
/** Loss computed on the training data at the end of trial. */
|
|
986
1140
|
trainingLoss?: number;
|
|
987
1141
|
/** 1-based index of the trial. */
|
|
@@ -989,7 +1143,10 @@ declare namespace gapi.client {
|
|
|
989
1143
|
}
|
|
990
1144
|
interface IncrementalResultStats {
|
|
991
1145
|
/** Output only. Reason why incremental query results are/were not written by the query. */
|
|
992
|
-
disabledReason?:
|
|
1146
|
+
disabledReason?:
|
|
1147
|
+
| 'DISABLED_REASON_UNSPECIFIED'
|
|
1148
|
+
| 'OTHER'
|
|
1149
|
+
| 'UNSUPPORTED_OPERATOR';
|
|
993
1150
|
/** Output only. Additional human-readable clarification, if available, for DisabledReason. */
|
|
994
1151
|
disabledReasonDetails?: string;
|
|
995
1152
|
/** Output only. The time at which the first incremental result was written. If the query needed to restart internally, this only describes the final attempt. */
|
|
@@ -1017,7 +1174,29 @@ declare namespace gapi.client {
|
|
|
1017
1174
|
/** Specifies the base table involved in the reason that no search index was used. */
|
|
1018
1175
|
baseTable?: TableReference;
|
|
1019
1176
|
/** Specifies the high-level reason for the scenario when no search index was used. */
|
|
1020
|
-
code?:
|
|
1177
|
+
code?:
|
|
1178
|
+
| 'CODE_UNSPECIFIED'
|
|
1179
|
+
| 'INDEX_CONFIG_NOT_AVAILABLE'
|
|
1180
|
+
| 'PENDING_INDEX_CREATION'
|
|
1181
|
+
| 'BASE_TABLE_TRUNCATED'
|
|
1182
|
+
| 'INDEX_CONFIG_MODIFIED'
|
|
1183
|
+
| 'TIME_TRAVEL_QUERY'
|
|
1184
|
+
| 'NO_PRUNING_POWER'
|
|
1185
|
+
| 'UNINDEXED_SEARCH_FIELDS'
|
|
1186
|
+
| 'UNSUPPORTED_SEARCH_PATTERN'
|
|
1187
|
+
| 'OPTIMIZED_WITH_MATERIALIZED_VIEW'
|
|
1188
|
+
| 'SECURED_BY_DATA_MASKING'
|
|
1189
|
+
| 'MISMATCHED_TEXT_ANALYZER'
|
|
1190
|
+
| 'BASE_TABLE_TOO_SMALL'
|
|
1191
|
+
| 'BASE_TABLE_TOO_LARGE'
|
|
1192
|
+
| 'ESTIMATED_PERFORMANCE_GAIN_TOO_LOW'
|
|
1193
|
+
| 'COLUMN_METADATA_INDEX_NOT_USED'
|
|
1194
|
+
| 'NOT_SUPPORTED_IN_STANDARD_EDITION'
|
|
1195
|
+
| 'INDEX_SUPPRESSED_BY_FUNCTION_OPTION'
|
|
1196
|
+
| 'QUERY_CACHE_HIT'
|
|
1197
|
+
| 'STALE_INDEX'
|
|
1198
|
+
| 'INTERNAL_ERROR'
|
|
1199
|
+
| 'OTHER_REASON';
|
|
1021
1200
|
/** Specifies the name of the unused search index, if available. */
|
|
1022
1201
|
indexName?: string;
|
|
1023
1202
|
/** Free form human-readable reason for the scenario when no search index was used. */
|
|
@@ -1153,7 +1332,11 @@ declare namespace gapi.client {
|
|
|
1153
1332
|
/** Clustering specification for the destination table. */
|
|
1154
1333
|
clustering?: Clustering;
|
|
1155
1334
|
/** Optional. Character map supported for column names in CSV/Parquet loads. Defaults to STRICT and can be overridden by Project Config Service. Using this option with unsupporting load formats will result in an error. */
|
|
1156
|
-
columnNameCharacterMap?:
|
|
1335
|
+
columnNameCharacterMap?:
|
|
1336
|
+
| 'COLUMN_NAME_CHARACTER_MAP_UNSPECIFIED'
|
|
1337
|
+
| 'STRICT'
|
|
1338
|
+
| 'V1'
|
|
1339
|
+
| 'V2';
|
|
1157
1340
|
/** Optional. Connection properties which can modify the load job behavior. Currently, only the 'session_id' connection property is supported, and is used to resolve _SESSION appearing as the dataset id. */
|
|
1158
1341
|
connectionProperties?: ConnectionProperty[];
|
|
1159
1342
|
/** Optional. [Experimental] Configures the load job to copy files directly to the destination BigLake managed table, bypassing file content reading and rewriting. Copying files only is supported when all the following are true: * `source_uris` are located in the same Cloud Storage location as the destination table's `storage_uri` location. * `source_format` is `PARQUET`. * `destination_table` is an existing BigLake managed table. The table's schema does not have flexible column names. The table's columns do not have type parameters other than precision and scale. * No options other than the above are specified. */
|
|
@@ -1167,7 +1350,11 @@ declare namespace gapi.client {
|
|
|
1167
1350
|
/** Optional. Date format used for parsing DATETIME values. */
|
|
1168
1351
|
datetimeFormat?: string;
|
|
1169
1352
|
/** Defines the list of possible SQL data types to which the source decimal values are converted. This list and the precision and the scale parameters of the decimal field determine the target type. In the order of NUMERIC, BIGNUMERIC, and STRING, a type is picked if it is in the specified list and if it supports the precision and the scale. STRING supports all precision and scale values. If none of the listed types supports the precision and the scale, the type supporting the widest range in the specified list is picked, and if a value exceeds the supported range when reading the data, an error will be thrown. Example: Suppose the value of this field is ["NUMERIC", "BIGNUMERIC"]. If (precision,scale) is: * (38,9) -> NUMERIC; * (39,9) -> BIGNUMERIC (NUMERIC cannot hold 30 integer digits); * (38,10) -> BIGNUMERIC (NUMERIC cannot hold 10 fractional digits); * (76,38) -> BIGNUMERIC; * (77,38) -> BIGNUMERIC (error if value exceeds supported range). This field cannot contain duplicate types. The order of the types in this field is ignored. For example, ["BIGNUMERIC", "NUMERIC"] is the same as ["NUMERIC", "BIGNUMERIC"] and NUMERIC always takes precedence over BIGNUMERIC. Defaults to ["NUMERIC", "STRING"] for ORC and ["NUMERIC"] for the other file formats. */
|
|
1170
|
-
decimalTargetTypes?:
|
|
1353
|
+
decimalTargetTypes?:
|
|
1354
|
+
| 'DECIMAL_TARGET_TYPE_UNSPECIFIED'
|
|
1355
|
+
| 'NUMERIC'
|
|
1356
|
+
| 'BIGNUMERIC'
|
|
1357
|
+
| 'STRING'[];
|
|
1171
1358
|
/** Custom encryption configuration (e.g., Cloud KMS keys) */
|
|
1172
1359
|
destinationEncryptionConfiguration?: EncryptionConfiguration;
|
|
1173
1360
|
/** [Required] The destination table to load the data into. */
|
|
@@ -1179,13 +1366,15 @@ declare namespace gapi.client {
|
|
|
1179
1366
|
/** Optional. The separator character for fields in a CSV file. The separator is interpreted as a single byte. For files encoded in ISO-8859-1, any single character can be used as a separator. For files encoded in UTF-8, characters represented in decimal range 1-127 (U+0001-U+007F) can be used without any modification. UTF-8 characters encoded with multiple bytes (i.e. U+0080 and above) will have only the first byte used for separating fields. The remaining bytes will be treated as a part of the field. BigQuery also supports the escape sequence "\t" (U+0009) to specify a tab separator. The default value is comma (",", U+002C). */
|
|
1180
1367
|
fieldDelimiter?: string;
|
|
1181
1368
|
/** Optional. Specifies how source URIs are interpreted for constructing the file set to load. By default, source URIs are expanded against the underlying storage. You can also specify manifest files to control how the file set is constructed. This option is only applicable to object storage systems. */
|
|
1182
|
-
fileSetSpecType?:
|
|
1369
|
+
fileSetSpecType?:
|
|
1370
|
+
| 'FILE_SET_SPEC_TYPE_FILE_SYSTEM_MATCH'
|
|
1371
|
+
| 'FILE_SET_SPEC_TYPE_NEW_LINE_DELIMITED_MANIFEST';
|
|
1183
1372
|
/** Optional. When set, configures hive partitioning support. Not all storage formats support hive partitioning -- requesting hive partitioning on an unsupported format will lead to an error, as will providing an invalid specification. */
|
|
1184
1373
|
hivePartitioningOptions?: HivePartitioningOptions;
|
|
1185
1374
|
/** Optional. Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don't match any column names in the table schema Avro, Parquet, ORC: Fields in the file schema that don't exist in the table schema. */
|
|
1186
1375
|
ignoreUnknownValues?: boolean;
|
|
1187
1376
|
/** Optional. Load option to be used together with source_format newline-delimited JSON to indicate that a variant of JSON is being loaded. To load newline-delimited GeoJSON, specify GEOJSON (and source_format must be set to NEWLINE_DELIMITED_JSON). */
|
|
1188
|
-
jsonExtension?:
|
|
1377
|
+
jsonExtension?: 'JSON_EXTENSION_UNSPECIFIED' | 'GEOJSON';
|
|
1189
1378
|
/** Optional. The maximum number of bad records that BigQuery can ignore when running the job. If the number of bad records exceeds this value, an invalid error is returned in the job result. The default value is 0, which requires that all records are valid. This is only supported for CSV and NEWLINE_DELIMITED_JSON file formats. */
|
|
1190
1379
|
maxBadRecords?: number;
|
|
1191
1380
|
/** Optional. Specifies a string that represents a null value in a CSV file. For example, if you specify "\N", BigQuery interprets "\N" as a null value when loading a CSV file. The default value is the empty string. If you set this property to a custom value, BigQuery throws an error if an empty string is present for all data types except for STRING and BYTE. For STRING and BYTE columns, BigQuery interprets the empty string as an empty value. */
|
|
@@ -1215,7 +1404,10 @@ declare namespace gapi.client {
|
|
|
1215
1404
|
/** Optional. The number of rows at the top of a CSV file that BigQuery will skip when loading the data. The default value is 0. This property is useful if you have header rows in the file that should be skipped. When autodetect is on, the behavior is the following: * skipLeadingRows unspecified - Autodetect tries to detect headers in the first row. If they are not detected, the row is read as data. Otherwise data is read starting from the second row. * skipLeadingRows is 0 - Instructs autodetect that there are no headers and data should be read starting from the first row. * skipLeadingRows = N > 0 - Autodetect skips N-1 rows and tries to detect headers in row N. If headers are not detected, row N is just skipped. Otherwise row N is used to extract column names for the detected schema. */
|
|
1216
1405
|
skipLeadingRows?: number;
|
|
1217
1406
|
/** Optional. Controls the strategy used to match loaded columns to the schema. If not set, a sensible default is chosen based on how the schema is provided. If autodetect is used, then columns are matched by name. Otherwise, columns are matched by position. This is done to keep the behavior backward-compatible. */
|
|
1218
|
-
sourceColumnMatch?:
|
|
1407
|
+
sourceColumnMatch?:
|
|
1408
|
+
| 'SOURCE_COLUMN_MATCH_UNSPECIFIED'
|
|
1409
|
+
| 'POSITION'
|
|
1410
|
+
| 'NAME';
|
|
1219
1411
|
/** Optional. The format of the data files. For CSV files, specify "CSV". For datastore backups, specify "DATASTORE_BACKUP". For newline-delimited JSON, specify "NEWLINE_DELIMITED_JSON". For Avro, specify "AVRO". For parquet, specify "PARQUET". For orc, specify "ORC". The default value is CSV. */
|
|
1220
1412
|
sourceFormat?: string;
|
|
1221
1413
|
/** [Required] The fully-qualified URIs that point to your data in Google Cloud. For Google Cloud Storage URIs: Each URI can contain one '*' wildcard character and it must come after the 'bucket' name. Size limits related to load jobs apply to external data sources. For Google Cloud Bigtable URIs: Exactly one URI can be specified and it has be a fully specified and valid HTTPS URL for a Google Cloud Bigtable table. For Google Cloud Datastore backups: Exactly one URI can be specified. Also, the '*' wildcard character is not allowed. */
|
|
@@ -1226,7 +1418,7 @@ declare namespace gapi.client {
|
|
|
1226
1418
|
timePartitioning?: TimePartitioning;
|
|
1227
1419
|
/** Optional. Date format used for parsing TIMESTAMP values. */
|
|
1228
1420
|
timestampFormat?: string;
|
|
1229
|
-
/** Precisions (maximum number of total digits in base 10) for seconds of TIMESTAMP types that are allowed to the destination table for autodetection mode. Available for the formats: CSV
|
|
1421
|
+
/** Precisions (maximum number of total digits in base 10) for seconds of TIMESTAMP types that are allowed to the destination table for autodetection mode. Available for the formats: CSV, PARQUET, and AVRO. Possible values include: Not Specified, [], or [6]: timestamp(6) for all auto detected TIMESTAMP columns [6, 12]: timestamp(6) for all auto detected TIMESTAMP columns that have less than 6 digits of subseconds. timestamp(12) for all auto detected TIMESTAMP columns that have more than 6 digits of subseconds. [12]: timestamp(12) for all auto detected TIMESTAMP columns. The order of the elements in this array is ignored. Inputs that have higher precision than the highest target precision in this array will be truncated. */
|
|
1230
1422
|
timestampTargetPrecision?: number[];
|
|
1231
1423
|
/** Optional. Default time zone that will apply when parsing timestamp values that have no specific time zone. */
|
|
1232
1424
|
timeZone?: string;
|
|
@@ -1303,7 +1495,12 @@ declare namespace gapi.client {
|
|
|
1303
1495
|
/** [Required] The destination table. */
|
|
1304
1496
|
destinationTable?: TableReference;
|
|
1305
1497
|
/** Optional. Supported operation types in table copy job. */
|
|
1306
|
-
operationType?:
|
|
1498
|
+
operationType?:
|
|
1499
|
+
| 'OPERATION_TYPE_UNSPECIFIED'
|
|
1500
|
+
| 'COPY'
|
|
1501
|
+
| 'SNAPSHOT'
|
|
1502
|
+
| 'RESTORE'
|
|
1503
|
+
| 'CLONE';
|
|
1307
1504
|
/** [Pick one] Source table to copy. */
|
|
1308
1505
|
sourceTable?: TableReference;
|
|
1309
1506
|
/** [Pick one] Source tables to copy. */
|
|
@@ -1313,13 +1510,18 @@ declare namespace gapi.client {
|
|
|
1313
1510
|
}
|
|
1314
1511
|
interface JobCreationReason {
|
|
1315
1512
|
/** Output only. Specifies the high level reason why a Job was created. */
|
|
1316
|
-
code?:
|
|
1513
|
+
code?:
|
|
1514
|
+
| 'CODE_UNSPECIFIED'
|
|
1515
|
+
| 'REQUESTED'
|
|
1516
|
+
| 'LONG_RUNNING'
|
|
1517
|
+
| 'LARGE_RESULTS'
|
|
1518
|
+
| 'OTHER';
|
|
1317
1519
|
}
|
|
1318
1520
|
interface JobList {
|
|
1319
1521
|
/** A hash of this page of results. */
|
|
1320
1522
|
etag?: string;
|
|
1321
1523
|
/** List of jobs that were requested. */
|
|
1322
|
-
jobs?:
|
|
1524
|
+
jobs?: {
|
|
1323
1525
|
/** Required. Describes the job configuration. */
|
|
1324
1526
|
configuration?: JobConfiguration;
|
|
1325
1527
|
/** A result object that will be present only if the job has failed. */
|
|
@@ -1340,7 +1542,7 @@ declare namespace gapi.client {
|
|
|
1340
1542
|
status?: JobStatus;
|
|
1341
1543
|
/** [Full-projection-only] Email address of the user who ran the job. */
|
|
1342
1544
|
user_email?: string;
|
|
1343
|
-
}
|
|
1545
|
+
}[];
|
|
1344
1546
|
/** The resource type of the response. */
|
|
1345
1547
|
kind?: string;
|
|
1346
1548
|
/** A token to request the next page of results. */
|
|
@@ -1366,7 +1568,11 @@ declare namespace gapi.client {
|
|
|
1366
1568
|
/** Output only. Statistics for data-masking. Present only for query and extract jobs. */
|
|
1367
1569
|
dataMaskingStatistics?: DataMaskingStatistics;
|
|
1368
1570
|
/** Output only. Name of edition corresponding to the reservation for this job at the time of this update. */
|
|
1369
|
-
edition?:
|
|
1571
|
+
edition?:
|
|
1572
|
+
| 'RESERVATION_EDITION_UNSPECIFIED'
|
|
1573
|
+
| 'STANDARD'
|
|
1574
|
+
| 'ENTERPRISE'
|
|
1575
|
+
| 'ENTERPRISE_PLUS';
|
|
1370
1576
|
/** Output only. End time of this job, in milliseconds since the epoch. This field will be present whenever a job is in the DONE state. */
|
|
1371
1577
|
endTime?: string;
|
|
1372
1578
|
/** Output only. Statistics for an extract job. */
|
|
@@ -1388,12 +1594,12 @@ declare namespace gapi.client {
|
|
|
1388
1594
|
/** Output only. The reservation group path of the reservation assigned to this job. This field has a limit of 10 nested reservation groups. This is to maintain consistency between reservatins info schema and jobs info schema. The first reservation group is the root reservation group and the last is the leaf or lowest level reservation group. */
|
|
1389
1595
|
reservationGroupPath?: string[];
|
|
1390
1596
|
/** Output only. Job resource usage breakdown by reservation. This field reported misleading information and will no longer be populated. */
|
|
1391
|
-
reservationUsage?:
|
|
1597
|
+
reservationUsage?: {
|
|
1392
1598
|
/** Reservation name or "unreserved" for on-demand resource usage and multi-statement queries. */
|
|
1393
1599
|
name?: string;
|
|
1394
1600
|
/** Total slot milliseconds used by the reservation for a particular job. */
|
|
1395
1601
|
slotMs?: string;
|
|
1396
|
-
}
|
|
1602
|
+
}[];
|
|
1397
1603
|
/** Output only. Statistics for row-level security. Present only for query and extract jobs. */
|
|
1398
1604
|
rowLevelSecurityStatistics?: RowLevelSecurityStatistics;
|
|
1399
1605
|
/** Output only. If this a child job of a script, specifies information about the context of this job within the script. */
|
|
@@ -1444,6 +1650,8 @@ declare namespace gapi.client {
|
|
|
1444
1650
|
exportDataStatistics?: ExportDataStatistics;
|
|
1445
1651
|
/** Output only. Job cost breakdown as bigquery internal cost and external service costs. */
|
|
1446
1652
|
externalServiceCosts?: ExternalServiceCost[];
|
|
1653
|
+
/** Output only. Statistics related to GenAI usage in the query. */
|
|
1654
|
+
genAiStats?: GenAiStats;
|
|
1447
1655
|
/** Output only. Statistics related to incremental query results, if enabled for the query. This feature is not yet available. */
|
|
1448
1656
|
incrementalResultStats?: IncrementalResultStats;
|
|
1449
1657
|
/** Output only. Statistics for a LOAD query. */
|
|
@@ -1475,12 +1683,12 @@ declare namespace gapi.client {
|
|
|
1475
1683
|
/** Output only. Referenced tables for the job. */
|
|
1476
1684
|
referencedTables?: TableReference[];
|
|
1477
1685
|
/** Output only. Job resource usage breakdown by reservation. This field reported misleading information and will no longer be populated. */
|
|
1478
|
-
reservationUsage?:
|
|
1686
|
+
reservationUsage?: {
|
|
1479
1687
|
/** Reservation name or "unreserved" for on-demand resource usage and multi-statement queries. */
|
|
1480
1688
|
name?: string;
|
|
1481
1689
|
/** Total slot milliseconds used by the reservation for a particular job. */
|
|
1482
1690
|
slotMs?: string;
|
|
1483
|
-
}
|
|
1691
|
+
}[];
|
|
1484
1692
|
/** Output only. The schema of the results. Present only for successful dry run of non-legacy SQL queries. */
|
|
1485
1693
|
schema?: TableSchema;
|
|
1486
1694
|
/** Output only. Search query specific statistics. */
|
|
@@ -1550,7 +1758,12 @@ declare namespace gapi.client {
|
|
|
1550
1758
|
/** Optional. The only columns that joins are allowed on. This field is must be specified for join_conditions JOIN_ANY and JOIN_ALL and it cannot be set for JOIN_BLOCKED. */
|
|
1551
1759
|
joinAllowedColumns?: string[];
|
|
1552
1760
|
/** Optional. Specifies if a join is required or not on queries for the view. Default is JOIN_CONDITION_UNSPECIFIED. */
|
|
1553
|
-
joinCondition?:
|
|
1761
|
+
joinCondition?:
|
|
1762
|
+
| 'JOIN_CONDITION_UNSPECIFIED'
|
|
1763
|
+
| 'JOIN_ANY'
|
|
1764
|
+
| 'JOIN_ALL'
|
|
1765
|
+
| 'JOIN_NOT_REQUIRED'
|
|
1766
|
+
| 'JOIN_BLOCKED';
|
|
1554
1767
|
}
|
|
1555
1768
|
interface JsonObject {
|
|
1556
1769
|
[key: string]: any;
|
|
@@ -1562,7 +1775,7 @@ declare namespace gapi.client {
|
|
|
1562
1775
|
interface JsonValue {}
|
|
1563
1776
|
interface LinkedDatasetMetadata {
|
|
1564
1777
|
/** Output only. Specifies whether Linked Dataset is currently in a linked state or not. */
|
|
1565
|
-
linkState?:
|
|
1778
|
+
linkState?: 'LINK_STATE_UNSPECIFIED' | 'LINKED' | 'UNLINKED';
|
|
1566
1779
|
}
|
|
1567
1780
|
interface LinkedDatasetSource {
|
|
1568
1781
|
/** The source dataset reference contains project numbers and not project ids. */
|
|
@@ -1610,7 +1823,19 @@ declare namespace gapi.client {
|
|
|
1610
1823
|
/** If present, specifies a best-effort estimation of the bytes saved by using the materialized view rather than its base tables. */
|
|
1611
1824
|
estimatedBytesSaved?: string;
|
|
1612
1825
|
/** If present, specifies the reason why the materialized view was not chosen for the query. */
|
|
1613
|
-
rejectedReason?:
|
|
1826
|
+
rejectedReason?:
|
|
1827
|
+
| 'REJECTED_REASON_UNSPECIFIED'
|
|
1828
|
+
| 'NO_DATA'
|
|
1829
|
+
| 'COST'
|
|
1830
|
+
| 'BASE_TABLE_TRUNCATED'
|
|
1831
|
+
| 'BASE_TABLE_DATA_CHANGE'
|
|
1832
|
+
| 'BASE_TABLE_PARTITION_EXPIRATION_CHANGE'
|
|
1833
|
+
| 'BASE_TABLE_EXPIRED_PARTITION'
|
|
1834
|
+
| 'BASE_TABLE_INCOMPATIBLE_METADATA_CHANGE'
|
|
1835
|
+
| 'TIME_ZONE'
|
|
1836
|
+
| 'OUT_OF_TIME_TRAVEL_WINDOW'
|
|
1837
|
+
| 'BASE_TABLE_FINE_GRAINED_SECURITY_POLICY'
|
|
1838
|
+
| 'BASE_TABLE_TOO_STALE';
|
|
1614
1839
|
/** The candidate materialized view. */
|
|
1615
1840
|
tableReference?: TableReference;
|
|
1616
1841
|
}
|
|
@@ -1638,6 +1863,12 @@ declare namespace gapi.client {
|
|
|
1638
1863
|
/** Output only. Refresh watermark of materialized view. The base tables' data were collected into the materialized view cache until this time. */
|
|
1639
1864
|
refreshWatermark?: string;
|
|
1640
1865
|
}
|
|
1866
|
+
interface MetadataCacheStalenessInsight {
|
|
1867
|
+
/** Output only. Average column metadata index staleness of previous runs with the same query hash. */
|
|
1868
|
+
avgPreviousStalenessMs?: string;
|
|
1869
|
+
/** Output only. The percent increase in staleness between the current job and the average staleness of previous jobs with the same query hash. */
|
|
1870
|
+
stalenessPercentageIncrease?: number;
|
|
1871
|
+
}
|
|
1641
1872
|
interface MetadataCacheStatistics {
|
|
1642
1873
|
/** Set for the Metadata caching eligible tables referenced in the query. */
|
|
1643
1874
|
tableMetadataCacheUsage?: TableMetadataCacheUsage[];
|
|
@@ -1650,9 +1881,38 @@ declare namespace gapi.client {
|
|
|
1650
1881
|
/** Output only. Maximum number of iterations specified as max_iterations in the 'CREATE MODEL' query. The actual number of iterations may be less than this number due to early stop. */
|
|
1651
1882
|
maxIterations?: string;
|
|
1652
1883
|
/** Output only. The type of the model that is being trained. */
|
|
1653
|
-
modelType?:
|
|
1884
|
+
modelType?:
|
|
1885
|
+
| 'MODEL_TYPE_UNSPECIFIED'
|
|
1886
|
+
| 'LINEAR_REGRESSION'
|
|
1887
|
+
| 'LOGISTIC_REGRESSION'
|
|
1888
|
+
| 'KMEANS'
|
|
1889
|
+
| 'MATRIX_FACTORIZATION'
|
|
1890
|
+
| 'DNN_CLASSIFIER'
|
|
1891
|
+
| 'TENSORFLOW'
|
|
1892
|
+
| 'DNN_REGRESSOR'
|
|
1893
|
+
| 'XGBOOST'
|
|
1894
|
+
| 'BOOSTED_TREE_REGRESSOR'
|
|
1895
|
+
| 'BOOSTED_TREE_CLASSIFIER'
|
|
1896
|
+
| 'ARIMA'
|
|
1897
|
+
| 'AUTOML_REGRESSOR'
|
|
1898
|
+
| 'AUTOML_CLASSIFIER'
|
|
1899
|
+
| 'PCA'
|
|
1900
|
+
| 'DNN_LINEAR_COMBINED_CLASSIFIER'
|
|
1901
|
+
| 'DNN_LINEAR_COMBINED_REGRESSOR'
|
|
1902
|
+
| 'AUTOENCODER'
|
|
1903
|
+
| 'ARIMA_PLUS'
|
|
1904
|
+
| 'ARIMA_PLUS_XREG'
|
|
1905
|
+
| 'RANDOM_FOREST_REGRESSOR'
|
|
1906
|
+
| 'RANDOM_FOREST_CLASSIFIER'
|
|
1907
|
+
| 'TENSORFLOW_LITE'
|
|
1908
|
+
| 'ONNX'
|
|
1909
|
+
| 'TRANSFORM_ONLY'
|
|
1910
|
+
| 'CONTRIBUTION_ANALYSIS';
|
|
1654
1911
|
/** Output only. Training type of the job. */
|
|
1655
|
-
trainingType?:
|
|
1912
|
+
trainingType?:
|
|
1913
|
+
| 'TRAINING_TYPE_UNSPECIFIED'
|
|
1914
|
+
| 'SINGLE_TRAINING'
|
|
1915
|
+
| 'HPARAM_TUNING';
|
|
1656
1916
|
}
|
|
1657
1917
|
interface Model {
|
|
1658
1918
|
/** The best trial_id across all training runs. */
|
|
@@ -1688,7 +1948,33 @@ declare namespace gapi.client {
|
|
|
1688
1948
|
/** Required. Unique identifier for this model. */
|
|
1689
1949
|
modelReference?: ModelReference;
|
|
1690
1950
|
/** Output only. Type of the model resource. */
|
|
1691
|
-
modelType?:
|
|
1951
|
+
modelType?:
|
|
1952
|
+
| 'MODEL_TYPE_UNSPECIFIED'
|
|
1953
|
+
| 'LINEAR_REGRESSION'
|
|
1954
|
+
| 'LOGISTIC_REGRESSION'
|
|
1955
|
+
| 'KMEANS'
|
|
1956
|
+
| 'MATRIX_FACTORIZATION'
|
|
1957
|
+
| 'DNN_CLASSIFIER'
|
|
1958
|
+
| 'TENSORFLOW'
|
|
1959
|
+
| 'DNN_REGRESSOR'
|
|
1960
|
+
| 'XGBOOST'
|
|
1961
|
+
| 'BOOSTED_TREE_REGRESSOR'
|
|
1962
|
+
| 'BOOSTED_TREE_CLASSIFIER'
|
|
1963
|
+
| 'ARIMA'
|
|
1964
|
+
| 'AUTOML_REGRESSOR'
|
|
1965
|
+
| 'AUTOML_CLASSIFIER'
|
|
1966
|
+
| 'PCA'
|
|
1967
|
+
| 'DNN_LINEAR_COMBINED_CLASSIFIER'
|
|
1968
|
+
| 'DNN_LINEAR_COMBINED_REGRESSOR'
|
|
1969
|
+
| 'AUTOENCODER'
|
|
1970
|
+
| 'ARIMA_PLUS'
|
|
1971
|
+
| 'ARIMA_PLUS_XREG'
|
|
1972
|
+
| 'RANDOM_FOREST_REGRESSOR'
|
|
1973
|
+
| 'RANDOM_FOREST_CLASSIFIER'
|
|
1974
|
+
| 'TENSORFLOW_LITE'
|
|
1975
|
+
| 'ONNX'
|
|
1976
|
+
| 'TRANSFORM_ONLY'
|
|
1977
|
+
| 'CONTRIBUTION_ANALYSIS';
|
|
1692
1978
|
/** Output only. For single-objective [hyperparameter tuning](https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) models, it only contains the best trial. For multi-objective [hyperparameter tuning](https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) models, it contains all Pareto optimal trials sorted by trial_id. */
|
|
1693
1979
|
optimalTrialIds?: string[];
|
|
1694
1980
|
/** Output only. Remote model info */
|
|
@@ -1732,7 +2018,7 @@ declare namespace gapi.client {
|
|
|
1732
2018
|
/** Optional. Indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default. */
|
|
1733
2019
|
enumAsString?: boolean;
|
|
1734
2020
|
/** Optional. Indicates how to represent a Parquet map if present. */
|
|
1735
|
-
mapTargetType?:
|
|
2021
|
+
mapTargetType?: 'MAP_TARGET_TYPE_UNSPECIFIED' | 'ARRAY_OF_STRUCT';
|
|
1736
2022
|
}
|
|
1737
2023
|
interface PartitionedColumn {
|
|
1738
2024
|
/** Required. The name of the partition column. */
|
|
@@ -1753,6 +2039,8 @@ declare namespace gapi.client {
|
|
|
1753
2039
|
stagePerformanceChangeInsights?: StagePerformanceChangeInsight[];
|
|
1754
2040
|
/** Output only. Standalone query stage performance insights, for exploring potential improvements. */
|
|
1755
2041
|
stagePerformanceStandaloneInsights?: StagePerformanceStandaloneInsight[];
|
|
2042
|
+
/** Output only. Performance insights for table-level attributes that changed compared to previous runs. */
|
|
2043
|
+
tableChangeInsights?: TableChangeInsight[];
|
|
1756
2044
|
}
|
|
1757
2045
|
interface Policy {
|
|
1758
2046
|
/** Specifies cloud audit logging configuration for this policy. */
|
|
@@ -1789,8 +2077,8 @@ declare namespace gapi.client {
|
|
|
1789
2077
|
kind?: string;
|
|
1790
2078
|
/** Use this token to request the next page of results. */
|
|
1791
2079
|
nextPageToken?: string;
|
|
1792
|
-
/** Projects to which the user has at least READ access. */
|
|
1793
|
-
projects?:
|
|
2080
|
+
/** Projects to which the user has at least READ access. This field can be omitted if `totalItems` is 0. */
|
|
2081
|
+
projects?: {
|
|
1794
2082
|
/** A descriptive name for this project. A wrapper is used here because friendlyName can be set to the empty string. */
|
|
1795
2083
|
friendlyName?: string;
|
|
1796
2084
|
/** An opaque ID of this project. */
|
|
@@ -1801,7 +2089,7 @@ declare namespace gapi.client {
|
|
|
1801
2089
|
numericId?: string;
|
|
1802
2090
|
/** A unique reference to this project. */
|
|
1803
2091
|
projectReference?: ProjectReference;
|
|
1804
|
-
}
|
|
2092
|
+
}[];
|
|
1805
2093
|
/** The total number of projects in the page. A wrapper is used here because the field should still be in the response when the value is 0. */
|
|
1806
2094
|
totalItems?: number;
|
|
1807
2095
|
}
|
|
@@ -1849,14 +2137,14 @@ declare namespace gapi.client {
|
|
|
1849
2137
|
/** Optional. The element type of the range, if this is a range. */
|
|
1850
2138
|
rangeElementType?: QueryParameterType;
|
|
1851
2139
|
/** Optional. The types of the fields of this struct, in order, if this is a struct. */
|
|
1852
|
-
structTypes?:
|
|
2140
|
+
structTypes?: {
|
|
1853
2141
|
/** Optional. Human-oriented description of the field. */
|
|
1854
2142
|
description?: string;
|
|
1855
2143
|
/** Optional. The name of this field. */
|
|
1856
2144
|
name?: string;
|
|
1857
2145
|
/** Required. The type of this field. */
|
|
1858
2146
|
type?: QueryParameterType;
|
|
1859
|
-
}
|
|
2147
|
+
}[];
|
|
1860
2148
|
/** 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) */
|
|
1861
2149
|
timestampPrecision?: string;
|
|
1862
2150
|
/** Required. The top level type of this field. */
|
|
@@ -1888,7 +2176,10 @@ declare namespace gapi.client {
|
|
|
1888
2176
|
/** Optional. Output format adjustments. */
|
|
1889
2177
|
formatOptions?: DataFormatOptions;
|
|
1890
2178
|
/** Optional. If not set, jobs are always required. If set, the query request will follow the behavior described JobCreationMode. */
|
|
1891
|
-
jobCreationMode?:
|
|
2179
|
+
jobCreationMode?:
|
|
2180
|
+
| 'JOB_CREATION_MODE_UNSPECIFIED'
|
|
2181
|
+
| 'JOB_CREATION_REQUIRED'
|
|
2182
|
+
| 'JOB_CREATION_OPTIONAL';
|
|
1892
2183
|
/** Optional. Job timeout in milliseconds. If this time limit is exceeded, BigQuery will attempt to stop a longer job, but may not always succeed in canceling it before the job completes. For example, a job that takes more than 60 seconds to complete has a better chance of being stopped than a job that takes 10 seconds to complete. This timeout applies to the query even if a job does not need to be created. */
|
|
1893
2184
|
jobTimeoutMs?: string;
|
|
1894
2185
|
/** The resource type of the request. */
|
|
@@ -2045,27 +2336,37 @@ declare namespace gapi.client {
|
|
|
2045
2336
|
/** Output only. The model version for LLM. */
|
|
2046
2337
|
remoteModelVersion?: string;
|
|
2047
2338
|
/** Output only. The remote service type for remote model. */
|
|
2048
|
-
remoteServiceType?:
|
|
2339
|
+
remoteServiceType?:
|
|
2340
|
+
| 'REMOTE_SERVICE_TYPE_UNSPECIFIED'
|
|
2341
|
+
| 'CLOUD_AI_TRANSLATE_V3'
|
|
2342
|
+
| 'CLOUD_AI_VISION_V1'
|
|
2343
|
+
| 'CLOUD_AI_NATURAL_LANGUAGE_V1'
|
|
2344
|
+
| 'CLOUD_AI_SPEECH_TO_TEXT_V2';
|
|
2049
2345
|
/** Output only. The name of the speech recognizer to use for speech recognition. The expected format is `projects/{project}/locations/{location}/recognizers/{recognizer}`. Customers can specify this field at model creation. If not specified, a default recognizer `projects/{model project}/locations/global/recognizers/_` will be used. See more details at [recognizers](https://cloud.google.com/speech-to-text/v2/docs/reference/rest/v2/projects.locations.recognizers) */
|
|
2050
2346
|
speechRecognizer?: string;
|
|
2051
2347
|
}
|
|
2052
2348
|
interface RestrictionConfig {
|
|
2053
2349
|
/** Output only. Specifies the type of dataset/table restriction. */
|
|
2054
|
-
type?:
|
|
2350
|
+
type?: 'RESTRICTION_TYPE_UNSPECIFIED' | 'RESTRICTED_DATA_EGRESS';
|
|
2055
2351
|
}
|
|
2056
2352
|
interface Routine {
|
|
2057
2353
|
/** Optional. */
|
|
2058
2354
|
arguments?: Argument[];
|
|
2355
|
+
/** Output only. The build status of the routine. This field is only applicable to Python UDFs. [Preview](https://cloud.google.com/products/#product-launch-stages) */
|
|
2356
|
+
buildStatus?: RoutineBuildStatus;
|
|
2059
2357
|
/** Output only. The time when this routine was created, in milliseconds since the epoch. */
|
|
2060
2358
|
creationTime?: string;
|
|
2061
2359
|
/** 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). */
|
|
2062
|
-
dataGovernanceType?:
|
|
2360
|
+
dataGovernanceType?: 'DATA_GOVERNANCE_TYPE_UNSPECIFIED' | 'DATA_MASKING';
|
|
2063
2361
|
/** 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. */
|
|
2064
2362
|
definitionBody?: string;
|
|
2065
2363
|
/** Optional. The description of the routine, if defined. */
|
|
2066
2364
|
description?: string;
|
|
2067
2365
|
/** Optional. The determinism level of the JavaScript UDF, if defined. */
|
|
2068
|
-
determinismLevel?:
|
|
2366
|
+
determinismLevel?:
|
|
2367
|
+
| 'DETERMINISM_LEVEL_UNSPECIFIED'
|
|
2368
|
+
| 'DETERMINISTIC'
|
|
2369
|
+
| 'NOT_DETERMINISTIC';
|
|
2069
2370
|
/** Output only. A hash of this resource. */
|
|
2070
2371
|
etag?: string;
|
|
2071
2372
|
/** Optional. Options for the runtime of the external system executing the routine. This field is only applicable for Python UDFs. [Preview](https://cloud.google.com/products/#product-launch-stages) */
|
|
@@ -2073,7 +2374,13 @@ declare namespace gapi.client {
|
|
|
2073
2374
|
/** Optional. If language = "JAVASCRIPT", this field stores the path of the imported JAVASCRIPT libraries. */
|
|
2074
2375
|
importedLibraries?: string[];
|
|
2075
2376
|
/** Optional. Defaults to "SQL" if remote_function_options field is absent, not set otherwise. */
|
|
2076
|
-
language?:
|
|
2377
|
+
language?:
|
|
2378
|
+
| 'LANGUAGE_UNSPECIFIED'
|
|
2379
|
+
| 'SQL'
|
|
2380
|
+
| 'JAVASCRIPT'
|
|
2381
|
+
| 'PYTHON'
|
|
2382
|
+
| 'JAVA'
|
|
2383
|
+
| 'SCALA';
|
|
2077
2384
|
/** Output only. The time when this routine was last modified, in milliseconds since the epoch. */
|
|
2078
2385
|
lastModifiedTime?: string;
|
|
2079
2386
|
/** Optional. Options for the Python UDF. [Preview](https://cloud.google.com/products/#product-launch-stages) */
|
|
@@ -2087,14 +2394,35 @@ declare namespace gapi.client {
|
|
|
2087
2394
|
/** Required. Reference describing the ID of this routine. */
|
|
2088
2395
|
routineReference?: RoutineReference;
|
|
2089
2396
|
/** Required. The type of routine. */
|
|
2090
|
-
routineType?:
|
|
2397
|
+
routineType?:
|
|
2398
|
+
| 'ROUTINE_TYPE_UNSPECIFIED'
|
|
2399
|
+
| 'SCALAR_FUNCTION'
|
|
2400
|
+
| 'PROCEDURE'
|
|
2401
|
+
| 'TABLE_VALUED_FUNCTION'
|
|
2402
|
+
| 'AGGREGATE_FUNCTION';
|
|
2091
2403
|
/** Optional. The security mode of the routine, if defined. If not defined, the security mode is automatically determined from the routine's configuration. */
|
|
2092
|
-
securityMode?:
|
|
2404
|
+
securityMode?: 'SECURITY_MODE_UNSPECIFIED' | 'DEFINER' | 'INVOKER';
|
|
2093
2405
|
/** Optional. Spark specific options. */
|
|
2094
2406
|
sparkOptions?: SparkOptions;
|
|
2095
2407
|
/** Optional. Use this option to catch many common errors. Error checking is not exhaustive, and successfully creating a procedure doesn't guarantee that the procedure will successfully execute at runtime. If `strictMode` is set to `TRUE`, the procedure body is further checked for errors such as non-existent tables or columns. The `CREATE PROCEDURE` statement fails if the body fails any of these checks. If `strictMode` is set to `FALSE`, the procedure body is checked only for syntax. For procedures that invoke themselves recursively, specify `strictMode=FALSE` to avoid non-existent procedure errors during validation. Default value is `TRUE`. */
|
|
2096
2408
|
strictMode?: boolean;
|
|
2097
2409
|
}
|
|
2410
|
+
interface RoutineBuildStatus {
|
|
2411
|
+
/** Output only. The time taken for the image build. Populated only after the build succeeds or fails. */
|
|
2412
|
+
buildDuration?: string;
|
|
2413
|
+
/** Output only. The current build state of the routine. */
|
|
2414
|
+
buildState?:
|
|
2415
|
+
| 'BUILD_STATE_UNSPECIFIED'
|
|
2416
|
+
| 'IN_PROGRESS'
|
|
2417
|
+
| 'SUCCEEDED'
|
|
2418
|
+
| 'FAILED';
|
|
2419
|
+
/** Output only. The time when the build state was updated last. */
|
|
2420
|
+
buildStateUpdateTime?: string;
|
|
2421
|
+
/** Output only. A result object that will be present only if the build has failed. */
|
|
2422
|
+
errorResult?: ErrorProto;
|
|
2423
|
+
/** Output only. The size of the image in bytes. Populated only after the build succeeds. */
|
|
2424
|
+
imageSizeBytes?: string;
|
|
2425
|
+
}
|
|
2098
2426
|
interface RoutineReference {
|
|
2099
2427
|
/** Required. The ID of the dataset containing this routine. */
|
|
2100
2428
|
datasetId?: string;
|
|
@@ -2139,7 +2467,10 @@ declare namespace gapi.client {
|
|
|
2139
2467
|
}
|
|
2140
2468
|
interface ScriptOptions {
|
|
2141
2469
|
/** Determines which statement in the script represents the "key result", used to populate the schema and query results of the script job. Default is LAST. */
|
|
2142
|
-
keyResultStatement?:
|
|
2470
|
+
keyResultStatement?:
|
|
2471
|
+
| 'KEY_RESULT_STATEMENT_KIND_UNSPECIFIED'
|
|
2472
|
+
| 'LAST'
|
|
2473
|
+
| 'FIRST_SELECT';
|
|
2143
2474
|
/** Limit on the number of bytes billed per statement. Exceeding this budget results in an error. */
|
|
2144
2475
|
statementByteBudget?: string;
|
|
2145
2476
|
/** Timeout period for each statement in a script. */
|
|
@@ -2161,7 +2492,10 @@ declare namespace gapi.client {
|
|
|
2161
2492
|
}
|
|
2162
2493
|
interface ScriptStatistics {
|
|
2163
2494
|
/** Whether this child job was a statement or expression. */
|
|
2164
|
-
evaluationKind?:
|
|
2495
|
+
evaluationKind?:
|
|
2496
|
+
| 'EVALUATION_KIND_UNSPECIFIED'
|
|
2497
|
+
| 'STATEMENT'
|
|
2498
|
+
| 'EXPRESSION';
|
|
2165
2499
|
/** Stack trace showing the line/column/procedure name of each frame on the stack at the point where the current evaluation happened. The leaf frame is first, the primary script is last. Never empty. */
|
|
2166
2500
|
stackFrames?: ScriptStackFrame[];
|
|
2167
2501
|
}
|
|
@@ -2171,7 +2505,11 @@ declare namespace gapi.client {
|
|
|
2171
2505
|
/** When `indexUsageMode` is `UNUSED` or `PARTIALLY_USED`, this field explains why indexes were not used in all or part of the search query. If `indexUsageMode` is `FULLY_USED`, this field is not populated. */
|
|
2172
2506
|
indexUnusedReasons?: IndexUnusedReason[];
|
|
2173
2507
|
/** Specifies the index usage mode for the query. */
|
|
2174
|
-
indexUsageMode?:
|
|
2508
|
+
indexUsageMode?:
|
|
2509
|
+
| 'INDEX_USAGE_MODE_UNSPECIFIED'
|
|
2510
|
+
| 'UNUSED'
|
|
2511
|
+
| 'PARTIALLY_USED'
|
|
2512
|
+
| 'FULLY_USED';
|
|
2175
2513
|
}
|
|
2176
2514
|
interface SerDeInfo {
|
|
2177
2515
|
/** Optional. Name of the SerDe. The maximum length is 256 characters. */
|
|
@@ -2271,7 +2609,25 @@ declare namespace gapi.client {
|
|
|
2271
2609
|
/** The fields of this struct, in order, if type_kind = "STRUCT". */
|
|
2272
2610
|
structType?: StandardSqlStructType;
|
|
2273
2611
|
/** Required. The top level type of this field. Can be any GoogleSQL data type (e.g., "INT64", "DATE", "ARRAY"). */
|
|
2274
|
-
typeKind?:
|
|
2612
|
+
typeKind?:
|
|
2613
|
+
| 'TYPE_KIND_UNSPECIFIED'
|
|
2614
|
+
| 'INT64'
|
|
2615
|
+
| 'BOOL'
|
|
2616
|
+
| 'FLOAT64'
|
|
2617
|
+
| 'STRING'
|
|
2618
|
+
| 'BYTES'
|
|
2619
|
+
| 'TIMESTAMP'
|
|
2620
|
+
| 'DATE'
|
|
2621
|
+
| 'TIME'
|
|
2622
|
+
| 'DATETIME'
|
|
2623
|
+
| 'INTERVAL'
|
|
2624
|
+
| 'GEOGRAPHY'
|
|
2625
|
+
| 'NUMERIC'
|
|
2626
|
+
| 'BIGNUMERIC'
|
|
2627
|
+
| 'JSON'
|
|
2628
|
+
| 'ARRAY'
|
|
2629
|
+
| 'STRUCT'
|
|
2630
|
+
| 'RANGE';
|
|
2275
2631
|
}
|
|
2276
2632
|
interface StandardSqlField {
|
|
2277
2633
|
/** Optional. The name of this field. Can be absent for struct fields. */
|
|
@@ -2299,7 +2655,14 @@ declare namespace gapi.client {
|
|
|
2299
2655
|
}
|
|
2300
2656
|
interface StoredColumnsUnusedReason {
|
|
2301
2657
|
/** Specifies the high-level reason for the unused scenario, each reason must have a code associated. */
|
|
2302
|
-
code?:
|
|
2658
|
+
code?:
|
|
2659
|
+
| 'CODE_UNSPECIFIED'
|
|
2660
|
+
| 'STORED_COLUMNS_COVER_INSUFFICIENT'
|
|
2661
|
+
| 'BASE_TABLE_HAS_RLS'
|
|
2662
|
+
| 'BASE_TABLE_HAS_CLS'
|
|
2663
|
+
| 'UNSUPPORTED_PREFILTER'
|
|
2664
|
+
| 'INTERNAL_ERROR'
|
|
2665
|
+
| 'OTHER_REASON';
|
|
2303
2666
|
/** Specifies the detailed description for the scenario. */
|
|
2304
2667
|
message?: string;
|
|
2305
2668
|
/** Specifies which columns were not covered by the stored columns for the specified code up to 20 columns. This is populated when the code is STORED_COLUMNS_COVER_INSUFFICIENT and BASE_TABLE_HAS_CLS. */
|
|
@@ -2343,7 +2706,10 @@ declare namespace gapi.client {
|
|
|
2343
2706
|
/** Optional. Defines the default collation specification of new STRING fields in the table. During table creation or update, if a STRING field is added to this table without explicit collation specified, then the table inherits the table default collation. A change to this field affects only fields added afterwards, and does not alter the existing fields. The following values are supported: * 'und:ci': undetermined locale, case insensitive. * '': empty string. Default to case-sensitive behavior. */
|
|
2344
2707
|
defaultCollation?: string;
|
|
2345
2708
|
/** Optional. Defines the default rounding mode specification of new decimal fields (NUMERIC OR BIGNUMERIC) in the table. During table creation or update, if a decimal field is added to this table without an explicit rounding mode specified, then the field inherits the table default rounding mode. Changing this field doesn't affect existing fields. */
|
|
2346
|
-
defaultRoundingMode?:
|
|
2709
|
+
defaultRoundingMode?:
|
|
2710
|
+
| 'ROUNDING_MODE_UNSPECIFIED'
|
|
2711
|
+
| 'ROUND_HALF_AWAY_FROM_ZERO'
|
|
2712
|
+
| 'ROUND_HALF_EVEN';
|
|
2347
2713
|
/** Optional. A user-friendly description of this table. */
|
|
2348
2714
|
description?: string;
|
|
2349
2715
|
/** Custom encryption configuration (e.g., Cloud KMS keys). */
|
|
@@ -2369,7 +2735,10 @@ declare namespace gapi.client {
|
|
|
2369
2735
|
/** Output only. The geographic location where the table resides. This value is inherited from the dataset. */
|
|
2370
2736
|
location?: string;
|
|
2371
2737
|
/** Optional. If set, overrides the default managed table type configured in the dataset. */
|
|
2372
|
-
managedTableType?:
|
|
2738
|
+
managedTableType?:
|
|
2739
|
+
| 'MANAGED_TABLE_TYPE_UNSPECIFIED'
|
|
2740
|
+
| 'NATIVE'
|
|
2741
|
+
| 'BIGLAKE';
|
|
2373
2742
|
/** Optional. The materialized view definition. */
|
|
2374
2743
|
materializedView?: MaterializedViewDefinition;
|
|
2375
2744
|
/** Output only. The materialized view status. */
|
|
@@ -2440,16 +2809,24 @@ declare namespace gapi.client {
|
|
|
2440
2809
|
interface TableCell {
|
|
2441
2810
|
v?: any;
|
|
2442
2811
|
}
|
|
2812
|
+
interface TableChangeInsight {
|
|
2813
|
+
/** Output only. True if the table's column metadata index was not used in the current job, but was used in a previous job with the same query hash. */
|
|
2814
|
+
metadataCacheNotUsedButUsedPreviously?: boolean;
|
|
2815
|
+
/** Output only. If present, indicates that the table's metadata column index staleness has increased significantly compared to previous jobs with the same query hash. */
|
|
2816
|
+
metadataCacheStalenessInsight?: MetadataCacheStalenessInsight;
|
|
2817
|
+
/** Output only. The table that was queried. */
|
|
2818
|
+
tableReference?: TableReference;
|
|
2819
|
+
}
|
|
2443
2820
|
interface TableConstraints {
|
|
2444
2821
|
/** Optional. Present only if the table has a foreign key. The foreign key is not enforced. */
|
|
2445
|
-
foreignKeys?:
|
|
2822
|
+
foreignKeys?: {
|
|
2446
2823
|
/** Required. The columns that compose the foreign key. */
|
|
2447
|
-
columnReferences?:
|
|
2824
|
+
columnReferences?: {
|
|
2448
2825
|
/** Required. The column in the primary key that are referenced by the referencing_column. */
|
|
2449
2826
|
referencedColumn?: string;
|
|
2450
2827
|
/** Required. The column that composes the foreign key. */
|
|
2451
2828
|
referencingColumn?: string;
|
|
2452
|
-
}
|
|
2829
|
+
}[];
|
|
2453
2830
|
/** Optional. Set only if the foreign key constraint is named. */
|
|
2454
2831
|
name?: string;
|
|
2455
2832
|
referencedTable?: {
|
|
@@ -2457,7 +2834,7 @@ declare namespace gapi.client {
|
|
|
2457
2834
|
projectId?: string;
|
|
2458
2835
|
tableId?: string;
|
|
2459
2836
|
};
|
|
2460
|
-
}
|
|
2837
|
+
}[];
|
|
2461
2838
|
/** Represents the primary key constraint on a table's columns. */
|
|
2462
2839
|
primaryKey?: {
|
|
2463
2840
|
/** Required. The columns that are composed of the primary key constraint. */
|
|
@@ -2469,12 +2846,12 @@ declare namespace gapi.client {
|
|
|
2469
2846
|
ignoreUnknownValues?: boolean;
|
|
2470
2847
|
/** Optional. The resource type of the response. The value is not checked at the backend. Historically, it has been set to "bigquery#tableDataInsertAllRequest" but you are not required to set it. */
|
|
2471
2848
|
kind?: string;
|
|
2472
|
-
rows?:
|
|
2849
|
+
rows?: {
|
|
2473
2850
|
/** Insertion ID for best-effort deduplication. This feature is not recommended, and users seeking stronger insertion semantics are encouraged to use other mechanisms such as the BigQuery Write API. */
|
|
2474
2851
|
insertId?: string;
|
|
2475
2852
|
/** Data for a single row. */
|
|
2476
2853
|
json?: JsonObject;
|
|
2477
|
-
}
|
|
2854
|
+
}[];
|
|
2478
2855
|
/** Optional. Insert all valid rows of a request, even if invalid rows exist. The default value is false, which causes the entire request to fail if any invalid rows exist. */
|
|
2479
2856
|
skipInvalidRows?: boolean;
|
|
2480
2857
|
/** Optional. If specified, treats the destination table as a base template, and inserts the rows into an instance table named "{destination}{templateSuffix}". BigQuery will manage creation of the instance table, using the schema of the base template table. See https://cloud.google.com/bigquery/streaming-data-into-bigquery#template-tables for considerations when working with templates tables. */
|
|
@@ -2484,12 +2861,12 @@ declare namespace gapi.client {
|
|
|
2484
2861
|
}
|
|
2485
2862
|
interface TableDataInsertAllResponse {
|
|
2486
2863
|
/** Describes specific errors encountered while processing the request. */
|
|
2487
|
-
insertErrors?:
|
|
2864
|
+
insertErrors?: {
|
|
2488
2865
|
/** Error information for the row indicated by the index property. */
|
|
2489
2866
|
errors?: ErrorProto[];
|
|
2490
2867
|
/** The index of the row that error applies to. */
|
|
2491
2868
|
index?: number;
|
|
2492
|
-
}
|
|
2869
|
+
}[];
|
|
2493
2870
|
/** Returns "bigquery#tableDataInsertAllResponse". */
|
|
2494
2871
|
kind?: string;
|
|
2495
2872
|
}
|
|
@@ -2513,8 +2890,15 @@ declare namespace gapi.client {
|
|
|
2513
2890
|
};
|
|
2514
2891
|
/** Optional. Field collation can be set only when the type of field is STRING. The following values are supported: * 'und:ci': undetermined locale, case insensitive. * '': empty string. Default to case-sensitive behavior. */
|
|
2515
2892
|
collation?: string;
|
|
2893
|
+
/** Optional. Specifies the data governance tags on this field. This field works with other column-level security fields as follows: - Precedence: If a data governance tag is attached to a column, it takes precedence over the policy tag attached to the column. However, if a data policy is attached to a column, it takes precedence over the data governance tag. - Patching behavior (how this field behaves during a `Table.patch` schema update): - Unset: If the `data_governance_tags_info` field is omitted from the update request, the existing tags on the column are preserved. - Empty Field: To clear data governance tags from a column, send the `data_governance_tags_info` field as an empty object. This will remove all tags from the column. - Updating tags: To replace existing tag, send the field with the new tag. */
|
|
2894
|
+
dataGovernanceTagsInfo?: {
|
|
2895
|
+
/** Optional. The data governance tags added to this field are used for field-level access control. Only one data governance tag is currently supported on a field. Tag keys are globally unique. Tag key is expected to be in the namespaced format, for example "123456789012/pii" where 123456789012 is the ID of the parent organization or project resource for this tag key. Tag value is expected to be the short name, for example "sensitive". See [Tag definitions](https://cloud.google.com/iam/docs/tags-access-control#definitions) for more details. For example: "123456789012/pii": "sensitive", "myProject/cost_center": "sales" */
|
|
2896
|
+
dataGovernanceTags?: {[P in string]: string};
|
|
2897
|
+
};
|
|
2516
2898
|
/** Optional. Data policies attached to this field, used for field-level access control. */
|
|
2517
2899
|
dataPolicies?: DataPolicyOption[];
|
|
2900
|
+
/** Optional. Specifies data policies attached to this field, used for field-level access control. When set, this will be the source of truth for data policy information. */
|
|
2901
|
+
dataPolicyList?: DataPolicyList;
|
|
2518
2902
|
/** Optional. A SQL expression to specify the [default value] (https://cloud.google.com/bigquery/docs/default-values) for this field. */
|
|
2519
2903
|
defaultValueExpression?: string;
|
|
2520
2904
|
/** Optional. The field description. The maximum length is 1,024 characters. */
|
|
@@ -2523,6 +2907,8 @@ declare namespace gapi.client {
|
|
|
2523
2907
|
fields?: TableFieldSchema[];
|
|
2524
2908
|
/** Optional. Definition of the foreign data type. Only valid for top-level schema fields (not nested fields). If the type is FOREIGN, this field is required. */
|
|
2525
2909
|
foreignTypeDefinition?: string;
|
|
2910
|
+
/** Optional. Definition of how values are generated for the field. Only valid for top-level schema fields (not nested fields). */
|
|
2911
|
+
generatedColumn?: GeneratedColumn;
|
|
2526
2912
|
/** Optional. Maximum length of values of this field for STRINGS or BYTES. If max_length is not specified, no maximum length constraint is imposed on this field. If type = "STRING", then max_length represents the maximum UTF-8 length of strings in this field. If type = "BYTES", then max_length represents the maximum number of bytes in this field. It is invalid to set this field if type ≠ "STRING" and ≠ "BYTES". */
|
|
2527
2913
|
maxLength?: string;
|
|
2528
2914
|
/** Optional. The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE. */
|
|
@@ -2542,7 +2928,10 @@ declare namespace gapi.client {
|
|
|
2542
2928
|
type?: string;
|
|
2543
2929
|
};
|
|
2544
2930
|
/** Optional. Specifies the rounding mode to be used when storing values of NUMERIC and BIGNUMERIC type. */
|
|
2545
|
-
roundingMode?:
|
|
2931
|
+
roundingMode?:
|
|
2932
|
+
| 'ROUNDING_MODE_UNSPECIFIED'
|
|
2933
|
+
| 'ROUND_HALF_AWAY_FROM_ZERO'
|
|
2934
|
+
| 'ROUND_HALF_EVEN';
|
|
2546
2935
|
/** Optional. See documentation for precision. */
|
|
2547
2936
|
scale?: string;
|
|
2548
2937
|
/** 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) */
|
|
@@ -2558,7 +2947,7 @@ declare namespace gapi.client {
|
|
|
2558
2947
|
/** A token to request the next page of results. */
|
|
2559
2948
|
nextPageToken?: string;
|
|
2560
2949
|
/** Tables in the requested dataset. */
|
|
2561
|
-
tables?:
|
|
2950
|
+
tables?: {
|
|
2562
2951
|
/** Clustering specification for this table, if configured. */
|
|
2563
2952
|
clustering?: Clustering;
|
|
2564
2953
|
/** Output only. The time when this table was created, in milliseconds since the epoch. */
|
|
@@ -2590,7 +2979,7 @@ declare namespace gapi.client {
|
|
|
2590
2979
|
/** True if view is defined in legacy SQL dialect, false if in GoogleSQL. */
|
|
2591
2980
|
useLegacySql?: boolean;
|
|
2592
2981
|
};
|
|
2593
|
-
}
|
|
2982
|
+
}[];
|
|
2594
2983
|
/** The total number of tables in the dataset. */
|
|
2595
2984
|
totalItems?: number;
|
|
2596
2985
|
}
|
|
@@ -2606,7 +2995,11 @@ declare namespace gapi.client {
|
|
|
2606
2995
|
/** [Table type](https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#Table.FIELDS.type). */
|
|
2607
2996
|
tableType?: string;
|
|
2608
2997
|
/** Reason for not using metadata caching for the table. */
|
|
2609
|
-
unusedReason?:
|
|
2998
|
+
unusedReason?:
|
|
2999
|
+
| 'UNUSED_REASON_UNSPECIFIED'
|
|
3000
|
+
| 'EXCEEDED_MAX_STALENESS'
|
|
3001
|
+
| 'METADATA_CACHING_NOT_ENABLED'
|
|
3002
|
+
| 'OTHER_REASON';
|
|
2610
3003
|
}
|
|
2611
3004
|
interface TableReference {
|
|
2612
3005
|
/** Required. The ID of the dataset containing this table. */
|
|
@@ -2624,7 +3017,12 @@ declare namespace gapi.client {
|
|
|
2624
3017
|
/** Optional. Specifies the interval at which the source table is polled for updates. It's Optional. If not specified, default replication interval would be applied. */
|
|
2625
3018
|
replicationIntervalMs?: string;
|
|
2626
3019
|
/** Optional. Output only. Replication status of configured replication. */
|
|
2627
|
-
replicationStatus?:
|
|
3020
|
+
replicationStatus?:
|
|
3021
|
+
| 'REPLICATION_STATUS_UNSPECIFIED'
|
|
3022
|
+
| 'ACTIVE'
|
|
3023
|
+
| 'SOURCE_DELETED'
|
|
3024
|
+
| 'PERMISSION_DENIED'
|
|
3025
|
+
| 'UNSUPPORTED_CONFIGURATION';
|
|
2628
3026
|
/** Required. Source table reference that is replicated. */
|
|
2629
3027
|
sourceTable?: TableReference;
|
|
2630
3028
|
}
|
|
@@ -2674,17 +3072,27 @@ declare namespace gapi.client {
|
|
|
2674
3072
|
/** Batch size for dnn models. */
|
|
2675
3073
|
batchSize?: string;
|
|
2676
3074
|
/** Booster type for boosted tree models. */
|
|
2677
|
-
boosterType?:
|
|
3075
|
+
boosterType?: 'BOOSTER_TYPE_UNSPECIFIED' | 'GBTREE' | 'DART';
|
|
2678
3076
|
/** Budget in hours for AutoML training. */
|
|
2679
3077
|
budgetHours?: number;
|
|
2680
3078
|
/** Whether or not p-value test should be computed for this model. Only available for linear and logistic regression models. */
|
|
2681
3079
|
calculatePValues?: boolean;
|
|
2682
3080
|
/** Categorical feature encoding method. */
|
|
2683
|
-
categoryEncodingMethod?:
|
|
3081
|
+
categoryEncodingMethod?:
|
|
3082
|
+
| 'ENCODING_METHOD_UNSPECIFIED'
|
|
3083
|
+
| 'ONE_HOT_ENCODING'
|
|
3084
|
+
| 'LABEL_ENCODING'
|
|
3085
|
+
| 'DUMMY_ENCODING';
|
|
2684
3086
|
/** If true, clean spikes and dips in the input time series. */
|
|
2685
3087
|
cleanSpikesAndDips?: boolean;
|
|
2686
3088
|
/** Enums for color space, used for processing images in Object Table. See more details at https://www.tensorflow.org/io/tutorials/colorspace. */
|
|
2687
|
-
colorSpace?:
|
|
3089
|
+
colorSpace?:
|
|
3090
|
+
| 'COLOR_SPACE_UNSPECIFIED'
|
|
3091
|
+
| 'RGB'
|
|
3092
|
+
| 'HSV'
|
|
3093
|
+
| 'YIQ'
|
|
3094
|
+
| 'YUV'
|
|
3095
|
+
| 'GRAYSCALE';
|
|
2688
3096
|
/** Subsample ratio of columns for each level for boosted tree models. */
|
|
2689
3097
|
colsampleBylevel?: number;
|
|
2690
3098
|
/** Subsample ratio of columns for each node(split) for boosted tree models. */
|
|
@@ -2694,21 +3102,36 @@ declare namespace gapi.client {
|
|
|
2694
3102
|
/** The contribution metric. Applies to contribution analysis models. Allowed formats supported are for summable and summable ratio contribution metrics. These include expressions such as `SUM(x)` or `SUM(x)/SUM(y)`, where x and y are column names from the base table. */
|
|
2695
3103
|
contributionMetric?: string;
|
|
2696
3104
|
/** Type of normalization algorithm for boosted tree models using dart booster. */
|
|
2697
|
-
dartNormalizeType?:
|
|
3105
|
+
dartNormalizeType?: 'DART_NORMALIZE_TYPE_UNSPECIFIED' | 'TREE' | 'FOREST';
|
|
2698
3106
|
/** The data frequency of a time series. */
|
|
2699
|
-
dataFrequency?:
|
|
3107
|
+
dataFrequency?:
|
|
3108
|
+
| 'DATA_FREQUENCY_UNSPECIFIED'
|
|
3109
|
+
| 'AUTO_FREQUENCY'
|
|
3110
|
+
| 'YEARLY'
|
|
3111
|
+
| 'QUARTERLY'
|
|
3112
|
+
| 'MONTHLY'
|
|
3113
|
+
| 'WEEKLY'
|
|
3114
|
+
| 'DAILY'
|
|
3115
|
+
| 'HOURLY'
|
|
3116
|
+
| 'PER_MINUTE';
|
|
2700
3117
|
/** The column to split data with. This column won't be used as a feature. 1. When data_split_method is CUSTOM, the corresponding column should be boolean. The rows with true value tag are eval data, and the false are training data. 2. When data_split_method is SEQ, the first DATA_SPLIT_EVAL_FRACTION rows (from smallest to largest) in the corresponding column are used as training data, and the rest are eval data. It respects the order in Orderable data types: https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#data_type_properties */
|
|
2701
3118
|
dataSplitColumn?: string;
|
|
2702
3119
|
/** The fraction of evaluation data over the whole input data. The rest of data will be used as training data. The format should be double. Accurate to two decimal places. Default value is 0.2. */
|
|
2703
3120
|
dataSplitEvalFraction?: number;
|
|
2704
3121
|
/** The data split type for training and evaluation, e.g. RANDOM. */
|
|
2705
|
-
dataSplitMethod?:
|
|
3122
|
+
dataSplitMethod?:
|
|
3123
|
+
| 'DATA_SPLIT_METHOD_UNSPECIFIED'
|
|
3124
|
+
| 'RANDOM'
|
|
3125
|
+
| 'CUSTOM'
|
|
3126
|
+
| 'SEQUENTIAL'
|
|
3127
|
+
| 'NO_SPLIT'
|
|
3128
|
+
| 'AUTO_SPLIT';
|
|
2706
3129
|
/** If true, perform decompose time series and save the results. */
|
|
2707
3130
|
decomposeTimeSeries?: boolean;
|
|
2708
3131
|
/** Optional. Names of the columns to slice on. Applies to contribution analysis models. */
|
|
2709
3132
|
dimensionIdColumns?: string[];
|
|
2710
3133
|
/** Distance type for clustering models. */
|
|
2711
|
-
distanceType?:
|
|
3134
|
+
distanceType?: 'DISTANCE_TYPE_UNSPECIFIED' | 'EUCLIDEAN' | 'COSINE';
|
|
2712
3135
|
/** Dropout probability for dnn models. */
|
|
2713
3136
|
dropout?: number;
|
|
2714
3137
|
/** Whether to stop early when the loss doesn't improve significantly any more (compared to min_relative_progress). Used only for iterative training algorithms. */
|
|
@@ -2718,7 +3141,7 @@ declare namespace gapi.client {
|
|
|
2718
3141
|
/** The idle TTL of the endpoint before the resources get destroyed. The default value is 6.5 hours. */
|
|
2719
3142
|
endpointIdleTtl?: string;
|
|
2720
3143
|
/** Feedback type that specifies which algorithm to run for matrix factorization. */
|
|
2721
|
-
feedbackType?:
|
|
3144
|
+
feedbackType?: 'FEEDBACK_TYPE_UNSPECIFIED' | 'IMPLICIT' | 'EXPLICIT';
|
|
2722
3145
|
/** Whether the model should include intercept during model training. */
|
|
2723
3146
|
fitIntercept?: boolean;
|
|
2724
3147
|
/** The forecast limit lower bound that was used during ARIMA model training with limits. To see more details of the algorithm: https://otexts.com/fpp2/limits.html */
|
|
@@ -2728,13 +3151,168 @@ declare namespace gapi.client {
|
|
|
2728
3151
|
/** Hidden units for dnn models. */
|
|
2729
3152
|
hiddenUnits?: string[];
|
|
2730
3153
|
/** The geographical region based on which the holidays are considered in time series modeling. If a valid value is specified, then holiday effects modeling is enabled. */
|
|
2731
|
-
holidayRegion?:
|
|
3154
|
+
holidayRegion?:
|
|
3155
|
+
| 'HOLIDAY_REGION_UNSPECIFIED'
|
|
3156
|
+
| 'GLOBAL'
|
|
3157
|
+
| 'NA'
|
|
3158
|
+
| 'JAPAC'
|
|
3159
|
+
| 'EMEA'
|
|
3160
|
+
| 'LAC'
|
|
3161
|
+
| 'AE'
|
|
3162
|
+
| 'AR'
|
|
3163
|
+
| 'AT'
|
|
3164
|
+
| 'AU'
|
|
3165
|
+
| 'BE'
|
|
3166
|
+
| 'BR'
|
|
3167
|
+
| 'CA'
|
|
3168
|
+
| 'CH'
|
|
3169
|
+
| 'CL'
|
|
3170
|
+
| 'CN'
|
|
3171
|
+
| 'CO'
|
|
3172
|
+
| 'CS'
|
|
3173
|
+
| 'CZ'
|
|
3174
|
+
| 'DE'
|
|
3175
|
+
| 'DK'
|
|
3176
|
+
| 'DZ'
|
|
3177
|
+
| 'EC'
|
|
3178
|
+
| 'EE'
|
|
3179
|
+
| 'EG'
|
|
3180
|
+
| 'ES'
|
|
3181
|
+
| 'FI'
|
|
3182
|
+
| 'FR'
|
|
3183
|
+
| 'GB'
|
|
3184
|
+
| 'GR'
|
|
3185
|
+
| 'HK'
|
|
3186
|
+
| 'HU'
|
|
3187
|
+
| 'ID'
|
|
3188
|
+
| 'IE'
|
|
3189
|
+
| 'IL'
|
|
3190
|
+
| 'IN'
|
|
3191
|
+
| 'IR'
|
|
3192
|
+
| 'IT'
|
|
3193
|
+
| 'JP'
|
|
3194
|
+
| 'KR'
|
|
3195
|
+
| 'LV'
|
|
3196
|
+
| 'MA'
|
|
3197
|
+
| 'MX'
|
|
3198
|
+
| 'MY'
|
|
3199
|
+
| 'NG'
|
|
3200
|
+
| 'NL'
|
|
3201
|
+
| 'NO'
|
|
3202
|
+
| 'NZ'
|
|
3203
|
+
| 'PE'
|
|
3204
|
+
| 'PH'
|
|
3205
|
+
| 'PK'
|
|
3206
|
+
| 'PL'
|
|
3207
|
+
| 'PT'
|
|
3208
|
+
| 'RO'
|
|
3209
|
+
| 'RS'
|
|
3210
|
+
| 'RU'
|
|
3211
|
+
| 'SA'
|
|
3212
|
+
| 'SE'
|
|
3213
|
+
| 'SG'
|
|
3214
|
+
| 'SI'
|
|
3215
|
+
| 'SK'
|
|
3216
|
+
| 'TH'
|
|
3217
|
+
| 'TR'
|
|
3218
|
+
| 'TW'
|
|
3219
|
+
| 'UA'
|
|
3220
|
+
| 'US'
|
|
3221
|
+
| 'VE'
|
|
3222
|
+
| 'VN'
|
|
3223
|
+
| 'ZA';
|
|
2732
3224
|
/** A list of geographical regions that are used for time series modeling. */
|
|
2733
|
-
holidayRegions?:
|
|
3225
|
+
holidayRegions?:
|
|
3226
|
+
| 'HOLIDAY_REGION_UNSPECIFIED'
|
|
3227
|
+
| 'GLOBAL'
|
|
3228
|
+
| 'NA'
|
|
3229
|
+
| 'JAPAC'
|
|
3230
|
+
| 'EMEA'
|
|
3231
|
+
| 'LAC'
|
|
3232
|
+
| 'AE'
|
|
3233
|
+
| 'AR'
|
|
3234
|
+
| 'AT'
|
|
3235
|
+
| 'AU'
|
|
3236
|
+
| 'BE'
|
|
3237
|
+
| 'BR'
|
|
3238
|
+
| 'CA'
|
|
3239
|
+
| 'CH'
|
|
3240
|
+
| 'CL'
|
|
3241
|
+
| 'CN'
|
|
3242
|
+
| 'CO'
|
|
3243
|
+
| 'CS'
|
|
3244
|
+
| 'CZ'
|
|
3245
|
+
| 'DE'
|
|
3246
|
+
| 'DK'
|
|
3247
|
+
| 'DZ'
|
|
3248
|
+
| 'EC'
|
|
3249
|
+
| 'EE'
|
|
3250
|
+
| 'EG'
|
|
3251
|
+
| 'ES'
|
|
3252
|
+
| 'FI'
|
|
3253
|
+
| 'FR'
|
|
3254
|
+
| 'GB'
|
|
3255
|
+
| 'GR'
|
|
3256
|
+
| 'HK'
|
|
3257
|
+
| 'HU'
|
|
3258
|
+
| 'ID'
|
|
3259
|
+
| 'IE'
|
|
3260
|
+
| 'IL'
|
|
3261
|
+
| 'IN'
|
|
3262
|
+
| 'IR'
|
|
3263
|
+
| 'IT'
|
|
3264
|
+
| 'JP'
|
|
3265
|
+
| 'KR'
|
|
3266
|
+
| 'LV'
|
|
3267
|
+
| 'MA'
|
|
3268
|
+
| 'MX'
|
|
3269
|
+
| 'MY'
|
|
3270
|
+
| 'NG'
|
|
3271
|
+
| 'NL'
|
|
3272
|
+
| 'NO'
|
|
3273
|
+
| 'NZ'
|
|
3274
|
+
| 'PE'
|
|
3275
|
+
| 'PH'
|
|
3276
|
+
| 'PK'
|
|
3277
|
+
| 'PL'
|
|
3278
|
+
| 'PT'
|
|
3279
|
+
| 'RO'
|
|
3280
|
+
| 'RS'
|
|
3281
|
+
| 'RU'
|
|
3282
|
+
| 'SA'
|
|
3283
|
+
| 'SE'
|
|
3284
|
+
| 'SG'
|
|
3285
|
+
| 'SI'
|
|
3286
|
+
| 'SK'
|
|
3287
|
+
| 'TH'
|
|
3288
|
+
| 'TR'
|
|
3289
|
+
| 'TW'
|
|
3290
|
+
| 'UA'
|
|
3291
|
+
| 'US'
|
|
3292
|
+
| 'VE'
|
|
3293
|
+
| 'VN'
|
|
3294
|
+
| 'ZA'[];
|
|
2734
3295
|
/** The number of periods ahead that need to be forecasted. */
|
|
2735
3296
|
horizon?: string;
|
|
2736
3297
|
/** The target evaluation metrics to optimize the hyperparameters for. */
|
|
2737
|
-
hparamTuningObjectives?:
|
|
3298
|
+
hparamTuningObjectives?:
|
|
3299
|
+
| 'HPARAM_TUNING_OBJECTIVE_UNSPECIFIED'
|
|
3300
|
+
| 'MEAN_ABSOLUTE_ERROR'
|
|
3301
|
+
| 'MEAN_SQUARED_ERROR'
|
|
3302
|
+
| 'MEAN_SQUARED_LOG_ERROR'
|
|
3303
|
+
| 'MEDIAN_ABSOLUTE_ERROR'
|
|
3304
|
+
| 'R_SQUARED'
|
|
3305
|
+
| 'EXPLAINED_VARIANCE'
|
|
3306
|
+
| 'PRECISION'
|
|
3307
|
+
| 'RECALL'
|
|
3308
|
+
| 'ACCURACY'
|
|
3309
|
+
| 'F1_SCORE'
|
|
3310
|
+
| 'LOG_LOSS'
|
|
3311
|
+
| 'ROC_AUC'
|
|
3312
|
+
| 'DAVIES_BOULDIN_INDEX'
|
|
3313
|
+
| 'MEAN_AVERAGE_PRECISION'
|
|
3314
|
+
| 'NORMALIZED_DISCOUNTED_CUMULATIVE_GAIN'
|
|
3315
|
+
| 'AVERAGE_RANK'[];
|
|
2738
3316
|
/** The id of a Hugging Face model. For example, `google/gemma-2-2b-it`. */
|
|
2739
3317
|
huggingFaceModelId?: string;
|
|
2740
3318
|
/** Include drift when fitting an ARIMA model. */
|
|
@@ -2754,7 +3332,11 @@ declare namespace gapi.client {
|
|
|
2754
3332
|
/** The column used to provide the initial centroids for kmeans algorithm when kmeans_initialization_method is CUSTOM. */
|
|
2755
3333
|
kmeansInitializationColumn?: string;
|
|
2756
3334
|
/** The method used to initialize the centroids for kmeans algorithm. */
|
|
2757
|
-
kmeansInitializationMethod?:
|
|
3335
|
+
kmeansInitializationMethod?:
|
|
3336
|
+
| 'KMEANS_INITIALIZATION_METHOD_UNSPECIFIED'
|
|
3337
|
+
| 'RANDOM'
|
|
3338
|
+
| 'CUSTOM'
|
|
3339
|
+
| 'KMEANS_PLUS_PLUS';
|
|
2758
3340
|
/** L1 regularization coefficient to activations. */
|
|
2759
3341
|
l1RegActivation?: number;
|
|
2760
3342
|
/** L1 regularization coefficient. */
|
|
@@ -2766,9 +3348,15 @@ declare namespace gapi.client {
|
|
|
2766
3348
|
/** Learning rate in training. Used only for iterative training algorithms. */
|
|
2767
3349
|
learnRate?: number;
|
|
2768
3350
|
/** The strategy to determine learn rate for the current iteration. */
|
|
2769
|
-
learnRateStrategy?:
|
|
3351
|
+
learnRateStrategy?:
|
|
3352
|
+
| 'LEARN_RATE_STRATEGY_UNSPECIFIED'
|
|
3353
|
+
| 'LINE_SEARCH'
|
|
3354
|
+
| 'CONSTANT';
|
|
2770
3355
|
/** Type of loss function used during training run. */
|
|
2771
|
-
lossType?:
|
|
3356
|
+
lossType?:
|
|
3357
|
+
| 'LOSS_TYPE_UNSPECIFIED'
|
|
3358
|
+
| 'MEAN_SQUARED_LOSS'
|
|
3359
|
+
| 'MEAN_LOG_LOSS';
|
|
2772
3360
|
/** The type of the machine used to deploy and serve the model. */
|
|
2773
3361
|
machineType?: string;
|
|
2774
3362
|
/** The maximum number of iterations in training. Used only for iterative training algorithms. */
|
|
@@ -2796,7 +3384,7 @@ declare namespace gapi.client {
|
|
|
2796
3384
|
/** The name of a Vertex model garden publisher model. Format is `publishers/{publisher}/models/{model}@{optional_version_id}`. */
|
|
2797
3385
|
modelGardenModelName?: string;
|
|
2798
3386
|
/** The model registry. */
|
|
2799
|
-
modelRegistry?:
|
|
3387
|
+
modelRegistry?: 'MODEL_REGISTRY_UNSPECIFIED' | 'VERTEX_AI';
|
|
2800
3388
|
/** Google Cloud Storage URI from which the model was imported. Only applicable for imported models. */
|
|
2801
3389
|
modelUri?: string;
|
|
2802
3390
|
/** A specification of the non-seasonal part of the ARIMA model: the three components (p, d, q) are the AR order, the degree of differencing, and the MA order. */
|
|
@@ -2812,17 +3400,24 @@ declare namespace gapi.client {
|
|
|
2812
3400
|
/** Number of trials to run this hyperparameter tuning job. */
|
|
2813
3401
|
numTrials?: string;
|
|
2814
3402
|
/** Optimization strategy for training linear regression models. */
|
|
2815
|
-
optimizationStrategy?:
|
|
3403
|
+
optimizationStrategy?:
|
|
3404
|
+
| 'OPTIMIZATION_STRATEGY_UNSPECIFIED'
|
|
3405
|
+
| 'BATCH_GRADIENT_DESCENT'
|
|
3406
|
+
| 'NORMAL_EQUATION';
|
|
2816
3407
|
/** Optimizer used for training the neural nets. */
|
|
2817
3408
|
optimizer?: string;
|
|
2818
3409
|
/** The minimum ratio of cumulative explained variance that needs to be given by the PCA model. */
|
|
2819
3410
|
pcaExplainedVarianceRatio?: number;
|
|
2820
3411
|
/** The solver for PCA. */
|
|
2821
|
-
pcaSolver?:
|
|
3412
|
+
pcaSolver?: 'UNSPECIFIED' | 'FULL' | 'RANDOMIZED' | 'AUTO';
|
|
2822
3413
|
/** Corresponds to the label key of a reservation resource used by Vertex AI. To target a SPECIFIC_RESERVATION by name, use `compute.googleapis.com/reservation-name` as the key and specify the name of your reservation as its value. */
|
|
2823
3414
|
reservationAffinityKey?: string;
|
|
2824
3415
|
/** Specifies the reservation affinity type used to configure a Vertex AI resource. The default value is `NO_RESERVATION`. */
|
|
2825
|
-
reservationAffinityType?:
|
|
3416
|
+
reservationAffinityType?:
|
|
3417
|
+
| 'RESERVATION_AFFINITY_TYPE_UNSPECIFIED'
|
|
3418
|
+
| 'NO_RESERVATION'
|
|
3419
|
+
| 'ANY_RESERVATION'
|
|
3420
|
+
| 'SPECIFIC_RESERVATION';
|
|
2826
3421
|
/** Corresponds to the label values of a reservation resource used by Vertex AI. This must be the full resource name of the reservation or reservation block. */
|
|
2827
3422
|
reservationAffinityValues?: string[];
|
|
2828
3423
|
/** Number of paths for the sampled Shapley explain method. */
|
|
@@ -2846,7 +3441,12 @@ declare namespace gapi.client {
|
|
|
2846
3441
|
/** Column to be designated as time series timestamp for ARIMA model. */
|
|
2847
3442
|
timeSeriesTimestampColumn?: string;
|
|
2848
3443
|
/** Tree construction algorithm for boosted tree models. */
|
|
2849
|
-
treeMethod?:
|
|
3444
|
+
treeMethod?:
|
|
3445
|
+
| 'TREE_METHOD_UNSPECIFIED'
|
|
3446
|
+
| 'AUTO'
|
|
3447
|
+
| 'EXACT'
|
|
3448
|
+
| 'APPROX'
|
|
3449
|
+
| 'HIST';
|
|
2850
3450
|
/** Smoothing window size for the trend component. When a positive value is specified, a center moving average smoothing is applied on the history trend. When the smoothing window is out of the boundary at the beginning or the end of the trend, the first element or the last element is padded to fill the smoothing window before the average is applied. */
|
|
2851
3451
|
trendSmoothingWindowSize?: string;
|
|
2852
3452
|
/** User column specified for matrix factorization models. */
|
|
@@ -2908,7 +3508,11 @@ declare namespace gapi.client {
|
|
|
2908
3508
|
/** When `indexUsageMode` is `UNUSED` or `PARTIALLY_USED`, this field explains why indexes were not used in all or part of the vector search query. If `indexUsageMode` is `FULLY_USED`, this field is not populated. */
|
|
2909
3509
|
indexUnusedReasons?: IndexUnusedReason[];
|
|
2910
3510
|
/** Specifies the index usage mode for the query. */
|
|
2911
|
-
indexUsageMode?:
|
|
3511
|
+
indexUsageMode?:
|
|
3512
|
+
| 'INDEX_USAGE_MODE_UNSPECIFIED'
|
|
3513
|
+
| 'UNUSED'
|
|
3514
|
+
| 'PARTIALLY_USED'
|
|
3515
|
+
| 'FULLY_USED';
|
|
2912
3516
|
/** Specifies the usage of stored columns in the query when stored columns are used in the query. */
|
|
2913
3517
|
storedColumnsUsages?: StoredColumnsUsage[];
|
|
2914
3518
|
}
|
|
@@ -2930,11 +3534,11 @@ declare namespace gapi.client {
|
|
|
2930
3534
|
/** Deletes the dataset specified by the datasetId value. Before you can delete a dataset, you must delete all its tables, either manually or by specifying deleteContents. Immediately after deletion, you can create another dataset with the same name. */
|
|
2931
3535
|
delete(request?: {
|
|
2932
3536
|
/** V1 error format. */
|
|
2933
|
-
'$.xgafv'?:
|
|
3537
|
+
'$.xgafv'?: '1' | '2';
|
|
2934
3538
|
/** OAuth access token. */
|
|
2935
3539
|
access_token?: string;
|
|
2936
3540
|
/** Data format for response. */
|
|
2937
|
-
alt?:
|
|
3541
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2938
3542
|
/** JSONP */
|
|
2939
3543
|
callback?: string;
|
|
2940
3544
|
/** Required. Dataset ID of dataset being deleted */
|
|
@@ -2961,19 +3565,19 @@ declare namespace gapi.client {
|
|
|
2961
3565
|
/** Returns the dataset specified by datasetID. */
|
|
2962
3566
|
get(request?: {
|
|
2963
3567
|
/** V1 error format. */
|
|
2964
|
-
'$.xgafv'?:
|
|
3568
|
+
'$.xgafv'?: '1' | '2';
|
|
2965
3569
|
/** OAuth access token. */
|
|
2966
3570
|
access_token?: string;
|
|
2967
3571
|
/** Optional. The version of the access policy schema to fetch. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for conditional access policy binding in datasets must specify version 3. Dataset with no conditional role bindings in access policy may specify any valid value or leave the field unset. This field will be mapped to [IAM Policy version] (https://cloud.google.com/iam/docs/policies#versions) and will be used to fetch policy from IAM. If unset or if 0 or 1 value is used for dataset with conditional bindings, access entry with condition will have role string appended by 'withcond' string followed by a hash value. For example : { "access": [ { "role": "roles/bigquery.dataViewer_with_conditionalbinding_7a34awqsda", "userByEmail": "user@example.com", } ] } Please refer https://cloud.google.com/iam/docs/troubleshooting-withcond for more details. */
|
|
2968
3572
|
accessPolicyVersion?: number;
|
|
2969
3573
|
/** Data format for response. */
|
|
2970
|
-
alt?:
|
|
3574
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2971
3575
|
/** JSONP */
|
|
2972
3576
|
callback?: string;
|
|
2973
3577
|
/** Required. Dataset ID of the requested dataset */
|
|
2974
3578
|
datasetId: string;
|
|
2975
3579
|
/** Optional. Specifies the view that determines which dataset information is returned. By default, metadata and ACL information are returned. */
|
|
2976
|
-
datasetView?:
|
|
3580
|
+
datasetView?: 'DATASET_VIEW_UNSPECIFIED' | 'METADATA' | 'ACL' | 'FULL';
|
|
2977
3581
|
/** Selector specifying which fields to include in a partial response. */
|
|
2978
3582
|
fields?: string;
|
|
2979
3583
|
/** 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. */
|
|
@@ -2994,13 +3598,13 @@ declare namespace gapi.client {
|
|
|
2994
3598
|
/** Creates a new empty dataset. */
|
|
2995
3599
|
insert(request: {
|
|
2996
3600
|
/** V1 error format. */
|
|
2997
|
-
'$.xgafv'?:
|
|
3601
|
+
'$.xgafv'?: '1' | '2';
|
|
2998
3602
|
/** OAuth access token. */
|
|
2999
3603
|
access_token?: string;
|
|
3000
3604
|
/** Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. This version refers to the schema version of the access policy and not the version of access policy. This field's value can be equal or more than the access policy schema provided in the request. For example, * Requests with conditional access policy binding in datasets must specify version 3. * But dataset with no conditional role bindings in access policy may specify any valid value or leave the field unset. If unset or if 0 or 1 value is used for dataset with conditional bindings, request will be rejected. This field will be mapped to IAM Policy version (https://cloud.google.com/iam/docs/policies#versions) and will be used to set policy in IAM. */
|
|
3001
3605
|
accessPolicyVersion?: number;
|
|
3002
3606
|
/** Data format for response. */
|
|
3003
|
-
alt?:
|
|
3607
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3004
3608
|
/** JSONP */
|
|
3005
3609
|
callback?: string;
|
|
3006
3610
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3025,13 +3629,13 @@ declare namespace gapi.client {
|
|
|
3025
3629
|
insert(
|
|
3026
3630
|
request: {
|
|
3027
3631
|
/** V1 error format. */
|
|
3028
|
-
'$.xgafv'?:
|
|
3632
|
+
'$.xgafv'?: '1' | '2';
|
|
3029
3633
|
/** OAuth access token. */
|
|
3030
3634
|
access_token?: string;
|
|
3031
3635
|
/** Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. This version refers to the schema version of the access policy and not the version of access policy. This field's value can be equal or more than the access policy schema provided in the request. For example, * Requests with conditional access policy binding in datasets must specify version 3. * But dataset with no conditional role bindings in access policy may specify any valid value or leave the field unset. If unset or if 0 or 1 value is used for dataset with conditional bindings, request will be rejected. This field will be mapped to IAM Policy version (https://cloud.google.com/iam/docs/policies#versions) and will be used to set policy in IAM. */
|
|
3032
3636
|
accessPolicyVersion?: number;
|
|
3033
3637
|
/** Data format for response. */
|
|
3034
|
-
alt?:
|
|
3638
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3035
3639
|
/** JSONP */
|
|
3036
3640
|
callback?: string;
|
|
3037
3641
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3056,13 +3660,13 @@ declare namespace gapi.client {
|
|
|
3056
3660
|
/** Lists all datasets in the specified project to which the user has been granted the READER dataset role. */
|
|
3057
3661
|
list(request?: {
|
|
3058
3662
|
/** V1 error format. */
|
|
3059
|
-
'$.xgafv'?:
|
|
3663
|
+
'$.xgafv'?: '1' | '2';
|
|
3060
3664
|
/** OAuth access token. */
|
|
3061
3665
|
access_token?: string;
|
|
3062
3666
|
/** Whether to list all datasets, including hidden ones */
|
|
3063
3667
|
all?: boolean;
|
|
3064
3668
|
/** Data format for response. */
|
|
3065
|
-
alt?:
|
|
3669
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3066
3670
|
/** JSONP */
|
|
3067
3671
|
callback?: string;
|
|
3068
3672
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3091,13 +3695,13 @@ declare namespace gapi.client {
|
|
|
3091
3695
|
/** Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource. This method supports RFC5789 patch semantics. */
|
|
3092
3696
|
patch(request: {
|
|
3093
3697
|
/** V1 error format. */
|
|
3094
|
-
'$.xgafv'?:
|
|
3698
|
+
'$.xgafv'?: '1' | '2';
|
|
3095
3699
|
/** OAuth access token. */
|
|
3096
3700
|
access_token?: string;
|
|
3097
3701
|
/** Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. This version refers to the schema version of the access policy and not the version of access policy. This field's value can be equal or more than the access policy schema provided in the request. For example, * Operations updating conditional access policy binding in datasets must specify version 3. Some of the operations are : - Adding a new access policy entry with condition. - Removing an access policy entry with condition. - Updating an access policy entry with condition. * But dataset with no conditional role bindings in access policy may specify any valid value or leave the field unset. If unset or if 0 or 1 value is used for dataset with conditional bindings, request will be rejected. This field will be mapped to IAM Policy version (https://cloud.google.com/iam/docs/policies#versions) and will be used to set policy in IAM. */
|
|
3098
3702
|
accessPolicyVersion?: number;
|
|
3099
3703
|
/** Data format for response. */
|
|
3100
|
-
alt?:
|
|
3704
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3101
3705
|
/** JSONP */
|
|
3102
3706
|
callback?: string;
|
|
3103
3707
|
/** Required. Dataset ID of the dataset being updated */
|
|
@@ -3115,7 +3719,11 @@ declare namespace gapi.client {
|
|
|
3115
3719
|
/** 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
3720
|
quotaUser?: string;
|
|
3117
3721
|
/** Optional. Specifies the fields of dataset that update/patch operation is targeting By default, both metadata and ACL fields are updated. */
|
|
3118
|
-
updateMode?:
|
|
3722
|
+
updateMode?:
|
|
3723
|
+
| 'UPDATE_MODE_UNSPECIFIED'
|
|
3724
|
+
| 'UPDATE_METADATA'
|
|
3725
|
+
| 'UPDATE_ACL'
|
|
3726
|
+
| 'UPDATE_FULL';
|
|
3119
3727
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3120
3728
|
upload_protocol?: string;
|
|
3121
3729
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -3126,13 +3734,13 @@ declare namespace gapi.client {
|
|
|
3126
3734
|
patch(
|
|
3127
3735
|
request: {
|
|
3128
3736
|
/** V1 error format. */
|
|
3129
|
-
'$.xgafv'?:
|
|
3737
|
+
'$.xgafv'?: '1' | '2';
|
|
3130
3738
|
/** OAuth access token. */
|
|
3131
3739
|
access_token?: string;
|
|
3132
3740
|
/** Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. This version refers to the schema version of the access policy and not the version of access policy. This field's value can be equal or more than the access policy schema provided in the request. For example, * Operations updating conditional access policy binding in datasets must specify version 3. Some of the operations are : - Adding a new access policy entry with condition. - Removing an access policy entry with condition. - Updating an access policy entry with condition. * But dataset with no conditional role bindings in access policy may specify any valid value or leave the field unset. If unset or if 0 or 1 value is used for dataset with conditional bindings, request will be rejected. This field will be mapped to IAM Policy version (https://cloud.google.com/iam/docs/policies#versions) and will be used to set policy in IAM. */
|
|
3133
3741
|
accessPolicyVersion?: number;
|
|
3134
3742
|
/** Data format for response. */
|
|
3135
|
-
alt?:
|
|
3743
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3136
3744
|
/** JSONP */
|
|
3137
3745
|
callback?: string;
|
|
3138
3746
|
/** Required. Dataset ID of the dataset being updated */
|
|
@@ -3150,7 +3758,11 @@ declare namespace gapi.client {
|
|
|
3150
3758
|
/** 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. */
|
|
3151
3759
|
quotaUser?: string;
|
|
3152
3760
|
/** Optional. Specifies the fields of dataset that update/patch operation is targeting By default, both metadata and ACL fields are updated. */
|
|
3153
|
-
updateMode?:
|
|
3761
|
+
updateMode?:
|
|
3762
|
+
| 'UPDATE_MODE_UNSPECIFIED'
|
|
3763
|
+
| 'UPDATE_METADATA'
|
|
3764
|
+
| 'UPDATE_ACL'
|
|
3765
|
+
| 'UPDATE_FULL';
|
|
3154
3766
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3155
3767
|
upload_protocol?: string;
|
|
3156
3768
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -3161,11 +3773,11 @@ declare namespace gapi.client {
|
|
|
3161
3773
|
/** Undeletes a dataset which is within time travel window based on datasetId. If a time is specified, the dataset version deleted at that time is undeleted, else the last live version is undeleted. */
|
|
3162
3774
|
undelete(request: {
|
|
3163
3775
|
/** V1 error format. */
|
|
3164
|
-
'$.xgafv'?:
|
|
3776
|
+
'$.xgafv'?: '1' | '2';
|
|
3165
3777
|
/** OAuth access token. */
|
|
3166
3778
|
access_token?: string;
|
|
3167
3779
|
/** Data format for response. */
|
|
3168
|
-
alt?:
|
|
3780
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3169
3781
|
/** JSONP */
|
|
3170
3782
|
callback?: string;
|
|
3171
3783
|
/** Required. Dataset ID of dataset being deleted */
|
|
@@ -3192,11 +3804,11 @@ declare namespace gapi.client {
|
|
|
3192
3804
|
undelete(
|
|
3193
3805
|
request: {
|
|
3194
3806
|
/** V1 error format. */
|
|
3195
|
-
'$.xgafv'?:
|
|
3807
|
+
'$.xgafv'?: '1' | '2';
|
|
3196
3808
|
/** OAuth access token. */
|
|
3197
3809
|
access_token?: string;
|
|
3198
3810
|
/** Data format for response. */
|
|
3199
|
-
alt?:
|
|
3811
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3200
3812
|
/** JSONP */
|
|
3201
3813
|
callback?: string;
|
|
3202
3814
|
/** Required. Dataset ID of dataset being deleted */
|
|
@@ -3223,13 +3835,13 @@ declare namespace gapi.client {
|
|
|
3223
3835
|
/** Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource. */
|
|
3224
3836
|
update(request: {
|
|
3225
3837
|
/** V1 error format. */
|
|
3226
|
-
'$.xgafv'?:
|
|
3838
|
+
'$.xgafv'?: '1' | '2';
|
|
3227
3839
|
/** OAuth access token. */
|
|
3228
3840
|
access_token?: string;
|
|
3229
3841
|
/** Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. This version refers to the schema version of the access policy and not the version of access policy. This field's value can be equal or more than the access policy schema provided in the request. For example, * Operations updating conditional access policy binding in datasets must specify version 3. Some of the operations are : - Adding a new access policy entry with condition. - Removing an access policy entry with condition. - Updating an access policy entry with condition. * But dataset with no conditional role bindings in access policy may specify any valid value or leave the field unset. If unset or if 0 or 1 value is used for dataset with conditional bindings, request will be rejected. This field will be mapped to IAM Policy version (https://cloud.google.com/iam/docs/policies#versions) and will be used to set policy in IAM. */
|
|
3230
3842
|
accessPolicyVersion?: number;
|
|
3231
3843
|
/** Data format for response. */
|
|
3232
|
-
alt?:
|
|
3844
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3233
3845
|
/** JSONP */
|
|
3234
3846
|
callback?: string;
|
|
3235
3847
|
/** Required. Dataset ID of the dataset being updated */
|
|
@@ -3247,7 +3859,11 @@ declare namespace gapi.client {
|
|
|
3247
3859
|
/** 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. */
|
|
3248
3860
|
quotaUser?: string;
|
|
3249
3861
|
/** Optional. Specifies the fields of dataset that update/patch operation is targeting By default, both metadata and ACL fields are updated. */
|
|
3250
|
-
updateMode?:
|
|
3862
|
+
updateMode?:
|
|
3863
|
+
| 'UPDATE_MODE_UNSPECIFIED'
|
|
3864
|
+
| 'UPDATE_METADATA'
|
|
3865
|
+
| 'UPDATE_ACL'
|
|
3866
|
+
| 'UPDATE_FULL';
|
|
3251
3867
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3252
3868
|
upload_protocol?: string;
|
|
3253
3869
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -3258,13 +3874,13 @@ declare namespace gapi.client {
|
|
|
3258
3874
|
update(
|
|
3259
3875
|
request: {
|
|
3260
3876
|
/** V1 error format. */
|
|
3261
|
-
'$.xgafv'?:
|
|
3877
|
+
'$.xgafv'?: '1' | '2';
|
|
3262
3878
|
/** OAuth access token. */
|
|
3263
3879
|
access_token?: string;
|
|
3264
3880
|
/** Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. This version refers to the schema version of the access policy and not the version of access policy. This field's value can be equal or more than the access policy schema provided in the request. For example, * Operations updating conditional access policy binding in datasets must specify version 3. Some of the operations are : - Adding a new access policy entry with condition. - Removing an access policy entry with condition. - Updating an access policy entry with condition. * But dataset with no conditional role bindings in access policy may specify any valid value or leave the field unset. If unset or if 0 or 1 value is used for dataset with conditional bindings, request will be rejected. This field will be mapped to IAM Policy version (https://cloud.google.com/iam/docs/policies#versions) and will be used to set policy in IAM. */
|
|
3265
3881
|
accessPolicyVersion?: number;
|
|
3266
3882
|
/** Data format for response. */
|
|
3267
|
-
alt?:
|
|
3883
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3268
3884
|
/** JSONP */
|
|
3269
3885
|
callback?: string;
|
|
3270
3886
|
/** Required. Dataset ID of the dataset being updated */
|
|
@@ -3282,7 +3898,11 @@ declare namespace gapi.client {
|
|
|
3282
3898
|
/** 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. */
|
|
3283
3899
|
quotaUser?: string;
|
|
3284
3900
|
/** Optional. Specifies the fields of dataset that update/patch operation is targeting By default, both metadata and ACL fields are updated. */
|
|
3285
|
-
updateMode?:
|
|
3901
|
+
updateMode?:
|
|
3902
|
+
| 'UPDATE_MODE_UNSPECIFIED'
|
|
3903
|
+
| 'UPDATE_METADATA'
|
|
3904
|
+
| 'UPDATE_ACL'
|
|
3905
|
+
| 'UPDATE_FULL';
|
|
3286
3906
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3287
3907
|
upload_protocol?: string;
|
|
3288
3908
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -3295,11 +3915,11 @@ declare namespace gapi.client {
|
|
|
3295
3915
|
/** Requests that a job be cancelled. This call will return immediately, and the client will need to poll for the job status to see if the cancel completed successfully. Cancelled jobs may still incur costs. */
|
|
3296
3916
|
cancel(request?: {
|
|
3297
3917
|
/** V1 error format. */
|
|
3298
|
-
'$.xgafv'?:
|
|
3918
|
+
'$.xgafv'?: '1' | '2';
|
|
3299
3919
|
/** OAuth access token. */
|
|
3300
3920
|
access_token?: string;
|
|
3301
3921
|
/** Data format for response. */
|
|
3302
|
-
alt?:
|
|
3922
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3303
3923
|
/** JSONP */
|
|
3304
3924
|
callback?: string;
|
|
3305
3925
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3326,11 +3946,11 @@ declare namespace gapi.client {
|
|
|
3326
3946
|
/** Requests the deletion of the metadata of a job. This call returns when the job's metadata is deleted. */
|
|
3327
3947
|
delete(request?: {
|
|
3328
3948
|
/** V1 error format. */
|
|
3329
|
-
'$.xgafv'?:
|
|
3949
|
+
'$.xgafv'?: '1' | '2';
|
|
3330
3950
|
/** OAuth access token. */
|
|
3331
3951
|
access_token?: string;
|
|
3332
3952
|
/** Data format for response. */
|
|
3333
|
-
alt?:
|
|
3953
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3334
3954
|
/** JSONP */
|
|
3335
3955
|
callback?: string;
|
|
3336
3956
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3357,11 +3977,11 @@ declare namespace gapi.client {
|
|
|
3357
3977
|
/** Returns information about a specific job. Job information is available for a six month period after creation. Requires that you're the person who ran the job, or have the Is Owner project role. */
|
|
3358
3978
|
get(request?: {
|
|
3359
3979
|
/** V1 error format. */
|
|
3360
|
-
'$.xgafv'?:
|
|
3980
|
+
'$.xgafv'?: '1' | '2';
|
|
3361
3981
|
/** OAuth access token. */
|
|
3362
3982
|
access_token?: string;
|
|
3363
3983
|
/** Data format for response. */
|
|
3364
|
-
alt?:
|
|
3984
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3365
3985
|
/** JSONP */
|
|
3366
3986
|
callback?: string;
|
|
3367
3987
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3388,17 +4008,21 @@ declare namespace gapi.client {
|
|
|
3388
4008
|
/** RPC to get the results of a query job. */
|
|
3389
4009
|
getQueryResults(request?: {
|
|
3390
4010
|
/** V1 error format. */
|
|
3391
|
-
'$.xgafv'?:
|
|
4011
|
+
'$.xgafv'?: '1' | '2';
|
|
3392
4012
|
/** OAuth access token. */
|
|
3393
4013
|
access_token?: string;
|
|
3394
4014
|
/** Data format for response. */
|
|
3395
|
-
alt?:
|
|
4015
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3396
4016
|
/** JSONP */
|
|
3397
4017
|
callback?: string;
|
|
3398
4018
|
/** Selector specifying which fields to include in a partial response. */
|
|
3399
4019
|
fields?: string;
|
|
3400
4020
|
/** 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. */
|
|
3401
|
-
'formatOptions.timestampOutputFormat'?:
|
|
4021
|
+
'formatOptions.timestampOutputFormat'?:
|
|
4022
|
+
| 'TIMESTAMP_OUTPUT_FORMAT_UNSPECIFIED'
|
|
4023
|
+
| 'FLOAT64'
|
|
4024
|
+
| 'INT64'
|
|
4025
|
+
| 'ISO8601_STRING';
|
|
3402
4026
|
/** Optional. Output timestamp as usec int64. Default is false. */
|
|
3403
4027
|
'formatOptions.useInt64Timestamp'?: boolean;
|
|
3404
4028
|
/** Required. Job ID of the query job. */
|
|
@@ -3431,11 +4055,11 @@ declare namespace gapi.client {
|
|
|
3431
4055
|
/** Starts a new asynchronous job. This API has two different kinds of endpoint URIs, as this method supports a variety of use cases. * The *Metadata* URI is used for most interactions, as it accepts the job configuration directly. * The *Upload* URI is ONLY for the case when you're sending both a load job configuration and a data stream together. In this case, the Upload URI accepts the job configuration and the data as two distinct multipart MIME parts. */
|
|
3432
4056
|
insert(request: {
|
|
3433
4057
|
/** V1 error format. */
|
|
3434
|
-
'$.xgafv'?:
|
|
4058
|
+
'$.xgafv'?: '1' | '2';
|
|
3435
4059
|
/** OAuth access token. */
|
|
3436
4060
|
access_token?: string;
|
|
3437
4061
|
/** Data format for response. */
|
|
3438
|
-
alt?:
|
|
4062
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3439
4063
|
/** JSONP */
|
|
3440
4064
|
callback?: string;
|
|
3441
4065
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3460,11 +4084,11 @@ declare namespace gapi.client {
|
|
|
3460
4084
|
insert(
|
|
3461
4085
|
request: {
|
|
3462
4086
|
/** V1 error format. */
|
|
3463
|
-
'$.xgafv'?:
|
|
4087
|
+
'$.xgafv'?: '1' | '2';
|
|
3464
4088
|
/** OAuth access token. */
|
|
3465
4089
|
access_token?: string;
|
|
3466
4090
|
/** Data format for response. */
|
|
3467
|
-
alt?:
|
|
4091
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3468
4092
|
/** JSONP */
|
|
3469
4093
|
callback?: string;
|
|
3470
4094
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3489,13 +4113,13 @@ declare namespace gapi.client {
|
|
|
3489
4113
|
/** Lists all jobs that you started in the specified project. Job information is available for a six month period after creation. The job list is sorted in reverse chronological order, by job creation time. Requires the Can View project role, or the Is Owner project role if you set the allUsers property. */
|
|
3490
4114
|
list(request?: {
|
|
3491
4115
|
/** V1 error format. */
|
|
3492
|
-
'$.xgafv'?:
|
|
4116
|
+
'$.xgafv'?: '1' | '2';
|
|
3493
4117
|
/** OAuth access token. */
|
|
3494
4118
|
access_token?: string;
|
|
3495
4119
|
/** Whether to display jobs owned by all users in the project. Default False. */
|
|
3496
4120
|
allUsers?: boolean;
|
|
3497
4121
|
/** Data format for response. */
|
|
3498
|
-
alt?:
|
|
4122
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3499
4123
|
/** JSONP */
|
|
3500
4124
|
callback?: string;
|
|
3501
4125
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3519,11 +4143,15 @@ declare namespace gapi.client {
|
|
|
3519
4143
|
/** Project ID of the jobs to list. */
|
|
3520
4144
|
projectId: string;
|
|
3521
4145
|
/** Restrict information returned to a set of selected fields */
|
|
3522
|
-
projection?:
|
|
4146
|
+
projection?: 'full' | 'minimal';
|
|
3523
4147
|
/** 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. */
|
|
3524
4148
|
quotaUser?: string;
|
|
3525
4149
|
/** Filter for job state */
|
|
3526
|
-
stateFilter?:
|
|
4150
|
+
stateFilter?:
|
|
4151
|
+
| 'done'
|
|
4152
|
+
| 'pending'
|
|
4153
|
+
| 'running'
|
|
4154
|
+
| ('done' | 'pending' | 'running')[];
|
|
3527
4155
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3528
4156
|
upload_protocol?: string;
|
|
3529
4157
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -3532,11 +4160,11 @@ declare namespace gapi.client {
|
|
|
3532
4160
|
/** Runs a BigQuery SQL query synchronously and returns query results if the query completes within a specified timeout. */
|
|
3533
4161
|
query(request: {
|
|
3534
4162
|
/** V1 error format. */
|
|
3535
|
-
'$.xgafv'?:
|
|
4163
|
+
'$.xgafv'?: '1' | '2';
|
|
3536
4164
|
/** OAuth access token. */
|
|
3537
4165
|
access_token?: string;
|
|
3538
4166
|
/** Data format for response. */
|
|
3539
|
-
alt?:
|
|
4167
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3540
4168
|
/** JSONP */
|
|
3541
4169
|
callback?: string;
|
|
3542
4170
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3561,11 +4189,11 @@ declare namespace gapi.client {
|
|
|
3561
4189
|
query(
|
|
3562
4190
|
request: {
|
|
3563
4191
|
/** V1 error format. */
|
|
3564
|
-
'$.xgafv'?:
|
|
4192
|
+
'$.xgafv'?: '1' | '2';
|
|
3565
4193
|
/** OAuth access token. */
|
|
3566
4194
|
access_token?: string;
|
|
3567
4195
|
/** Data format for response. */
|
|
3568
|
-
alt?:
|
|
4196
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3569
4197
|
/** JSONP */
|
|
3570
4198
|
callback?: string;
|
|
3571
4199
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3592,11 +4220,11 @@ declare namespace gapi.client {
|
|
|
3592
4220
|
/** Deletes the model specified by modelId from the dataset. */
|
|
3593
4221
|
delete(request?: {
|
|
3594
4222
|
/** V1 error format. */
|
|
3595
|
-
'$.xgafv'?:
|
|
4223
|
+
'$.xgafv'?: '1' | '2';
|
|
3596
4224
|
/** OAuth access token. */
|
|
3597
4225
|
access_token?: string;
|
|
3598
4226
|
/** Data format for response. */
|
|
3599
|
-
alt?:
|
|
4227
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3600
4228
|
/** JSONP */
|
|
3601
4229
|
callback?: string;
|
|
3602
4230
|
/** Required. Dataset ID of the model to delete. */
|
|
@@ -3623,11 +4251,11 @@ declare namespace gapi.client {
|
|
|
3623
4251
|
/** Gets the specified model resource by model ID. */
|
|
3624
4252
|
get(request?: {
|
|
3625
4253
|
/** V1 error format. */
|
|
3626
|
-
'$.xgafv'?:
|
|
4254
|
+
'$.xgafv'?: '1' | '2';
|
|
3627
4255
|
/** OAuth access token. */
|
|
3628
4256
|
access_token?: string;
|
|
3629
4257
|
/** Data format for response. */
|
|
3630
|
-
alt?:
|
|
4258
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3631
4259
|
/** JSONP */
|
|
3632
4260
|
callback?: string;
|
|
3633
4261
|
/** Required. Dataset ID of the requested model. */
|
|
@@ -3654,11 +4282,11 @@ declare namespace gapi.client {
|
|
|
3654
4282
|
/** Lists all models in the specified dataset. Requires the READER dataset role. After retrieving the list of models, you can get information about a particular model by calling the models.get method. */
|
|
3655
4283
|
list(request?: {
|
|
3656
4284
|
/** V1 error format. */
|
|
3657
|
-
'$.xgafv'?:
|
|
4285
|
+
'$.xgafv'?: '1' | '2';
|
|
3658
4286
|
/** OAuth access token. */
|
|
3659
4287
|
access_token?: string;
|
|
3660
4288
|
/** Data format for response. */
|
|
3661
|
-
alt?:
|
|
4289
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3662
4290
|
/** JSONP */
|
|
3663
4291
|
callback?: string;
|
|
3664
4292
|
/** Required. Dataset ID of the models to list. */
|
|
@@ -3687,11 +4315,11 @@ declare namespace gapi.client {
|
|
|
3687
4315
|
/** Patch specific fields in the specified model. */
|
|
3688
4316
|
patch(request: {
|
|
3689
4317
|
/** V1 error format. */
|
|
3690
|
-
'$.xgafv'?:
|
|
4318
|
+
'$.xgafv'?: '1' | '2';
|
|
3691
4319
|
/** OAuth access token. */
|
|
3692
4320
|
access_token?: string;
|
|
3693
4321
|
/** Data format for response. */
|
|
3694
|
-
alt?:
|
|
4322
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3695
4323
|
/** JSONP */
|
|
3696
4324
|
callback?: string;
|
|
3697
4325
|
/** Required. Dataset ID of the model to patch. */
|
|
@@ -3720,11 +4348,11 @@ declare namespace gapi.client {
|
|
|
3720
4348
|
patch(
|
|
3721
4349
|
request: {
|
|
3722
4350
|
/** V1 error format. */
|
|
3723
|
-
'$.xgafv'?:
|
|
4351
|
+
'$.xgafv'?: '1' | '2';
|
|
3724
4352
|
/** OAuth access token. */
|
|
3725
4353
|
access_token?: string;
|
|
3726
4354
|
/** Data format for response. */
|
|
3727
|
-
alt?:
|
|
4355
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3728
4356
|
/** JSONP */
|
|
3729
4357
|
callback?: string;
|
|
3730
4358
|
/** Required. Dataset ID of the model to patch. */
|
|
@@ -3755,11 +4383,11 @@ declare namespace gapi.client {
|
|
|
3755
4383
|
/** RPC to get the service account for a project used for interactions with Google Cloud KMS */
|
|
3756
4384
|
getServiceAccount(request?: {
|
|
3757
4385
|
/** V1 error format. */
|
|
3758
|
-
'$.xgafv'?:
|
|
4386
|
+
'$.xgafv'?: '1' | '2';
|
|
3759
4387
|
/** OAuth access token. */
|
|
3760
4388
|
access_token?: string;
|
|
3761
4389
|
/** Data format for response. */
|
|
3762
|
-
alt?:
|
|
4390
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3763
4391
|
/** JSONP */
|
|
3764
4392
|
callback?: string;
|
|
3765
4393
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3782,11 +4410,11 @@ declare namespace gapi.client {
|
|
|
3782
4410
|
/** RPC to list projects to which the user has been granted any project role. Users of this method are encouraged to consider the [Resource Manager](https://cloud.google.com/resource-manager/docs/) API, which provides the underlying data for this method and has more capabilities. */
|
|
3783
4411
|
list(request?: {
|
|
3784
4412
|
/** V1 error format. */
|
|
3785
|
-
'$.xgafv'?:
|
|
4413
|
+
'$.xgafv'?: '1' | '2';
|
|
3786
4414
|
/** OAuth access token. */
|
|
3787
4415
|
access_token?: string;
|
|
3788
4416
|
/** Data format for response. */
|
|
3789
|
-
alt?:
|
|
4417
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3790
4418
|
/** JSONP */
|
|
3791
4419
|
callback?: string;
|
|
3792
4420
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3813,11 +4441,11 @@ declare namespace gapi.client {
|
|
|
3813
4441
|
/** Deletes the routine specified by routineId from the dataset. */
|
|
3814
4442
|
delete(request?: {
|
|
3815
4443
|
/** V1 error format. */
|
|
3816
|
-
'$.xgafv'?:
|
|
4444
|
+
'$.xgafv'?: '1' | '2';
|
|
3817
4445
|
/** OAuth access token. */
|
|
3818
4446
|
access_token?: string;
|
|
3819
4447
|
/** Data format for response. */
|
|
3820
|
-
alt?:
|
|
4448
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3821
4449
|
/** JSONP */
|
|
3822
4450
|
callback?: string;
|
|
3823
4451
|
/** Required. Dataset ID of the routine to delete */
|
|
@@ -3844,11 +4472,11 @@ declare namespace gapi.client {
|
|
|
3844
4472
|
/** Gets the specified routine resource by routine ID. */
|
|
3845
4473
|
get(request?: {
|
|
3846
4474
|
/** V1 error format. */
|
|
3847
|
-
'$.xgafv'?:
|
|
4475
|
+
'$.xgafv'?: '1' | '2';
|
|
3848
4476
|
/** OAuth access token. */
|
|
3849
4477
|
access_token?: string;
|
|
3850
4478
|
/** Data format for response. */
|
|
3851
|
-
alt?:
|
|
4479
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3852
4480
|
/** JSONP */
|
|
3853
4481
|
callback?: string;
|
|
3854
4482
|
/** Required. Dataset ID of the requested routine */
|
|
@@ -3878,11 +4506,11 @@ declare namespace gapi.client {
|
|
|
3878
4506
|
getIamPolicy(
|
|
3879
4507
|
request: {
|
|
3880
4508
|
/** V1 error format. */
|
|
3881
|
-
'$.xgafv'?:
|
|
4509
|
+
'$.xgafv'?: '1' | '2';
|
|
3882
4510
|
/** OAuth access token. */
|
|
3883
4511
|
access_token?: string;
|
|
3884
4512
|
/** Data format for response. */
|
|
3885
|
-
alt?:
|
|
4513
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3886
4514
|
/** JSONP */
|
|
3887
4515
|
callback?: string;
|
|
3888
4516
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3907,11 +4535,11 @@ declare namespace gapi.client {
|
|
|
3907
4535
|
/** Creates a new routine in the dataset. */
|
|
3908
4536
|
insert(request: {
|
|
3909
4537
|
/** V1 error format. */
|
|
3910
|
-
'$.xgafv'?:
|
|
4538
|
+
'$.xgafv'?: '1' | '2';
|
|
3911
4539
|
/** OAuth access token. */
|
|
3912
4540
|
access_token?: string;
|
|
3913
4541
|
/** Data format for response. */
|
|
3914
|
-
alt?:
|
|
4542
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3915
4543
|
/** JSONP */
|
|
3916
4544
|
callback?: string;
|
|
3917
4545
|
/** Required. Dataset ID of the new routine */
|
|
@@ -3938,11 +4566,11 @@ declare namespace gapi.client {
|
|
|
3938
4566
|
insert(
|
|
3939
4567
|
request: {
|
|
3940
4568
|
/** V1 error format. */
|
|
3941
|
-
'$.xgafv'?:
|
|
4569
|
+
'$.xgafv'?: '1' | '2';
|
|
3942
4570
|
/** OAuth access token. */
|
|
3943
4571
|
access_token?: string;
|
|
3944
4572
|
/** Data format for response. */
|
|
3945
|
-
alt?:
|
|
4573
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3946
4574
|
/** JSONP */
|
|
3947
4575
|
callback?: string;
|
|
3948
4576
|
/** Required. Dataset ID of the new routine */
|
|
@@ -3969,11 +4597,11 @@ declare namespace gapi.client {
|
|
|
3969
4597
|
/** Lists all routines in the specified dataset. Requires the READER dataset role. */
|
|
3970
4598
|
list(request?: {
|
|
3971
4599
|
/** V1 error format. */
|
|
3972
|
-
'$.xgafv'?:
|
|
4600
|
+
'$.xgafv'?: '1' | '2';
|
|
3973
4601
|
/** OAuth access token. */
|
|
3974
4602
|
access_token?: string;
|
|
3975
4603
|
/** Data format for response. */
|
|
3976
|
-
alt?:
|
|
4604
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3977
4605
|
/** JSONP */
|
|
3978
4606
|
callback?: string;
|
|
3979
4607
|
/** Required. Dataset ID of the routines to list */
|
|
@@ -4007,11 +4635,11 @@ declare namespace gapi.client {
|
|
|
4007
4635
|
setIamPolicy(
|
|
4008
4636
|
request: {
|
|
4009
4637
|
/** V1 error format. */
|
|
4010
|
-
'$.xgafv'?:
|
|
4638
|
+
'$.xgafv'?: '1' | '2';
|
|
4011
4639
|
/** OAuth access token. */
|
|
4012
4640
|
access_token?: string;
|
|
4013
4641
|
/** Data format for response. */
|
|
4014
|
-
alt?:
|
|
4642
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4015
4643
|
/** JSONP */
|
|
4016
4644
|
callback?: string;
|
|
4017
4645
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4037,11 +4665,11 @@ declare namespace gapi.client {
|
|
|
4037
4665
|
testIamPermissions(
|
|
4038
4666
|
request: {
|
|
4039
4667
|
/** V1 error format. */
|
|
4040
|
-
'$.xgafv'?:
|
|
4668
|
+
'$.xgafv'?: '1' | '2';
|
|
4041
4669
|
/** OAuth access token. */
|
|
4042
4670
|
access_token?: string;
|
|
4043
4671
|
/** Data format for response. */
|
|
4044
|
-
alt?:
|
|
4672
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4045
4673
|
/** JSONP */
|
|
4046
4674
|
callback?: string;
|
|
4047
4675
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4066,11 +4694,11 @@ declare namespace gapi.client {
|
|
|
4066
4694
|
/** Updates information in an existing routine. The update method replaces the entire Routine resource. */
|
|
4067
4695
|
update(request: {
|
|
4068
4696
|
/** V1 error format. */
|
|
4069
|
-
'$.xgafv'?:
|
|
4697
|
+
'$.xgafv'?: '1' | '2';
|
|
4070
4698
|
/** OAuth access token. */
|
|
4071
4699
|
access_token?: string;
|
|
4072
4700
|
/** Data format for response. */
|
|
4073
|
-
alt?:
|
|
4701
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4074
4702
|
/** JSONP */
|
|
4075
4703
|
callback?: string;
|
|
4076
4704
|
/** Required. Dataset ID of the routine to update */
|
|
@@ -4099,11 +4727,11 @@ declare namespace gapi.client {
|
|
|
4099
4727
|
update(
|
|
4100
4728
|
request: {
|
|
4101
4729
|
/** V1 error format. */
|
|
4102
|
-
'$.xgafv'?:
|
|
4730
|
+
'$.xgafv'?: '1' | '2';
|
|
4103
4731
|
/** OAuth access token. */
|
|
4104
4732
|
access_token?: string;
|
|
4105
4733
|
/** Data format for response. */
|
|
4106
|
-
alt?:
|
|
4734
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4107
4735
|
/** JSONP */
|
|
4108
4736
|
callback?: string;
|
|
4109
4737
|
/** Required. Dataset ID of the routine to update */
|
|
@@ -4134,11 +4762,11 @@ declare namespace gapi.client {
|
|
|
4134
4762
|
/** Deletes provided row access policies. */
|
|
4135
4763
|
batchDelete(request: {
|
|
4136
4764
|
/** V1 error format. */
|
|
4137
|
-
'$.xgafv'?:
|
|
4765
|
+
'$.xgafv'?: '1' | '2';
|
|
4138
4766
|
/** OAuth access token. */
|
|
4139
4767
|
access_token?: string;
|
|
4140
4768
|
/** Data format for response. */
|
|
4141
|
-
alt?:
|
|
4769
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4142
4770
|
/** JSONP */
|
|
4143
4771
|
callback?: string;
|
|
4144
4772
|
/** Required. Dataset ID of the table to delete the row access policies. */
|
|
@@ -4167,11 +4795,11 @@ declare namespace gapi.client {
|
|
|
4167
4795
|
batchDelete(
|
|
4168
4796
|
request: {
|
|
4169
4797
|
/** V1 error format. */
|
|
4170
|
-
'$.xgafv'?:
|
|
4798
|
+
'$.xgafv'?: '1' | '2';
|
|
4171
4799
|
/** OAuth access token. */
|
|
4172
4800
|
access_token?: string;
|
|
4173
4801
|
/** Data format for response. */
|
|
4174
|
-
alt?:
|
|
4802
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4175
4803
|
/** JSONP */
|
|
4176
4804
|
callback?: string;
|
|
4177
4805
|
/** Required. Dataset ID of the table to delete the row access policies. */
|
|
@@ -4200,11 +4828,11 @@ declare namespace gapi.client {
|
|
|
4200
4828
|
/** Deletes a row access policy. */
|
|
4201
4829
|
delete(request?: {
|
|
4202
4830
|
/** V1 error format. */
|
|
4203
|
-
'$.xgafv'?:
|
|
4831
|
+
'$.xgafv'?: '1' | '2';
|
|
4204
4832
|
/** OAuth access token. */
|
|
4205
4833
|
access_token?: string;
|
|
4206
4834
|
/** Data format for response. */
|
|
4207
|
-
alt?:
|
|
4835
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4208
4836
|
/** JSONP */
|
|
4209
4837
|
callback?: string;
|
|
4210
4838
|
/** Required. Dataset ID of the table to delete the row access policy. */
|
|
@@ -4235,11 +4863,11 @@ declare namespace gapi.client {
|
|
|
4235
4863
|
/** Gets the specified row access policy by policy ID. */
|
|
4236
4864
|
get(request?: {
|
|
4237
4865
|
/** V1 error format. */
|
|
4238
|
-
'$.xgafv'?:
|
|
4866
|
+
'$.xgafv'?: '1' | '2';
|
|
4239
4867
|
/** OAuth access token. */
|
|
4240
4868
|
access_token?: string;
|
|
4241
4869
|
/** Data format for response. */
|
|
4242
|
-
alt?:
|
|
4870
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4243
4871
|
/** JSONP */
|
|
4244
4872
|
callback?: string;
|
|
4245
4873
|
/** Required. Dataset ID of the table to get the row access policy. */
|
|
@@ -4269,11 +4897,11 @@ declare namespace gapi.client {
|
|
|
4269
4897
|
getIamPolicy(
|
|
4270
4898
|
request: {
|
|
4271
4899
|
/** V1 error format. */
|
|
4272
|
-
'$.xgafv'?:
|
|
4900
|
+
'$.xgafv'?: '1' | '2';
|
|
4273
4901
|
/** OAuth access token. */
|
|
4274
4902
|
access_token?: string;
|
|
4275
4903
|
/** Data format for response. */
|
|
4276
|
-
alt?:
|
|
4904
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4277
4905
|
/** JSONP */
|
|
4278
4906
|
callback?: string;
|
|
4279
4907
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4298,11 +4926,11 @@ declare namespace gapi.client {
|
|
|
4298
4926
|
/** Creates a row access policy. */
|
|
4299
4927
|
insert(request: {
|
|
4300
4928
|
/** V1 error format. */
|
|
4301
|
-
'$.xgafv'?:
|
|
4929
|
+
'$.xgafv'?: '1' | '2';
|
|
4302
4930
|
/** OAuth access token. */
|
|
4303
4931
|
access_token?: string;
|
|
4304
4932
|
/** Data format for response. */
|
|
4305
|
-
alt?:
|
|
4933
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4306
4934
|
/** JSONP */
|
|
4307
4935
|
callback?: string;
|
|
4308
4936
|
/** Required. Dataset ID of the table to get the row access policy. */
|
|
@@ -4331,11 +4959,11 @@ declare namespace gapi.client {
|
|
|
4331
4959
|
insert(
|
|
4332
4960
|
request: {
|
|
4333
4961
|
/** V1 error format. */
|
|
4334
|
-
'$.xgafv'?:
|
|
4962
|
+
'$.xgafv'?: '1' | '2';
|
|
4335
4963
|
/** OAuth access token. */
|
|
4336
4964
|
access_token?: string;
|
|
4337
4965
|
/** Data format for response. */
|
|
4338
|
-
alt?:
|
|
4966
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4339
4967
|
/** JSONP */
|
|
4340
4968
|
callback?: string;
|
|
4341
4969
|
/** Required. Dataset ID of the table to get the row access policy. */
|
|
@@ -4364,11 +4992,11 @@ declare namespace gapi.client {
|
|
|
4364
4992
|
/** Lists all row access policies on the specified table. */
|
|
4365
4993
|
list(request?: {
|
|
4366
4994
|
/** V1 error format. */
|
|
4367
|
-
'$.xgafv'?:
|
|
4995
|
+
'$.xgafv'?: '1' | '2';
|
|
4368
4996
|
/** OAuth access token. */
|
|
4369
4997
|
access_token?: string;
|
|
4370
4998
|
/** Data format for response. */
|
|
4371
|
-
alt?:
|
|
4999
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4372
5000
|
/** JSONP */
|
|
4373
5001
|
callback?: string;
|
|
4374
5002
|
/** Required. Dataset ID of row access policies to list. */
|
|
@@ -4400,11 +5028,11 @@ declare namespace gapi.client {
|
|
|
4400
5028
|
testIamPermissions(
|
|
4401
5029
|
request: {
|
|
4402
5030
|
/** V1 error format. */
|
|
4403
|
-
'$.xgafv'?:
|
|
5031
|
+
'$.xgafv'?: '1' | '2';
|
|
4404
5032
|
/** OAuth access token. */
|
|
4405
5033
|
access_token?: string;
|
|
4406
5034
|
/** Data format for response. */
|
|
4407
|
-
alt?:
|
|
5035
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4408
5036
|
/** JSONP */
|
|
4409
5037
|
callback?: string;
|
|
4410
5038
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4429,11 +5057,11 @@ declare namespace gapi.client {
|
|
|
4429
5057
|
/** Updates a row access policy. */
|
|
4430
5058
|
update(request: {
|
|
4431
5059
|
/** V1 error format. */
|
|
4432
|
-
'$.xgafv'?:
|
|
5060
|
+
'$.xgafv'?: '1' | '2';
|
|
4433
5061
|
/** OAuth access token. */
|
|
4434
5062
|
access_token?: string;
|
|
4435
5063
|
/** Data format for response. */
|
|
4436
|
-
alt?:
|
|
5064
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4437
5065
|
/** JSONP */
|
|
4438
5066
|
callback?: string;
|
|
4439
5067
|
/** Required. Dataset ID of the table to get the row access policy. */
|
|
@@ -4464,11 +5092,11 @@ declare namespace gapi.client {
|
|
|
4464
5092
|
update(
|
|
4465
5093
|
request: {
|
|
4466
5094
|
/** V1 error format. */
|
|
4467
|
-
'$.xgafv'?:
|
|
5095
|
+
'$.xgafv'?: '1' | '2';
|
|
4468
5096
|
/** OAuth access token. */
|
|
4469
5097
|
access_token?: string;
|
|
4470
5098
|
/** Data format for response. */
|
|
4471
|
-
alt?:
|
|
5099
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4472
5100
|
/** JSONP */
|
|
4473
5101
|
callback?: string;
|
|
4474
5102
|
/** Required. Dataset ID of the table to get the row access policy. */
|
|
@@ -4501,11 +5129,11 @@ declare namespace gapi.client {
|
|
|
4501
5129
|
/** Streams data into BigQuery one record at a time without needing to run a load job. */
|
|
4502
5130
|
insertAll(request: {
|
|
4503
5131
|
/** V1 error format. */
|
|
4504
|
-
'$.xgafv'?:
|
|
5132
|
+
'$.xgafv'?: '1' | '2';
|
|
4505
5133
|
/** OAuth access token. */
|
|
4506
5134
|
access_token?: string;
|
|
4507
5135
|
/** Data format for response. */
|
|
4508
|
-
alt?:
|
|
5136
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4509
5137
|
/** JSONP */
|
|
4510
5138
|
callback?: string;
|
|
4511
5139
|
/** Required. Dataset ID of the destination. */
|
|
@@ -4534,11 +5162,11 @@ declare namespace gapi.client {
|
|
|
4534
5162
|
insertAll(
|
|
4535
5163
|
request: {
|
|
4536
5164
|
/** V1 error format. */
|
|
4537
|
-
'$.xgafv'?:
|
|
5165
|
+
'$.xgafv'?: '1' | '2';
|
|
4538
5166
|
/** OAuth access token. */
|
|
4539
5167
|
access_token?: string;
|
|
4540
5168
|
/** Data format for response. */
|
|
4541
|
-
alt?:
|
|
5169
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4542
5170
|
/** JSONP */
|
|
4543
5171
|
callback?: string;
|
|
4544
5172
|
/** Required. Dataset ID of the destination. */
|
|
@@ -4567,11 +5195,11 @@ declare namespace gapi.client {
|
|
|
4567
5195
|
/** List the content of a table in rows. */
|
|
4568
5196
|
list(request?: {
|
|
4569
5197
|
/** V1 error format. */
|
|
4570
|
-
'$.xgafv'?:
|
|
5198
|
+
'$.xgafv'?: '1' | '2';
|
|
4571
5199
|
/** OAuth access token. */
|
|
4572
5200
|
access_token?: string;
|
|
4573
5201
|
/** Data format for response. */
|
|
4574
|
-
alt?:
|
|
5202
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4575
5203
|
/** JSONP */
|
|
4576
5204
|
callback?: string;
|
|
4577
5205
|
/** Required. Dataset id of the table to list. */
|
|
@@ -4579,7 +5207,11 @@ declare namespace gapi.client {
|
|
|
4579
5207
|
/** Selector specifying which fields to include in a partial response. */
|
|
4580
5208
|
fields?: string;
|
|
4581
5209
|
/** 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. */
|
|
4582
|
-
'formatOptions.timestampOutputFormat'?:
|
|
5210
|
+
'formatOptions.timestampOutputFormat'?:
|
|
5211
|
+
| 'TIMESTAMP_OUTPUT_FORMAT_UNSPECIFIED'
|
|
5212
|
+
| 'FLOAT64'
|
|
5213
|
+
| 'INT64'
|
|
5214
|
+
| 'ISO8601_STRING';
|
|
4583
5215
|
/** Optional. Output timestamp as usec int64. Default is false. */
|
|
4584
5216
|
'formatOptions.useInt64Timestamp'?: boolean;
|
|
4585
5217
|
/** 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. */
|
|
@@ -4612,11 +5244,11 @@ declare namespace gapi.client {
|
|
|
4612
5244
|
/** Deletes the table specified by tableId from the dataset. If the table contains data, all the data will be deleted. */
|
|
4613
5245
|
delete(request?: {
|
|
4614
5246
|
/** V1 error format. */
|
|
4615
|
-
'$.xgafv'?:
|
|
5247
|
+
'$.xgafv'?: '1' | '2';
|
|
4616
5248
|
/** OAuth access token. */
|
|
4617
5249
|
access_token?: string;
|
|
4618
5250
|
/** Data format for response. */
|
|
4619
|
-
alt?:
|
|
5251
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4620
5252
|
/** JSONP */
|
|
4621
5253
|
callback?: string;
|
|
4622
5254
|
/** Required. Dataset ID of the table to delete */
|
|
@@ -4643,11 +5275,11 @@ declare namespace gapi.client {
|
|
|
4643
5275
|
/** Gets the specified table resource by table ID. This method does not return the data in the table, it only returns the table resource, which describes the structure of this table. */
|
|
4644
5276
|
get(request?: {
|
|
4645
5277
|
/** V1 error format. */
|
|
4646
|
-
'$.xgafv'?:
|
|
5278
|
+
'$.xgafv'?: '1' | '2';
|
|
4647
5279
|
/** OAuth access token. */
|
|
4648
5280
|
access_token?: string;
|
|
4649
5281
|
/** Data format for response. */
|
|
4650
|
-
alt?:
|
|
5282
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4651
5283
|
/** JSONP */
|
|
4652
5284
|
callback?: string;
|
|
4653
5285
|
/** Required. Dataset ID of the requested table */
|
|
@@ -4673,17 +5305,21 @@ declare namespace gapi.client {
|
|
|
4673
5305
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4674
5306
|
uploadType?: string;
|
|
4675
5307
|
/** Optional. Specifies the view that determines which table information is returned. By default, basic table information and storage statistics (STORAGE_STATS) are returned. */
|
|
4676
|
-
view?:
|
|
5308
|
+
view?:
|
|
5309
|
+
| 'TABLE_METADATA_VIEW_UNSPECIFIED'
|
|
5310
|
+
| 'BASIC'
|
|
5311
|
+
| 'STORAGE_STATS'
|
|
5312
|
+
| 'FULL';
|
|
4677
5313
|
}): Request<Table>;
|
|
4678
5314
|
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
4679
5315
|
getIamPolicy(
|
|
4680
5316
|
request: {
|
|
4681
5317
|
/** V1 error format. */
|
|
4682
|
-
'$.xgafv'?:
|
|
5318
|
+
'$.xgafv'?: '1' | '2';
|
|
4683
5319
|
/** OAuth access token. */
|
|
4684
5320
|
access_token?: string;
|
|
4685
5321
|
/** Data format for response. */
|
|
4686
|
-
alt?:
|
|
5322
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4687
5323
|
/** JSONP */
|
|
4688
5324
|
callback?: string;
|
|
4689
5325
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4708,11 +5344,11 @@ declare namespace gapi.client {
|
|
|
4708
5344
|
/** Creates a new, empty table in the dataset. */
|
|
4709
5345
|
insert(request: {
|
|
4710
5346
|
/** V1 error format. */
|
|
4711
|
-
'$.xgafv'?:
|
|
5347
|
+
'$.xgafv'?: '1' | '2';
|
|
4712
5348
|
/** OAuth access token. */
|
|
4713
5349
|
access_token?: string;
|
|
4714
5350
|
/** Data format for response. */
|
|
4715
|
-
alt?:
|
|
5351
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4716
5352
|
/** JSONP */
|
|
4717
5353
|
callback?: string;
|
|
4718
5354
|
/** Required. Dataset ID of the new table */
|
|
@@ -4739,11 +5375,11 @@ declare namespace gapi.client {
|
|
|
4739
5375
|
insert(
|
|
4740
5376
|
request: {
|
|
4741
5377
|
/** V1 error format. */
|
|
4742
|
-
'$.xgafv'?:
|
|
5378
|
+
'$.xgafv'?: '1' | '2';
|
|
4743
5379
|
/** OAuth access token. */
|
|
4744
5380
|
access_token?: string;
|
|
4745
5381
|
/** Data format for response. */
|
|
4746
|
-
alt?:
|
|
5382
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4747
5383
|
/** JSONP */
|
|
4748
5384
|
callback?: string;
|
|
4749
5385
|
/** Required. Dataset ID of the new table */
|
|
@@ -4770,11 +5406,11 @@ declare namespace gapi.client {
|
|
|
4770
5406
|
/** Lists all tables in the specified dataset. Requires the READER dataset role. */
|
|
4771
5407
|
list(request?: {
|
|
4772
5408
|
/** V1 error format. */
|
|
4773
|
-
'$.xgafv'?:
|
|
5409
|
+
'$.xgafv'?: '1' | '2';
|
|
4774
5410
|
/** OAuth access token. */
|
|
4775
5411
|
access_token?: string;
|
|
4776
5412
|
/** Data format for response. */
|
|
4777
|
-
alt?:
|
|
5413
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4778
5414
|
/** JSONP */
|
|
4779
5415
|
callback?: string;
|
|
4780
5416
|
/** Required. Dataset ID of the tables to list */
|
|
@@ -4803,11 +5439,11 @@ declare namespace gapi.client {
|
|
|
4803
5439
|
/** Updates information in an existing table. The update method replaces the entire table resource, whereas the patch method only replaces fields that are provided in the submitted table resource. This method supports RFC5789 patch semantics. */
|
|
4804
5440
|
patch(request: {
|
|
4805
5441
|
/** V1 error format. */
|
|
4806
|
-
'$.xgafv'?:
|
|
5442
|
+
'$.xgafv'?: '1' | '2';
|
|
4807
5443
|
/** OAuth access token. */
|
|
4808
5444
|
access_token?: string;
|
|
4809
5445
|
/** Data format for response. */
|
|
4810
|
-
alt?:
|
|
5446
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4811
5447
|
/** Optional. When true will autodetect schema, else will keep original schema */
|
|
4812
5448
|
autodetect_schema?: boolean;
|
|
4813
5449
|
/** JSONP */
|
|
@@ -4838,11 +5474,11 @@ declare namespace gapi.client {
|
|
|
4838
5474
|
patch(
|
|
4839
5475
|
request: {
|
|
4840
5476
|
/** V1 error format. */
|
|
4841
|
-
'$.xgafv'?:
|
|
5477
|
+
'$.xgafv'?: '1' | '2';
|
|
4842
5478
|
/** OAuth access token. */
|
|
4843
5479
|
access_token?: string;
|
|
4844
5480
|
/** Data format for response. */
|
|
4845
|
-
alt?:
|
|
5481
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4846
5482
|
/** Optional. When true will autodetect schema, else will keep original schema */
|
|
4847
5483
|
autodetect_schema?: boolean;
|
|
4848
5484
|
/** JSONP */
|
|
@@ -4874,11 +5510,11 @@ declare namespace gapi.client {
|
|
|
4874
5510
|
setIamPolicy(
|
|
4875
5511
|
request: {
|
|
4876
5512
|
/** V1 error format. */
|
|
4877
|
-
'$.xgafv'?:
|
|
5513
|
+
'$.xgafv'?: '1' | '2';
|
|
4878
5514
|
/** OAuth access token. */
|
|
4879
5515
|
access_token?: string;
|
|
4880
5516
|
/** Data format for response. */
|
|
4881
|
-
alt?:
|
|
5517
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4882
5518
|
/** JSONP */
|
|
4883
5519
|
callback?: string;
|
|
4884
5520
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4904,11 +5540,11 @@ declare namespace gapi.client {
|
|
|
4904
5540
|
testIamPermissions(
|
|
4905
5541
|
request: {
|
|
4906
5542
|
/** V1 error format. */
|
|
4907
|
-
'$.xgafv'?:
|
|
5543
|
+
'$.xgafv'?: '1' | '2';
|
|
4908
5544
|
/** OAuth access token. */
|
|
4909
5545
|
access_token?: string;
|
|
4910
5546
|
/** Data format for response. */
|
|
4911
|
-
alt?:
|
|
5547
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4912
5548
|
/** JSONP */
|
|
4913
5549
|
callback?: string;
|
|
4914
5550
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4933,11 +5569,11 @@ declare namespace gapi.client {
|
|
|
4933
5569
|
/** Updates information in an existing table. The update method replaces the entire Table resource, whereas the patch method only replaces fields that are provided in the submitted Table resource. */
|
|
4934
5570
|
update(request: {
|
|
4935
5571
|
/** V1 error format. */
|
|
4936
|
-
'$.xgafv'?:
|
|
5572
|
+
'$.xgafv'?: '1' | '2';
|
|
4937
5573
|
/** OAuth access token. */
|
|
4938
5574
|
access_token?: string;
|
|
4939
5575
|
/** Data format for response. */
|
|
4940
|
-
alt?:
|
|
5576
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4941
5577
|
/** Optional. When true will autodetect schema, else will keep original schema */
|
|
4942
5578
|
autodetect_schema?: boolean;
|
|
4943
5579
|
/** JSONP */
|
|
@@ -4968,11 +5604,11 @@ declare namespace gapi.client {
|
|
|
4968
5604
|
update(
|
|
4969
5605
|
request: {
|
|
4970
5606
|
/** V1 error format. */
|
|
4971
|
-
'$.xgafv'?:
|
|
5607
|
+
'$.xgafv'?: '1' | '2';
|
|
4972
5608
|
/** OAuth access token. */
|
|
4973
5609
|
access_token?: string;
|
|
4974
5610
|
/** Data format for response. */
|
|
4975
|
-
alt?:
|
|
5611
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4976
5612
|
/** Optional. When true will autodetect schema, else will keep original schema */
|
|
4977
5613
|
autodetect_schema?: boolean;
|
|
4978
5614
|
/** JSONP */
|