Skip to content

Commit

Permalink
feat(bigquery): update the API
Browse files Browse the repository at this point in the history
#### bigquery:v2

The following keys were added:
- schemas.DestinationTableProperties.properties.expirationTimestampMillis.description
- schemas.DestinationTableProperties.properties.expirationTimestampMillis.format
- schemas.DestinationTableProperties.properties.expirationTimestampMillis.type
  • Loading branch information
yoshi-automation authored and bcoe committed Oct 18, 2021
1 parent cd06f5a commit 0de2e24
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 6 additions & 1 deletion discovery/bigquery-v2.json
Expand Up @@ -1683,7 +1683,7 @@
}
}
},
"revision": "20210919",
"revision": "20210927",
"rootUrl": "https://bigquery.googleapis.com/",
"schemas": {
"AggregateClassificationMetrics": {
Expand Down Expand Up @@ -2902,6 +2902,11 @@
"description": "[Optional] The description for the destination table. This will only be used if the destination table is newly created. If the table already exists and a value different than the current description is provided, the job will fail.",
"type": "string"
},
"expirationTimestampMillis": {
"description": "[Optional] The expiration timestamp for the destination table. If this field is set: For a new table, it will set the table's expiration time (even if there is a dataset level default table expiration time). For an existing table, it will update the table's expiration time. If this field is not set: For a new table, if dataset level default table expiration time is present, that will be applied. For an existing table, no change is made to the table's expiration time. Additionally this field is only applied when data is written to an empty table (WRITE_EMPTY) or data is overwritten to a table (WRITE_TRUNCATE).",
"format": "int64",
"type": "string"
},
"friendlyName": {
"description": "[Optional] The friendly name for the destination table. This will only be used if the destination table is newly created. If the table already exists and a value different than the current friendly name is provided, the job will fail.",
"type": "string"
Expand Down
4 changes: 4 additions & 0 deletions src/apis/bigquery/v2.ts
Expand Up @@ -879,6 +879,10 @@ export namespace bigquery_v2 {
* [Optional] The description for the destination table. This will only be used if the destination table is newly created. If the table already exists and a value different than the current description is provided, the job will fail.
*/
description?: string | null;
/**
* [Optional] The expiration timestamp for the destination table. If this field is set: For a new table, it will set the table's expiration time (even if there is a dataset level default table expiration time). For an existing table, it will update the table's expiration time. If this field is not set: For a new table, if dataset level default table expiration time is present, that will be applied. For an existing table, no change is made to the table's expiration time. Additionally this field is only applied when data is written to an empty table (WRITE_EMPTY) or data is overwritten to a table (WRITE_TRUNCATE).
*/
expirationTimestampMillis?: string | null;
/**
* [Optional] The friendly name for the destination table. This will only be used if the destination table is newly created. If the table already exists and a value different than the current friendly name is provided, the job will fail.
*/
Expand Down

0 comments on commit 0de2e24

Please sign in to comment.