Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62361,6 +62361,7 @@
"/bigquery:v2/Argument/isAggregate": is_aggregate
"/bigquery:v2/Argument/mode": mode
"/bigquery:v2/Argument/name": name
"/bigquery:v2/Argument/tableType": table_type
"/bigquery:v2/ArimaCoefficients": arima_coefficients
"/bigquery:v2/ArimaCoefficients/autoRegressiveCoefficients": auto_regressive_coefficients
"/bigquery:v2/ArimaCoefficients/autoRegressiveCoefficients/auto_regressive_coefficient": auto_regressive_coefficient
Expand Down Expand Up @@ -63153,8 +63154,11 @@
"/bigquery:v2/JobStatistics/endTime": end_time
"/bigquery:v2/JobStatistics/extract": extract
"/bigquery:v2/JobStatistics/finalExecutionDurationMs": final_execution_duration_ms
"/bigquery:v2/JobStatistics/globalQueryRemoteRegions": global_query_remote_regions
"/bigquery:v2/JobStatistics/globalQueryRemoteRegions/global_query_remote_region": global_query_remote_region
"/bigquery:v2/JobStatistics/load": load
"/bigquery:v2/JobStatistics/numChildJobs": num_child_jobs
"/bigquery:v2/JobStatistics/parentGlobalQueryJob": parent_global_query_job
"/bigquery:v2/JobStatistics/parentJobId": parent_job_id
"/bigquery:v2/JobStatistics/query": query
"/bigquery:v2/JobStatistics/quotaDeferments": quota_deferments
Expand Down Expand Up @@ -63204,6 +63208,8 @@
"/bigquery:v2/JobStatistics2/modelTrainingCurrentIteration": model_training_current_iteration
"/bigquery:v2/JobStatistics2/modelTrainingExpectedTotalIteration": model_training_expected_total_iteration
"/bigquery:v2/JobStatistics2/numDmlAffectedRows": num_dml_affected_rows
"/bigquery:v2/JobStatistics2/objectStorageStats": object_storage_stats
"/bigquery:v2/JobStatistics2/objectStorageStats/object_storage_stat": object_storage_stat
"/bigquery:v2/JobStatistics2/performanceInsights": performance_insights
"/bigquery:v2/JobStatistics2/queryInfo": query_info
"/bigquery:v2/JobStatistics2/queryPlan": query_plan
Expand Down Expand Up @@ -63253,6 +63259,7 @@
"/bigquery:v2/JobStatistics5/copiedRows": copied_rows
"/bigquery:v2/JobStatistics5/copied_logical_bytes": copied_logical_bytes
"/bigquery:v2/JobStatistics5/copied_rows": copied_rows
"/bigquery:v2/JobStatistics5/remoteDestinationRegion": remote_destination_region
"/bigquery:v2/JobStatus": job_status
"/bigquery:v2/JobStatus/errorResult": error_result
"/bigquery:v2/JobStatus/errors": errors
Expand Down Expand Up @@ -63373,6 +63380,10 @@
"/bigquery:v2/MultiClassClassificationMetrics/aggregateClassificationMetrics": aggregate_classification_metrics
"/bigquery:v2/MultiClassClassificationMetrics/confusionMatrixList": confusion_matrix_list
"/bigquery:v2/MultiClassClassificationMetrics/confusionMatrixList/confusion_matrix_list": confusion_matrix_list
"/bigquery:v2/ObjectStorageStats": object_storage_stats
"/bigquery:v2/ObjectStorageStats/cacheBytesRead": cache_bytes_read
"/bigquery:v2/ObjectStorageStats/cloudProvider": cloud_provider
"/bigquery:v2/ObjectStorageStats/objectStorageBytesRead": object_storage_bytes_read
"/bigquery:v2/ParquetOptions": parquet_options
"/bigquery:v2/ParquetOptions/enableListInference": enable_list_inference
"/bigquery:v2/ParquetOptions/enumAsString": enum_as_string
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-bigquery_v2/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-bigquery_v2

### v0.106.0 (2026-07-19)

* Regenerated from discovery document revision 20260707

### v0.105.0 (2026-07-12)

* Regenerated from discovery document revision 20260620
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,11 @@ class Argument
# @return [String]
attr_accessor :name

# A table type
# Corresponds to the JSON property `tableType`
# @return [Google::Apis::BigqueryV2::StandardSqlTableType]
attr_accessor :table_type

def initialize(**args)
update!(**args)
end
Expand All @@ -169,6 +174,7 @@ def update!(**args)
@is_aggregate = args[:is_aggregate] if args.key?(:is_aggregate)
@mode = args[:mode] if args.key?(:mode)
@name = args[:name] if args.key?(:name)
@table_type = args[:table_type] if args.key?(:table_type)
end
end

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

# Output only. Regions where the global query accesses data.
# Corresponds to the JSON property `globalQueryRemoteRegions`
# @return [Array<String>]
attr_accessor :global_query_remote_regions

# Statistics for a load job.
# Corresponds to the JSON property `load`
# @return [Google::Apis::BigqueryV2::JobStatistics3]
Expand All @@ -6261,6 +6275,11 @@ class JobStatistics
# @return [Fixnum]
attr_accessor :num_child_jobs

# A job reference is a fully qualified identifier for referring to a job.
# Corresponds to the JSON property `parentGlobalQueryJob`
# @return [Google::Apis::BigqueryV2::JobReference]
attr_accessor :parent_global_query_job

# Output only. If this is a child job, specifies the job ID of the parent.
# Corresponds to the JSON property `parentJobId`
# @return [String]
Expand Down Expand Up @@ -6349,8 +6368,10 @@ def update!(**args)
@end_time = args[:end_time] if args.key?(:end_time)
@extract = args[:extract] if args.key?(:extract)
@final_execution_duration_ms = args[:final_execution_duration_ms] if args.key?(:final_execution_duration_ms)
@global_query_remote_regions = args[:global_query_remote_regions] if args.key?(:global_query_remote_regions)
@load = args[:load] if args.key?(:load)
@num_child_jobs = args[:num_child_jobs] if args.key?(:num_child_jobs)
@parent_global_query_job = args[:parent_global_query_job] if args.key?(:parent_global_query_job)
@parent_job_id = args[:parent_job_id] if args.key?(:parent_job_id)
@query = args[:query] if args.key?(:query)
@quota_deferments = args[:quota_deferments] if args.key?(:quota_deferments)
Expand Down Expand Up @@ -6546,6 +6567,12 @@ class JobStatistics2
# @return [Fixnum]
attr_accessor :num_dml_affected_rows

# Output only. Storage and caching statistics per cloud provider for queries
# over object storage.
# Corresponds to the JSON property `objectStorageStats`
# @return [Array<Google::Apis::BigqueryV2::ObjectStorageStats>]
attr_accessor :object_storage_stats

# Performance insights for the job.
# Corresponds to the JSON property `performanceInsights`
# @return [Google::Apis::BigqueryV2::PerformanceInsights]
Expand Down Expand Up @@ -6790,6 +6817,7 @@ def update!(**args)
@model_training_current_iteration = args[:model_training_current_iteration] if args.key?(:model_training_current_iteration)
@model_training_expected_total_iteration = args[:model_training_expected_total_iteration] if args.key?(:model_training_expected_total_iteration)
@num_dml_affected_rows = args[:num_dml_affected_rows] if args.key?(:num_dml_affected_rows)
@object_storage_stats = args[:object_storage_stats] if args.key?(:object_storage_stats)
@performance_insights = args[:performance_insights] if args.key?(:performance_insights)
@query_info = args[:query_info] if args.key?(:query_info)
@query_plan = args[:query_plan] if args.key?(:query_plan)
Expand Down Expand Up @@ -6944,6 +6972,12 @@ class JobStatistics5
# @return [Fixnum]
attr_accessor :copied_rows

# Output only. Destination region for a cross-region copy job. Not set for in-
# region copy jobs.
# Corresponds to the JSON property `remoteDestinationRegion`
# @return [String]
attr_accessor :remote_destination_region

def initialize(**args)
update!(**args)
end
Expand All @@ -6952,6 +6986,7 @@ def initialize(**args)
def update!(**args)
@copied_logical_bytes = args[:copied_logical_bytes] if args.key?(:copied_logical_bytes)
@copied_rows = args[:copied_rows] if args.key?(:copied_rows)
@remote_destination_region = args[:remote_destination_region] if args.key?(:remote_destination_region)
end
end

Expand Down Expand Up @@ -7788,6 +7823,38 @@ def update!(**args)
end
end

# Storage and caching statistics for object storage.
class ObjectStorageStats
include Google::Apis::Core::Hashable

# Total bytes read from the GCP Lakehouse-internal cache, avoiding an object
# storage read.
# Corresponds to the JSON property `cacheBytesRead`
# @return [Fixnum]
attr_accessor :cache_bytes_read

# The cloud provider for this block of statistics.
# Corresponds to the JSON property `cloudProvider`
# @return [String]
attr_accessor :cloud_provider

# Total bytes read directly from the cloud provider's storage.
# Corresponds to the JSON property `objectStorageBytesRead`
# @return [Fixnum]
attr_accessor :object_storage_bytes_read

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@cache_bytes_read = args[:cache_bytes_read] if args.key?(:cache_bytes_read)
@cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
@object_storage_bytes_read = args[:object_storage_bytes_read] if args.key?(:object_storage_bytes_read)
end
end

# Parquet Options for load and make external tables.
class ParquetOptions
include Google::Apis::Core::Hashable
Expand Down Expand Up @@ -8642,7 +8709,9 @@ class QueryRequest

# Optional. The reservation that jobs.query request would use. User can specify
# a reservation to execute the job.query. The expected format is `projects/`
# project`/locations/`location`/reservations/`reservation``.
# project`/locations/`location`/reservations/`reservation``. Forces the query to
# use on-demand billing when set to `none`. This requires the project or
# organization to have `reservation_override_mode` set to `ALLOW_ANY_OVERRIDE`.
# Corresponds to the JSON property `reservation`
# @return [String]
attr_accessor :reservation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module BigqueryV2
# Version of the google-apis-bigquery_v2 gem
GEM_VERSION = "0.105.0"
GEM_VERSION = "0.106.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20260620"
REVISION = "20260707"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class ObjectStorageStats
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class ParquetOptions
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -1522,6 +1528,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :is_aggregate, as: 'isAggregate'
property :mode, as: 'mode'
property :name, as: 'name'
property :table_type, as: 'tableType', class: Google::Apis::BigqueryV2::StandardSqlTableType, decorator: Google::Apis::BigqueryV2::StandardSqlTableType::Representation

end
end

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

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

property :num_child_jobs, :numeric_string => true, as: 'numChildJobs'
property :parent_global_query_job, as: 'parentGlobalQueryJob', class: Google::Apis::BigqueryV2::JobReference, decorator: Google::Apis::BigqueryV2::JobReference::Representation

property :parent_job_id, as: 'parentJobId'
property :query, as: 'query', class: Google::Apis::BigqueryV2::JobStatistics2, decorator: Google::Apis::BigqueryV2::JobStatistics2::Representation

Expand Down Expand Up @@ -3046,6 +3057,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :model_training_current_iteration, as: 'modelTrainingCurrentIteration'
property :model_training_expected_total_iteration, :numeric_string => true, as: 'modelTrainingExpectedTotalIteration'
property :num_dml_affected_rows, :numeric_string => true, as: 'numDmlAffectedRows'
collection :object_storage_stats, as: 'objectStorageStats', class: Google::Apis::BigqueryV2::ObjectStorageStats, decorator: Google::Apis::BigqueryV2::ObjectStorageStats::Representation

property :performance_insights, as: 'performanceInsights', class: Google::Apis::BigqueryV2::PerformanceInsights, decorator: Google::Apis::BigqueryV2::PerformanceInsights::Representation

property :query_info, as: 'queryInfo', class: Google::Apis::BigqueryV2::QueryInfo, decorator: Google::Apis::BigqueryV2::QueryInfo::Representation
Expand Down Expand Up @@ -3119,6 +3132,7 @@ class JobStatistics5
class Representation < Google::Apis::Core::JsonRepresentation
property :copied_logical_bytes, :numeric_string => true, as: 'copiedLogicalBytes'
property :copied_rows, :numeric_string => true, as: 'copiedRows'
property :remote_destination_region, as: 'remoteDestinationRegion'
end
end

Expand Down Expand Up @@ -3359,6 +3373,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class ObjectStorageStats
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cache_bytes_read, :numeric_string => true, as: 'cacheBytesRead'
property :cloud_provider, as: 'cloudProvider'
property :object_storage_bytes_read, :numeric_string => true, as: 'objectStorageBytesRead'
end
end

class ParquetOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down
Loading