You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/types.d.ts
+47-5Lines changed: 47 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
// limitations under the License.
14
14
15
15
/**
16
-
* Discovery Revision: 20250912
16
+
* Discovery Revision: 20251102
17
17
*/
18
18
19
19
/**
@@ -458,7 +458,7 @@ declare namespace bigquery {
458
458
*/
459
459
typeIBigtableColumn={
460
460
/**
461
-
* Optional. The encoding of the values when the type is not STRING. Acceptable encoding values are: TEXT - indicates values are alphanumeric text strings. BINARY - indicates values are encoded using HBase Bytes.toBytes family of functions. 'encoding' can also be set at the column family level. However, the setting at this level takes precedence if 'encoding' is set at both levels.
461
+
* Optional. The encoding of the values when the type is not STRING. Acceptable encoding values are: TEXT - indicates values are alphanumeric text strings. BINARY - indicates values are encoded using HBase Bytes.toBytes family of functions. PROTO_BINARY - indicates values are encoded using serialized proto messages. This can only be used in combination with JSON type. 'encoding' can also be set at the column family level. However, the setting at this level takes precedence if 'encoding' is set at both levels.
462
462
*/
463
463
encoding?: string;
464
464
/**
@@ -469,6 +469,10 @@ declare namespace bigquery {
469
469
* Optional. If this is set, only the latest version of value in this column are exposed. 'onlyReadLatest' can also be set at the column family level. However, the setting at this level takes precedence if 'onlyReadLatest' is set at both levels.
470
470
*/
471
471
onlyReadLatest?: boolean;
472
+
/**
473
+
* Optional. Protobuf-specific configurations, only takes effect when the encoding is PROTO_BINARY.
474
+
*/
475
+
protoConfig?: IBigtableProtoConfig;
472
476
/**
473
477
* [Required] Qualifier of the column. Columns in the parent column family that has this exact qualifier are exposed as `.` field. If the qualifier is valid UTF-8 string, it can be specified in the qualifier_string field. Otherwise, a base-64 encoded value must be set to qualifier_encoded. The column field name is the same as the column qualifier. However, if the qualifier is not a valid BigQuery field identifier i.e. does not match a-zA-Z*, a valid identifier must be provided as field_name.
474
478
*/
@@ -492,7 +496,7 @@ declare namespace bigquery {
492
496
*/
493
497
columns?: Array<IBigtableColumn>;
494
498
/**
495
-
* Optional. The encoding of the values when the type is not STRING. Acceptable encoding values are: TEXT - indicates values are alphanumeric text strings. BINARY - indicates values are encoded using HBase Bytes.toBytes family of functions. This can be overridden for a specific column by listing that column in 'columns' and specifying an encoding for it.
499
+
* Optional. The encoding of the values when the type is not STRING. Acceptable encoding values are: TEXT - indicates values are alphanumeric text strings. BINARY - indicates values are encoded using HBase Bytes.toBytes family of functions. PROTO_BINARY - indicates values are encoded using serialized proto messages. This can only be used in combination with JSON type. This can be overridden for a specific column by listing that column in 'columns' and specifying an encoding for it.
496
500
*/
497
501
encoding?: string;
498
502
/**
@@ -503,6 +507,10 @@ declare namespace bigquery {
503
507
* Optional. If this is set only the latest version of value are exposed for all columns in this column family. This can be overridden for a specific column by listing that column in 'columns' and specifying a different setting for that column.
504
508
*/
505
509
onlyReadLatest?: boolean;
510
+
/**
511
+
* Optional. Protobuf-specific configurations, only takes effect when the encoding is PROTO_BINARY.
512
+
*/
513
+
protoConfig?: IBigtableProtoConfig;
506
514
/**
507
515
* Optional. The type to convert the value in cells of this column family. The values are expected to be encoded using HBase Bytes.toBytes function when using the BINARY encoding value. Following BigQuery types are allowed (case-sensitive): * BYTES * STRING * INTEGER * FLOAT * BOOLEAN * JSON Default type is BYTES. This can be overridden for a specific column by listing that column in 'columns' and specifying a type for it.
508
516
*/
@@ -531,6 +539,20 @@ declare namespace bigquery {
531
539
readRowkeyAsString?: boolean;
532
540
};
533
541
542
+
/**
543
+
* Information related to a Bigtable protobuf column.
544
+
*/
545
+
typeIBigtableProtoConfig={
546
+
/**
547
+
* Optional. The fully qualified proto message name of the protobuf. In the format of "foo.bar.Message".
548
+
*/
549
+
protoMessageName?: string;
550
+
/**
551
+
* Optional. The ID of the Bigtable SchemaBundle resource associated with this protobuf. The ID should be referred to within the parent table, e.g., `foo` rather than `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/foo`.
552
+
*/
553
+
schemaBundleId?: string;
554
+
};
555
+
534
556
/**
535
557
* Evaluation metrics for binary classification/classifier models.
* Optional. Format used to parse TIMESTAMP values. Supports C-style and SQL-style values.
1707
1729
*/
1708
1730
timestampFormat?: string;
1731
+
/**
1732
+
* 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.
* 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.
2437
+
* 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.
* Optional. Date format used for parsing TIMESTAMP values.
2644
2674
*/
2645
2675
timestampFormat?: string;
2676
+
/**
2677
+
* 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.
2678
+
*/
2679
+
timestampTargetPrecision?: Array<number>;
2646
2680
/**
2647
2681
* 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).
* Output only. Quotas which delayed this job's start time.
2975
3009
*/
2976
3010
quotaDeferments?: Array<string>;
3011
+
/**
3012
+
* 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.
3013
+
*/
3014
+
reservationGroupPath?: Array<string>;
2977
3015
/**
2978
3016
* Output only. Job resource usage breakdown by reservation. This field reported misleading information and will no longer be populated.
* 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.
4165
+
* 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.
* 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)
5568
+
*/
5569
+
timestampPrecision?: string;
5528
5570
/**
5529
5571
* 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.
0 commit comments