@maxim_mazurok/gapi.client.bigquery-v2 0.2.20261107 → 0.3.20261107
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 +49 -55
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -91,7 +91,7 @@ declare namespace gapi.client {
|
|
|
91
91
|
/** Non-seasonal order. */
|
|
92
92
|
nonSeasonalOrder?: ArimaOrder[];
|
|
93
93
|
/** Seasonal periods. Repeated because multiple periods are supported for one time series. */
|
|
94
|
-
seasonalPeriods?:
|
|
94
|
+
seasonalPeriods?: (
|
|
95
95
|
| 'SEASONAL_PERIOD_TYPE_UNSPECIFIED'
|
|
96
96
|
| 'NO_SEASONALITY'
|
|
97
97
|
| 'DAILY'
|
|
@@ -99,7 +99,8 @@ declare namespace gapi.client {
|
|
|
99
99
|
| 'MONTHLY'
|
|
100
100
|
| 'QUARTERLY'
|
|
101
101
|
| 'YEARLY'
|
|
102
|
-
| 'HOURLY'
|
|
102
|
+
| 'HOURLY'
|
|
103
|
+
)[];
|
|
103
104
|
/** Id to differentiate different time series for the large-scale case. */
|
|
104
105
|
timeSeriesId?: string[];
|
|
105
106
|
}
|
|
@@ -119,7 +120,7 @@ declare namespace gapi.client {
|
|
|
119
120
|
/** Non-seasonal order. */
|
|
120
121
|
nonSeasonalOrder?: ArimaOrder;
|
|
121
122
|
/** Seasonal periods. Repeated because multiple periods are supported for one time series. */
|
|
122
|
-
seasonalPeriods?:
|
|
123
|
+
seasonalPeriods?: (
|
|
123
124
|
| 'SEASONAL_PERIOD_TYPE_UNSPECIFIED'
|
|
124
125
|
| 'NO_SEASONALITY'
|
|
125
126
|
| 'DAILY'
|
|
@@ -127,7 +128,8 @@ declare namespace gapi.client {
|
|
|
127
128
|
| 'MONTHLY'
|
|
128
129
|
| 'QUARTERLY'
|
|
129
130
|
| 'YEARLY'
|
|
130
|
-
| 'HOURLY'
|
|
131
|
+
| 'HOURLY'
|
|
132
|
+
)[];
|
|
131
133
|
/** 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. */
|
|
132
134
|
timeSeriesId?: string;
|
|
133
135
|
/** 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. */
|
|
@@ -145,7 +147,7 @@ declare namespace gapi.client {
|
|
|
145
147
|
/** This message is repeated because there are multiple arima models fitted in auto-arima. For non-auto-arima model, its size is one. */
|
|
146
148
|
arimaModelInfo?: ArimaModelInfo[];
|
|
147
149
|
/** Seasonal periods. Repeated because multiple periods are supported for one time series. */
|
|
148
|
-
seasonalPeriods?:
|
|
150
|
+
seasonalPeriods?: (
|
|
149
151
|
| 'SEASONAL_PERIOD_TYPE_UNSPECIFIED'
|
|
150
152
|
| 'NO_SEASONALITY'
|
|
151
153
|
| 'DAILY'
|
|
@@ -153,7 +155,8 @@ declare namespace gapi.client {
|
|
|
153
155
|
| 'MONTHLY'
|
|
154
156
|
| 'QUARTERLY'
|
|
155
157
|
| 'YEARLY'
|
|
156
|
-
| 'HOURLY'
|
|
158
|
+
| 'HOURLY'
|
|
159
|
+
)[];
|
|
157
160
|
}
|
|
158
161
|
interface ArimaSingleModelForecastingMetrics {
|
|
159
162
|
/** Arima fitting metrics. */
|
|
@@ -169,7 +172,7 @@ declare namespace gapi.client {
|
|
|
169
172
|
/** Non-seasonal order. */
|
|
170
173
|
nonSeasonalOrder?: ArimaOrder;
|
|
171
174
|
/** Seasonal periods. Repeated because multiple periods are supported for one time series. */
|
|
172
|
-
seasonalPeriods?:
|
|
175
|
+
seasonalPeriods?: (
|
|
173
176
|
| 'SEASONAL_PERIOD_TYPE_UNSPECIFIED'
|
|
174
177
|
| 'NO_SEASONALITY'
|
|
175
178
|
| 'DAILY'
|
|
@@ -177,7 +180,8 @@ declare namespace gapi.client {
|
|
|
177
180
|
| 'MONTHLY'
|
|
178
181
|
| 'QUARTERLY'
|
|
179
182
|
| 'YEARLY'
|
|
180
|
-
| 'HOURLY'
|
|
183
|
+
| 'HOURLY'
|
|
184
|
+
)[];
|
|
181
185
|
/** 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. */
|
|
182
186
|
timeSeriesId?: string;
|
|
183
187
|
/** 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. */
|
|
@@ -588,7 +592,7 @@ declare namespace gapi.client {
|
|
|
588
592
|
/** The dataset this entry applies to */
|
|
589
593
|
dataset?: DatasetReference;
|
|
590
594
|
/** Which resources in the dataset this entry applies to. Currently, only views are supported, but additional target types may be added in the future. */
|
|
591
|
-
targetTypes?: 'TARGET_TYPE_UNSPECIFIED' | 'VIEWS' | 'ROUTINES'[];
|
|
595
|
+
targetTypes?: ('TARGET_TYPE_UNSPECIFIED' | 'VIEWS' | 'ROUTINES')[];
|
|
592
596
|
}
|
|
593
597
|
interface DatasetList {
|
|
594
598
|
/** 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. */
|
|
@@ -860,11 +864,9 @@ declare namespace gapi.client {
|
|
|
860
864
|
/** Optional. Format used to parse DATETIME values. Supports C-style and SQL-style values. */
|
|
861
865
|
datetimeFormat?: string;
|
|
862
866
|
/** 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. */
|
|
863
|
-
decimalTargetTypes?:
|
|
864
|
-
| '
|
|
865
|
-
|
|
866
|
-
| 'BIGNUMERIC'
|
|
867
|
-
| 'STRING'[];
|
|
867
|
+
decimalTargetTypes?: (
|
|
868
|
+
'DECIMAL_TARGET_TYPE_UNSPECIFIED' | 'NUMERIC' | 'BIGNUMERIC' | 'STRING'
|
|
869
|
+
)[];
|
|
868
870
|
/** 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. */
|
|
869
871
|
fileSetSpecType?:
|
|
870
872
|
| 'FILE_SET_SPEC_TYPE_FILE_SYSTEM_MATCH'
|
|
@@ -1385,11 +1387,9 @@ declare namespace gapi.client {
|
|
|
1385
1387
|
/** Optional. Date format used for parsing DATETIME values. */
|
|
1386
1388
|
datetimeFormat?: string;
|
|
1387
1389
|
/** 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. */
|
|
1388
|
-
decimalTargetTypes?:
|
|
1389
|
-
| '
|
|
1390
|
-
|
|
1391
|
-
| 'BIGNUMERIC'
|
|
1392
|
-
| 'STRING'[];
|
|
1390
|
+
decimalTargetTypes?: (
|
|
1391
|
+
'DECIMAL_TARGET_TYPE_UNSPECIFIED' | 'NUMERIC' | 'BIGNUMERIC' | 'STRING'
|
|
1392
|
+
)[];
|
|
1393
1393
|
/** Custom encryption configuration (e.g., Cloud KMS keys) */
|
|
1394
1394
|
destinationEncryptionConfiguration?: EncryptionConfiguration;
|
|
1395
1395
|
/** [Required] The destination table to load the data into. */
|
|
@@ -3337,7 +3337,7 @@ declare namespace gapi.client {
|
|
|
3337
3337
|
| 'VN'
|
|
3338
3338
|
| 'ZA';
|
|
3339
3339
|
/** A list of geographical regions that are used for time series modeling. */
|
|
3340
|
-
holidayRegions?:
|
|
3340
|
+
holidayRegions?: (
|
|
3341
3341
|
| 'HOLIDAY_REGION_UNSPECIFIED'
|
|
3342
3342
|
| 'GLOBAL'
|
|
3343
3343
|
| 'NA'
|
|
@@ -3406,11 +3406,12 @@ declare namespace gapi.client {
|
|
|
3406
3406
|
| 'US'
|
|
3407
3407
|
| 'VE'
|
|
3408
3408
|
| 'VN'
|
|
3409
|
-
| 'ZA'
|
|
3409
|
+
| 'ZA'
|
|
3410
|
+
)[];
|
|
3410
3411
|
/** The number of periods ahead that need to be forecasted. */
|
|
3411
3412
|
horizon?: string;
|
|
3412
3413
|
/** The target evaluation metrics to optimize the hyperparameters for. */
|
|
3413
|
-
hparamTuningObjectives?:
|
|
3414
|
+
hparamTuningObjectives?: (
|
|
3414
3415
|
| 'HPARAM_TUNING_OBJECTIVE_UNSPECIFIED'
|
|
3415
3416
|
| 'MEAN_ABSOLUTE_ERROR'
|
|
3416
3417
|
| 'MEAN_SQUARED_ERROR'
|
|
@@ -3427,7 +3428,8 @@ declare namespace gapi.client {
|
|
|
3427
3428
|
| 'DAVIES_BOULDIN_INDEX'
|
|
3428
3429
|
| 'MEAN_AVERAGE_PRECISION'
|
|
3429
3430
|
| 'NORMALIZED_DISCOUNTED_CUMULATIVE_GAIN'
|
|
3430
|
-
| 'AVERAGE_RANK'
|
|
3431
|
+
| 'AVERAGE_RANK'
|
|
3432
|
+
)[];
|
|
3431
3433
|
/** The id of a Hugging Face model. For example, `google/gemma-2-2b-it`. */
|
|
3432
3434
|
huggingFaceModelId?: string;
|
|
3433
3435
|
/** Include drift when fitting an ARIMA model. */
|
|
@@ -3643,7 +3645,8 @@ declare namespace gapi.client {
|
|
|
3643
3645
|
/** Describes user-defined function resources used in the query. */
|
|
3644
3646
|
userDefinedFunctionResources?: UserDefinedFunctionResource[];
|
|
3645
3647
|
}
|
|
3646
|
-
|
|
3648
|
+
|
|
3649
|
+
const datasets: {
|
|
3647
3650
|
/** 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. # IAM Permissions Requires the `bigquery.datasets.delete` permission on the dataset. */
|
|
3648
3651
|
delete(request?: {
|
|
3649
3652
|
/** V1 error format. */
|
|
@@ -4029,8 +4032,9 @@ declare namespace gapi.client {
|
|
|
4029
4032
|
},
|
|
4030
4033
|
body: Dataset,
|
|
4031
4034
|
): Request<Dataset>;
|
|
4032
|
-
}
|
|
4033
|
-
|
|
4035
|
+
};
|
|
4036
|
+
|
|
4037
|
+
const jobs: {
|
|
4034
4038
|
/** 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. # IAM Permissions Requires the `bigquery.jobs.update` permission on the job resource. If the user matches the creator of the job, the `bigquery.jobs.create` permission on the project is required instead. */
|
|
4035
4039
|
cancel(request?: {
|
|
4036
4040
|
/** V1 error format. */
|
|
@@ -4331,8 +4335,9 @@ declare namespace gapi.client {
|
|
|
4331
4335
|
},
|
|
4332
4336
|
body: QueryRequest,
|
|
4333
4337
|
): Request<QueryResponse>;
|
|
4334
|
-
}
|
|
4335
|
-
|
|
4338
|
+
};
|
|
4339
|
+
|
|
4340
|
+
const models: {
|
|
4336
4341
|
/** Deletes the model specified by modelId from the dataset. # IAM Permissions Requires the `bigquery.models.delete` permission on the model. */
|
|
4337
4342
|
delete(request?: {
|
|
4338
4343
|
/** V1 error format. */
|
|
@@ -4494,8 +4499,9 @@ declare namespace gapi.client {
|
|
|
4494
4499
|
},
|
|
4495
4500
|
body: Model,
|
|
4496
4501
|
): Request<Model>;
|
|
4497
|
-
}
|
|
4498
|
-
|
|
4502
|
+
};
|
|
4503
|
+
|
|
4504
|
+
const projects: {
|
|
4499
4505
|
/** RPC to get the service account for a project used for interactions with Google Cloud KMS. Requires the `bigquery.jobs.create` permission on the project resource. This permission is required to authorize the retrieval of the project's service identity for technical management tasks like encryption configuration. */
|
|
4500
4506
|
getServiceAccount(request?: {
|
|
4501
4507
|
/** V1 error format. */
|
|
@@ -4552,8 +4558,9 @@ declare namespace gapi.client {
|
|
|
4552
4558
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4553
4559
|
uploadType?: string;
|
|
4554
4560
|
}): Request<ProjectList>;
|
|
4555
|
-
}
|
|
4556
|
-
|
|
4561
|
+
};
|
|
4562
|
+
|
|
4563
|
+
const routines: {
|
|
4557
4564
|
/** Deletes the routine specified by routineId from the dataset. # IAM Permissions Requires the `bigquery.routines.delete` permission on the routine. */
|
|
4558
4565
|
delete(request?: {
|
|
4559
4566
|
/** V1 error format. */
|
|
@@ -4873,8 +4880,9 @@ declare namespace gapi.client {
|
|
|
4873
4880
|
},
|
|
4874
4881
|
body: Routine,
|
|
4875
4882
|
): Request<Routine>;
|
|
4876
|
-
}
|
|
4877
|
-
|
|
4883
|
+
};
|
|
4884
|
+
|
|
4885
|
+
const rowAccessPolicies: {
|
|
4878
4886
|
/** Deletes provided row access policies. # IAM Permissions Requires the following IAM permission(s) on the table: - `bigquery.rowAccessPolicies.delete` - `bigquery.rowAccessPolicies.setIamPolicy` */
|
|
4879
4887
|
batchDelete(request: {
|
|
4880
4888
|
/** V1 error format. */
|
|
@@ -5240,8 +5248,9 @@ declare namespace gapi.client {
|
|
|
5240
5248
|
},
|
|
5241
5249
|
body: RowAccessPolicy,
|
|
5242
5250
|
): Request<RowAccessPolicy>;
|
|
5243
|
-
}
|
|
5244
|
-
|
|
5251
|
+
};
|
|
5252
|
+
|
|
5253
|
+
const tabledata: {
|
|
5245
5254
|
/** Streams data into BigQuery one record at a time without needing to run a load job. # IAM Permissions Requires the following IAM permission(s) to use this method: - `bigquery.tables.updateData` on the table. - `bigquery.tables.get` on the table. - `bigquery.datasets.get` on the dataset. */
|
|
5246
5255
|
insertAll(request: {
|
|
5247
5256
|
/** V1 error format. */
|
|
@@ -5355,8 +5364,9 @@ declare namespace gapi.client {
|
|
|
5355
5364
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5356
5365
|
uploadType?: string;
|
|
5357
5366
|
}): Request<TableDataList>;
|
|
5358
|
-
}
|
|
5359
|
-
|
|
5367
|
+
};
|
|
5368
|
+
|
|
5369
|
+
const tables: {
|
|
5360
5370
|
/** Deletes the table specified by tableId from the dataset. If the table contains data, all the data will be deleted. # IAM Permissions Requires the `bigquery.tables.delete` permission on the table. */
|
|
5361
5371
|
delete(request?: {
|
|
5362
5372
|
/** V1 error format. */
|
|
@@ -5752,22 +5762,6 @@ declare namespace gapi.client {
|
|
|
5752
5762
|
},
|
|
5753
5763
|
body: Table,
|
|
5754
5764
|
): Request<Table>;
|
|
5755
|
-
}
|
|
5756
|
-
|
|
5757
|
-
const datasets: DatasetsResource;
|
|
5758
|
-
|
|
5759
|
-
const jobs: JobsResource;
|
|
5760
|
-
|
|
5761
|
-
const models: ModelsResource;
|
|
5762
|
-
|
|
5763
|
-
const projects: ProjectsResource;
|
|
5764
|
-
|
|
5765
|
-
const routines: RoutinesResource;
|
|
5766
|
-
|
|
5767
|
-
const rowAccessPolicies: RowAccessPoliciesResource;
|
|
5768
|
-
|
|
5769
|
-
const tabledata: TabledataResource;
|
|
5770
|
-
|
|
5771
|
-
const tables: TablesResource;
|
|
5765
|
+
};
|
|
5772
5766
|
}
|
|
5773
5767
|
}
|