@@ -221,6 +221,74 @@ export namespace bigquery_v2 {
221
221
*/
222
222
readRowkeyAsString ?: boolean ;
223
223
}
224
+ export interface Schema$BqmlIterationResult {
225
+ /**
226
+ * [Output-only, Beta] Time taken to run the training iteration in
227
+ * milliseconds.
228
+ */
229
+ durationMs ?: string ;
230
+ /**
231
+ * [Output-only, Beta] Eval loss computed on the eval data at the end of the
232
+ * iteration. The eval loss is used for early stopping to avoid overfitting.
233
+ * No eval loss if eval_split_method option is specified as no_split or
234
+ * auto_split with input data size less than 500 rows.
235
+ */
236
+ evalLoss ?: number ;
237
+ /**
238
+ * [Output-only, Beta] Index of the ML training iteration, starting from
239
+ * zero for each training run.
240
+ */
241
+ index ?: number ;
242
+ /**
243
+ * [Output-only, Beta] Learning rate used for this iteration, it varies for
244
+ * different training iterations if learn_rate_strategy option is not
245
+ * constant.
246
+ */
247
+ learnRate ?: number ;
248
+ /**
249
+ * [Output-only, Beta] Training loss computed on the training data at the
250
+ * end of the iteration. The training loss function is defined by model
251
+ * type.
252
+ */
253
+ trainingLoss ?: number ;
254
+ }
255
+ export interface Schema$BqmlTrainingRun {
256
+ /**
257
+ * [Output-only, Beta] List of each iteration results.
258
+ */
259
+ iterationResults ?: Schema$BqmlIterationResult [ ] ;
260
+ /**
261
+ * [Output-only, Beta] Training run start time in milliseconds since the
262
+ * epoch.
263
+ */
264
+ startTime ?: string ;
265
+ /**
266
+ * [Output-only, Beta] Different state applicable for a training run. IN
267
+ * PROGRESS: Training run is in progress. FAILED: Training run ended due to
268
+ * a non-retryable failure. SUCCEEDED: Training run successfully completed.
269
+ * CANCELLED: Training run cancelled by the user.
270
+ */
271
+ state ?: string ;
272
+ /**
273
+ * [Output-only, Beta] Training options used by this training run. These
274
+ * options are mutable for subsequent training runs. Default values are
275
+ * explicitly stored for options not specified in the input query of the
276
+ * first training run. For subsequent training runs, any option not
277
+ * explicitly specified in the input query will be copied from the previous
278
+ * training run.
279
+ */
280
+ trainingOptions ?: {
281
+ earlyStop ?: boolean ;
282
+ l1Reg ?: number ;
283
+ l2Reg ?: number ;
284
+ learnRate ?: number ;
285
+ learnRateStrategy ?: string ;
286
+ lineSearchInitLearnRate ?: number ;
287
+ maxIteration ?: string ;
288
+ minRelProgress ?: number ;
289
+ warmStart ?: boolean ;
290
+ } ;
291
+ }
224
292
export interface Schema$Clustering {
225
293
/**
226
294
* [Repeated] One or more fields on which data should be clustered. Only
@@ -786,37 +854,6 @@ export namespace bigquery_v2 {
786
854
*/
787
855
skipLeadingRows ?: string ;
788
856
}
789
- export interface Schema$IterationResult {
790
- /**
791
- * [Output-only, Beta] Time taken to run the training iteration in
792
- * milliseconds.
793
- */
794
- durationMs ?: string ;
795
- /**
796
- * [Output-only, Beta] Eval loss computed on the eval data at the end of the
797
- * iteration. The eval loss is used for early stopping to avoid overfitting.
798
- * No eval loss if eval_split_method option is specified as no_split or
799
- * auto_split with input data size less than 500 rows.
800
- */
801
- evalLoss ?: number ;
802
- /**
803
- * [Output-only, Beta] Index of the ML training iteration, starting from
804
- * zero for each training run.
805
- */
806
- index ?: number ;
807
- /**
808
- * [Output-only, Beta] Learning rate used for this iteration, it varies for
809
- * different training iterations if learn_rate_strategy option is not
810
- * constant.
811
- */
812
- learnRate ?: number ;
813
- /**
814
- * [Output-only, Beta] Training loss computed on the training data at the
815
- * end of the iteration. The training loss function is defined by model
816
- * type.
817
- */
818
- trainingLoss ?: number ;
819
- }
820
857
export interface Schema$Job {
821
858
/**
822
859
* [Required] Describes the job configuration.
@@ -1469,6 +1506,11 @@ export namespace bigquery_v2 {
1469
1506
* the DDL target.
1470
1507
*/
1471
1508
ddlOperationPerformed ?: string ;
1509
+ /**
1510
+ * The DDL target routine. Present only for CREATE/DROP FUNCTION/PROCEDURE
1511
+ * queries.
1512
+ */
1513
+ ddlTargetRoutine ?: Schema$RoutineReference ;
1472
1514
/**
1473
1515
* The DDL target table. Present only for CREATE/DROP TABLE/VIEW queries.
1474
1516
*/
@@ -1527,8 +1569,10 @@ export namespace bigquery_v2 {
1527
1569
* "CREATE_TABLE_AS_SELECT": CREATE [OR REPLACE] TABLE ... AS
1528
1570
* SELECT ... . "DROP_TABLE": DROP TABLE query.
1529
1571
* "CREATE_VIEW": CREATE [OR REPLACE] VIEW ... AS SELECT ... .
1530
- * "DROP_VIEW": DROP VIEW query. "ALTER_TABLE": ALTER
1531
- * TABLE query. "ALTER_VIEW": ALTER VIEW query.
1572
+ * "DROP_VIEW": DROP VIEW query. "CREATE_FUNCTION":
1573
+ * CREATE FUNCTION query. "DROP_FUNCTION" : DROP FUNCTION query.
1574
+ * "ALTER_TABLE": ALTER TABLE query. "ALTER_VIEW": ALTER
1575
+ * VIEW query.
1532
1576
*/
1533
1577
statementType ?: string ;
1534
1578
/**
@@ -1653,7 +1697,7 @@ export namespace bigquery_v2 {
1653
1697
* for the model if warm start is used or if a user decides to continue a
1654
1698
* previously cancelled query.
1655
1699
*/
1656
- trainingRuns ?: Schema$TrainingRun [ ] ;
1700
+ trainingRuns ?: Schema$BqmlTrainingRun [ ] ;
1657
1701
}
1658
1702
export interface Schema$ProjectList {
1659
1703
/**
@@ -1915,6 +1959,22 @@ export namespace bigquery_v2 {
1915
1959
*/
1916
1960
range ?: { end ?: string ; interval ?: string ; start ?: string ; } ;
1917
1961
}
1962
+ export interface Schema$RoutineReference {
1963
+ /**
1964
+ * [Required] The ID of the dataset containing this routine.
1965
+ */
1966
+ datasetId ?: string ;
1967
+ /**
1968
+ * [Required] The ID of the project containing this routine.
1969
+ */
1970
+ projectId ?: string ;
1971
+ /**
1972
+ * [Required] The ID of the routine. The ID must contain only letters (a-z,
1973
+ * A-Z), numbers (0-9), or underscores (_). The maximum length is 256
1974
+ * characters.
1975
+ */
1976
+ routineId ?: string ;
1977
+ }
1918
1978
export interface Schema$Streamingbuffer {
1919
1979
/**
1920
1980
* [Output-only] A lower-bound estimate of the number of bytes currently in
@@ -2272,43 +2332,6 @@ export namespace bigquery_v2 {
2272
2332
*/
2273
2333
type ?: string ;
2274
2334
}
2275
- export interface Schema$TrainingRun {
2276
- /**
2277
- * [Output-only, Beta] List of each iteration results.
2278
- */
2279
- iterationResults ?: Schema$IterationResult [ ] ;
2280
- /**
2281
- * [Output-only, Beta] Training run start time in milliseconds since the
2282
- * epoch.
2283
- */
2284
- startTime ?: string ;
2285
- /**
2286
- * [Output-only, Beta] Different state applicable for a training run. IN
2287
- * PROGRESS: Training run is in progress. FAILED: Training run ended due to
2288
- * a non-retryable failure. SUCCEEDED: Training run successfully completed.
2289
- * CANCELLED: Training run cancelled by the user.
2290
- */
2291
- state ?: string ;
2292
- /**
2293
- * [Output-only, Beta] Training options used by this training run. These
2294
- * options are mutable for subsequent training runs. Default values are
2295
- * explicitly stored for options not specified in the input query of the
2296
- * first training run. For subsequent training runs, any option not
2297
- * explicitly specified in the input query will be copied from the previous
2298
- * training run.
2299
- */
2300
- trainingOptions ?: {
2301
- earlyStop ?: boolean ;
2302
- l1Reg ?: number ;
2303
- l2Reg ?: number ;
2304
- learnRate ?: number ;
2305
- learnRateStrategy ?: string ;
2306
- lineSearchInitLearnRate ?: number ;
2307
- maxIteration ?: string ;
2308
- minRelProgress ?: number ;
2309
- warmStart ?: boolean ;
2310
- } ;
2311
- }
2312
2335
export interface Schema$UserDefinedFunctionResource {
2313
2336
/**
2314
2337
* [Pick one] An inline resource that contains code for a user-defined
@@ -3845,7 +3868,6 @@ export namespace bigquery_v2 {
3845
3868
* @param {integer= } params.maxResults Maximum number of results to return
3846
3869
* @param {string= } params.minCreationTime Min value for job creation time, in milliseconds since the POSIX epoch. If set, only jobs created after or at this timestamp are returned
3847
3870
* @param {string= } params.pageToken Page token, returned by a previous call, to request the next page of results
3848
- * @param {string= } params.parentJobId If set, retrieves only jobs whose parent is this job. Otherwise, retrieves only jobs which have no parent.
3849
3871
* @param {string } params.projectId Project ID of the jobs to list
3850
3872
* @param {string= } params.projection Restrict information returned to a set of selected fields
3851
3873
* @param {string= } params.stateFilter Filter for job state
@@ -4172,11 +4194,6 @@ export namespace bigquery_v2 {
4172
4194
* results
4173
4195
*/
4174
4196
pageToken ?: string ;
4175
- /**
4176
- * If set, retrieves only jobs whose parent is this job. Otherwise,
4177
- * retrieves only jobs which have no parent.
4178
- */
4179
- parentJobId ?: string ;
4180
4197
/**
4181
4198
* Project ID of the jobs to list
4182
4199
*/
0 commit comments