Skip to content

Commit f6b0af0

Browse files
feat: Automated regeneration of bigquery v2 client (googleapis#27406)
Auto-created at 2026-07-19 11:50:15 +0000 using the toys pull request generator.
1 parent 3e84927 commit f6b0af0

5 files changed

Lines changed: 111 additions & 4 deletions

File tree

api_names_out.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62629,6 +62629,7 @@
6262962629
"/bigquery:v2/Argument/isAggregate": is_aggregate
6263062630
"/bigquery:v2/Argument/mode": mode
6263162631
"/bigquery:v2/Argument/name": name
62632+
"/bigquery:v2/Argument/tableType": table_type
6263262633
"/bigquery:v2/ArimaCoefficients": arima_coefficients
6263362634
"/bigquery:v2/ArimaCoefficients/autoRegressiveCoefficients": auto_regressive_coefficients
6263462635
"/bigquery:v2/ArimaCoefficients/autoRegressiveCoefficients/auto_regressive_coefficient": auto_regressive_coefficient
@@ -63421,8 +63422,11 @@
6342163422
"/bigquery:v2/JobStatistics/endTime": end_time
6342263423
"/bigquery:v2/JobStatistics/extract": extract
6342363424
"/bigquery:v2/JobStatistics/finalExecutionDurationMs": final_execution_duration_ms
63425+
"/bigquery:v2/JobStatistics/globalQueryRemoteRegions": global_query_remote_regions
63426+
"/bigquery:v2/JobStatistics/globalQueryRemoteRegions/global_query_remote_region": global_query_remote_region
6342463427
"/bigquery:v2/JobStatistics/load": load
6342563428
"/bigquery:v2/JobStatistics/numChildJobs": num_child_jobs
63429+
"/bigquery:v2/JobStatistics/parentGlobalQueryJob": parent_global_query_job
6342663430
"/bigquery:v2/JobStatistics/parentJobId": parent_job_id
6342763431
"/bigquery:v2/JobStatistics/query": query
6342863432
"/bigquery:v2/JobStatistics/quotaDeferments": quota_deferments
@@ -63472,6 +63476,8 @@
6347263476
"/bigquery:v2/JobStatistics2/modelTrainingCurrentIteration": model_training_current_iteration
6347363477
"/bigquery:v2/JobStatistics2/modelTrainingExpectedTotalIteration": model_training_expected_total_iteration
6347463478
"/bigquery:v2/JobStatistics2/numDmlAffectedRows": num_dml_affected_rows
63479+
"/bigquery:v2/JobStatistics2/objectStorageStats": object_storage_stats
63480+
"/bigquery:v2/JobStatistics2/objectStorageStats/object_storage_stat": object_storage_stat
6347563481
"/bigquery:v2/JobStatistics2/performanceInsights": performance_insights
6347663482
"/bigquery:v2/JobStatistics2/queryInfo": query_info
6347763483
"/bigquery:v2/JobStatistics2/queryPlan": query_plan
@@ -63521,6 +63527,7 @@
6352163527
"/bigquery:v2/JobStatistics5/copiedRows": copied_rows
6352263528
"/bigquery:v2/JobStatistics5/copied_logical_bytes": copied_logical_bytes
6352363529
"/bigquery:v2/JobStatistics5/copied_rows": copied_rows
63530+
"/bigquery:v2/JobStatistics5/remoteDestinationRegion": remote_destination_region
6352463531
"/bigquery:v2/JobStatus": job_status
6352563532
"/bigquery:v2/JobStatus/errorResult": error_result
6352663533
"/bigquery:v2/JobStatus/errors": errors
@@ -63641,6 +63648,10 @@
6364163648
"/bigquery:v2/MultiClassClassificationMetrics/aggregateClassificationMetrics": aggregate_classification_metrics
6364263649
"/bigquery:v2/MultiClassClassificationMetrics/confusionMatrixList": confusion_matrix_list
6364363650
"/bigquery:v2/MultiClassClassificationMetrics/confusionMatrixList/confusion_matrix_list": confusion_matrix_list
63651+
"/bigquery:v2/ObjectStorageStats": object_storage_stats
63652+
"/bigquery:v2/ObjectStorageStats/cacheBytesRead": cache_bytes_read
63653+
"/bigquery:v2/ObjectStorageStats/cloudProvider": cloud_provider
63654+
"/bigquery:v2/ObjectStorageStats/objectStorageBytesRead": object_storage_bytes_read
6364463655
"/bigquery:v2/ParquetOptions": parquet_options
6364563656
"/bigquery:v2/ParquetOptions/enableListInference": enable_list_inference
6364663657
"/bigquery:v2/ParquetOptions/enumAsString": enum_as_string

generated/google-apis-bigquery_v2/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-bigquery_v2
22

3+
### v0.106.0 (2026-07-19)
4+
5+
* Regenerated from discovery document revision 20260707
6+
37
### v0.105.0 (2026-07-12)
48

59
* Regenerated from discovery document revision 20260620

generated/google-apis-bigquery_v2/lib/google/apis/bigquery_v2/classes.rb

Lines changed: 71 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,11 @@ class Argument
158158
# @return [String]
159159
attr_accessor :name
160160

161+
# A table type
162+
# Corresponds to the JSON property `tableType`
163+
# @return [Google::Apis::BigqueryV2::StandardSqlTableType]
164+
attr_accessor :table_type
165+
161166
def initialize(**args)
162167
update!(**args)
163168
end
@@ -169,6 +174,7 @@ def update!(**args)
169174
@is_aggregate = args[:is_aggregate] if args.key?(:is_aggregate)
170175
@mode = args[:mode] if args.key?(:mode)
171176
@name = args[:name] if args.key?(:name)
177+
@table_type = args[:table_type] if args.key?(:table_type)
172178
end
173179
end
174180

@@ -5117,7 +5123,10 @@ class JobConfiguration
51175123
# Optional. The reservation that job would use. User can specify a reservation
51185124
# to execute the job. If reservation is not set, reservation is determined based
51195125
# on the rules defined by the reservation assignments. The expected format is `
5120-
# projects/`project`/locations/`location`/reservations/`reservation``.
5126+
# projects/`project`/locations/`location`/reservations/`reservation``. Forces
5127+
# the query to use on-demand billing when set to `none`, which requires the
5128+
# project or organization to have `reservation_override_mode` set to `
5129+
# ALLOW_ANY_OVERRIDE`.
51215130
# Corresponds to the JSON property `reservation`
51225131
# @return [String]
51235132
attr_accessor :reservation
@@ -6251,6 +6260,11 @@ class JobStatistics
62516260
# @return [Fixnum]
62526261
attr_accessor :final_execution_duration_ms
62536262

6263+
# Output only. Regions where the global query accesses data.
6264+
# Corresponds to the JSON property `globalQueryRemoteRegions`
6265+
# @return [Array<String>]
6266+
attr_accessor :global_query_remote_regions
6267+
62546268
# Statistics for a load job.
62556269
# Corresponds to the JSON property `load`
62566270
# @return [Google::Apis::BigqueryV2::JobStatistics3]
@@ -6261,6 +6275,11 @@ class JobStatistics
62616275
# @return [Fixnum]
62626276
attr_accessor :num_child_jobs
62636277

6278+
# A job reference is a fully qualified identifier for referring to a job.
6279+
# Corresponds to the JSON property `parentGlobalQueryJob`
6280+
# @return [Google::Apis::BigqueryV2::JobReference]
6281+
attr_accessor :parent_global_query_job
6282+
62646283
# Output only. If this is a child job, specifies the job ID of the parent.
62656284
# Corresponds to the JSON property `parentJobId`
62666285
# @return [String]
@@ -6349,8 +6368,10 @@ def update!(**args)
63496368
@end_time = args[:end_time] if args.key?(:end_time)
63506369
@extract = args[:extract] if args.key?(:extract)
63516370
@final_execution_duration_ms = args[:final_execution_duration_ms] if args.key?(:final_execution_duration_ms)
6371+
@global_query_remote_regions = args[:global_query_remote_regions] if args.key?(:global_query_remote_regions)
63526372
@load = args[:load] if args.key?(:load)
63536373
@num_child_jobs = args[:num_child_jobs] if args.key?(:num_child_jobs)
6374+
@parent_global_query_job = args[:parent_global_query_job] if args.key?(:parent_global_query_job)
63546375
@parent_job_id = args[:parent_job_id] if args.key?(:parent_job_id)
63556376
@query = args[:query] if args.key?(:query)
63566377
@quota_deferments = args[:quota_deferments] if args.key?(:quota_deferments)
@@ -6546,6 +6567,12 @@ class JobStatistics2
65466567
# @return [Fixnum]
65476568
attr_accessor :num_dml_affected_rows
65486569

6570+
# Output only. Storage and caching statistics per cloud provider for queries
6571+
# over object storage.
6572+
# Corresponds to the JSON property `objectStorageStats`
6573+
# @return [Array<Google::Apis::BigqueryV2::ObjectStorageStats>]
6574+
attr_accessor :object_storage_stats
6575+
65496576
# Performance insights for the job.
65506577
# Corresponds to the JSON property `performanceInsights`
65516578
# @return [Google::Apis::BigqueryV2::PerformanceInsights]
@@ -6790,6 +6817,7 @@ def update!(**args)
67906817
@model_training_current_iteration = args[:model_training_current_iteration] if args.key?(:model_training_current_iteration)
67916818
@model_training_expected_total_iteration = args[:model_training_expected_total_iteration] if args.key?(:model_training_expected_total_iteration)
67926819
@num_dml_affected_rows = args[:num_dml_affected_rows] if args.key?(:num_dml_affected_rows)
6820+
@object_storage_stats = args[:object_storage_stats] if args.key?(:object_storage_stats)
67936821
@performance_insights = args[:performance_insights] if args.key?(:performance_insights)
67946822
@query_info = args[:query_info] if args.key?(:query_info)
67956823
@query_plan = args[:query_plan] if args.key?(:query_plan)
@@ -6944,6 +6972,12 @@ class JobStatistics5
69446972
# @return [Fixnum]
69456973
attr_accessor :copied_rows
69466974

6975+
# Output only. Destination region for a cross-region copy job. Not set for in-
6976+
# region copy jobs.
6977+
# Corresponds to the JSON property `remoteDestinationRegion`
6978+
# @return [String]
6979+
attr_accessor :remote_destination_region
6980+
69476981
def initialize(**args)
69486982
update!(**args)
69496983
end
@@ -6952,6 +6986,7 @@ def initialize(**args)
69526986
def update!(**args)
69536987
@copied_logical_bytes = args[:copied_logical_bytes] if args.key?(:copied_logical_bytes)
69546988
@copied_rows = args[:copied_rows] if args.key?(:copied_rows)
6989+
@remote_destination_region = args[:remote_destination_region] if args.key?(:remote_destination_region)
69556990
end
69566991
end
69576992

@@ -7788,6 +7823,38 @@ def update!(**args)
77887823
end
77897824
end
77907825

7826+
# Storage and caching statistics for object storage.
7827+
class ObjectStorageStats
7828+
include Google::Apis::Core::Hashable
7829+
7830+
# Total bytes read from the GCP Lakehouse-internal cache, avoiding an object
7831+
# storage read.
7832+
# Corresponds to the JSON property `cacheBytesRead`
7833+
# @return [Fixnum]
7834+
attr_accessor :cache_bytes_read
7835+
7836+
# The cloud provider for this block of statistics.
7837+
# Corresponds to the JSON property `cloudProvider`
7838+
# @return [String]
7839+
attr_accessor :cloud_provider
7840+
7841+
# Total bytes read directly from the cloud provider's storage.
7842+
# Corresponds to the JSON property `objectStorageBytesRead`
7843+
# @return [Fixnum]
7844+
attr_accessor :object_storage_bytes_read
7845+
7846+
def initialize(**args)
7847+
update!(**args)
7848+
end
7849+
7850+
# Update properties of this object
7851+
def update!(**args)
7852+
@cache_bytes_read = args[:cache_bytes_read] if args.key?(:cache_bytes_read)
7853+
@cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
7854+
@object_storage_bytes_read = args[:object_storage_bytes_read] if args.key?(:object_storage_bytes_read)
7855+
end
7856+
end
7857+
77917858
# Parquet Options for load and make external tables.
77927859
class ParquetOptions
77937860
include Google::Apis::Core::Hashable
@@ -8642,7 +8709,9 @@ class QueryRequest
86428709

86438710
# Optional. The reservation that jobs.query request would use. User can specify
86448711
# a reservation to execute the job.query. The expected format is `projects/`
8645-
# project`/locations/`location`/reservations/`reservation``.
8712+
# project`/locations/`location`/reservations/`reservation``. Forces the query to
8713+
# use on-demand billing when set to `none`. This requires the project or
8714+
# organization to have `reservation_override_mode` set to `ALLOW_ANY_OVERRIDE`.
86468715
# Corresponds to the JSON property `reservation`
86478716
# @return [String]
86488717
attr_accessor :reservation

generated/google-apis-bigquery_v2/lib/google/apis/bigquery_v2/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module BigqueryV2
1818
# Version of the google-apis-bigquery_v2 gem
19-
GEM_VERSION = "0.105.0"
19+
GEM_VERSION = "0.106.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.19.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260620"
25+
REVISION = "20260707"
2626
end
2727
end
2828
end

generated/google-apis-bigquery_v2/lib/google/apis/bigquery_v2/representations.rb

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -904,6 +904,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
904904
include Google::Apis::Core::JsonObjectSupport
905905
end
906906

907+
class ObjectStorageStats
908+
class Representation < Google::Apis::Core::JsonRepresentation; end
909+
910+
include Google::Apis::Core::JsonObjectSupport
911+
end
912+
907913
class ParquetOptions
908914
class Representation < Google::Apis::Core::JsonRepresentation; end
909915

@@ -1522,6 +1528,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
15221528
property :is_aggregate, as: 'isAggregate'
15231529
property :mode, as: 'mode'
15241530
property :name, as: 'name'
1531+
property :table_type, as: 'tableType', class: Google::Apis::BigqueryV2::StandardSqlTableType, decorator: Google::Apis::BigqueryV2::StandardSqlTableType::Representation
1532+
15251533
end
15261534
end
15271535

@@ -2964,9 +2972,12 @@ class Representation < Google::Apis::Core::JsonRepresentation
29642972
property :extract, as: 'extract', class: Google::Apis::BigqueryV2::JobStatistics4, decorator: Google::Apis::BigqueryV2::JobStatistics4::Representation
29652973

29662974
property :final_execution_duration_ms, :numeric_string => true, as: 'finalExecutionDurationMs'
2975+
collection :global_query_remote_regions, as: 'globalQueryRemoteRegions'
29672976
property :load, as: 'load', class: Google::Apis::BigqueryV2::JobStatistics3, decorator: Google::Apis::BigqueryV2::JobStatistics3::Representation
29682977

29692978
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+
29702981
property :parent_job_id, as: 'parentJobId'
29712982
property :query, as: 'query', class: Google::Apis::BigqueryV2::JobStatistics2, decorator: Google::Apis::BigqueryV2::JobStatistics2::Representation
29722983

@@ -3046,6 +3057,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
30463057
property :model_training_current_iteration, as: 'modelTrainingCurrentIteration'
30473058
property :model_training_expected_total_iteration, :numeric_string => true, as: 'modelTrainingExpectedTotalIteration'
30483059
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+
30493062
property :performance_insights, as: 'performanceInsights', class: Google::Apis::BigqueryV2::PerformanceInsights, decorator: Google::Apis::BigqueryV2::PerformanceInsights::Representation
30503063

30513064
property :query_info, as: 'queryInfo', class: Google::Apis::BigqueryV2::QueryInfo, decorator: Google::Apis::BigqueryV2::QueryInfo::Representation
@@ -3119,6 +3132,7 @@ class JobStatistics5
31193132
class Representation < Google::Apis::Core::JsonRepresentation
31203133
property :copied_logical_bytes, :numeric_string => true, as: 'copiedLogicalBytes'
31213134
property :copied_rows, :numeric_string => true, as: 'copiedRows'
3135+
property :remote_destination_region, as: 'remoteDestinationRegion'
31223136
end
31233137
end
31243138

@@ -3359,6 +3373,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
33593373
end
33603374
end
33613375

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+
33623385
class ParquetOptions
33633386
# @private
33643387
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)