google-apis-bigquery_v2 0.105.0 → 0.107.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/bigquery_v2/classes.rb +213 -28
- data/lib/google/apis/bigquery_v2/gem_version.rb +2 -2
- data/lib/google/apis/bigquery_v2/representations.rb +27 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1ccbd623d1b62f433c9e7c0642b452d6a3804bb652e1367d55865740cdb1d17f
|
|
4
|
+
data.tar.gz: 0daf627d27475657a33731877bf324ef0fe33febd3c67c02d66f3976871fa0ca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1939b73a5ccb09bdc060ff7573c33e731501b0ece3c99be62638ec800408e2c4e25e1d5baee656e767db8319862b53831c95e27eb1de416332b81ad16c9fd4e5
|
|
7
|
+
data.tar.gz: 40e71ed24fae3b5bc25d16918d5e589ae46e5e948160f0efa5c84fa9faaa0db54930b25735f8efa2095bd1b5272054325a6d421b6912d888264008097051c372
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-bigquery_v2
|
|
2
2
|
|
|
3
|
+
### v0.107.0 (2026-08-23)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260811
|
|
6
|
+
|
|
7
|
+
### v0.106.0 (2026-07-19)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260707
|
|
10
|
+
|
|
3
11
|
### v0.105.0 (2026-07-12)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260620
|
|
@@ -158,6 +158,11 @@ module Google
|
|
|
158
158
|
# @return [String]
|
|
159
159
|
attr_accessor :name
|
|
160
160
|
|
|
161
|
+
# A table type
|
|
162
|
+
# Corresponds to the JSON property `tableType`
|
|
163
|
+
# @return [Google::Apis::BigqueryV2::StandardSqlTableType]
|
|
164
|
+
attr_accessor :table_type
|
|
165
|
+
|
|
161
166
|
def initialize(**args)
|
|
162
167
|
update!(**args)
|
|
163
168
|
end
|
|
@@ -169,6 +174,7 @@ module Google
|
|
|
169
174
|
@is_aggregate = args[:is_aggregate] if args.key?(:is_aggregate)
|
|
170
175
|
@mode = args[:mode] if args.key?(:mode)
|
|
171
176
|
@name = args[:name] if args.key?(:name)
|
|
177
|
+
@table_type = args[:table_type] if args.key?(:table_type)
|
|
172
178
|
end
|
|
173
179
|
end
|
|
174
180
|
|
|
@@ -3968,8 +3974,9 @@ module Google
|
|
|
3968
3974
|
# @return [Google::Apis::BigqueryV2::GenAiErrorStats]
|
|
3969
3975
|
attr_accessor :error_stats
|
|
3970
3976
|
|
|
3971
|
-
# Function level stats for
|
|
3972
|
-
# bigquery/docs/generative-
|
|
3977
|
+
# Function level stats for GenAI Functions. For more information, see [
|
|
3978
|
+
# Generative AI overview](https://docs.cloud.google.com/bigquery/docs/generative-
|
|
3979
|
+
# ai-overview).
|
|
3973
3980
|
# Corresponds to the JSON property `functionStats`
|
|
3974
3981
|
# @return [Array<Google::Apis::BigqueryV2::GenAiFunctionStats>]
|
|
3975
3982
|
attr_accessor :function_stats
|
|
@@ -5117,7 +5124,10 @@ module Google
|
|
|
5117
5124
|
# Optional. The reservation that job would use. User can specify a reservation
|
|
5118
5125
|
# to execute the job. If reservation is not set, reservation is determined based
|
|
5119
5126
|
# on the rules defined by the reservation assignments. The expected format is `
|
|
5120
|
-
# projects/`project`/locations/`location`/reservations/`reservation``.
|
|
5127
|
+
# projects/`project`/locations/`location`/reservations/`reservation``. Forces
|
|
5128
|
+
# the query to use on-demand billing when set to `none`, which requires the
|
|
5129
|
+
# project or organization to have `reservation_override_mode` set to `
|
|
5130
|
+
# ALLOW_ANY_OVERRIDE`.
|
|
5121
5131
|
# Corresponds to the JSON property `reservation`
|
|
5122
5132
|
# @return [String]
|
|
5123
5133
|
attr_accessor :reservation
|
|
@@ -6251,6 +6261,11 @@ module Google
|
|
|
6251
6261
|
# @return [Fixnum]
|
|
6252
6262
|
attr_accessor :final_execution_duration_ms
|
|
6253
6263
|
|
|
6264
|
+
# Output only. Regions where the global query accesses data.
|
|
6265
|
+
# Corresponds to the JSON property `globalQueryRemoteRegions`
|
|
6266
|
+
# @return [Array<String>]
|
|
6267
|
+
attr_accessor :global_query_remote_regions
|
|
6268
|
+
|
|
6254
6269
|
# Statistics for a load job.
|
|
6255
6270
|
# Corresponds to the JSON property `load`
|
|
6256
6271
|
# @return [Google::Apis::BigqueryV2::JobStatistics3]
|
|
@@ -6261,6 +6276,11 @@ module Google
|
|
|
6261
6276
|
# @return [Fixnum]
|
|
6262
6277
|
attr_accessor :num_child_jobs
|
|
6263
6278
|
|
|
6279
|
+
# A job reference is a fully qualified identifier for referring to a job.
|
|
6280
|
+
# Corresponds to the JSON property `parentGlobalQueryJob`
|
|
6281
|
+
# @return [Google::Apis::BigqueryV2::JobReference]
|
|
6282
|
+
attr_accessor :parent_global_query_job
|
|
6283
|
+
|
|
6264
6284
|
# Output only. If this is a child job, specifies the job ID of the parent.
|
|
6265
6285
|
# Corresponds to the JSON property `parentJobId`
|
|
6266
6286
|
# @return [String]
|
|
@@ -6349,8 +6369,10 @@ module Google
|
|
|
6349
6369
|
@end_time = args[:end_time] if args.key?(:end_time)
|
|
6350
6370
|
@extract = args[:extract] if args.key?(:extract)
|
|
6351
6371
|
@final_execution_duration_ms = args[:final_execution_duration_ms] if args.key?(:final_execution_duration_ms)
|
|
6372
|
+
@global_query_remote_regions = args[:global_query_remote_regions] if args.key?(:global_query_remote_regions)
|
|
6352
6373
|
@load = args[:load] if args.key?(:load)
|
|
6353
6374
|
@num_child_jobs = args[:num_child_jobs] if args.key?(:num_child_jobs)
|
|
6375
|
+
@parent_global_query_job = args[:parent_global_query_job] if args.key?(:parent_global_query_job)
|
|
6354
6376
|
@parent_job_id = args[:parent_job_id] if args.key?(:parent_job_id)
|
|
6355
6377
|
@query = args[:query] if args.key?(:query)
|
|
6356
6378
|
@quota_deferments = args[:quota_deferments] if args.key?(:quota_deferments)
|
|
@@ -6546,6 +6568,12 @@ module Google
|
|
|
6546
6568
|
# @return [Fixnum]
|
|
6547
6569
|
attr_accessor :num_dml_affected_rows
|
|
6548
6570
|
|
|
6571
|
+
# Output only. Storage and caching statistics per cloud provider for queries
|
|
6572
|
+
# over object storage.
|
|
6573
|
+
# Corresponds to the JSON property `objectStorageStats`
|
|
6574
|
+
# @return [Array<Google::Apis::BigqueryV2::ObjectStorageStats>]
|
|
6575
|
+
attr_accessor :object_storage_stats
|
|
6576
|
+
|
|
6549
6577
|
# Performance insights for the job.
|
|
6550
6578
|
# Corresponds to the JSON property `performanceInsights`
|
|
6551
6579
|
# @return [Google::Apis::BigqueryV2::PerformanceInsights]
|
|
@@ -6790,6 +6818,7 @@ module Google
|
|
|
6790
6818
|
@model_training_current_iteration = args[:model_training_current_iteration] if args.key?(:model_training_current_iteration)
|
|
6791
6819
|
@model_training_expected_total_iteration = args[:model_training_expected_total_iteration] if args.key?(:model_training_expected_total_iteration)
|
|
6792
6820
|
@num_dml_affected_rows = args[:num_dml_affected_rows] if args.key?(:num_dml_affected_rows)
|
|
6821
|
+
@object_storage_stats = args[:object_storage_stats] if args.key?(:object_storage_stats)
|
|
6793
6822
|
@performance_insights = args[:performance_insights] if args.key?(:performance_insights)
|
|
6794
6823
|
@query_info = args[:query_info] if args.key?(:query_info)
|
|
6795
6824
|
@query_plan = args[:query_plan] if args.key?(:query_plan)
|
|
@@ -6944,6 +6973,12 @@ module Google
|
|
|
6944
6973
|
# @return [Fixnum]
|
|
6945
6974
|
attr_accessor :copied_rows
|
|
6946
6975
|
|
|
6976
|
+
# Output only. Destination region for a cross-region copy job. Not set for in-
|
|
6977
|
+
# region copy jobs.
|
|
6978
|
+
# Corresponds to the JSON property `remoteDestinationRegion`
|
|
6979
|
+
# @return [String]
|
|
6980
|
+
attr_accessor :remote_destination_region
|
|
6981
|
+
|
|
6947
6982
|
def initialize(**args)
|
|
6948
6983
|
update!(**args)
|
|
6949
6984
|
end
|
|
@@ -6952,6 +6987,7 @@ module Google
|
|
|
6952
6987
|
def update!(**args)
|
|
6953
6988
|
@copied_logical_bytes = args[:copied_logical_bytes] if args.key?(:copied_logical_bytes)
|
|
6954
6989
|
@copied_rows = args[:copied_rows] if args.key?(:copied_rows)
|
|
6990
|
+
@remote_destination_region = args[:remote_destination_region] if args.key?(:remote_destination_region)
|
|
6955
6991
|
end
|
|
6956
6992
|
end
|
|
6957
6993
|
|
|
@@ -7788,6 +7824,38 @@ module Google
|
|
|
7788
7824
|
end
|
|
7789
7825
|
end
|
|
7790
7826
|
|
|
7827
|
+
# Storage and caching statistics for object storage.
|
|
7828
|
+
class ObjectStorageStats
|
|
7829
|
+
include Google::Apis::Core::Hashable
|
|
7830
|
+
|
|
7831
|
+
# Total bytes read from the GCP Lakehouse-internal cache, avoiding an object
|
|
7832
|
+
# storage read.
|
|
7833
|
+
# Corresponds to the JSON property `cacheBytesRead`
|
|
7834
|
+
# @return [Fixnum]
|
|
7835
|
+
attr_accessor :cache_bytes_read
|
|
7836
|
+
|
|
7837
|
+
# The cloud provider for this block of statistics.
|
|
7838
|
+
# Corresponds to the JSON property `cloudProvider`
|
|
7839
|
+
# @return [String]
|
|
7840
|
+
attr_accessor :cloud_provider
|
|
7841
|
+
|
|
7842
|
+
# Total bytes read directly from the cloud provider's storage.
|
|
7843
|
+
# Corresponds to the JSON property `objectStorageBytesRead`
|
|
7844
|
+
# @return [Fixnum]
|
|
7845
|
+
attr_accessor :object_storage_bytes_read
|
|
7846
|
+
|
|
7847
|
+
def initialize(**args)
|
|
7848
|
+
update!(**args)
|
|
7849
|
+
end
|
|
7850
|
+
|
|
7851
|
+
# Update properties of this object
|
|
7852
|
+
def update!(**args)
|
|
7853
|
+
@cache_bytes_read = args[:cache_bytes_read] if args.key?(:cache_bytes_read)
|
|
7854
|
+
@cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
|
|
7855
|
+
@object_storage_bytes_read = args[:object_storage_bytes_read] if args.key?(:object_storage_bytes_read)
|
|
7856
|
+
end
|
|
7857
|
+
end
|
|
7858
|
+
|
|
7791
7859
|
# Parquet Options for load and make external tables.
|
|
7792
7860
|
class ParquetOptions
|
|
7793
7861
|
include Google::Apis::Core::Hashable
|
|
@@ -8642,7 +8710,9 @@ module Google
|
|
|
8642
8710
|
|
|
8643
8711
|
# Optional. The reservation that jobs.query request would use. User can specify
|
|
8644
8712
|
# a reservation to execute the job.query. The expected format is `projects/`
|
|
8645
|
-
# project`/locations/`location`/reservations/`reservation``.
|
|
8713
|
+
# project`/locations/`location`/reservations/`reservation``. Forces the query to
|
|
8714
|
+
# use on-demand billing when set to `none`. This requires the project or
|
|
8715
|
+
# organization to have `reservation_override_mode` set to `ALLOW_ANY_OVERRIDE`.
|
|
8646
8716
|
# Corresponds to the JSON property `reservation`
|
|
8647
8717
|
# @return [String]
|
|
8648
8718
|
attr_accessor :reservation
|
|
@@ -8856,6 +8926,99 @@ module Google
|
|
|
8856
8926
|
# @return [Fixnum]
|
|
8857
8927
|
attr_accessor :start_time
|
|
8858
8928
|
|
|
8929
|
+
# Output only. The type of query statement, if valid. Possible values: * `SELECT`
|
|
8930
|
+
# : [`SELECT`](https://cloud.google.com/bigquery/docs/reference/standard-sql/
|
|
8931
|
+
# query-syntax#select_list) statement. * `ASSERT`: [`ASSERT`](https://cloud.
|
|
8932
|
+
# google.com/bigquery/docs/reference/standard-sql/debugging-statements#assert)
|
|
8933
|
+
# statement. * `INSERT`: [`INSERT`](https://cloud.google.com/bigquery/docs/
|
|
8934
|
+
# reference/standard-sql/dml-syntax#insert_statement) statement. * `UPDATE`: [`
|
|
8935
|
+
# UPDATE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/dml-
|
|
8936
|
+
# syntax#update_statement) statement. * `DELETE`: [`DELETE`](https://cloud.
|
|
8937
|
+
# google.com/bigquery/docs/reference/standard-sql/data-manipulation-language)
|
|
8938
|
+
# statement. * `MERGE`: [`MERGE`](https://cloud.google.com/bigquery/docs/
|
|
8939
|
+
# reference/standard-sql/data-manipulation-language) statement. * `CREATE_TABLE`:
|
|
8940
|
+
# [`CREATE TABLE`](https://cloud.google.com/bigquery/docs/reference/standard-
|
|
8941
|
+
# sql/data-definition-language#create_table_statement) statement, without `AS
|
|
8942
|
+
# SELECT`. * `CREATE_TABLE_AS_SELECT`: [`CREATE TABLE AS SELECT`](https://cloud.
|
|
8943
|
+
# google.com/bigquery/docs/reference/standard-sql/data-definition-language#
|
|
8944
|
+
# create_table_statement) statement. * `CREATE_VIEW`: [`CREATE VIEW`](https://
|
|
8945
|
+
# cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#
|
|
8946
|
+
# create_view_statement) statement. * `CREATE_MODEL`: [`CREATE MODEL`](https://
|
|
8947
|
+
# cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-
|
|
8948
|
+
# create#create_model_statement) statement. * `CREATE_MATERIALIZED_VIEW`: [`
|
|
8949
|
+
# CREATE MATERIALIZED VIEW`](https://cloud.google.com/bigquery/docs/reference/
|
|
8950
|
+
# standard-sql/data-definition-language#create_materialized_view_statement)
|
|
8951
|
+
# statement. * `CREATE_FUNCTION`: [`CREATE FUNCTION`](https://cloud.google.com/
|
|
8952
|
+
# bigquery/docs/reference/standard-sql/data-definition-language#
|
|
8953
|
+
# create_function_statement) statement. * `CREATE_TABLE_FUNCTION`: [`CREATE
|
|
8954
|
+
# TABLE FUNCTION`](https://cloud.google.com/bigquery/docs/reference/standard-sql/
|
|
8955
|
+
# data-definition-language#create_table_function_statement) statement. * `
|
|
8956
|
+
# CREATE_PROCEDURE`: [`CREATE PROCEDURE`](https://cloud.google.com/bigquery/docs/
|
|
8957
|
+
# reference/standard-sql/data-definition-language#create_procedure) statement. *
|
|
8958
|
+
# `CREATE_ROW_ACCESS_POLICY`: [`CREATE ROW ACCESS POLICY`](https://cloud.google.
|
|
8959
|
+
# com/bigquery/docs/reference/standard-sql/data-definition-language#
|
|
8960
|
+
# create_row_access_policy_statement) statement. * `CREATE_SCHEMA`: [`CREATE
|
|
8961
|
+
# SCHEMA`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-
|
|
8962
|
+
# definition-language#create_schema_statement) statement. * `
|
|
8963
|
+
# CREATE_SNAPSHOT_TABLE`: [`CREATE SNAPSHOT TABLE`](https://cloud.google.com/
|
|
8964
|
+
# bigquery/docs/reference/standard-sql/data-definition-language#
|
|
8965
|
+
# create_snapshot_table_statement) statement. * `CREATE_SEARCH_INDEX`: [`CREATE
|
|
8966
|
+
# SEARCH INDEX`](https://cloud.google.com/bigquery/docs/reference/standard-sql/
|
|
8967
|
+
# data-definition-language#create_search_index_statement) statement. * `
|
|
8968
|
+
# DROP_TABLE`: [`DROP TABLE`](https://cloud.google.com/bigquery/docs/reference/
|
|
8969
|
+
# standard-sql/data-definition-language#drop_table_statement) statement. * `
|
|
8970
|
+
# DROP_EXTERNAL_TABLE`: [`DROP EXTERNAL TABLE`](https://cloud.google.com/
|
|
8971
|
+
# bigquery/docs/reference/standard-sql/data-definition-language#
|
|
8972
|
+
# drop_external_table_statement) statement. * `DROP_VIEW`: [`DROP VIEW`](https://
|
|
8973
|
+
# cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#
|
|
8974
|
+
# drop_view_statement) statement. * `DROP_MODEL`: [`DROP MODEL`](https://cloud.
|
|
8975
|
+
# google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-drop-
|
|
8976
|
+
# model) statement. * `DROP_MATERIALIZED_VIEW`: [`DROP MATERIALIZED VIEW`](https:
|
|
8977
|
+
# //cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-
|
|
8978
|
+
# language#drop_materialized_view_statement) statement. * `DROP_FUNCTION` : [`
|
|
8979
|
+
# DROP FUNCTION`](https://cloud.google.com/bigquery/docs/reference/standard-sql/
|
|
8980
|
+
# data-definition-language#drop_function_statement) statement. * `
|
|
8981
|
+
# DROP_TABLE_FUNCTION` : [`DROP TABLE FUNCTION`](https://cloud.google.com/
|
|
8982
|
+
# bigquery/docs/reference/standard-sql/data-definition-language#
|
|
8983
|
+
# drop_table_function) statement. * `DROP_PROCEDURE`: [`DROP PROCEDURE`](https://
|
|
8984
|
+
# cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#
|
|
8985
|
+
# drop_procedure_statement) statement. * `DROP_SEARCH_INDEX`: [`DROP SEARCH
|
|
8986
|
+
# INDEX`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-
|
|
8987
|
+
# definition-language#drop_search_index) statement. * `DROP_SCHEMA`: [`DROP
|
|
8988
|
+
# SCHEMA`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-
|
|
8989
|
+
# definition-language#drop_schema_statement) statement. * `DROP_SNAPSHOT_TABLE`:
|
|
8990
|
+
# [`DROP SNAPSHOT TABLE`](https://cloud.google.com/bigquery/docs/reference/
|
|
8991
|
+
# standard-sql/data-definition-language#drop_snapshot_table_statement) statement.
|
|
8992
|
+
# * `DROP_ROW_ACCESS_POLICY`: [`DROP [ALL] ROW ACCESS POLICY|POLICIES`](https://
|
|
8993
|
+
# cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#
|
|
8994
|
+
# drop_row_access_policy_statement) statement. * `ALTER_TABLE`: [`ALTER TABLE`](
|
|
8995
|
+
# https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-
|
|
8996
|
+
# language#alter_table_set_options_statement) statement. * `ALTER_VIEW`: [`ALTER
|
|
8997
|
+
# VIEW`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-
|
|
8998
|
+
# definition-language#alter_view_set_options_statement) statement. * `
|
|
8999
|
+
# ALTER_MATERIALIZED_VIEW`: [`ALTER MATERIALIZED VIEW`](https://cloud.google.com/
|
|
9000
|
+
# bigquery/docs/reference/standard-sql/data-definition-language#
|
|
9001
|
+
# alter_materialized_view_set_options_statement) statement. * `ALTER_SCHEMA`: [`
|
|
9002
|
+
# ALTER SCHEMA`](https://cloud.google.com/bigquery/docs/reference/standard-sql/
|
|
9003
|
+
# data-definition-language#alter_schema_set_options_statement) statement. * `
|
|
9004
|
+
# SCRIPT`: [`SCRIPT`](https://cloud.google.com/bigquery/docs/reference/standard-
|
|
9005
|
+
# sql/procedural-language). * `TRUNCATE_TABLE`: [`TRUNCATE TABLE`](https://cloud.
|
|
9006
|
+
# google.com/bigquery/docs/reference/standard-sql/dml-syntax#
|
|
9007
|
+
# truncate_table_statement) statement. * `CREATE_EXTERNAL_TABLE`: [`CREATE
|
|
9008
|
+
# EXTERNAL TABLE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/
|
|
9009
|
+
# data-definition-language#create_external_table_statement) statement. * `
|
|
9010
|
+
# EXPORT_DATA`: [`EXPORT DATA`](https://cloud.google.com/bigquery/docs/reference/
|
|
9011
|
+
# standard-sql/other-statements#export_data_statement) statement. * `
|
|
9012
|
+
# EXPORT_MODEL`: [`EXPORT MODEL`](https://cloud.google.com/bigquery-ml/docs/
|
|
9013
|
+
# reference/standard-sql/bigqueryml-syntax-export-model) statement. * `LOAD_DATA`
|
|
9014
|
+
# : [`LOAD DATA`](https://cloud.google.com/bigquery/docs/reference/standard-sql/
|
|
9015
|
+
# other-statements#load_data_statement) statement. * `CALL`: [`CALL`](https://
|
|
9016
|
+
# cloud.google.com/bigquery/docs/reference/standard-sql/procedural-language#call)
|
|
9017
|
+
# statement.
|
|
9018
|
+
# Corresponds to the JSON property `statementType`
|
|
9019
|
+
# @return [String]
|
|
9020
|
+
attr_accessor :statement_type
|
|
9021
|
+
|
|
8859
9022
|
# Output only. If the project is configured to use on-demand pricing, then this
|
|
8860
9023
|
# field contains the total bytes billed for the job. If the project is
|
|
8861
9024
|
# configured to use flat-rate pricing, then you are not billed for bytes and
|
|
@@ -8907,6 +9070,7 @@ module Google
|
|
|
8907
9070
|
@schema = args[:schema] if args.key?(:schema)
|
|
8908
9071
|
@session_info = args[:session_info] if args.key?(:session_info)
|
|
8909
9072
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
9073
|
+
@statement_type = args[:statement_type] if args.key?(:statement_type)
|
|
8910
9074
|
@total_bytes_billed = args[:total_bytes_billed] if args.key?(:total_bytes_billed)
|
|
8911
9075
|
@total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed)
|
|
8912
9076
|
@total_rows = args[:total_rows] if args.key?(:total_rows)
|
|
@@ -9937,6 +10101,22 @@ module Google
|
|
|
9937
10101
|
class SkewSource
|
|
9938
10102
|
include Google::Apis::Core::Hashable
|
|
9939
10103
|
|
|
10104
|
+
# Output only. Max partition output size (in bytes) for this stage.
|
|
10105
|
+
# Corresponds to the JSON property `outputBytesMax`
|
|
10106
|
+
# @return [Fixnum]
|
|
10107
|
+
attr_accessor :output_bytes_max
|
|
10108
|
+
|
|
10109
|
+
# Output only. Median partition output size (in bytes) for this stage.
|
|
10110
|
+
# Corresponds to the JSON property `outputBytesMedian`
|
|
10111
|
+
# @return [Fixnum]
|
|
10112
|
+
attr_accessor :output_bytes_median
|
|
10113
|
+
|
|
10114
|
+
# Output only. 95-th percentile of partition output size (in bytes) for this
|
|
10115
|
+
# stage.
|
|
10116
|
+
# Corresponds to the JSON property `outputBytesP95`
|
|
10117
|
+
# @return [Fixnum]
|
|
10118
|
+
attr_accessor :output_bytes_p95
|
|
10119
|
+
|
|
9940
10120
|
# Output only. Stage id of the skew source stage.
|
|
9941
10121
|
# Corresponds to the JSON property `stageId`
|
|
9942
10122
|
# @return [Fixnum]
|
|
@@ -9948,6 +10128,9 @@ module Google
|
|
|
9948
10128
|
|
|
9949
10129
|
# Update properties of this object
|
|
9950
10130
|
def update!(**args)
|
|
10131
|
+
@output_bytes_max = args[:output_bytes_max] if args.key?(:output_bytes_max)
|
|
10132
|
+
@output_bytes_median = args[:output_bytes_median] if args.key?(:output_bytes_median)
|
|
10133
|
+
@output_bytes_p95 = args[:output_bytes_p95] if args.key?(:output_bytes_p95)
|
|
9951
10134
|
@stage_id = args[:stage_id] if args.key?(:stage_id)
|
|
9952
10135
|
end
|
|
9953
10136
|
end
|
|
@@ -11327,16 +11510,17 @@ module Google
|
|
|
11327
11510
|
attr_accessor :collation
|
|
11328
11511
|
|
|
11329
11512
|
# Optional. Specifies the data governance tags on this field. This field works
|
|
11330
|
-
# with other column-level security fields as follows:
|
|
11331
|
-
# governance tag is attached to a column, it takes precedence over the
|
|
11332
|
-
# tag attached to the column. However, if a data policy is attached to a
|
|
11333
|
-
# it takes precedence over the data governance tag.
|
|
11334
|
-
# this field behaves during a `Table.patch` schema
|
|
11335
|
-
# data_governance_tags_info` field is omitted from
|
|
11336
|
-
# existing tags on the column are preserved.
|
|
11337
|
-
# governance tags from a column, send the `
|
|
11338
|
-
# an empty object. This
|
|
11339
|
-
# To replace existing tag, send the
|
|
11513
|
+
# with other column-level security fields as follows: * **Precedence**: If a
|
|
11514
|
+
# data governance tag is attached to a column, it takes precedence over the
|
|
11515
|
+
# policy tag attached to the column. However, if a data policy is attached to a
|
|
11516
|
+
# column, it takes precedence over the data governance tag. * **Patching
|
|
11517
|
+
# behavior**: Describes how this field behaves during a `Table.patch` schema
|
|
11518
|
+
# update: * **Unset**: If the `data_governance_tags_info` field is omitted from
|
|
11519
|
+
# the update request, the existing tags on the column are preserved. * **Empty
|
|
11520
|
+
# Field**: To clear data governance tags from a column, send the `
|
|
11521
|
+
# data_governance_tags_info` field as an empty object. This removes all tags
|
|
11522
|
+
# from the column. * **Updating tags**: To replace an existing tag, send the
|
|
11523
|
+
# field with the new tag.
|
|
11340
11524
|
# Corresponds to the JSON property `dataGovernanceTagsInfo`
|
|
11341
11525
|
# @return [Google::Apis::BigqueryV2::TableFieldSchema::DataGovernanceTagsInfo]
|
|
11342
11526
|
attr_accessor :data_governance_tags_info
|
|
@@ -11512,28 +11696,29 @@ module Google
|
|
|
11512
11696
|
end
|
|
11513
11697
|
|
|
11514
11698
|
# Optional. Specifies the data governance tags on this field. This field works
|
|
11515
|
-
# with other column-level security fields as follows:
|
|
11516
|
-
# governance tag is attached to a column, it takes precedence over the
|
|
11517
|
-
# tag attached to the column. However, if a data policy is attached to a
|
|
11518
|
-
# it takes precedence over the data governance tag.
|
|
11519
|
-
# this field behaves during a `Table.patch` schema
|
|
11520
|
-
# data_governance_tags_info` field is omitted from
|
|
11521
|
-
# existing tags on the column are preserved.
|
|
11522
|
-
# governance tags from a column, send the `
|
|
11523
|
-
# an empty object. This
|
|
11524
|
-
# To replace existing tag, send the
|
|
11699
|
+
# with other column-level security fields as follows: * **Precedence**: If a
|
|
11700
|
+
# data governance tag is attached to a column, it takes precedence over the
|
|
11701
|
+
# policy tag attached to the column. However, if a data policy is attached to a
|
|
11702
|
+
# column, it takes precedence over the data governance tag. * **Patching
|
|
11703
|
+
# behavior**: Describes how this field behaves during a `Table.patch` schema
|
|
11704
|
+
# update: * **Unset**: If the `data_governance_tags_info` field is omitted from
|
|
11705
|
+
# the update request, the existing tags on the column are preserved. * **Empty
|
|
11706
|
+
# Field**: To clear data governance tags from a column, send the `
|
|
11707
|
+
# data_governance_tags_info` field as an empty object. This removes all tags
|
|
11708
|
+
# from the column. * **Updating tags**: To replace an existing tag, send the
|
|
11709
|
+
# field with the new tag.
|
|
11525
11710
|
class DataGovernanceTagsInfo
|
|
11526
11711
|
include Google::Apis::Core::Hashable
|
|
11527
11712
|
|
|
11528
11713
|
# Optional. The data governance tags added to this field are used for field-
|
|
11529
11714
|
# level access control. Only one data governance tag is currently supported on a
|
|
11530
11715
|
# field. Tag keys are globally unique. Tag key is expected to be in the
|
|
11531
|
-
# namespaced format, for example "
|
|
11532
|
-
#
|
|
11716
|
+
# namespaced format, for example "parent-id/pii" where parent-id is the ID of
|
|
11717
|
+
# the parent organization or project resource for this tag key. Tag value is
|
|
11533
11718
|
# expected to be the short name, for example "sensitive". See [Tag definitions](
|
|
11534
11719
|
# https://cloud.google.com/iam/docs/tags-access-control#definitions) for more
|
|
11535
|
-
# details. For example: "
|
|
11536
|
-
#
|
|
11720
|
+
# details. For example: "parent-id/pii": "sensitive", "myProject/cost_center": "
|
|
11721
|
+
# sales"
|
|
11537
11722
|
# Corresponds to the JSON property `dataGovernanceTags`
|
|
11538
11723
|
# @return [Hash<String,String>]
|
|
11539
11724
|
attr_accessor :data_governance_tags
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module BigqueryV2
|
|
18
18
|
# Version of the google-apis-bigquery_v2 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.107.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260811"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -904,6 +904,12 @@ module Google
|
|
|
904
904
|
include Google::Apis::Core::JsonObjectSupport
|
|
905
905
|
end
|
|
906
906
|
|
|
907
|
+
class ObjectStorageStats
|
|
908
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
909
|
+
|
|
910
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
911
|
+
end
|
|
912
|
+
|
|
907
913
|
class ParquetOptions
|
|
908
914
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
909
915
|
|
|
@@ -1522,6 +1528,8 @@ module Google
|
|
|
1522
1528
|
property :is_aggregate, as: 'isAggregate'
|
|
1523
1529
|
property :mode, as: 'mode'
|
|
1524
1530
|
property :name, as: 'name'
|
|
1531
|
+
property :table_type, as: 'tableType', class: Google::Apis::BigqueryV2::StandardSqlTableType, decorator: Google::Apis::BigqueryV2::StandardSqlTableType::Representation
|
|
1532
|
+
|
|
1525
1533
|
end
|
|
1526
1534
|
end
|
|
1527
1535
|
|
|
@@ -2964,9 +2972,12 @@ module Google
|
|
|
2964
2972
|
property :extract, as: 'extract', class: Google::Apis::BigqueryV2::JobStatistics4, decorator: Google::Apis::BigqueryV2::JobStatistics4::Representation
|
|
2965
2973
|
|
|
2966
2974
|
property :final_execution_duration_ms, :numeric_string => true, as: 'finalExecutionDurationMs'
|
|
2975
|
+
collection :global_query_remote_regions, as: 'globalQueryRemoteRegions'
|
|
2967
2976
|
property :load, as: 'load', class: Google::Apis::BigqueryV2::JobStatistics3, decorator: Google::Apis::BigqueryV2::JobStatistics3::Representation
|
|
2968
2977
|
|
|
2969
2978
|
property :num_child_jobs, :numeric_string => true, as: 'numChildJobs'
|
|
2979
|
+
property :parent_global_query_job, as: 'parentGlobalQueryJob', class: Google::Apis::BigqueryV2::JobReference, decorator: Google::Apis::BigqueryV2::JobReference::Representation
|
|
2980
|
+
|
|
2970
2981
|
property :parent_job_id, as: 'parentJobId'
|
|
2971
2982
|
property :query, as: 'query', class: Google::Apis::BigqueryV2::JobStatistics2, decorator: Google::Apis::BigqueryV2::JobStatistics2::Representation
|
|
2972
2983
|
|
|
@@ -3046,6 +3057,8 @@ module Google
|
|
|
3046
3057
|
property :model_training_current_iteration, as: 'modelTrainingCurrentIteration'
|
|
3047
3058
|
property :model_training_expected_total_iteration, :numeric_string => true, as: 'modelTrainingExpectedTotalIteration'
|
|
3048
3059
|
property :num_dml_affected_rows, :numeric_string => true, as: 'numDmlAffectedRows'
|
|
3060
|
+
collection :object_storage_stats, as: 'objectStorageStats', class: Google::Apis::BigqueryV2::ObjectStorageStats, decorator: Google::Apis::BigqueryV2::ObjectStorageStats::Representation
|
|
3061
|
+
|
|
3049
3062
|
property :performance_insights, as: 'performanceInsights', class: Google::Apis::BigqueryV2::PerformanceInsights, decorator: Google::Apis::BigqueryV2::PerformanceInsights::Representation
|
|
3050
3063
|
|
|
3051
3064
|
property :query_info, as: 'queryInfo', class: Google::Apis::BigqueryV2::QueryInfo, decorator: Google::Apis::BigqueryV2::QueryInfo::Representation
|
|
@@ -3119,6 +3132,7 @@ module Google
|
|
|
3119
3132
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3120
3133
|
property :copied_logical_bytes, :numeric_string => true, as: 'copiedLogicalBytes'
|
|
3121
3134
|
property :copied_rows, :numeric_string => true, as: 'copiedRows'
|
|
3135
|
+
property :remote_destination_region, as: 'remoteDestinationRegion'
|
|
3122
3136
|
end
|
|
3123
3137
|
end
|
|
3124
3138
|
|
|
@@ -3359,6 +3373,15 @@ module Google
|
|
|
3359
3373
|
end
|
|
3360
3374
|
end
|
|
3361
3375
|
|
|
3376
|
+
class ObjectStorageStats
|
|
3377
|
+
# @private
|
|
3378
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3379
|
+
property :cache_bytes_read, :numeric_string => true, as: 'cacheBytesRead'
|
|
3380
|
+
property :cloud_provider, as: 'cloudProvider'
|
|
3381
|
+
property :object_storage_bytes_read, :numeric_string => true, as: 'objectStorageBytesRead'
|
|
3382
|
+
end
|
|
3383
|
+
end
|
|
3384
|
+
|
|
3362
3385
|
class ParquetOptions
|
|
3363
3386
|
# @private
|
|
3364
3387
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3621,6 +3644,7 @@ module Google
|
|
|
3621
3644
|
property :session_info, as: 'sessionInfo', class: Google::Apis::BigqueryV2::SessionInfo, decorator: Google::Apis::BigqueryV2::SessionInfo::Representation
|
|
3622
3645
|
|
|
3623
3646
|
property :start_time, :numeric_string => true, as: 'startTime'
|
|
3647
|
+
property :statement_type, as: 'statementType'
|
|
3624
3648
|
property :total_bytes_billed, :numeric_string => true, as: 'totalBytesBilled'
|
|
3625
3649
|
property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
|
|
3626
3650
|
property :total_rows, :numeric_string => true, as: 'totalRows'
|
|
@@ -3884,6 +3908,9 @@ module Google
|
|
|
3884
3908
|
class SkewSource
|
|
3885
3909
|
# @private
|
|
3886
3910
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3911
|
+
property :output_bytes_max, :numeric_string => true, as: 'outputBytesMax'
|
|
3912
|
+
property :output_bytes_median, :numeric_string => true, as: 'outputBytesMedian'
|
|
3913
|
+
property :output_bytes_p95, :numeric_string => true, as: 'outputBytesP95'
|
|
3887
3914
|
property :stage_id, :numeric_string => true, as: 'stageId'
|
|
3888
3915
|
end
|
|
3889
3916
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-bigquery_v2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.107.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquery_v2/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.107.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquery_v2
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|