@maxim_mazurok/gapi.client.bigquery-v2 0.0.20240423 → 0.0.20240526

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 +19 -5
  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: 20240423
12
+ // Revision: 20240526
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -406,7 +406,7 @@ declare namespace gapi.client {
406
406
  datasetReference?: DatasetReference;
407
407
  /** Optional. Defines the default collation specification of future tables created in the dataset. If a table is created in this dataset without table-level default collation, then the table inherits the dataset default collation, which is applied to the string fields that do not have explicit collation specified. A change to this field affects only tables created afterwards, and does not alter the existing tables. The following values are supported: * 'und:ci': undetermined locale, case insensitive. * '': empty string. Default to case-sensitive behavior. */
408
408
  defaultCollation?: string;
409
- /** 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. */
409
+ /** 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. */
410
410
  defaultEncryptionConfiguration?: EncryptionConfiguration;
411
411
  /** This default partition expiration, expressed in milliseconds. When new time-partitioned tables are created in a dataset where this property is set, the table will inherit this value, propagated as the `TimePartitioning.expirationMs` property on the new table. If you set `TimePartitioning.expirationMs` explicitly when creating a table, the `defaultPartitionExpirationMs` of the containing dataset is ignored. When creating a partitioned table, if `defaultPartitionExpirationMs` is set, the `defaultTableExpirationMs` value is ignored and the table will not be inherit a table expiration deadline. */
412
412
  defaultPartitionExpirationMs?: string;
@@ -442,6 +442,8 @@ declare namespace gapi.client {
442
442
  location?: string;
443
443
  /** 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. */
444
444
  maxTimeTravelHours?: string;
445
+ /** 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. */
446
+ resourceTags?: {[P in string]: string};
445
447
  /** 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. */
446
448
  restrictions?: RestrictionConfig;
447
449
  /** Output only. Reserved for future use. */
@@ -779,6 +781,12 @@ declare namespace gapi.client {
779
781
  /** Required. Specifies the system which defines the foreign data type. */
780
782
  typeSystem?: string;
781
783
  }
784
+ interface ForeignViewDefinition {
785
+ /** Optional. Represents the dialect of the query. */
786
+ dialect?: string;
787
+ /** Required. The query that defines the view. */
788
+ query?: string;
789
+ }
782
790
  interface GetIamPolicyRequest {
783
791
  /** OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`. */
784
792
  options?: GetPolicyOptions;
@@ -1012,7 +1020,7 @@ declare namespace gapi.client {
1012
1020
  dryRun?: boolean;
1013
1021
  /** [Pick one] Configures an extract job. */
1014
1022
  extract?: JobConfigurationExtract;
1015
- /** Optional. Job timeout in milliseconds. If this time limit is exceeded, BigQuery might attempt to stop the job. */
1023
+ /** 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. */
1016
1024
  jobTimeoutMs?: string;
1017
1025
  /** Output only. The type of the job. Can be QUERY, LOAD, EXTRACT, COPY or UNKNOWN. */
1018
1026
  jobType?: string;
@@ -1054,6 +1062,8 @@ declare namespace gapi.client {
1054
1062
  autodetect?: boolean;
1055
1063
  /** Clustering specification for the destination table. */
1056
1064
  clustering?: Clustering;
1065
+ /** 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. */
1066
+ columnNameCharacterMap?: string;
1057
1067
  /** 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. */
1058
1068
  connectionProperties?: ConnectionProperty[];
1059
1069
  /** Optional. [Experimental] Configures the load job to copy files directly to the destination BigLake managed table, bypassing file content reading and rewriting. Copying files only is supported when all the following are true: * `source_uris` are located in the same Cloud Storage location as the destination table's `storage_uri` location. * `source_format` is `PARQUET`. * `destination_table` is an existing BigLake managed table. The table's schema does not have flexible column names. The table's columns do not have type parameters other than precision and scale. * No options other than the above are specified. */
@@ -1603,7 +1613,7 @@ declare namespace gapi.client {
1603
1613
  enableListInference?: boolean;
1604
1614
  /** Optional. Indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default. */
1605
1615
  enumAsString?: boolean;
1606
- /** Optional. Will indicate how to represent a parquet map if present. */
1616
+ /** Optional. Indicates how to represent a Parquet map if present. */
1607
1617
  mapTargetType?: string;
1608
1618
  }
1609
1619
  interface PartitionedColumn {
@@ -2182,6 +2192,8 @@ declare namespace gapi.client {
2182
2192
  numActivePhysicalBytes?: string;
2183
2193
  /** Output only. The size of this table in logical bytes, excluding any data in the streaming buffer. */
2184
2194
  numBytes?: string;
2195
+ /** 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. */
2196
+ numCurrentPhysicalBytes?: string;
2185
2197
  /** Output only. The number of logical bytes in the table that are considered "long-term storage". */
2186
2198
  numLongTermBytes?: string;
2187
2199
  /** Output only. Number of logical bytes that are more than 90 days old. */
@@ -2653,7 +2665,7 @@ declare namespace gapi.client {
2653
2665
  type?: StandardSqlDataType;
2654
2666
  }
2655
2667
  interface UndeleteDatasetRequest {
2656
- /** Optional. The exact time when the dataset was deleted. If not specified, the most recently deleted version is undeleted. */
2668
+ /** 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. */
2657
2669
  deletionTime?: string;
2658
2670
  }
2659
2671
  interface UserDefinedFunctionResource {
@@ -2669,6 +2681,8 @@ declare namespace gapi.client {
2669
2681
  indexUsageMode?: string;
2670
2682
  }
2671
2683
  interface ViewDefinition {
2684
+ /** Optional. Foreign view representations. */
2685
+ foreignDefinitions?: ForeignViewDefinition[];
2672
2686
  /** Optional. Specifices the privacy policy for the view. */
2673
2687
  privacyPolicy?: PrivacyPolicy;
2674
2688
  /** Required. A query that BigQuery executes when the view is referenced. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.bigquery-v2",
3
- "version": "0.0.20240423",
3
+ "version": "0.0.20240526",
4
4
  "description": "TypeScript typings for BigQuery API v2",
5
5
  "repository": {
6
6
  "type": "git",