@maxim_mazurok/gapi.client.bigquery-v2 0.2.20261009 → 0.2.20261107

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 +85 -4
  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: 20261009
12
+ // Revision: 20261107
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -256,6 +256,9 @@ declare namespace gapi.client {
256
256
  connectionId?: string;
257
257
  /** Optional. The file format the table data is stored in. */
258
258
  fileFormat?: 'FILE_FORMAT_UNSPECIFIED' | 'PARQUET';
259
+ /** Optional. The type of Metadata Export for BigLake Managed Tables. */
260
+ metadataExportMode?:
261
+ 'METADATA_EXPORT_MODE_UNSPECIFIED' | 'ASYNC' | 'MANUAL';
259
262
  /** Optional. The fully qualified location prefix of the external folder where table data is stored. The '*' wildcard character is not allowed. The URI should be in the format `gs://bucket/path_to_table/` */
260
263
  storageUri?: string;
261
264
  /** Optional. The table format the metadata only snapshots are stored in. */
@@ -534,6 +537,8 @@ declare namespace gapi.client {
534
537
  externalCatalogDatasetOptions?: ExternalCatalogDatasetOptions;
535
538
  /** Optional. Reference to a read-only external dataset defined in data catalogs outside of BigQuery. Filled out when the dataset type is EXTERNAL. */
536
539
  externalDatasetReference?: ExternalDatasetReference;
540
+ /** Optional. The failover reservation associated with the dataset in the regionless format. Example: .. To learn about about failover reservations see: https://docs.cloud.google.com/bigquery/docs/managed-disaster-recovery#overview */
541
+ failoverReservationId?: string;
537
542
  /** Optional. A descriptive name for the dataset. */
538
543
  friendlyName?: string;
539
544
  /** Output only. The fully-qualified unique name of the dataset in the format projectId:datasetId. The dataset name without the project name is given in the datasetId field. When creating a new dataset, leave this field blank, and instead specify the datasetId field. */
@@ -554,6 +559,8 @@ declare namespace gapi.client {
554
559
  location?: string;
555
560
  /** 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. */
556
561
  maxTimeTravelHours?: string;
562
+ /** Optional. The list of replicas in a cross region replicated or disaster recovery dataset. */
563
+ replicas?: Replica[];
557
564
  /** Optional. The [tags](https://cloud.google.com/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](https://cloud.google.com/iam/docs/tags-access-control#definitions) for more details. */
558
565
  resourceTags?: {[P in string]: string};
559
566
  /** 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](https://cloud.google.com/bigquery/docs/analytics-hub-introduction#data_egress) for more details. */
@@ -1225,6 +1232,14 @@ declare namespace gapi.client {
1225
1232
  /** Output only. Records read difference percentage compared to a previous run. */
1226
1233
  recordsReadDiffPercentage?: number;
1227
1234
  }
1235
+ interface InstalledPackage {
1236
+ /** Output only. The name of the installed package. */
1237
+ name?: string;
1238
+ /** Output only. The source repository from which this package was installed. Populated only when the package was installed from an additional package repository. E.g. 'https://my-region-python.pkg.dev/my-project/my-repo/simple' */
1239
+ sourceRepository?: string;
1240
+ /** Output only. The version of the installed package. */
1241
+ version?: string;
1242
+ }
1228
1243
  interface IntArray {
1229
1244
  /** Elements in the int array. */
1230
1245
  elements?: string[];
@@ -1719,6 +1734,8 @@ declare namespace gapi.client {
1719
1734
  }[];
1720
1735
  /** Output only. The schema of the results. Present only for successful dry run of non-legacy SQL queries. */
1721
1736
  schema?: TableSchema;
1737
+ /** Output only. Search indexing specific statistics. */
1738
+ searchIndexingStats?: SearchIndexingStats;
1722
1739
  /** Output only. Search query specific statistics. */
1723
1740
  searchStatistics?: SearchStatistics;
1724
1741
  /** Output only. Statistics of a Spark procedure job. */
@@ -1743,6 +1760,8 @@ declare namespace gapi.client {
1743
1760
  transferredBytes?: string;
1744
1761
  /** Output only. GoogleSQL only: list of undeclared query parameters detected during a dry run validation. */
1745
1762
  undeclaredQueryParameters?: QueryParameter[];
1763
+ /** Output only. Vector Search indexing specific statistics. */
1764
+ vectorSearchIndexingStats?: VectorSearchIndexingStats;
1746
1765
  /** Output only. Vector Search query specific statistics. */
1747
1766
  vectorSearchStatistics?: VectorSearchStatistics;
1748
1767
  }
@@ -2150,8 +2169,12 @@ declare namespace gapi.client {
2150
2169
  preCmetaPruningParallelInputCount?: string;
2151
2170
  }
2152
2171
  interface PythonOptions {
2172
+ /** Optional. Fully qualified name of the connection whose service account will be used to authenticate to private package repositories during build-time. Format: "projects/{project_id}/locations/{location_id}/connections/{connection_id}" */
2173
+ buildConnection?: string;
2153
2174
  /** Required. The name of the function defined in Python code as the entry point when the Python UDF is invoked. */
2154
2175
  entryPoint?: string;
2176
+ /** Optional. The list of additional package repositories to search when resolving Python packages. These repositories are searched in addition to the default public PyPI. Only repositories hosted in Artifact Registry (.pkg.dev) are supported. Only pre-compiled Wheel (.whl) packages are supported from these repositories. E.g. ['https://my-region-python.pkg.dev/my-project/my-repo/simple'] */
2177
+ extraPackageRepositories?: string[];
2155
2178
  /** Optional. A list of Python package names along with versions to be installed. Example: ["pandas>=2.1", "google-cloud-translate==3.11"]. For more information, see [Use third-party packages](https://cloud.google.com/bigquery/docs/user-defined-functions-python#third-party-packages). */
2156
2179
  packages?: string[];
2157
2180
  }
@@ -2240,7 +2263,7 @@ declare namespace gapi.client {
2240
2263
  query?: string;
2241
2264
  /** Query parameters for GoogleSQL queries. */
2242
2265
  queryParameters?: QueryParameter[];
2243
- /** Optional. The query results format. If the value is anything other than `STRUCT_ENCODING` or unspecified: * The schema of the results will be provided in `QueryResponse.results_schema` field. * The results of the first page will be provided in `QueryResponse.results` field. * The `QueryResponse.rows` will not be populated. * The `QueryResponse.schema` for `QueryResponse.rows` will also not be populated since it is the schema of the `QueryResponse.rows`. This feature is not yet available. */
2266
+ /** Optional. The query results format. If the value is anything other than `STRUCT_ENCODING` or unspecified: * The schema of the results is provided in the `QueryResponse.results_schema` field. * The results of the first page are provided in the `QueryResponse.results` field. * The `QueryResponse.rows` is not populated. * The `QueryResponse.schema` for `QueryResponse.rows` is not populated since it is the schema of the `QueryResponse.rows`. [Preview](https://cloud.google.com/products/#product-launch-stages) */
2244
2267
  queryResultsFormat?:
2245
2268
  'QUERY_RESULTS_FORMAT_UNSPECIFIED' | 'STRUCT_ENCODING' | 'ARROW';
2246
2269
  /** Optional. A unique user provided identifier to ensure idempotent behavior for queries. Note that this is different from the job_id. It has the following properties: 1. It is case-sensitive, limited to up to 36 ASCII characters. A UUID is recommended. 2. Read only queries can ignore this token since they are nullipotent by definition. 3. For the purposes of idempotency ensured by the request_id, a request is considered duplicate of another only if they have the same request_id and are actually duplicates. When determining whether a request is a duplicate of another request, all parameters in the request that may affect the result are considered. For example, query, connection_properties, query_parameters, use_legacy_sql are parameters that affect the result and are considered when determining whether a request is a duplicate, but properties like timeout_ms don't affect the result and are thus not considered. Dry run query requests are never considered duplicate of another request. 4. When a duplicate mutating query request is detected, it returns: a. the results of the mutation if it completes successfully within the timeout. b. the running operation if it is still in progress at the end of the timeout. 5. Its lifetime is limited to 15 minutes. In other words, if two requests are sent with the same request_id, but more than 15 minutes apart, idempotency is not guaranteed. */
@@ -2285,7 +2308,7 @@ declare namespace gapi.client {
2285
2308
  location?: string;
2286
2309
  /** Output only. The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE. */
2287
2310
  numDmlAffectedRows?: string;
2288
- /** Output only. The number of rows out of `total_rows` returned in this response. This feature is not yet available. */
2311
+ /** Output only. The number of rows out of `total_rows` returned in this response. [Preview](https://cloud.google.com/products/#product-launch-stages) */
2289
2312
  pageRowCount?: string;
2290
2313
  /** A token used for paging results. A non-empty token indicates that additional results are available. To see additional results, query the [`jobs.getQueryResults`](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/getQueryResults) method. For more information, see [Paging through table data](https://cloud.google.com/bigquery/docs/paging-results). */
2291
2314
  pageToken?: string;
@@ -2396,6 +2419,42 @@ declare namespace gapi.client {
2396
2419
  /** Output only. The name of the speech recognizer to use for speech recognition. The expected format is `projects/{project}/locations/{location}/recognizers/{recognizer}`. Customers can specify this field at model creation. If not specified, a default recognizer `projects/{model project}/locations/global/recognizers/_` will be used. See more details at [recognizers](https://cloud.google.com/speech-to-text/v2/docs/reference/rest/v2/projects.locations.recognizers) */
2397
2420
  speechRecognizer?: string;
2398
2421
  }
2422
+ interface Replica {
2423
+ /** Output only. The time when the backfill was completed and replica is ready to use. */
2424
+ backfillCompletionTime?: string;
2425
+ /** Output only. The timestamp when the replica was created. For any dataset's first replica, this should be set to the dataset's creation_time. */
2426
+ creationTime?: string;
2427
+ /** Output only. Failover reservation ID for the replica's region if this replica is used for DR. Fully-qualified format, e.g. "projects/some-project/locations/US/reservations/some-reservation" The location portion of the format is upper case if "US" or "EU", otherwise a lower case cloud region like "asia-northeast1". */
2428
+ failoverReservationUri?: string;
2429
+ /** Required. The user-visible string identifier for this dataset replica. This is generally named after the region. */
2430
+ id?: string;
2431
+ /** Required. The logical bigquery region where this replica is located. This is upper case if "US" or "EU", otherwise a lower case cloud region like "asia-northeast1". */
2432
+ location?: string;
2433
+ /** Output only. After a new primary assignment is made, this is the time that the dataset's data has been fully replicated to the replica, and after which the system will use current reads in the new primary replica. */
2434
+ primaryAssignmentCompletionTime?: string;
2435
+ /** Output only. The time at which the replica was assigned primary. Only one replica will have this field populated at any point. */
2436
+ primaryAssignmentTime?: string;
2437
+ /** Optional. Contains modify options on the replica such as set a kms key on the replica. */
2438
+ replicaOptions?: ReplicaOptions;
2439
+ /** Output only. Gives an explicit indicator of the replica primary state. */
2440
+ replicaState?:
2441
+ | 'REPLICA_STATE_UNSPECIFIED'
2442
+ | 'PRIMARY'
2443
+ | 'SECONDARY'
2444
+ | 'ASSIGNED_PRIMARY'
2445
+ | 'PREVIOUSLY_ASSIGNED_PRIMARY'
2446
+ | 'BACKFILLING';
2447
+ }
2448
+ interface ReplicaOptions {
2449
+ /** Optional. Default KMS encryption key name. */
2450
+ defaultKmsKeyName?: string;
2451
+ }
2452
+ interface ResourcePolicyMember {
2453
+ /** Output only. IAM policy binding member referring to a Google Cloud resource by user-assigned name (https://google.aip.dev/122). If a resource is deleted and recreated with the same name, the binding will be applicable to the new resource. Example: `principal://parametermanager.googleapis.com/projects/12345/name/locations/us-central1-a/parameters/my-parameter` */
2454
+ iamPolicyNamePrincipal?: string;
2455
+ /** Output only. IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier (https://google.aip.dev/148#uid). If a resource is deleted and recreated with the same name, the binding will not be applicable to the new resource Example: `principal://parametermanager.googleapis.com/projects/12345/uid/locations/us-central1-a/parameters/a918fed5` */
2456
+ iamPolicyUidPrincipal?: string;
2457
+ }
2399
2458
  interface RestrictionConfig {
2400
2459
  /** Output only. Specifies the type of dataset/table restriction. */
2401
2460
  type?: 'RESTRICTION_TYPE_UNSPECIFIED' | 'RESTRICTED_DATA_EGRESS';
@@ -2468,6 +2527,8 @@ declare namespace gapi.client {
2468
2527
  errorResult?: ErrorProto;
2469
2528
  /** Output only. The size of the image in bytes. Populated only after the build succeeds. */
2470
2529
  imageSizeBytes?: string;
2530
+ /** Output only. The list of installed packages in the routine's execution environment. Populated only after the build succeeds. */
2531
+ installedPackages?: InstalledPackage[];
2471
2532
  }
2472
2533
  interface RoutineReference {
2473
2534
  /** Required. The ID of the dataset containing this routine. */
@@ -2541,6 +2602,12 @@ declare namespace gapi.client {
2541
2602
  /** Stack trace showing the line/column/procedure name of each frame on the stack at the point where the current evaluation happened. The leaf frame is first, the primary script is last. Never empty. */
2542
2603
  stackFrames?: ScriptStackFrame[];
2543
2604
  }
2605
+ interface SearchIndexingStats {
2606
+ /** Output only. The base table for which the search index is being created or refreshed. */
2607
+ baseTable?: TableReference;
2608
+ /** Output only. The name of the search index. */
2609
+ indexName?: string;
2610
+ }
2544
2611
  interface SearchStatistics {
2545
2612
  /** Search index pruning statistics, one for each base table that has a search index. If a base table does not have a search index or the index does not help with pruning on the base table, then there is no pruning statistics for that table. */
2546
2613
  indexPruningStats?: IndexPruningStats[];
@@ -2826,6 +2893,8 @@ declare namespace gapi.client {
2826
2893
  numTotalPhysicalBytes?: string;
2827
2894
  /** Optional. The partition information for all table formats, including managed partitioned tables, hive partitioned tables, iceberg partitioned, and metastore partitioned tables. This field is only populated for metastore partitioned tables. For other table formats, this is an output only field. */
2828
2895
  partitionDefinition?: PartitioningDefinition;
2896
+ /** Output only. Contains the resource identity token of the view that users can use to include in their policy bindings for authorization. This should be set only for views. */
2897
+ policyMember?: ResourcePolicyMember;
2829
2898
  /** If specified, configures range partitioning for this table. */
2830
2899
  rangePartitioning?: RangePartitioning;
2831
2900
  /** Optional. Output only. Table references of all replicas currently active on the table. */
@@ -3542,6 +3611,12 @@ declare namespace gapi.client {
3542
3611
  /** [Pick one] A code resource to load from a Google Cloud Storage URI (gs://bucket/path). */
3543
3612
  resourceUri?: string;
3544
3613
  }
3614
+ interface VectorSearchIndexingStats {
3615
+ /** Output only. The base table for which the vector index is being created or refreshed. */
3616
+ baseTable?: TableReference;
3617
+ /** Output only. The name of the vector index. */
3618
+ indexName?: string;
3619
+ }
3545
3620
  interface VectorSearchStatistics {
3546
3621
  /** When `indexUsageMode` is `UNUSED` or `PARTIALLY_USED`, this field explains why indexes were not used in all or part of the vector search query. If `indexUsageMode` is `FULLY_USED`, this field is not populated. */
3547
3622
  indexUnusedReasons?: IndexUnusedReason[];
@@ -3615,7 +3690,13 @@ declare namespace gapi.client {
3615
3690
  /** Required. Dataset ID of the requested dataset */
3616
3691
  datasetId: string;
3617
3692
  /** Optional. Specifies the view that determines which dataset information is returned. By default, metadata and ACL information are returned. */
3618
- datasetView?: 'DATASET_VIEW_UNSPECIFIED' | 'METADATA' | 'ACL' | 'FULL';
3693
+ datasetView?:
3694
+ | 'DATASET_VIEW_UNSPECIFIED'
3695
+ | 'METADATA'
3696
+ | 'ACL'
3697
+ | 'FULL'
3698
+ | 'BASIC'
3699
+ | 'BASIC_REPLICA_METADATA_VIEW';
3619
3700
  /** Selector specifying which fields to include in a partial response. */
3620
3701
  fields?: string;
3621
3702
  /** 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. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.bigquery-v2",
3
- "version": "0.2.20261009",
3
+ "version": "0.2.20261107",
4
4
  "description": "TypeScript typings for BigQuery API v2",
5
5
  "repository": {
6
6
  "type": "git",