@maxim_mazurok/gapi.client.bigquery-v2 0.1.20260620 → 0.2.20260707
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +47 -74
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://bigquery.googleapis.com/$discovery/rest?version=v2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260707
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -48,7 +48,12 @@ declare namespace gapi.client {
|
|
|
48
48
|
}
|
|
49
49
|
interface Argument {
|
|
50
50
|
/** Optional. Defaults to FIXED_TYPE. */
|
|
51
|
-
argumentKind?:
|
|
51
|
+
argumentKind?:
|
|
52
|
+
| 'ARGUMENT_KIND_UNSPECIFIED'
|
|
53
|
+
| 'FIXED_TYPE'
|
|
54
|
+
| 'ANY_TYPE'
|
|
55
|
+
| 'FIXED_TABLE'
|
|
56
|
+
| 'ANY_TABLE';
|
|
52
57
|
/** Set if argument_kind == FIXED_TYPE. */
|
|
53
58
|
dataType?: StandardSqlDataType;
|
|
54
59
|
/** Optional. Whether the argument is an aggregate function parameter. Must be Unset for routine types other than AGGREGATE_FUNCTION. For AGGREGATE_FUNCTION, if set to false, it is equivalent to adding "NOT AGGREGATE" clause in DDL; Otherwise, it is equivalent to omitting "NOT AGGREGATE" clause in DDL. */
|
|
@@ -57,6 +62,8 @@ declare namespace gapi.client {
|
|
|
57
62
|
mode?: 'MODE_UNSPECIFIED' | 'IN' | 'OUT' | 'INOUT';
|
|
58
63
|
/** Optional. The name of this argument. Can be absent for function return argument. */
|
|
59
64
|
name?: string;
|
|
65
|
+
/** Optional. Set if argument_kind == FIXED_TABLE. */
|
|
66
|
+
tableType?: StandardSqlTableType;
|
|
60
67
|
}
|
|
61
68
|
interface ArimaCoefficients {
|
|
62
69
|
/** Auto-regressive coefficients, an array of double. */
|
|
@@ -205,10 +212,7 @@ declare namespace gapi.client {
|
|
|
205
212
|
exemptedMembers?: string[];
|
|
206
213
|
/** The log type that this config enables. */
|
|
207
214
|
logType?:
|
|
208
|
-
| '
|
|
209
|
-
| 'ADMIN_READ'
|
|
210
|
-
| 'DATA_WRITE'
|
|
211
|
-
| 'DATA_READ';
|
|
215
|
+
'LOG_TYPE_UNSPECIFIED' | 'ADMIN_READ' | 'DATA_WRITE' | 'DATA_READ';
|
|
212
216
|
}
|
|
213
217
|
interface AvroOptions {
|
|
214
218
|
/** 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). */
|
|
@@ -243,10 +247,7 @@ declare namespace gapi.client {
|
|
|
243
247
|
| 'FULL_QUERY';
|
|
244
248
|
/** Output only. Specifies which mode of BI Engine acceleration was performed (if any). */
|
|
245
249
|
biEngineMode?:
|
|
246
|
-
| '
|
|
247
|
-
| 'DISABLED'
|
|
248
|
-
| 'PARTIAL'
|
|
249
|
-
| 'FULL';
|
|
250
|
+
'ACCELERATION_MODE_UNSPECIFIED' | 'DISABLED' | 'PARTIAL' | 'FULL';
|
|
250
251
|
/** 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. */
|
|
251
252
|
biEngineReasons?: BiEngineReason[];
|
|
252
253
|
}
|
|
@@ -565,9 +566,7 @@ declare namespace gapi.client {
|
|
|
565
566
|
selfLink?: string;
|
|
566
567
|
/** Optional. Updates storage_billing_model for the dataset. */
|
|
567
568
|
storageBillingModel?:
|
|
568
|
-
| '
|
|
569
|
-
| 'LOGICAL'
|
|
570
|
-
| 'PHYSICAL';
|
|
569
|
+
'STORAGE_BILLING_MODEL_UNSPECIFIED' | 'LOGICAL' | 'PHYSICAL';
|
|
571
570
|
/** Output only. Tags for the dataset. To provide tags as inputs, use the `resourceTags` field. */
|
|
572
571
|
tags?: {
|
|
573
572
|
/** Required. The namespaced friendly name of the tag key, e.g. "12345/environment" where 12345 is org id. */
|
|
@@ -666,9 +665,7 @@ declare namespace gapi.client {
|
|
|
666
665
|
deletedRowCount?: string;
|
|
667
666
|
/** Output only. DML mode used. */
|
|
668
667
|
dmlMode?:
|
|
669
|
-
| '
|
|
670
|
-
| 'COARSE_GRAINED_DML'
|
|
671
|
-
| 'FINE_GRAINED_DML';
|
|
668
|
+
'DML_MODE_UNSPECIFIED' | 'COARSE_GRAINED_DML' | 'FINE_GRAINED_DML';
|
|
672
669
|
/** Output only. Reason for disabling fine-grained DML if applicable. */
|
|
673
670
|
fineGrainedDmlUnusedReason?:
|
|
674
671
|
| 'FINE_GRAINED_DML_UNUSED_REASON_UNSPECIFIED'
|
|
@@ -879,9 +876,7 @@ declare namespace gapi.client {
|
|
|
879
876
|
maxBadRecords?: number;
|
|
880
877
|
/** Optional. Metadata Cache Mode for the table. Set this to enable caching of metadata from external data source. */
|
|
881
878
|
metadataCacheMode?:
|
|
882
|
-
| '
|
|
883
|
-
| 'AUTOMATIC'
|
|
884
|
-
| 'MANUAL';
|
|
879
|
+
'METADATA_CACHE_MODE_UNSPECIFIED' | 'AUTOMATIC' | 'MANUAL';
|
|
885
880
|
/** 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. */
|
|
886
881
|
objectMetadata?: 'OBJECT_METADATA_UNSPECIFIED' | 'DIRECTORY' | 'SIMPLE';
|
|
887
882
|
/** Optional. Additional properties to set if sourceFormat is set to PARQUET. */
|
|
@@ -1162,9 +1157,7 @@ declare namespace gapi.client {
|
|
|
1162
1157
|
interface IncrementalResultStats {
|
|
1163
1158
|
/** Output only. Reason why incremental query results are/were not written by the query. */
|
|
1164
1159
|
disabledReason?:
|
|
1165
|
-
| '
|
|
1166
|
-
| 'OTHER'
|
|
1167
|
-
| 'UNSUPPORTED_OPERATOR';
|
|
1160
|
+
'DISABLED_REASON_UNSPECIFIED' | 'OTHER' | 'UNSUPPORTED_OPERATOR';
|
|
1168
1161
|
/** Output only. Additional human-readable clarification, if available, for DisabledReason. */
|
|
1169
1162
|
disabledReasonDetails?: string;
|
|
1170
1163
|
/** 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. */
|
|
@@ -1315,7 +1308,7 @@ declare namespace gapi.client {
|
|
|
1315
1308
|
maxSlots?: number;
|
|
1316
1309
|
/** [Pick one] Configures a query job. */
|
|
1317
1310
|
query?: JobConfigurationQuery;
|
|
1318
|
-
/** Optional. The reservation that job would use. User can specify a reservation to execute the job. If reservation is not set, reservation is determined based on the rules defined by the reservation assignments. The expected format is `projects/{project}/locations/{location}/reservations/{reservation}`. */
|
|
1311
|
+
/** Optional. The reservation that job would use. User can specify a reservation to execute the job. If reservation is not set, reservation is determined based on the rules defined by the reservation assignments. The expected format is `projects/{project}/locations/{location}/reservations/{reservation}`. Forces the query to use on-demand billing when set to `none`, which requires the project or organization to have `reservation_override_mode` set to `ALLOW_ANY_OVERRIDE`. */
|
|
1319
1312
|
reservation?: string;
|
|
1320
1313
|
}
|
|
1321
1314
|
interface JobConfigurationExtract {
|
|
@@ -1351,10 +1344,7 @@ declare namespace gapi.client {
|
|
|
1351
1344
|
clustering?: Clustering;
|
|
1352
1345
|
/** 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. */
|
|
1353
1346
|
columnNameCharacterMap?:
|
|
1354
|
-
| '
|
|
1355
|
-
| 'STRICT'
|
|
1356
|
-
| 'V1'
|
|
1357
|
-
| 'V2';
|
|
1347
|
+
'COLUMN_NAME_CHARACTER_MAP_UNSPECIFIED' | 'STRICT' | 'V1' | 'V2';
|
|
1358
1348
|
/** 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. */
|
|
1359
1349
|
connectionProperties?: ConnectionProperty[];
|
|
1360
1350
|
/** 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. */
|
|
@@ -1423,9 +1413,7 @@ declare namespace gapi.client {
|
|
|
1423
1413
|
skipLeadingRows?: number;
|
|
1424
1414
|
/** 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. */
|
|
1425
1415
|
sourceColumnMatch?:
|
|
1426
|
-
| '
|
|
1427
|
-
| 'POSITION'
|
|
1428
|
-
| 'NAME';
|
|
1416
|
+
'SOURCE_COLUMN_MATCH_UNSPECIFIED' | 'POSITION' | 'NAME';
|
|
1429
1417
|
/** 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. */
|
|
1430
1418
|
sourceFormat?: string;
|
|
1431
1419
|
/** [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. */
|
|
@@ -1597,10 +1585,14 @@ declare namespace gapi.client {
|
|
|
1597
1585
|
extract?: JobStatistics4;
|
|
1598
1586
|
/** Output only. The duration in milliseconds of the execution of the final attempt of this job, as BigQuery may internally re-attempt to execute the job. */
|
|
1599
1587
|
finalExecutionDurationMs?: string;
|
|
1588
|
+
/** Output only. Regions where the global query accesses data. */
|
|
1589
|
+
globalQueryRemoteRegions?: string[];
|
|
1600
1590
|
/** Output only. Statistics for a load job. */
|
|
1601
1591
|
load?: JobStatistics3;
|
|
1602
1592
|
/** Output only. Number of child jobs executed. */
|
|
1603
1593
|
numChildJobs?: string;
|
|
1594
|
+
/** Output only. The global query that created this job. */
|
|
1595
|
+
parentGlobalQueryJob?: JobReference;
|
|
1604
1596
|
/** Output only. If this is a child job, specifies the job ID of the parent. */
|
|
1605
1597
|
parentJobId?: string;
|
|
1606
1598
|
/** Output only. Statistics for a query job. */
|
|
@@ -1688,6 +1680,8 @@ declare namespace gapi.client {
|
|
|
1688
1680
|
modelTrainingExpectedTotalIteration?: string;
|
|
1689
1681
|
/** Output only. The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE. */
|
|
1690
1682
|
numDmlAffectedRows?: string;
|
|
1683
|
+
/** Output only. Storage and caching statistics per cloud provider for queries over object storage. */
|
|
1684
|
+
objectStorageStats?: ObjectStorageStats[];
|
|
1691
1685
|
/** Output only. Performance insights. */
|
|
1692
1686
|
performanceInsights?: PerformanceInsights;
|
|
1693
1687
|
/** Output only. Query optimization information for a QUERY job. */
|
|
@@ -1763,6 +1757,8 @@ declare namespace gapi.client {
|
|
|
1763
1757
|
copiedLogicalBytes?: string;
|
|
1764
1758
|
/** Output only. Number of rows copied to the destination table. */
|
|
1765
1759
|
copiedRows?: string;
|
|
1760
|
+
/** Output only. Destination region for a cross-region copy job. Not set for in-region copy jobs. */
|
|
1761
|
+
remoteDestinationRegion?: string;
|
|
1766
1762
|
}
|
|
1767
1763
|
interface JobStatus {
|
|
1768
1764
|
/** Output only. Final error result of the job. If present, indicates that the job has completed and was unsuccessful. */
|
|
@@ -1928,9 +1924,7 @@ declare namespace gapi.client {
|
|
|
1928
1924
|
| 'CONTRIBUTION_ANALYSIS';
|
|
1929
1925
|
/** Output only. Training type of the job. */
|
|
1930
1926
|
trainingType?:
|
|
1931
|
-
| '
|
|
1932
|
-
| 'SINGLE_TRAINING'
|
|
1933
|
-
| 'HPARAM_TUNING';
|
|
1927
|
+
'TRAINING_TYPE_UNSPECIFIED' | 'SINGLE_TRAINING' | 'HPARAM_TUNING';
|
|
1934
1928
|
}
|
|
1935
1929
|
interface Model {
|
|
1936
1930
|
/** The best trial_id across all training runs. */
|
|
@@ -2030,6 +2024,14 @@ declare namespace gapi.client {
|
|
|
2030
2024
|
/** Confusion matrix at different thresholds. */
|
|
2031
2025
|
confusionMatrixList?: ConfusionMatrix[];
|
|
2032
2026
|
}
|
|
2027
|
+
interface ObjectStorageStats {
|
|
2028
|
+
/** Total bytes read from the GCP Lakehouse-internal cache, avoiding an object storage read. */
|
|
2029
|
+
cacheBytesRead?: string;
|
|
2030
|
+
/** The cloud provider for this block of statistics. */
|
|
2031
|
+
cloudProvider?: 'CLOUD_PROVIDER_UNSPECIFIED' | 'GCP' | 'AWS' | 'AZURE';
|
|
2032
|
+
/** Total bytes read directly from the cloud provider's storage. */
|
|
2033
|
+
objectStorageBytesRead?: string;
|
|
2034
|
+
}
|
|
2033
2035
|
interface ParquetOptions {
|
|
2034
2036
|
/** Optional. Indicates whether to use schema inference specifically for Parquet LIST logical type. */
|
|
2035
2037
|
enableListInference?: boolean;
|
|
@@ -2224,12 +2226,10 @@ declare namespace gapi.client {
|
|
|
2224
2226
|
queryParameters?: QueryParameter[];
|
|
2225
2227
|
/** Optional. The query results format. If the value is anything other than `STRUCT_ENCODING` or unspecified: * The schema of the results will be provided in `QueryResponse.results_schema` field. * The results of the first page will be provided in `QueryResponse.results` field. * The `QueryResponse.rows` will not be populated. * The `QueryResponse.schema` for `QueryResponse.rows` will also not be populated since it is the schema of the `QueryResponse.rows`. This feature is not yet available. */
|
|
2226
2228
|
queryResultsFormat?:
|
|
2227
|
-
| '
|
|
2228
|
-
| 'STRUCT_ENCODING'
|
|
2229
|
-
| 'ARROW';
|
|
2229
|
+
'QUERY_RESULTS_FORMAT_UNSPECIFIED' | 'STRUCT_ENCODING' | 'ARROW';
|
|
2230
2230
|
/** Optional. A unique user provided identifier to ensure idempotent behavior for queries. Note that this is different from the job_id. It has the following properties: 1. It is case-sensitive, limited to up to 36 ASCII characters. A UUID is recommended. 2. Read only queries can ignore this token since they are nullipotent by definition. 3. For the purposes of idempotency ensured by the request_id, a request is considered duplicate of another only if they have the same request_id and are actually duplicates. When determining whether a request is a duplicate of another request, all parameters in the request that may affect the result are considered. For example, query, connection_properties, query_parameters, use_legacy_sql are parameters that affect the result and are considered when determining whether a request is a duplicate, but properties like timeout_ms don't affect the result and are thus not considered. Dry run query requests are never considered duplicate of another request. 4. When a duplicate mutating query request is detected, it returns: a. the results of the mutation if it completes successfully within the timeout. b. the running operation if it is still in progress at the end of the timeout. 5. Its lifetime is limited to 15 minutes. In other words, if two requests are sent with the same request_id, but more than 15 minutes apart, idempotency is not guaranteed. */
|
|
2231
2231
|
requestId?: string;
|
|
2232
|
-
/** Optional. The reservation that jobs.query request would use. User can specify a reservation to execute the job.query. The expected format is `projects/{project}/locations/{location}/reservations/{reservation}`. */
|
|
2232
|
+
/** Optional. The reservation that jobs.query request would use. User can specify a reservation to execute the job.query. The expected format is `projects/{project}/locations/{location}/reservations/{reservation}`. Forces the query to use on-demand billing when set to `none`. This requires the project or organization to have `reservation_override_mode` set to `ALLOW_ANY_OVERRIDE`. */
|
|
2233
2233
|
reservation?: string;
|
|
2234
2234
|
/** Optional. Optional: Specifies the maximum amount of time, in milliseconds, that the client is willing to wait for the query to complete. By default, this limit is 10 seconds (10,000 milliseconds). If the query is complete, the jobComplete field in the response is true. If the query has not yet completed, jobComplete is false. You can request a longer timeout period in the timeoutMs field. However, the call is not guaranteed to wait for the specified timeout; it typically returns after around 200 seconds (200,000 milliseconds), even if the query is not complete. If jobComplete is false, you can continue to wait for the query to complete by calling the getQueryResults method until the jobComplete field in the getQueryResults response is true. */
|
|
2235
2235
|
timeoutMs?: number;
|
|
@@ -2395,9 +2395,7 @@ declare namespace gapi.client {
|
|
|
2395
2395
|
description?: string;
|
|
2396
2396
|
/** Optional. The determinism level of the JavaScript UDF, if defined. */
|
|
2397
2397
|
determinismLevel?:
|
|
2398
|
-
| '
|
|
2399
|
-
| 'DETERMINISTIC'
|
|
2400
|
-
| 'NOT_DETERMINISTIC';
|
|
2398
|
+
'DETERMINISM_LEVEL_UNSPECIFIED' | 'DETERMINISTIC' | 'NOT_DETERMINISTIC';
|
|
2401
2399
|
/** Output only. A hash of this resource. */
|
|
2402
2400
|
etag?: string;
|
|
2403
2401
|
/** 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) */
|
|
@@ -2443,10 +2441,7 @@ declare namespace gapi.client {
|
|
|
2443
2441
|
buildDuration?: string;
|
|
2444
2442
|
/** Output only. The current build state of the routine. */
|
|
2445
2443
|
buildState?:
|
|
2446
|
-
| '
|
|
2447
|
-
| 'IN_PROGRESS'
|
|
2448
|
-
| 'SUCCEEDED'
|
|
2449
|
-
| 'FAILED';
|
|
2444
|
+
'BUILD_STATE_UNSPECIFIED' | 'IN_PROGRESS' | 'SUCCEEDED' | 'FAILED';
|
|
2450
2445
|
/** Output only. The time when the build state was updated last. */
|
|
2451
2446
|
buildStateUpdateTime?: string;
|
|
2452
2447
|
/** Output only. A result object that will be present only if the build has failed. */
|
|
@@ -2499,9 +2494,7 @@ declare namespace gapi.client {
|
|
|
2499
2494
|
interface ScriptOptions {
|
|
2500
2495
|
/** 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. */
|
|
2501
2496
|
keyResultStatement?:
|
|
2502
|
-
| '
|
|
2503
|
-
| 'LAST'
|
|
2504
|
-
| 'FIRST_SELECT';
|
|
2497
|
+
'KEY_RESULT_STATEMENT_KIND_UNSPECIFIED' | 'LAST' | 'FIRST_SELECT';
|
|
2505
2498
|
/** Limit on the number of bytes billed per statement. Exceeding this budget results in an error. */
|
|
2506
2499
|
statementByteBudget?: string;
|
|
2507
2500
|
/** Timeout period for each statement in a script. */
|
|
@@ -2524,9 +2517,7 @@ declare namespace gapi.client {
|
|
|
2524
2517
|
interface ScriptStatistics {
|
|
2525
2518
|
/** Whether this child job was a statement or expression. */
|
|
2526
2519
|
evaluationKind?:
|
|
2527
|
-
| '
|
|
2528
|
-
| 'STATEMENT'
|
|
2529
|
-
| 'EXPRESSION';
|
|
2520
|
+
'EVALUATION_KIND_UNSPECIFIED' | 'STATEMENT' | 'EXPRESSION';
|
|
2530
2521
|
/** 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. */
|
|
2531
2522
|
stackFrames?: ScriptStackFrame[];
|
|
2532
2523
|
}
|
|
@@ -2767,9 +2758,7 @@ declare namespace gapi.client {
|
|
|
2767
2758
|
location?: string;
|
|
2768
2759
|
/** Optional. If set, overrides the default managed table type configured in the dataset. */
|
|
2769
2760
|
managedTableType?:
|
|
2770
|
-
| '
|
|
2771
|
-
| 'NATIVE'
|
|
2772
|
-
| 'BIGLAKE';
|
|
2761
|
+
'MANAGED_TABLE_TYPE_UNSPECIFIED' | 'NATIVE' | 'BIGLAKE';
|
|
2773
2762
|
/** Optional. The materialized view definition. */
|
|
2774
2763
|
materializedView?: MaterializedViewDefinition;
|
|
2775
2764
|
/** Output only. The materialized view status. */
|
|
@@ -3118,12 +3107,7 @@ declare namespace gapi.client {
|
|
|
3118
3107
|
cleanSpikesAndDips?: boolean;
|
|
3119
3108
|
/** Enums for color space, used for processing images in Object Table. See more details at https://www.tensorflow.org/io/tutorials/colorspace. */
|
|
3120
3109
|
colorSpace?:
|
|
3121
|
-
| '
|
|
3122
|
-
| 'RGB'
|
|
3123
|
-
| 'HSV'
|
|
3124
|
-
| 'YIQ'
|
|
3125
|
-
| 'YUV'
|
|
3126
|
-
| 'GRAYSCALE';
|
|
3110
|
+
'COLOR_SPACE_UNSPECIFIED' | 'RGB' | 'HSV' | 'YIQ' | 'YUV' | 'GRAYSCALE';
|
|
3127
3111
|
/** Subsample ratio of columns for each level for boosted tree models. */
|
|
3128
3112
|
colsampleBylevel?: number;
|
|
3129
3113
|
/** Subsample ratio of columns for each node(split) for boosted tree models. */
|
|
@@ -3380,14 +3364,10 @@ declare namespace gapi.client {
|
|
|
3380
3364
|
learnRate?: number;
|
|
3381
3365
|
/** The strategy to determine learn rate for the current iteration. */
|
|
3382
3366
|
learnRateStrategy?:
|
|
3383
|
-
| '
|
|
3384
|
-
| 'LINE_SEARCH'
|
|
3385
|
-
| 'CONSTANT';
|
|
3367
|
+
'LEARN_RATE_STRATEGY_UNSPECIFIED' | 'LINE_SEARCH' | 'CONSTANT';
|
|
3386
3368
|
/** Type of loss function used during training run. */
|
|
3387
3369
|
lossType?:
|
|
3388
|
-
| '
|
|
3389
|
-
| 'MEAN_SQUARED_LOSS'
|
|
3390
|
-
| 'MEAN_LOG_LOSS';
|
|
3370
|
+
'LOSS_TYPE_UNSPECIFIED' | 'MEAN_SQUARED_LOSS' | 'MEAN_LOG_LOSS';
|
|
3391
3371
|
/** The type of the machine used to deploy and serve the model. */
|
|
3392
3372
|
machineType?: string;
|
|
3393
3373
|
/** The maximum number of iterations in training. Used only for iterative training algorithms. */
|
|
@@ -3473,11 +3453,7 @@ declare namespace gapi.client {
|
|
|
3473
3453
|
timeSeriesTimestampColumn?: string;
|
|
3474
3454
|
/** Tree construction algorithm for boosted tree models. */
|
|
3475
3455
|
treeMethod?:
|
|
3476
|
-
| '
|
|
3477
|
-
| 'AUTO'
|
|
3478
|
-
| 'EXACT'
|
|
3479
|
-
| 'APPROX'
|
|
3480
|
-
| 'HIST';
|
|
3456
|
+
'TREE_METHOD_UNSPECIFIED' | 'AUTO' | 'EXACT' | 'APPROX' | 'HIST';
|
|
3481
3457
|
/** 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. */
|
|
3482
3458
|
trendSmoothingWindowSize?: string;
|
|
3483
3459
|
/** User column specified for matrix factorization models. */
|
|
@@ -4179,10 +4155,7 @@ declare namespace gapi.client {
|
|
|
4179
4155
|
quotaUser?: string;
|
|
4180
4156
|
/** Filter for job state */
|
|
4181
4157
|
stateFilter?:
|
|
4182
|
-
| 'done'
|
|
4183
|
-
| 'pending'
|
|
4184
|
-
| 'running'
|
|
4185
|
-
| ('done' | 'pending' | 'running')[];
|
|
4158
|
+
'done' | 'pending' | 'running' | ('done' | 'pending' | 'running')[];
|
|
4186
4159
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4187
4160
|
upload_protocol?: string;
|
|
4188
4161
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|