@maxim_mazurok/gapi.client.bigquery-v2 0.0.20250128 → 0.0.20250216

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +31 -7
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://bigquery.googleapis.com/$discovery/rest?version=v2
12
- // Revision: 20250128
12
+ // Revision: 20250216
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -37,7 +37,7 @@ declare namespace gapi.client {
37
37
  recall?: number;
38
38
  /** Area Under a ROC Curve. For multiclass this is a macro-averaged metric. */
39
39
  rocAuc?: number;
40
- /** 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. */
40
+ /** 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. */
41
41
  threshold?: number;
42
42
  }
43
43
  interface AggregationThresholdPolicy {
@@ -732,7 +732,11 @@ declare namespace gapi.client {
732
732
  connectionId?: string;
733
733
  /** Optional. Additional properties to set if sourceFormat is set to CSV. */
734
734
  csvOptions?: CsvOptions;
735
- /** 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. */
735
+ /** Optional. Format used to parse DATE values. Supports C-style and SQL-style values. */
736
+ dateFormat?: string;
737
+ /** Optional. Format used to parse DATETIME values. Supports C-style and SQL-style values. */
738
+ datetimeFormat?: string;
739
+ /** 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. */
736
740
  decimalTargetTypes?: string[];
737
741
  /** Optional. Specifies how source URIs are interpreted for constructing the file set to load. By default source URIs are expanded against the underlying storage. Other options include specifying manifest files. Only applicable to object storage systems. */
738
742
  fileSetSpecType?: string;
@@ -762,6 +766,12 @@ declare namespace gapi.client {
762
766
  sourceFormat?: string;
763
767
  /** [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. */
764
768
  sourceUris?: string[];
769
+ /** Optional. Format used to parse TIME values. Supports C-style and SQL-style values. */
770
+ timeFormat?: string;
771
+ /** Optional. Format used to parse TIMESTAMP values. Supports C-style and SQL-style values. */
772
+ timestampFormat?: string;
773
+ /** 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). */
774
+ timeZone?: string;
765
775
  }
766
776
  interface ExternalDatasetReference {
767
777
  /** Required. The connection id that is used to access the external_source. Format: projects/{project_id}/locations/{location_id}/connections/{connection_id} */
@@ -1084,7 +1094,11 @@ declare namespace gapi.client {
1084
1094
  createDisposition?: string;
1085
1095
  /** Optional. If this property is true, the job creates a new session using a randomly generated session_id. To continue using a created session with subsequent queries, pass the existing session identifier as a `ConnectionProperty` value. The session identifier is returned as part of the `SessionInfo` message within the query statistics. The new session's location will be set to `Job.JobReference.location` if it is present, otherwise it's set to the default location based on existing routing logic. */
1086
1096
  createSession?: boolean;
1087
- /** 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. */
1097
+ /** Optional. Date format used for parsing DATE values. */
1098
+ dateFormat?: string;
1099
+ /** Optional. Date format used for parsing DATETIME values. */
1100
+ datetimeFormat?: string;
1101
+ /** 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. */
1088
1102
  decimalTargetTypes?: string[];
1089
1103
  /** Custom encryption configuration (e.g., Cloud KMS keys) */
1090
1104
  destinationEncryptionConfiguration?: EncryptionConfiguration;
@@ -1134,8 +1148,14 @@ declare namespace gapi.client {
1134
1148
  sourceFormat?: string;
1135
1149
  /** [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. */
1136
1150
  sourceUris?: string[];
1151
+ /** Optional. Date format used for parsing TIME values. */
1152
+ timeFormat?: string;
1137
1153
  /** Time-based partitioning specification for the destination table. Only one of timePartitioning and rangePartitioning should be specified. */
1138
1154
  timePartitioning?: TimePartitioning;
1155
+ /** Optional. Date format used for parsing TIMESTAMP values. */
1156
+ timestampFormat?: string;
1157
+ /** Optional. [Experimental] Default time zone that will apply when parsing timestamp values that have no specific time zone. */
1158
+ timeZone?: string;
1139
1159
  /** 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). */
1140
1160
  useAvroLogicalTypes?: boolean;
1141
1161
  /** Optional. Specifies the action that occurs if the destination table already exists. The following values are supported: * WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the data, removes the constraints and uses the schema from the load job. * WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. * WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. The default value is WRITE_APPEND. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion. */
@@ -1755,12 +1775,16 @@ declare namespace gapi.client {
1755
1775
  createSession?: boolean;
1756
1776
  /** 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'. */
1757
1777
  defaultDataset?: DatasetReference;
1778
+ /** Optional. Custom encryption configuration (e.g., Cloud KMS keys) */
1779
+ destinationEncryptionConfiguration?: EncryptionConfiguration;
1758
1780
  /** 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. */
1759
1781
  dryRun?: boolean;
1760
1782
  /** Optional. Output format adjustments. */
1761
1783
  formatOptions?: DataFormatOptions;
1762
1784
  /** Optional. If not set, jobs are always required. If set, the query request will follow the behavior described JobCreationMode. [Preview](https://cloud.google.com/products/#product-launch-stages) */
1763
1785
  jobCreationMode?: string;
1786
+ /** 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. */
1787
+ jobTimeoutMs?: string;
1764
1788
  /** The resource type of the request. */
1765
1789
  kind?: string;
1766
1790
  /** Optional. The labels associated with this query. Labels can be used to organize and group query jobs. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label keys must start with a letter and each label in the list must have a different key. */
@@ -2441,7 +2465,7 @@ declare namespace gapi.client {
2441
2465
  type?: string;
2442
2466
  /** Information about a logical view. */
2443
2467
  view?: {
2444
- /** Specifices the privacy policy for the view. */
2468
+ /** Specifies the privacy policy for the view. */
2445
2469
  privacyPolicy?: PrivacyPolicy;
2446
2470
  /** True if view is defined in legacy SQL dialect, false if in GoogleSQL. */
2447
2471
  useLegacySql?: boolean;
@@ -2751,7 +2775,7 @@ declare namespace gapi.client {
2751
2775
  interface ViewDefinition {
2752
2776
  /** Optional. Foreign view representations. */
2753
2777
  foreignDefinitions?: ForeignViewDefinition[];
2754
- /** Optional. Specifices the privacy policy for the view. */
2778
+ /** Optional. Specifies the privacy policy for the view. */
2755
2779
  privacyPolicy?: PrivacyPolicy;
2756
2780
  /** Required. A query that BigQuery executes when the view is referenced. */
2757
2781
  query?: string;
@@ -2903,7 +2927,7 @@ declare namespace gapi.client {
2903
2927
  callback?: string;
2904
2928
  /** Selector specifying which fields to include in a partial response. */
2905
2929
  fields?: string;
2906
- /** 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. */
2930
+ /** 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. */
2907
2931
  filter?: string;
2908
2932
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2909
2933
  key?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.bigquery-v2",
3
- "version": "0.0.20250128",
3
+ "version": "0.0.20250216",
4
4
  "description": "TypeScript typings for BigQuery API v2",
5
5
  "repository": {
6
6
  "type": "git",