Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: [node] add auto-approve templates, and install dependencies with engines-strict #1369

6 changes: 3 additions & 3 deletions .github/.OwlBot.lock.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 Google LLC
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -13,5 +13,5 @@
# limitations under the License.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest
digest: sha256:e92044720ab3cb6984a70b0c6001081204375959ba3599ef6c42dd99a7783a67
# created: 2023-11-10T00:24:05.581078808Z
digest: sha256:68e1cece0d6d3336c4f1cb9d2857b020af5574dff6da6349293d1c6d4eea82d8
# created: 2024-05-31T15:46:42.989947733Z
3 changes: 2 additions & 1 deletion .github/auto-approve.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
processes:
- "NodeDependency"
- "OwlBotTemplateChanges"
- "OwlBotTemplateChangesNode"
- "OwlBotPRsNode"
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- run: npm install --production --engine-strict --ignore-scripts --no-package-lock
# Clean up the production install, before installing dev/production:
- run: rm -rf node_modules
- run: npm install
- run: npm install --engine-strict
- run: npm test
env:
MOCHA_THROW_DEPRECATION: false
Expand All @@ -33,7 +33,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 14
- run: npm install
- run: npm install --engine-strict
- run: npm test
env:
MOCHA_THROW_DEPRECATION: false
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"jsdoc": "^4.0.0",
"jsdoc-fresh": "^3.0.0",
"jsdoc-region-tag": "^3.0.0",
"linkinator": "^5.0.0",
"linkinator": "^3.0.0",
"mocha": "^9.2.2",
"pack-n-play": "^2.0.0",
"prettier": "^3.0.0",
Expand Down
44 changes: 39 additions & 5 deletions src/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ declare namespace bigquery {
*/
defaultCollation?: string;
/**
* The default encryption key for all tables in the dataset. Once this property is set, all newly-created partitioned tables in the dataset will have encryption key set to this value, unless table creation request (or query) overrides the key.
* The default encryption key for all tables in the dataset. After this property is set, the encryption key of all newly-created tables in the dataset is set to this value unless the table creation request or query explicitly overrides the key.
*/
defaultEncryptionConfiguration?: IEncryptionConfiguration;
/**
Expand Down Expand Up @@ -978,6 +978,10 @@ declare namespace bigquery {
* Optional. Defines the time travel window in hours. The value can be from 48 to 168 hours (2 to 7 days). The default value is 168 hours if this is not set.
*/
maxTimeTravelHours?: string;
/**
* Optional. The [tags](/bigquery/docs/tags) attached to this dataset. Tag keys are globally unique. Tag key is expected to be in the namespaced format, for example "123456789012/environment" where 123456789012 is the ID of the parent organization or project resource for this tag key. Tag value is expected to be the short name, for example "Production". See [Tag definitions](/iam/docs/tags-access-control#definitions) for more details.
*/
resourceTags?: {[key: string]: string};
/**
* Optional. Output only. Restriction config for all tables and dataset. If set, restrict certain accesses on the dataset and all its tables based on the config. See [Data egress](/bigquery/docs/analytics-hub-introduction#data_egress) for more details.
*/
Expand Down Expand Up @@ -1687,6 +1691,20 @@ declare namespace bigquery {
typeSystem?: 'TYPE_SYSTEM_UNSPECIFIED' | 'HIVE';
};

/**
* A view can be represented in multiple ways. Each representation has its own dialect. This message stores the metadata required for these representations.
*/
type IForeignViewDefinition = {
/**
* Optional. Represents the dialect of the query.
*/
dialect?: string;
/**
* Required. The query that defines the view.
*/
query?: string;
};

/**
* Request message for `GetIamPolicy` method.
*/
Expand Down Expand Up @@ -2217,7 +2235,7 @@ declare namespace bigquery {
*/
extract?: IJobConfigurationExtract;
/**
* Optional. Job timeout in milliseconds. If this time limit is exceeded, BigQuery might attempt to stop the job.
* 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.
*/
jobTimeoutMs?: string;
/**
Expand Down Expand Up @@ -2304,6 +2322,14 @@ declare namespace bigquery {
* Clustering specification for the destination table.
*/
clustering?: IClustering;
/**
* 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.
*/
columnNameCharacterMap?:
| 'COLUMN_NAME_CHARACTER_MAP_UNSPECIFIED'
| 'STRICT'
| 'V1'
| 'V2';
/**
* 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.
*/
Expand Down Expand Up @@ -3534,7 +3560,7 @@ declare namespace bigquery {
*/
enumAsString?: boolean;
/**
* Optional. Will indicate how to represent a parquet map if present.
* Optional. Indicates how to represent a Parquet map if present.
*/
mapTargetType?: 'MAP_TARGET_TYPE_UNSPECIFIED' | 'ARRAY_OF_STRUCT';
};
Expand Down Expand Up @@ -4827,6 +4853,10 @@ declare namespace bigquery {
* Output only. The size of this table in logical bytes, excluding any data in the streaming buffer.
*/
numBytes?: string;
/**
* Output only. Number of physical bytes used by current live data storage. This data is not kept in real time, and might be delayed by a few seconds to a few minutes.
*/
numCurrentPhysicalBytes?: string;
/**
* Output only. The number of logical bytes in the table that are considered "long-term storage".
*/
Expand Down Expand Up @@ -5281,7 +5311,7 @@ declare namespace bigquery {
*/
replicationError?: IErrorProto;
/**
* Required. Specifies the interval at which the source table is polled for updates.
* Optional. Specifies the interval at which the source table is polled for updates. It's Optional. If not specified, default replication interval would be applied.
*/
replicationIntervalMs?: string;
/**
Expand Down Expand Up @@ -5985,7 +6015,7 @@ declare namespace bigquery {
*/
type IUndeleteDatasetRequest = {
/**
* Optional. The exact time when the dataset was deleted. If not specified, the most recently deleted version is undeleted.
* Optional. The exact time when the dataset was deleted. If not specified, the most recently deleted version is undeleted. Undeleting a dataset using deletion time is not supported.
*/
deletionTime?: string;
};
Expand Down Expand Up @@ -6026,6 +6056,10 @@ declare namespace bigquery {
* Describes the definition of a logical view.
*/
type IViewDefinition = {
/**
* Optional. Foreign view representations.
*/
foreignDefinitions?: Array<IForeignViewDefinition>;
/**
* Optional. Specifices the privacy policy for the view.
*/
Expand Down
Loading