Skip to content

Commit 2396bf9

Browse files
chore: update types from Discovery
1 parent d48b4e1 commit 2396bf9

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

src/types.d.ts

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

1515
/**
16-
* Discovery Revision: 20250912
16+
* Discovery Revision: 20250928
1717
*/
1818

1919
/**
@@ -1706,6 +1706,10 @@ declare namespace bigquery {
17061706
* Optional. Format used to parse TIMESTAMP values. Supports C-style and SQL-style values.
17071707
*/
17081708
timestampFormat?: string;
1709+
/**
1710+
* Precisions (maximum number of total digits in base 10) for seconds of TIMESTAMP types that are allowed to the destination table for autodetection mode. Available for the formats: CSV. For the CSV Format, Possible values include: Not Specified, [], or [6]: timestamp(6) for all auto detected TIMESTAMP columns [6, 12]: timestamp(6) for all auto detected TIMESTAMP columns that have less than 6 digits of subseconds. timestamp(12) for all auto detected TIMESTAMP columns that have more than 6 digits of subseconds. [12]: timestamp(12) for all auto detected TIMESTAMP columns. The order of the elements in this array is ignored. Inputs that have higher precision than the highest target precision in this array will be truncated.
1711+
*/
1712+
timestampTargetPrecision?: Array<number>;
17091713
};
17101714

17111715
/**
@@ -2404,7 +2408,7 @@ declare namespace bigquery {
24042408
*/
24052409
load?: IJobConfigurationLoad;
24062410
/**
2407-
* Optional. INTERNAL: DO NOT USE. The maximum rate of slot consumption to allow for this job. If set, the number of slots used to execute the job will be throttled to try and keep its slot consumption below the requested rate.
2411+
* Optional. A target limit on the rate of slot consumption by this job. If set to a value > 0, BigQuery will attempt to limit the rate of slot consumption by this job to keep it below the configured limit, even if the job is eligible for more slots based on fair scheduling. The unused slots will be available for other jobs and queries to use. Note: This feature is not yet generally available.
24082412
*/
24092413
maxSlots?: number;
24102414
/**
@@ -2643,6 +2647,10 @@ declare namespace bigquery {
26432647
* Optional. Date format used for parsing TIMESTAMP values.
26442648
*/
26452649
timestampFormat?: string;
2650+
/**
2651+
* Precisions (maximum number of total digits in base 10) for seconds of TIMESTAMP types that are allowed to the destination table for autodetection mode. Available for the formats: CSV. For the CSV Format, Possible values include: Not Specified, [], or [6]: timestamp(6) for all auto detected TIMESTAMP columns [6, 12]: timestamp(6) for all auto detected TIMESTAMP columns that have less than 6 digits of subseconds. timestamp(12) for all auto detected TIMESTAMP columns that have more than 6 digits of subseconds. [12]: timestamp(12) for all auto detected TIMESTAMP columns. The order of the elements in this array is ignored. Inputs that have higher precision than the highest target precision in this array will be truncated.
2652+
*/
2653+
timestampTargetPrecision?: Array<number>;
26462654
/**
26472655
* 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).
26482656
*/
@@ -2974,6 +2982,10 @@ declare namespace bigquery {
29742982
* Output only. Quotas which delayed this job's start time.
29752983
*/
29762984
quotaDeferments?: Array<string>;
2985+
/**
2986+
* Output only. The reservation group path of the reservation assigned to this job. This field has a limit of 10 nested reservation groups. This is to maintain consistency between reservatins info schema and jobs info schema. The first reservation group is the root reservation group and the last is the leaf or lowest level reservation group.
2987+
*/
2988+
reservationGroupPath?: Array<string>;
29772989
/**
29782990
* Output only. Job resource usage breakdown by reservation. This field reported misleading information and will no longer be populated.
29792991
*/
@@ -4124,7 +4136,7 @@ declare namespace bigquery {
41244136
*/
41254137
maxResults?: number;
41264138
/**
4127-
* Optional. INTERNAL: DO NOT USE. The maximum rate of slot consumption to allow for this job. If set, the number of slots used to execute the job will be throttled to try and keep its slot consumption below the requested rate. This limit is best effort.
4139+
* Optional. A target limit on the rate of slot consumption by this query. If set to a value > 0, BigQuery will attempt to limit the rate of slot consumption by this query to keep it below the configured limit, even if the query is eligible for more slots based on fair scheduling. The unused slots will be available for other jobs and queries to use. Note: This feature is not yet generally available.
41284140
*/
41294141
maxSlots?: number;
41304142
/**
@@ -5525,6 +5537,10 @@ declare namespace bigquery {
55255537
* Optional. See documentation for precision.
55265538
*/
55275539
scale?: string;
5540+
/**
5541+
* Optional. Precision (maximum number of total digits in base 10) for seconds of TIMESTAMP type. Possible values include: * 6 (Default, for TIMESTAMP type with microsecond precision) * 12 (For TIMESTAMP type with picosecond precision)
5542+
*/
5543+
timestampPrecision?: string;
55285544
/**
55295545
* Required. The field data type. Possible values include: * STRING * BYTES * INTEGER (or INT64) * FLOAT (or FLOAT64) * BOOLEAN (or BOOL) * TIMESTAMP * DATE * TIME * DATETIME * GEOGRAPHY * NUMERIC * BIGNUMERIC * JSON * RECORD (or STRUCT) * RANGE Use of RECORD/STRUCT indicates that the field contains a nested schema.
55305546
*/

0 commit comments

Comments
 (0)