google-apis-bigquery_v2 0.105.0 → 0.106.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 43f1e18ce4d42fa6ca3effbdb9bd21c47cad03e15ec5df18877dee9371a07e88
4
- data.tar.gz: c32572cca028d587a1e82400097ca3b8f453cf11d6a85ba20abbcfa257f89033
3
+ metadata.gz: 3168f3b1f97764083420bccd5a7aa486dbf170603207f74bec6579c6815dd8fa
4
+ data.tar.gz: d975be7fe28d16670a99f1e70d98f6866a9dc85f0d16809504fbd16268b8be91
5
5
  SHA512:
6
- metadata.gz: e24822961d7c849fa5ef8337bf9d79ab0d224b280a72e5dae6fc203a7cf64f539e13d8515ffdffcb15eef95f2f45b2daa14e41e68d7662ad3e508fec19dcbc79
7
- data.tar.gz: 4ce2003196cf90e6873e953d66ec12a1b0f910b5d4abaddecd8e92a308cb524cc90347bc3d41a662faeee7fd01343d02957ee1bde1f25746e68ac96f39446f3f
6
+ metadata.gz: 7e21e95e1a8ad9277cfa4e105a69ddbbd03df9fa092348e6296120f3d24fe6815647f5f595edc431dcc4519698a74dc64c55ec195866d007cb1197db15e7a7d2
7
+ data.tar.gz: 617fe507792621f81d41789e6dcb78bb6e8ca78186acac556ba034dcc4ff252b243a958dbefb5cdd1b92e3c4390cb4209ea60a99446d31dea9415426713bde6c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.106.0 (2026-07-19)
4
+
5
+ * Regenerated from discovery document revision 20260707
6
+
3
7
  ### v0.105.0 (2026-07-12)
4
8
 
5
9
  * 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
 
@@ -5117,7 +5123,10 @@ module Google
5117
5123
  # Optional. The reservation that job would use. User can specify a reservation
5118
5124
  # to execute the job. If reservation is not set, reservation is determined based
5119
5125
  # 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`.
5121
5130
  # Corresponds to the JSON property `reservation`
5122
5131
  # @return [String]
5123
5132
  attr_accessor :reservation
@@ -6251,6 +6260,11 @@ module Google
6251
6260
  # @return [Fixnum]
6252
6261
  attr_accessor :final_execution_duration_ms
6253
6262
 
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
+
6254
6268
  # Statistics for a load job.
6255
6269
  # Corresponds to the JSON property `load`
6256
6270
  # @return [Google::Apis::BigqueryV2::JobStatistics3]
@@ -6261,6 +6275,11 @@ module Google
6261
6275
  # @return [Fixnum]
6262
6276
  attr_accessor :num_child_jobs
6263
6277
 
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
+
6264
6283
  # Output only. If this is a child job, specifies the job ID of the parent.
6265
6284
  # Corresponds to the JSON property `parentJobId`
6266
6285
  # @return [String]
@@ -6349,8 +6368,10 @@ module Google
6349
6368
  @end_time = args[:end_time] if args.key?(:end_time)
6350
6369
  @extract = args[:extract] if args.key?(:extract)
6351
6370
  @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)
6352
6372
  @load = args[:load] if args.key?(:load)
6353
6373
  @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)
6354
6375
  @parent_job_id = args[:parent_job_id] if args.key?(:parent_job_id)
6355
6376
  @query = args[:query] if args.key?(:query)
6356
6377
  @quota_deferments = args[:quota_deferments] if args.key?(:quota_deferments)
@@ -6546,6 +6567,12 @@ module Google
6546
6567
  # @return [Fixnum]
6547
6568
  attr_accessor :num_dml_affected_rows
6548
6569
 
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
+
6549
6576
  # Performance insights for the job.
6550
6577
  # Corresponds to the JSON property `performanceInsights`
6551
6578
  # @return [Google::Apis::BigqueryV2::PerformanceInsights]
@@ -6790,6 +6817,7 @@ module Google
6790
6817
  @model_training_current_iteration = args[:model_training_current_iteration] if args.key?(:model_training_current_iteration)
6791
6818
  @model_training_expected_total_iteration = args[:model_training_expected_total_iteration] if args.key?(:model_training_expected_total_iteration)
6792
6819
  @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)
6793
6821
  @performance_insights = args[:performance_insights] if args.key?(:performance_insights)
6794
6822
  @query_info = args[:query_info] if args.key?(:query_info)
6795
6823
  @query_plan = args[:query_plan] if args.key?(:query_plan)
@@ -6944,6 +6972,12 @@ module Google
6944
6972
  # @return [Fixnum]
6945
6973
  attr_accessor :copied_rows
6946
6974
 
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
+
6947
6981
  def initialize(**args)
6948
6982
  update!(**args)
6949
6983
  end
@@ -6952,6 +6986,7 @@ module Google
6952
6986
  def update!(**args)
6953
6987
  @copied_logical_bytes = args[:copied_logical_bytes] if args.key?(:copied_logical_bytes)
6954
6988
  @copied_rows = args[:copied_rows] if args.key?(:copied_rows)
6989
+ @remote_destination_region = args[:remote_destination_region] if args.key?(:remote_destination_region)
6955
6990
  end
6956
6991
  end
6957
6992
 
@@ -7788,6 +7823,38 @@ module Google
7788
7823
  end
7789
7824
  end
7790
7825
 
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
+
7791
7858
  # Parquet Options for load and make external tables.
7792
7859
  class ParquetOptions
7793
7860
  include Google::Apis::Core::Hashable
@@ -8642,7 +8709,9 @@ module Google
8642
8709
 
8643
8710
  # Optional. The reservation that jobs.query request would use. User can specify
8644
8711
  # 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`.
8646
8715
  # Corresponds to the JSON property `reservation`
8647
8716
  # @return [String]
8648
8717
  attr_accessor :reservation
@@ -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.105.0"
19
+ GEM_VERSION = "0.106.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 = "20260620"
25
+ REVISION = "20260707"
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
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.105.0
4
+ version: 0.106.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.105.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.106.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: