@maxim_mazurok/gapi.client.bigquery-v2 0.1.20250816 → 0.1.20250831
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 +43 -5
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://bigquery.googleapis.com/$discovery/rest?version=v2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250831
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -800,7 +800,7 @@ declare namespace gapi.client {
|
|
|
800
800
|
runtimeVersion?: string;
|
|
801
801
|
}
|
|
802
802
|
interface ExternalServiceCost {
|
|
803
|
-
/** The billing method used for the external job. This field is only used when
|
|
803
|
+
/** The billing method used for the external job. This field, set to `SERVICES_SKU`, is only used when billing under the services SKU. Otherwise, it is unspecified for backward compatibility. */
|
|
804
804
|
billingMethod?: string;
|
|
805
805
|
/** External service cost in terms of bigquery bytes billed. */
|
|
806
806
|
bytesBilled?: string;
|
|
@@ -971,6 +971,14 @@ declare namespace gapi.client {
|
|
|
971
971
|
/** 1-based index of the trial. */
|
|
972
972
|
trialId?: string;
|
|
973
973
|
}
|
|
974
|
+
interface IncrementalResultStats {
|
|
975
|
+
/** Reason why incremental query results are/were not written by the query. */
|
|
976
|
+
disabledReason?: string;
|
|
977
|
+
/** The time at which the result table's contents were modified. May be absent if no results have been written or the query has completed. */
|
|
978
|
+
resultSetLastModifyTime?: string;
|
|
979
|
+
/** The time at which the result table's contents were completely replaced. May be absent if no results have been written or the query has completed. */
|
|
980
|
+
resultSetLastReplaceTime?: string;
|
|
981
|
+
}
|
|
974
982
|
interface IndexUnusedReason {
|
|
975
983
|
/** Specifies the base table involved in the reason that no search index was used. */
|
|
976
984
|
baseTable?: TableReference;
|
|
@@ -1168,7 +1176,7 @@ declare namespace gapi.client {
|
|
|
1168
1176
|
schemaInline?: string;
|
|
1169
1177
|
/** [Deprecated] The format of the schemaInline property. */
|
|
1170
1178
|
schemaInlineFormat?: string;
|
|
1171
|
-
/** Allows the schema of the destination table to be updated as a side effect of the load job if a schema is autodetected or supplied in the job configuration. Schema update options are supported in
|
|
1179
|
+
/** Allows the schema of the destination table to be updated as a side effect of the load job if a schema is autodetected or supplied in the job configuration. Schema update options are supported in three cases: when writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE_DATA; when writeDisposition is WRITE_TRUNCATE and the destination table is a partition of a table, specified by partition decorators. For normal tables, WRITE_TRUNCATE will always overwrite the schema. One or more of the following values are specified: * ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema. * ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original schema to nullable. */
|
|
1172
1180
|
schemaUpdateOptions?: string[];
|
|
1173
1181
|
/** 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. */
|
|
1174
1182
|
skipLeadingRows?: number;
|
|
@@ -1228,7 +1236,7 @@ declare namespace gapi.client {
|
|
|
1228
1236
|
queryParameters?: QueryParameter[];
|
|
1229
1237
|
/** Range partitioning specification for the destination table. Only one of timePartitioning and rangePartitioning should be specified. */
|
|
1230
1238
|
rangePartitioning?: RangePartitioning;
|
|
1231
|
-
/** Allows the schema of the destination table to be updated as a side effect of the query job. Schema update options are supported in
|
|
1239
|
+
/** Allows the schema of the destination table to be updated as a side effect of the query job. Schema update options are supported in three cases: when writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE_DATA; when writeDisposition is WRITE_TRUNCATE and the destination table is a partition of a table, specified by partition decorators. For normal tables, WRITE_TRUNCATE will always overwrite the schema. One or more of the following values are specified: * ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema. * ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original schema to nullable. */
|
|
1232
1240
|
schemaUpdateOptions?: string[];
|
|
1233
1241
|
/** Options controlling the execution of scripts. */
|
|
1234
1242
|
scriptOptions?: ScriptOptions;
|
|
@@ -1398,6 +1406,8 @@ declare namespace gapi.client {
|
|
|
1398
1406
|
exportDataStatistics?: ExportDataStatistics;
|
|
1399
1407
|
/** Output only. Job cost breakdown as bigquery internal cost and external service costs. */
|
|
1400
1408
|
externalServiceCosts?: ExternalServiceCost[];
|
|
1409
|
+
/** Output only. Statistics related to incremental query results, if enabled for the query. This feature is not yet available. */
|
|
1410
|
+
incrementalResultStats?: IncrementalResultStats;
|
|
1401
1411
|
/** Output only. Statistics for a LOAD query. */
|
|
1402
1412
|
loadQueryStatistics?: LoadQueryStatistics;
|
|
1403
1413
|
/** Output only. Statistics of materialized views of a query job. */
|
|
@@ -1449,7 +1459,7 @@ declare namespace gapi.client {
|
|
|
1449
1459
|
totalBytesProcessedAccuracy?: string;
|
|
1450
1460
|
/** Output only. Total number of partitions processed from all partitioned tables referenced in the job. */
|
|
1451
1461
|
totalPartitionsProcessed?: string;
|
|
1452
|
-
/** Output only. Total slot
|
|
1462
|
+
/** Output only. Total slot milliseconds for the job that ran on external services and billed on the services SKU. This field is only populated for jobs that have external service costs, and is the total of the usage for costs whose billing method is `"SERVICES_SKU"`. */
|
|
1453
1463
|
totalServicesSkuSlotMs?: string;
|
|
1454
1464
|
/** Output only. Slot-milliseconds for the job. */
|
|
1455
1465
|
totalSlotMs?: string;
|
|
@@ -1759,6 +1769,14 @@ declare namespace gapi.client {
|
|
|
1759
1769
|
/** Required. ID of the project. Can be either the numeric ID or the assigned ID of the project. */
|
|
1760
1770
|
projectId?: string;
|
|
1761
1771
|
}
|
|
1772
|
+
interface PruningStats {
|
|
1773
|
+
/** The number of parallel inputs matched. */
|
|
1774
|
+
postCmetaPruningParallelInputCount?: string;
|
|
1775
|
+
/** The number of partitions matched. */
|
|
1776
|
+
postCmetaPruningPartitionCount?: string;
|
|
1777
|
+
/** The number of parallel inputs scanned. */
|
|
1778
|
+
preCmetaPruningParallelInputCount?: string;
|
|
1779
|
+
}
|
|
1762
1780
|
interface PythonOptions {
|
|
1763
1781
|
/** Required. The name of the function defined in Python code as the entry point when the Python UDF is invoked. */
|
|
1764
1782
|
entryPoint?: string;
|
|
@@ -2527,6 +2545,8 @@ declare namespace gapi.client {
|
|
|
2527
2545
|
interface TableMetadataCacheUsage {
|
|
2528
2546
|
/** Free form human-readable reason metadata caching was unused for the job. */
|
|
2529
2547
|
explanation?: string;
|
|
2548
|
+
/** The column metadata index pruning statistics. */
|
|
2549
|
+
pruningStats?: PruningStats;
|
|
2530
2550
|
/** Duration since last refresh as of this job for managed tables (indicates metadata cache staleness as seen by this job). */
|
|
2531
2551
|
staleness?: string;
|
|
2532
2552
|
/** Metadata caching eligible table referenced in the query. */
|
|
@@ -2643,6 +2663,8 @@ declare namespace gapi.client {
|
|
|
2643
2663
|
earlyStop?: boolean;
|
|
2644
2664
|
/** If true, enable global explanation during training. */
|
|
2645
2665
|
enableGlobalExplain?: boolean;
|
|
2666
|
+
/** The idle TTL of the endpoint before the resources get destroyed. The default value is 6.5 hours. */
|
|
2667
|
+
endpointIdleTtl?: string;
|
|
2646
2668
|
/** Feedback type that specifies which algorithm to run for matrix factorization. */
|
|
2647
2669
|
feedbackType?: string;
|
|
2648
2670
|
/** Whether the model should include intercept during model training. */
|
|
@@ -2661,6 +2683,8 @@ declare namespace gapi.client {
|
|
|
2661
2683
|
horizon?: string;
|
|
2662
2684
|
/** The target evaluation metrics to optimize the hyperparameters for. */
|
|
2663
2685
|
hparamTuningObjectives?: string[];
|
|
2686
|
+
/** The id of a Hugging Face model. For example, `google/gemma-2-2b-it`. */
|
|
2687
|
+
huggingFaceModelId?: string;
|
|
2664
2688
|
/** Include drift when fitting an ARIMA model. */
|
|
2665
2689
|
includeDrift?: boolean;
|
|
2666
2690
|
/** Specifies the initial learning rate for the line search learn rate strategy. */
|
|
@@ -2693,10 +2717,14 @@ declare namespace gapi.client {
|
|
|
2693
2717
|
learnRateStrategy?: string;
|
|
2694
2718
|
/** Type of loss function used during training run. */
|
|
2695
2719
|
lossType?: string;
|
|
2720
|
+
/** The type of the machine used to deploy and serve the model. */
|
|
2721
|
+
machineType?: string;
|
|
2696
2722
|
/** The maximum number of iterations in training. Used only for iterative training algorithms. */
|
|
2697
2723
|
maxIterations?: string;
|
|
2698
2724
|
/** Maximum number of trials to run in parallel. */
|
|
2699
2725
|
maxParallelTrials?: string;
|
|
2726
|
+
/** The maximum number of machine replicas that will be deployed on an endpoint. The default value is equal to min_replica_count. */
|
|
2727
|
+
maxReplicaCount?: string;
|
|
2700
2728
|
/** The maximum number of time points in a time series that can be used in modeling the trend component of the time series. Don't use this option with the `timeSeriesLengthFraction` or `minTimeSeriesLength` options. */
|
|
2701
2729
|
maxTimeSeriesLength?: string;
|
|
2702
2730
|
/** Maximum depth of a tree for boosted tree models. */
|
|
@@ -2705,12 +2733,16 @@ declare namespace gapi.client {
|
|
|
2705
2733
|
minAprioriSupport?: number;
|
|
2706
2734
|
/** When early_stop is true, stops training when accuracy improvement is less than 'min_relative_progress'. Used only for iterative training algorithms. */
|
|
2707
2735
|
minRelativeProgress?: number;
|
|
2736
|
+
/** The minimum number of machine replicas that will be always deployed on an endpoint. This value must be greater than or equal to 1. The default value is 1. */
|
|
2737
|
+
minReplicaCount?: string;
|
|
2708
2738
|
/** Minimum split loss for boosted tree models. */
|
|
2709
2739
|
minSplitLoss?: number;
|
|
2710
2740
|
/** The minimum number of time points in a time series that are used in modeling the trend component of the time series. If you use this option you must also set the `timeSeriesLengthFraction` option. This training option ensures that enough time points are available when you use `timeSeriesLengthFraction` in trend modeling. This is particularly important when forecasting multiple time series in a single query using `timeSeriesIdColumn`. If the total number of time points is less than the `minTimeSeriesLength` value, then the query uses all available time points. */
|
|
2711
2741
|
minTimeSeriesLength?: string;
|
|
2712
2742
|
/** Minimum sum of instance weight needed in a child for boosted tree models. */
|
|
2713
2743
|
minTreeChildWeight?: string;
|
|
2744
|
+
/** The name of a Vertex model garden publisher model. Format is `publishers/{publisher}/models/{model}@{optional_version_id}`. */
|
|
2745
|
+
modelGardenModelName?: string;
|
|
2714
2746
|
/** The model registry. */
|
|
2715
2747
|
modelRegistry?: string;
|
|
2716
2748
|
/** Google Cloud Storage URI from which the model was imported. Only applicable for imported models. */
|
|
@@ -2735,6 +2767,12 @@ declare namespace gapi.client {
|
|
|
2735
2767
|
pcaExplainedVarianceRatio?: number;
|
|
2736
2768
|
/** The solver for PCA. */
|
|
2737
2769
|
pcaSolver?: string;
|
|
2770
|
+
/** 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. */
|
|
2771
|
+
reservationAffinityKey?: string;
|
|
2772
|
+
/** Specifies the reservation affinity type used to configure a Vertex AI resource. The default value is `NO_RESERVATION`. */
|
|
2773
|
+
reservationAffinityType?: string;
|
|
2774
|
+
/** 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. */
|
|
2775
|
+
reservationAffinityValues?: string[];
|
|
2738
2776
|
/** Number of paths for the sampled Shapley explain method. */
|
|
2739
2777
|
sampledShapleyNumPaths?: string;
|
|
2740
2778
|
/** If true, scale the feature values by dividing the feature standard deviation. Currently only apply to PCA. */
|