Skip to content

Commit d2e3953

Browse files
chore: pin promisify to 4.0.0 (#1450)
* chore: pin promisify to 4.0.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 37be3bb commit d2e3953

File tree

2 files changed

+57
-9
lines changed

2 files changed

+57
-9
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"@google-cloud/common": "^5.0.0",
5252
"@google-cloud/paginator": "^5.0.2",
5353
"@google-cloud/precise-date": "^4.0.0",
54-
"@google-cloud/promisify": "^4.0.0",
54+
"@google-cloud/promisify": "4.0.0",
5555
"arrify": "^2.0.1",
5656
"big.js": "^6.0.0",
5757
"duplexify": "^4.0.0",

src/types.d.ts

Lines changed: 56 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// limitations under the License.
1414

1515
/**
16-
* Discovery Revision: 20250128
16+
* Discovery Revision: 20250216
1717
*/
1818

1919
/**
@@ -49,7 +49,7 @@ declare namespace bigquery {
4949
*/
5050
rocAuc?: number;
5151
/**
52-
* Threshold at which the metrics are computed. For binary classification models this is the positive class threshold. For multi-class classfication models this is the confidence threshold.
52+
* Threshold at which the metrics are computed. For binary classification models this is the positive class threshold. For multi-class classification models this is the confidence threshold.
5353
*/
5454
threshold?: number;
5555
};
@@ -1596,7 +1596,15 @@ declare namespace bigquery {
15961596
*/
15971597
csvOptions?: ICsvOptions;
15981598
/**
1599-
* 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 exeeds 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.
1599+
* Optional. Format used to parse DATE values. Supports C-style and SQL-style values.
1600+
*/
1601+
dateFormat?: string;
1602+
/**
1603+
* Optional. Format used to parse DATETIME values. Supports C-style and SQL-style values.
1604+
*/
1605+
datetimeFormat?: string;
1606+
/**
1607+
* 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.
16001608
*/
16011609
decimalTargetTypes?: Array<
16021610
'DECIMAL_TARGET_TYPE_UNSPECIFIED' | 'NUMERIC' | 'BIGNUMERIC' | 'STRING'
@@ -1662,6 +1670,18 @@ declare namespace bigquery {
16621670
* [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.
16631671
*/
16641672
sourceUris?: Array<string>;
1673+
/**
1674+
* Optional. Format used to parse TIME values. Supports C-style and SQL-style values.
1675+
*/
1676+
timeFormat?: string;
1677+
/**
1678+
* 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).
1679+
*/
1680+
timeZone?: string;
1681+
/**
1682+
* Optional. Format used to parse TIMESTAMP values. Supports C-style and SQL-style values.
1683+
*/
1684+
timestampFormat?: string;
16651685
};
16661686

16671687
/**
@@ -2389,7 +2409,15 @@ declare namespace bigquery {
23892409
*/
23902410
createSession?: boolean;
23912411
/**
2392-
* 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 exeeds 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.
2412+
* Optional. Date format used for parsing DATE values.
2413+
*/
2414+
dateFormat?: string;
2415+
/**
2416+
* Optional. Date format used for parsing DATETIME values.
2417+
*/
2418+
datetimeFormat?: string;
2419+
/**
2420+
* 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.
23932421
*/
23942422
decimalTargetTypes?: Array<
23952423
'DECIMAL_TARGET_TYPE_UNSPECIFIED' | 'NUMERIC' | 'BIGNUMERIC' | 'STRING'
@@ -2492,10 +2520,22 @@ declare namespace bigquery {
24922520
* [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.
24932521
*/
24942522
sourceUris?: Array<string>;
2523+
/**
2524+
* Optional. Date format used for parsing TIME values.
2525+
*/
2526+
timeFormat?: string;
24952527
/**
24962528
* Time-based partitioning specification for the destination table. Only one of timePartitioning and rangePartitioning should be specified.
24972529
*/
24982530
timePartitioning?: ITimePartitioning;
2531+
/**
2532+
* Optional. [Experimental] Default time zone that will apply when parsing timestamp values that have no specific time zone.
2533+
*/
2534+
timeZone?: string;
2535+
/**
2536+
* Optional. Date format used for parsing TIMESTAMP values.
2537+
*/
2538+
timestampFormat?: string;
24992539
/**
25002540
* 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).
25012541
*/
@@ -3369,7 +3409,7 @@ declare namespace bigquery {
33693409
};
33703410

33713411
/**
3372-
* Statistics for metadata caching in BigLake tables.
3412+
* Statistics for metadata caching in queried tables.
33733413
*/
33743414
type IMetadataCacheStatistics = {
33753415
/**
@@ -3893,6 +3933,10 @@ declare namespace bigquery {
38933933
* Optional. Specifies the default datasetId and projectId to assume for any unqualified table names in the query. If not set, all table names in the query string must be qualified in the format 'datasetId.tableId'.
38943934
*/
38953935
defaultDataset?: IDatasetReference;
3936+
/**
3937+
* Optional. Custom encryption configuration (e.g., Cloud KMS keys)
3938+
*/
3939+
destinationEncryptionConfiguration?: IEncryptionConfiguration;
38963940
/**
38973941
* Optional. If set to true, BigQuery doesn't run the job. Instead, if the query is valid, BigQuery returns statistics about the job such as how many bytes would be processed. If the query is invalid, an error returns. The default value is false.
38983942
*/
@@ -3908,6 +3952,10 @@ declare namespace bigquery {
39083952
| 'JOB_CREATION_MODE_UNSPECIFIED'
39093953
| 'JOB_CREATION_REQUIRED'
39103954
| 'JOB_CREATION_OPTIONAL';
3955+
/**
3956+
* 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.
3957+
*/
3958+
jobTimeoutMs?: string;
39113959
/**
39123960
* The resource type of the request.
39133961
*/
@@ -5381,7 +5429,7 @@ declare namespace bigquery {
53815429
*/
53825430
view?: {
53835431
/**
5384-
* Specifices the privacy policy for the view.
5432+
* Specifies the privacy policy for the view.
53855433
*/
53865434
privacyPolicy?: IPrivacyPolicy;
53875435
/**
@@ -6232,7 +6280,7 @@ declare namespace bigquery {
62326280
*/
62336281
foreignDefinitions?: Array<IForeignViewDefinition>;
62346282
/**
6235-
* Optional. Specifices the privacy policy for the view.
6283+
* Optional. Specifies the privacy policy for the view.
62366284
*/
62376285
privacyPolicy?: IPrivacyPolicy;
62386286
/**
@@ -6297,7 +6345,7 @@ declare namespace bigquery {
62976345
*/
62986346
all?: boolean;
62996347
/**
6300-
* An expression for filtering the results of the request by label. The syntax is `labels.[:]`. Multiple filters can be ANDed together by connecting with a space. Example: `labels.department:receiving labels.active`. See [Filtering datasets using labels](https://cloud.google.com/bigquery/docs/filtering-labels#filtering_datasets_using_labels) for details.
6348+
* An expression for filtering the results of the request by label. The syntax is `labels.[:]`. Multiple filters can be AND-ed together by connecting with a space. Example: `labels.department:receiving labels.active`. See [Filtering datasets using labels](https://cloud.google.com/bigquery/docs/filtering-labels#filtering_datasets_using_labels) for details.
63016349
*/
63026350
filter?: string;
63036351
/**

0 commit comments

Comments
 (0)