google-apis-bigquery_v2 0.93.0 → 0.95.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: d842ed8d9b1ec592876711304fae52ccda526bf4e3e9af31e08da64662c9e45f
4
- data.tar.gz: 7887dab2ab44e700d8bc3f3e49d04fa2499ef05747807dae89b256a3e24b2ecc
3
+ metadata.gz: da2b4cbfa703cd9462b98f3777d301c1e9397898b324580039f70124884ba406
4
+ data.tar.gz: 10887f476da721fb7a1ece6ae30ca964c82c433b775e2d73c0effd1576ca702c
5
5
  SHA512:
6
- metadata.gz: 20860e093d69d19f908393ddd0effff45ade8a0337d081077b925ad54734050eb40c30eec7b356bea4145727c799230b8efc1880bd81e704517408ea4af409c1
7
- data.tar.gz: c1494ea8caaa41cf11296afa2e39e5c6231a8f6955ee611ba5ac39c4ab281a8d2a74a52b83d7a8eff57c9288b9cd345921947cdafb13463bf1b96ab9090f4ead
6
+ metadata.gz: 0ba15af3e9760dc4c4a6ecc0a0783a5ee5e2fc12f5a72b09b7aa4d7dfd1e6359250ad8c01ec0b8c7d166bad643ac53c51d2bfd54ca8afcc13425a3d5ec383dd8
7
+ data.tar.gz: 33eb8917565b5599626ee9dea7148c1560c2c62187f32efe82064a755d7128461c64deeea1ed9b275d26fdf52f26143bbbeac6616705f5c323cf8c2ce1cec118
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.95.0 (2025-10-05)
4
+
5
+ * Regenerated from discovery document revision 20250928
6
+
7
+ ### v0.94.0 (2025-09-28)
8
+
9
+ * Regenerated from discovery document revision 20250919
10
+
3
11
  ### v0.93.0 (2025-08-31)
4
12
 
5
13
  * Regenerated from discovery document revision 20250816
@@ -3362,6 +3362,20 @@ module Google
3362
3362
  # @return [String]
3363
3363
  attr_accessor :timestamp_format
3364
3364
 
3365
+ # Precisions (maximum number of total digits in base 10) for seconds of
3366
+ # TIMESTAMP types that are allowed to the destination table for autodetection
3367
+ # mode. Available for the formats: CSV. For the CSV Format, Possible values
3368
+ # include: Not Specified, [], or [6]: timestamp(6) for all auto detected
3369
+ # TIMESTAMP columns [6, 12]: timestamp(6) for all auto detected TIMESTAMP
3370
+ # columns that have less than 6 digits of subseconds. timestamp(12) for all auto
3371
+ # detected TIMESTAMP columns that have more than 6 digits of subseconds. [12]:
3372
+ # timestamp(12) for all auto detected TIMESTAMP columns. The order of the
3373
+ # elements in this array is ignored. Inputs that have higher precision than the
3374
+ # highest target precision in this array will be truncated.
3375
+ # Corresponds to the JSON property `timestampTargetPrecision`
3376
+ # @return [Array<Fixnum>]
3377
+ attr_accessor :timestamp_target_precision
3378
+
3365
3379
  def initialize(**args)
3366
3380
  update!(**args)
3367
3381
  end
@@ -3394,6 +3408,7 @@ module Google
3394
3408
  @time_format = args[:time_format] if args.key?(:time_format)
3395
3409
  @time_zone = args[:time_zone] if args.key?(:time_zone)
3396
3410
  @timestamp_format = args[:timestamp_format] if args.key?(:timestamp_format)
3411
+ @timestamp_target_precision = args[:timestamp_target_precision] if args.key?(:timestamp_target_precision)
3397
3412
  end
3398
3413
  end
3399
3414
 
@@ -3489,8 +3504,8 @@ module Google
3489
3504
  class ExternalServiceCost
3490
3505
  include Google::Apis::Core::Hashable
3491
3506
 
3492
- # The billing method used for the external job. This field is only used when
3493
- # billed on the services sku, set to "SERVICES_SKU". Otherwise, it is
3507
+ # The billing method used for the external job. This field, set to `SERVICES_SKU`
3508
+ # , is only used when billing under the services SKU. Otherwise, it is
3494
3509
  # unspecified for backward compatibility.
3495
3510
  # Corresponds to the JSON property `billingMethod`
3496
3511
  # @return [String]
@@ -4177,6 +4192,71 @@ module Google
4177
4192
  end
4178
4193
  end
4179
4194
 
4195
+ # Statistics related to Incremental Query Results. Populated as part of
4196
+ # JobStatistics2. This feature is not yet available.
4197
+ class IncrementalResultStats
4198
+ include Google::Apis::Core::Hashable
4199
+
4200
+ # Reason why incremental query results are/were not written by the query.
4201
+ # Corresponds to the JSON property `disabledReason`
4202
+ # @return [String]
4203
+ attr_accessor :disabled_reason
4204
+
4205
+ # The time at which the result table's contents were modified. May be absent if
4206
+ # no results have been written or the query has completed.
4207
+ # Corresponds to the JSON property `resultSetLastModifyTime`
4208
+ # @return [String]
4209
+ attr_accessor :result_set_last_modify_time
4210
+
4211
+ # The time at which the result table's contents were completely replaced. May be
4212
+ # absent if no results have been written or the query has completed.
4213
+ # Corresponds to the JSON property `resultSetLastReplaceTime`
4214
+ # @return [String]
4215
+ attr_accessor :result_set_last_replace_time
4216
+
4217
+ def initialize(**args)
4218
+ update!(**args)
4219
+ end
4220
+
4221
+ # Update properties of this object
4222
+ def update!(**args)
4223
+ @disabled_reason = args[:disabled_reason] if args.key?(:disabled_reason)
4224
+ @result_set_last_modify_time = args[:result_set_last_modify_time] if args.key?(:result_set_last_modify_time)
4225
+ @result_set_last_replace_time = args[:result_set_last_replace_time] if args.key?(:result_set_last_replace_time)
4226
+ end
4227
+ end
4228
+
4229
+ # Statistics for index pruning.
4230
+ class IndexPruningStats
4231
+ include Google::Apis::Core::Hashable
4232
+
4233
+ # The base table reference.
4234
+ # Corresponds to the JSON property `baseTable`
4235
+ # @return [Google::Apis::BigqueryV2::TableReference]
4236
+ attr_accessor :base_table
4237
+
4238
+ # The number of parallel inputs after index pruning.
4239
+ # Corresponds to the JSON property `postIndexPruningParallelInputCount`
4240
+ # @return [Fixnum]
4241
+ attr_accessor :post_index_pruning_parallel_input_count
4242
+
4243
+ # The number of parallel inputs before index pruning.
4244
+ # Corresponds to the JSON property `preIndexPruningParallelInputCount`
4245
+ # @return [Fixnum]
4246
+ attr_accessor :pre_index_pruning_parallel_input_count
4247
+
4248
+ def initialize(**args)
4249
+ update!(**args)
4250
+ end
4251
+
4252
+ # Update properties of this object
4253
+ def update!(**args)
4254
+ @base_table = args[:base_table] if args.key?(:base_table)
4255
+ @post_index_pruning_parallel_input_count = args[:post_index_pruning_parallel_input_count] if args.key?(:post_index_pruning_parallel_input_count)
4256
+ @pre_index_pruning_parallel_input_count = args[:pre_index_pruning_parallel_input_count] if args.key?(:pre_index_pruning_parallel_input_count)
4257
+ end
4258
+ end
4259
+
4180
4260
  # Reason about why no search index was used in the search query (or sub-query).
4181
4261
  class IndexUnusedReason
4182
4262
  include Google::Apis::Core::Hashable
@@ -4539,11 +4619,11 @@ module Google
4539
4619
  # @return [Google::Apis::BigqueryV2::JobConfigurationExtract]
4540
4620
  attr_accessor :extract
4541
4621
 
4542
- # Optional. Job timeout in milliseconds. If this time limit is exceeded,
4543
- # BigQuery will attempt to stop a longer job, but may not always succeed in
4544
- # canceling it before the job completes. For example, a job that takes more than
4545
- # 60 seconds to complete has a better chance of being stopped than a job that
4546
- # takes 10 seconds to complete.
4622
+ # Optional. Job timeout in milliseconds relative to the job creation time. If
4623
+ # this time limit is exceeded, BigQuery attempts to stop the job, but might not
4624
+ # always succeed in canceling it before the job completes. For example, a job
4625
+ # that takes more than 60 seconds to complete has a better chance of being
4626
+ # stopped than a job that takes 10 seconds to complete.
4547
4627
  # Corresponds to the JSON property `jobTimeoutMs`
4548
4628
  # @return [Fixnum]
4549
4629
  attr_accessor :job_timeout_ms
@@ -4568,9 +4648,12 @@ module Google
4568
4648
  # @return [Google::Apis::BigqueryV2::JobConfigurationLoad]
4569
4649
  attr_accessor :load
4570
4650
 
4571
- # Optional. INTERNAL: DO NOT USE. The maximum rate of slot consumption to allow
4572
- # for this job. If set, the number of slots used to execute the job will be
4573
- # throttled to try and keep its slot consumption below the requested rate.
4651
+ # Optional. A target limit on the rate of slot consumption by this job. If set
4652
+ # to a value > 0, BigQuery will attempt to limit the rate of slot consumption by
4653
+ # this job to keep it below the configured limit, even if the job is eligible
4654
+ # for more slots based on fair scheduling. The unused slots will be available
4655
+ # for other jobs and queries to use. Note: This feature is not yet generally
4656
+ # available.
4574
4657
  # Corresponds to the JSON property `maxSlots`
4575
4658
  # @return [Fixnum]
4576
4659
  attr_accessor :max_slots
@@ -4986,13 +5069,14 @@ module Google
4986
5069
 
4987
5070
  # Allows the schema of the destination table to be updated as a side effect of
4988
5071
  # the load job if a schema is autodetected or supplied in the job configuration.
4989
- # Schema update options are supported in two cases: when writeDisposition is
4990
- # WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE and the destination
4991
- # table is a partition of a table, specified by partition decorators. For normal
4992
- # tables, WRITE_TRUNCATE will always overwrite the schema. One or more of the
4993
- # following values are specified: * ALLOW_FIELD_ADDITION: allow adding a
4994
- # nullable field to the schema. * ALLOW_FIELD_RELAXATION: allow relaxing a
4995
- # required field in the original schema to nullable.
5072
+ # Schema update options are supported in three cases: when writeDisposition is
5073
+ # WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE_DATA; when
5074
+ # writeDisposition is WRITE_TRUNCATE and the destination table is a partition of
5075
+ # a table, specified by partition decorators. For normal tables, WRITE_TRUNCATE
5076
+ # will always overwrite the schema. One or more of the following values are
5077
+ # specified: * ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema.
5078
+ # * ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original
5079
+ # schema to nullable.
4996
5080
  # Corresponds to the JSON property `schemaUpdateOptions`
4997
5081
  # @return [Array<String>]
4998
5082
  attr_accessor :schema_update_options
@@ -5061,6 +5145,20 @@ module Google
5061
5145
  # @return [String]
5062
5146
  attr_accessor :timestamp_format
5063
5147
 
5148
+ # Precisions (maximum number of total digits in base 10) for seconds of
5149
+ # TIMESTAMP types that are allowed to the destination table for autodetection
5150
+ # mode. Available for the formats: CSV. For the CSV Format, Possible values
5151
+ # include: Not Specified, [], or [6]: timestamp(6) for all auto detected
5152
+ # TIMESTAMP columns [6, 12]: timestamp(6) for all auto detected TIMESTAMP
5153
+ # columns that have less than 6 digits of subseconds. timestamp(12) for all auto
5154
+ # detected TIMESTAMP columns that have more than 6 digits of subseconds. [12]:
5155
+ # timestamp(12) for all auto detected TIMESTAMP columns. The order of the
5156
+ # elements in this array is ignored. Inputs that have higher precision than the
5157
+ # highest target precision in this array will be truncated.
5158
+ # Corresponds to the JSON property `timestampTargetPrecision`
5159
+ # @return [Array<Fixnum>]
5160
+ attr_accessor :timestamp_target_precision
5161
+
5064
5162
  # Optional. If sourceFormat is set to "AVRO", indicates whether to interpret
5065
5163
  # logical types as the corresponding BigQuery data type (for example, TIMESTAMP),
5066
5164
  # instead of using the raw type (for example, INTEGER).
@@ -5132,6 +5230,7 @@ module Google
5132
5230
  @time_partitioning = args[:time_partitioning] if args.key?(:time_partitioning)
5133
5231
  @time_zone = args[:time_zone] if args.key?(:time_zone)
5134
5232
  @timestamp_format = args[:timestamp_format] if args.key?(:timestamp_format)
5233
+ @timestamp_target_precision = args[:timestamp_target_precision] if args.key?(:timestamp_target_precision)
5135
5234
  @use_avro_logical_types = args[:use_avro_logical_types] if args.key?(:use_avro_logical_types)
5136
5235
  @write_disposition = args[:write_disposition] if args.key?(:write_disposition)
5137
5236
  end
@@ -5273,13 +5372,14 @@ module Google
5273
5372
  attr_accessor :range_partitioning
5274
5373
 
5275
5374
  # Allows the schema of the destination table to be updated as a side effect of
5276
- # the query job. Schema update options are supported in two cases: when
5277
- # writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE and
5278
- # the destination table is a partition of a table, specified by partition
5279
- # decorators. For normal tables, WRITE_TRUNCATE will always overwrite the schema.
5280
- # One or more of the following values are specified: * ALLOW_FIELD_ADDITION:
5281
- # allow adding a nullable field to the schema. * ALLOW_FIELD_RELAXATION: allow
5282
- # relaxing a required field in the original schema to nullable.
5375
+ # the query job. Schema update options are supported in three cases: when
5376
+ # writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE_DATA;
5377
+ # when writeDisposition is WRITE_TRUNCATE and the destination table is a
5378
+ # partition of a table, specified by partition decorators. For normal tables,
5379
+ # WRITE_TRUNCATE will always overwrite the schema. One or more of the following
5380
+ # values are specified: * ALLOW_FIELD_ADDITION: allow adding a nullable field to
5381
+ # the schema. * ALLOW_FIELD_RELAXATION: allow relaxing a required field in the
5382
+ # original schema to nullable.
5283
5383
  # Corresponds to the JSON property `schemaUpdateOptions`
5284
5384
  # @return [Array<String>]
5285
5385
  attr_accessor :schema_update_options
@@ -5724,6 +5824,15 @@ module Google
5724
5824
  # @return [Array<String>]
5725
5825
  attr_accessor :quota_deferments
5726
5826
 
5827
+ # Output only. The reservation group path of the reservation assigned to this
5828
+ # job. This field has a limit of 10 nested reservation groups. This is to
5829
+ # maintain consistency between reservatins info schema and jobs info schema. The
5830
+ # first reservation group is the root reservation group and the last is the leaf
5831
+ # or lowest level reservation group.
5832
+ # Corresponds to the JSON property `reservationGroupPath`
5833
+ # @return [Array<String>]
5834
+ attr_accessor :reservation_group_path
5835
+
5727
5836
  # Output only. Job resource usage breakdown by reservation. This field reported
5728
5837
  # misleading information and will no longer be populated.
5729
5838
  # Corresponds to the JSON property `reservationUsage`
@@ -5793,6 +5902,7 @@ module Google
5793
5902
  @parent_job_id = args[:parent_job_id] if args.key?(:parent_job_id)
5794
5903
  @query = args[:query] if args.key?(:query)
5795
5904
  @quota_deferments = args[:quota_deferments] if args.key?(:quota_deferments)
5905
+ @reservation_group_path = args[:reservation_group_path] if args.key?(:reservation_group_path)
5796
5906
  @reservation_usage = args[:reservation_usage] if args.key?(:reservation_usage)
5797
5907
  @reservation_id = args[:reservation_id] if args.key?(:reservation_id)
5798
5908
  @row_level_security_statistics = args[:row_level_security_statistics] if args.key?(:row_level_security_statistics)
@@ -5932,6 +6042,12 @@ module Google
5932
6042
  # @return [Array<Google::Apis::BigqueryV2::ExternalServiceCost>]
5933
6043
  attr_accessor :external_service_costs
5934
6044
 
6045
+ # Statistics related to Incremental Query Results. Populated as part of
6046
+ # JobStatistics2. This feature is not yet available.
6047
+ # Corresponds to the JSON property `incrementalResultStats`
6048
+ # @return [Google::Apis::BigqueryV2::IncrementalResultStats]
6049
+ attr_accessor :incremental_result_stats
6050
+
5935
6051
  # Statistics for a LOAD query.
5936
6052
  # Corresponds to the JSON property `loadQueryStatistics`
5937
6053
  # @return [Google::Apis::BigqueryV2::LoadQueryStatistics]
@@ -6145,10 +6261,10 @@ module Google
6145
6261
  # @return [Fixnum]
6146
6262
  attr_accessor :total_partitions_processed
6147
6263
 
6148
- # Output only. Total slot-milliseconds for the job that run on external services
6149
- # and billed on the service SKU. This field is only populated for jobs that have
6150
- # external service costs, and is the total of the usage for costs whose billing
6151
- # method is "SERVICES_SKU".
6264
+ # Output only. Total slot milliseconds for the job that ran on external services
6265
+ # and billed on the services SKU. This field is only populated for jobs that
6266
+ # have external service costs, and is the total of the usage for costs whose
6267
+ # billing method is `"SERVICES_SKU"`.
6152
6268
  # Corresponds to the JSON property `totalServicesSkuSlotMs`
6153
6269
  # @return [Fixnum]
6154
6270
  attr_accessor :total_services_sku_slot_ms
@@ -6198,6 +6314,7 @@ module Google
6198
6314
  @estimated_bytes_processed = args[:estimated_bytes_processed] if args.key?(:estimated_bytes_processed)
6199
6315
  @export_data_statistics = args[:export_data_statistics] if args.key?(:export_data_statistics)
6200
6316
  @external_service_costs = args[:external_service_costs] if args.key?(:external_service_costs)
6317
+ @incremental_result_stats = args[:incremental_result_stats] if args.key?(:incremental_result_stats)
6201
6318
  @load_query_statistics = args[:load_query_statistics] if args.key?(:load_query_statistics)
6202
6319
  @materialized_view_statistics = args[:materialized_view_statistics] if args.key?(:materialized_view_statistics)
6203
6320
  @metadata_cache_statistics = args[:metadata_cache_statistics] if args.key?(:metadata_cache_statistics)
@@ -7587,6 +7704,37 @@ module Google
7587
7704
  end
7588
7705
  end
7589
7706
 
7707
+ # The column metadata index pruning statistics.
7708
+ class PruningStats
7709
+ include Google::Apis::Core::Hashable
7710
+
7711
+ # The number of parallel inputs matched.
7712
+ # Corresponds to the JSON property `postCmetaPruningParallelInputCount`
7713
+ # @return [Fixnum]
7714
+ attr_accessor :post_cmeta_pruning_parallel_input_count
7715
+
7716
+ # The number of partitions matched.
7717
+ # Corresponds to the JSON property `postCmetaPruningPartitionCount`
7718
+ # @return [Fixnum]
7719
+ attr_accessor :post_cmeta_pruning_partition_count
7720
+
7721
+ # The number of parallel inputs scanned.
7722
+ # Corresponds to the JSON property `preCmetaPruningParallelInputCount`
7723
+ # @return [Fixnum]
7724
+ attr_accessor :pre_cmeta_pruning_parallel_input_count
7725
+
7726
+ def initialize(**args)
7727
+ update!(**args)
7728
+ end
7729
+
7730
+ # Update properties of this object
7731
+ def update!(**args)
7732
+ @post_cmeta_pruning_parallel_input_count = args[:post_cmeta_pruning_parallel_input_count] if args.key?(:post_cmeta_pruning_parallel_input_count)
7733
+ @post_cmeta_pruning_partition_count = args[:post_cmeta_pruning_partition_count] if args.key?(:post_cmeta_pruning_partition_count)
7734
+ @pre_cmeta_pruning_parallel_input_count = args[:pre_cmeta_pruning_parallel_input_count] if args.key?(:pre_cmeta_pruning_parallel_input_count)
7735
+ end
7736
+ end
7737
+
7590
7738
  # Options for a user-defined Python function.
7591
7739
  class PythonOptions
7592
7740
  include Google::Apis::Core::Hashable
@@ -7877,10 +8025,12 @@ module Google
7877
8025
  # @return [Fixnum]
7878
8026
  attr_accessor :max_results
7879
8027
 
7880
- # Optional. INTERNAL: DO NOT USE. The maximum rate of slot consumption to allow
7881
- # for this job. If set, the number of slots used to execute the job will be
7882
- # throttled to try and keep its slot consumption below the requested rate. This
7883
- # limit is best effort.
8028
+ # Optional. A target limit on the rate of slot consumption by this query. If set
8029
+ # to a value > 0, BigQuery will attempt to limit the rate of slot consumption by
8030
+ # this query to keep it below the configured limit, even if the query is
8031
+ # eligible for more slots based on fair scheduling. The unused slots will be
8032
+ # available for other jobs and queries to use. Note: This feature is not yet
8033
+ # generally available.
7884
8034
  # Corresponds to the JSON property `maxSlots`
7885
8035
  # @return [Fixnum]
7886
8036
  attr_accessor :max_slots
@@ -9016,6 +9166,14 @@ module Google
9016
9166
  class SearchStatistics
9017
9167
  include Google::Apis::Core::Hashable
9018
9168
 
9169
+ # Search index pruning statistics, one for each base table that has a search
9170
+ # index. If a base table does not have a search index or the index does not help
9171
+ # with pruning on the base table, then there is no pruning statistics for that
9172
+ # table.
9173
+ # Corresponds to the JSON property `indexPruningStats`
9174
+ # @return [Array<Google::Apis::BigqueryV2::IndexPruningStats>]
9175
+ attr_accessor :index_pruning_stats
9176
+
9019
9177
  # When `indexUsageMode` is `UNUSED` or `PARTIALLY_USED`, this field explains why
9020
9178
  # indexes were not used in all or part of the search query. If `indexUsageMode`
9021
9179
  # is `FULLY_USED`, this field is not populated.
@@ -9034,6 +9192,7 @@ module Google
9034
9192
 
9035
9193
  # Update properties of this object
9036
9194
  def update!(**args)
9195
+ @index_pruning_stats = args[:index_pruning_stats] if args.key?(:index_pruning_stats)
9037
9196
  @index_unused_reasons = args[:index_unused_reasons] if args.key?(:index_unused_reasons)
9038
9197
  @index_usage_mode = args[:index_usage_mode] if args.key?(:index_usage_mode)
9039
9198
  end
@@ -10599,6 +10758,13 @@ module Google
10599
10758
  # @return [Fixnum]
10600
10759
  attr_accessor :scale
10601
10760
 
10761
+ # Optional. Precision (maximum number of total digits in base 10) for seconds of
10762
+ # TIMESTAMP type. Possible values include: * 6 (Default, for TIMESTAMP type with
10763
+ # microsecond precision) * 12 (For TIMESTAMP type with picosecond precision)
10764
+ # Corresponds to the JSON property `timestampPrecision`
10765
+ # @return [Fixnum]
10766
+ attr_accessor :timestamp_precision
10767
+
10602
10768
  # Required. The field data type. Possible values include: * STRING * BYTES *
10603
10769
  # INTEGER (or INT64) * FLOAT (or FLOAT64) * BOOLEAN (or BOOL) * TIMESTAMP * DATE
10604
10770
  # * TIME * DATETIME * GEOGRAPHY * NUMERIC * BIGNUMERIC * JSON * RECORD (or
@@ -10629,6 +10795,7 @@ module Google
10629
10795
  @range_element_type = args[:range_element_type] if args.key?(:range_element_type)
10630
10796
  @rounding_mode = args[:rounding_mode] if args.key?(:rounding_mode)
10631
10797
  @scale = args[:scale] if args.key?(:scale)
10798
+ @timestamp_precision = args[:timestamp_precision] if args.key?(:timestamp_precision)
10632
10799
  @type = args[:type] if args.key?(:type)
10633
10800
  end
10634
10801
 
@@ -10870,6 +11037,11 @@ module Google
10870
11037
  # @return [String]
10871
11038
  attr_accessor :explanation
10872
11039
 
11040
+ # The column metadata index pruning statistics.
11041
+ # Corresponds to the JSON property `pruningStats`
11042
+ # @return [Google::Apis::BigqueryV2::PruningStats]
11043
+ attr_accessor :pruning_stats
11044
+
10873
11045
  # Duration since last refresh as of this job for managed tables (indicates
10874
11046
  # metadata cache staleness as seen by this job).
10875
11047
  # Corresponds to the JSON property `staleness`
@@ -10899,6 +11071,7 @@ module Google
10899
11071
  # Update properties of this object
10900
11072
  def update!(**args)
10901
11073
  @explanation = args[:explanation] if args.key?(:explanation)
11074
+ @pruning_stats = args[:pruning_stats] if args.key?(:pruning_stats)
10902
11075
  @staleness = args[:staleness] if args.key?(:staleness)
10903
11076
  @table_reference = args[:table_reference] if args.key?(:table_reference)
10904
11077
  @table_type = args[:table_type] if args.key?(:table_type)
@@ -11298,6 +11471,12 @@ module Google
11298
11471
  attr_accessor :enable_global_explain
11299
11472
  alias_method :enable_global_explain?, :enable_global_explain
11300
11473
 
11474
+ # The idle TTL of the endpoint before the resources get destroyed. The default
11475
+ # value is 6.5 hours.
11476
+ # Corresponds to the JSON property `endpointIdleTtl`
11477
+ # @return [String]
11478
+ attr_accessor :endpoint_idle_ttl
11479
+
11301
11480
  # Feedback type that specifies which algorithm to run for matrix factorization.
11302
11481
  # Corresponds to the JSON property `feedbackType`
11303
11482
  # @return [String]
@@ -11349,6 +11528,11 @@ module Google
11349
11528
  # @return [Array<String>]
11350
11529
  attr_accessor :hparam_tuning_objectives
11351
11530
 
11531
+ # The id of a Hugging Face model. For example, `google/gemma-2-2b-it`.
11532
+ # Corresponds to the JSON property `huggingFaceModelId`
11533
+ # @return [String]
11534
+ attr_accessor :hugging_face_model_id
11535
+
11352
11536
  # Include drift when fitting an ARIMA model.
11353
11537
  # Corresponds to the JSON property `includeDrift`
11354
11538
  # @return [Boolean]
@@ -11434,6 +11618,11 @@ module Google
11434
11618
  # @return [String]
11435
11619
  attr_accessor :loss_type
11436
11620
 
11621
+ # The type of the machine used to deploy and serve the model.
11622
+ # Corresponds to the JSON property `machineType`
11623
+ # @return [String]
11624
+ attr_accessor :machine_type
11625
+
11437
11626
  # The maximum number of iterations in training. Used only for iterative training
11438
11627
  # algorithms.
11439
11628
  # Corresponds to the JSON property `maxIterations`
@@ -11445,6 +11634,12 @@ module Google
11445
11634
  # @return [Fixnum]
11446
11635
  attr_accessor :max_parallel_trials
11447
11636
 
11637
+ # The maximum number of machine replicas that will be deployed on an endpoint.
11638
+ # The default value is equal to min_replica_count.
11639
+ # Corresponds to the JSON property `maxReplicaCount`
11640
+ # @return [Fixnum]
11641
+ attr_accessor :max_replica_count
11642
+
11448
11643
  # The maximum number of time points in a time series that can be used in
11449
11644
  # modeling the trend component of the time series. Don't use this option with
11450
11645
  # the `timeSeriesLengthFraction` or `minTimeSeriesLength` options.
@@ -11468,6 +11663,13 @@ module Google
11468
11663
  # @return [Float]
11469
11664
  attr_accessor :min_relative_progress
11470
11665
 
11666
+ # The minimum number of machine replicas that will be always deployed on an
11667
+ # endpoint. This value must be greater than or equal to 1. The default value is
11668
+ # 1.
11669
+ # Corresponds to the JSON property `minReplicaCount`
11670
+ # @return [Fixnum]
11671
+ attr_accessor :min_replica_count
11672
+
11471
11673
  # Minimum split loss for boosted tree models.
11472
11674
  # Corresponds to the JSON property `minSplitLoss`
11473
11675
  # @return [Float]
@@ -11490,6 +11692,12 @@ module Google
11490
11692
  # @return [Fixnum]
11491
11693
  attr_accessor :min_tree_child_weight
11492
11694
 
11695
+ # The name of a Vertex model garden publisher model. Format is `publishers/`
11696
+ # publisher`/models/`model`@`optional_version_id``.
11697
+ # Corresponds to the JSON property `modelGardenModelName`
11698
+ # @return [String]
11699
+ attr_accessor :model_garden_model_name
11700
+
11493
11701
  # The model registry.
11494
11702
  # Corresponds to the JSON property `modelRegistry`
11495
11703
  # @return [String]
@@ -11554,6 +11762,25 @@ module Google
11554
11762
  # @return [String]
11555
11763
  attr_accessor :pca_solver
11556
11764
 
11765
+ # Corresponds to the label key of a reservation resource used by Vertex AI. To
11766
+ # target a SPECIFIC_RESERVATION by name, use `compute.googleapis.com/reservation-
11767
+ # name` as the key and specify the name of your reservation as its value.
11768
+ # Corresponds to the JSON property `reservationAffinityKey`
11769
+ # @return [String]
11770
+ attr_accessor :reservation_affinity_key
11771
+
11772
+ # Specifies the reservation affinity type used to configure a Vertex AI resource.
11773
+ # The default value is `NO_RESERVATION`.
11774
+ # Corresponds to the JSON property `reservationAffinityType`
11775
+ # @return [String]
11776
+ attr_accessor :reservation_affinity_type
11777
+
11778
+ # Corresponds to the label values of a reservation resource used by Vertex AI.
11779
+ # This must be the full resource name of the reservation or reservation block.
11780
+ # Corresponds to the JSON property `reservationAffinityValues`
11781
+ # @return [Array<String>]
11782
+ attr_accessor :reservation_affinity_values
11783
+
11557
11784
  # Number of paths for the sampled Shapley explain method.
11558
11785
  # Corresponds to the JSON property `sampledShapleyNumPaths`
11559
11786
  # @return [Fixnum]
@@ -11690,6 +11917,7 @@ module Google
11690
11917
  @dropout = args[:dropout] if args.key?(:dropout)
11691
11918
  @early_stop = args[:early_stop] if args.key?(:early_stop)
11692
11919
  @enable_global_explain = args[:enable_global_explain] if args.key?(:enable_global_explain)
11920
+ @endpoint_idle_ttl = args[:endpoint_idle_ttl] if args.key?(:endpoint_idle_ttl)
11693
11921
  @feedback_type = args[:feedback_type] if args.key?(:feedback_type)
11694
11922
  @fit_intercept = args[:fit_intercept] if args.key?(:fit_intercept)
11695
11923
  @forecast_limit_lower_bound = args[:forecast_limit_lower_bound] if args.key?(:forecast_limit_lower_bound)
@@ -11699,6 +11927,7 @@ module Google
11699
11927
  @holiday_regions = args[:holiday_regions] if args.key?(:holiday_regions)
11700
11928
  @horizon = args[:horizon] if args.key?(:horizon)
11701
11929
  @hparam_tuning_objectives = args[:hparam_tuning_objectives] if args.key?(:hparam_tuning_objectives)
11930
+ @hugging_face_model_id = args[:hugging_face_model_id] if args.key?(:hugging_face_model_id)
11702
11931
  @include_drift = args[:include_drift] if args.key?(:include_drift)
11703
11932
  @initial_learn_rate = args[:initial_learn_rate] if args.key?(:initial_learn_rate)
11704
11933
  @input_label_columns = args[:input_label_columns] if args.key?(:input_label_columns)
@@ -11715,15 +11944,19 @@ module Google
11715
11944
  @learn_rate = args[:learn_rate] if args.key?(:learn_rate)
11716
11945
  @learn_rate_strategy = args[:learn_rate_strategy] if args.key?(:learn_rate_strategy)
11717
11946
  @loss_type = args[:loss_type] if args.key?(:loss_type)
11947
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
11718
11948
  @max_iterations = args[:max_iterations] if args.key?(:max_iterations)
11719
11949
  @max_parallel_trials = args[:max_parallel_trials] if args.key?(:max_parallel_trials)
11950
+ @max_replica_count = args[:max_replica_count] if args.key?(:max_replica_count)
11720
11951
  @max_time_series_length = args[:max_time_series_length] if args.key?(:max_time_series_length)
11721
11952
  @max_tree_depth = args[:max_tree_depth] if args.key?(:max_tree_depth)
11722
11953
  @min_apriori_support = args[:min_apriori_support] if args.key?(:min_apriori_support)
11723
11954
  @min_relative_progress = args[:min_relative_progress] if args.key?(:min_relative_progress)
11955
+ @min_replica_count = args[:min_replica_count] if args.key?(:min_replica_count)
11724
11956
  @min_split_loss = args[:min_split_loss] if args.key?(:min_split_loss)
11725
11957
  @min_time_series_length = args[:min_time_series_length] if args.key?(:min_time_series_length)
11726
11958
  @min_tree_child_weight = args[:min_tree_child_weight] if args.key?(:min_tree_child_weight)
11959
+ @model_garden_model_name = args[:model_garden_model_name] if args.key?(:model_garden_model_name)
11727
11960
  @model_registry = args[:model_registry] if args.key?(:model_registry)
11728
11961
  @model_uri = args[:model_uri] if args.key?(:model_uri)
11729
11962
  @non_seasonal_order = args[:non_seasonal_order] if args.key?(:non_seasonal_order)
@@ -11736,6 +11969,9 @@ module Google
11736
11969
  @optimizer = args[:optimizer] if args.key?(:optimizer)
11737
11970
  @pca_explained_variance_ratio = args[:pca_explained_variance_ratio] if args.key?(:pca_explained_variance_ratio)
11738
11971
  @pca_solver = args[:pca_solver] if args.key?(:pca_solver)
11972
+ @reservation_affinity_key = args[:reservation_affinity_key] if args.key?(:reservation_affinity_key)
11973
+ @reservation_affinity_type = args[:reservation_affinity_type] if args.key?(:reservation_affinity_type)
11974
+ @reservation_affinity_values = args[:reservation_affinity_values] if args.key?(:reservation_affinity_values)
11739
11975
  @sampled_shapley_num_paths = args[:sampled_shapley_num_paths] if args.key?(:sampled_shapley_num_paths)
11740
11976
  @scale_features = args[:scale_features] if args.key?(:scale_features)
11741
11977
  @standardize_features = args[:standardize_features] if args.key?(:standardize_features)
@@ -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.93.0"
19
+ GEM_VERSION = "0.95.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250816"
25
+ REVISION = "20250928"
26
26
  end
27
27
  end
28
28
  end
@@ -520,6 +520,18 @@ module Google
520
520
  include Google::Apis::Core::JsonObjectSupport
521
521
  end
522
522
 
523
+ class IncrementalResultStats
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
529
+ class IndexPruningStats
530
+ class Representation < Google::Apis::Core::JsonRepresentation; end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
523
535
  class IndexUnusedReason
524
536
  class Representation < Google::Apis::Core::JsonRepresentation; end
525
537
 
@@ -874,6 +886,12 @@ module Google
874
886
  include Google::Apis::Core::JsonObjectSupport
875
887
  end
876
888
 
889
+ class PruningStats
890
+ class Representation < Google::Apis::Core::JsonRepresentation; end
891
+
892
+ include Google::Apis::Core::JsonObjectSupport
893
+ end
894
+
877
895
  class PythonOptions
878
896
  class Representation < Google::Apis::Core::JsonRepresentation; end
879
897
 
@@ -2149,6 +2167,7 @@ module Google
2149
2167
  property :time_format, as: 'timeFormat'
2150
2168
  property :time_zone, as: 'timeZone'
2151
2169
  property :timestamp_format, as: 'timestampFormat'
2170
+ collection :timestamp_target_precision, as: 'timestampTargetPrecision'
2152
2171
  end
2153
2172
  end
2154
2173
 
@@ -2359,6 +2378,25 @@ module Google
2359
2378
  end
2360
2379
  end
2361
2380
 
2381
+ class IncrementalResultStats
2382
+ # @private
2383
+ class Representation < Google::Apis::Core::JsonRepresentation
2384
+ property :disabled_reason, as: 'disabledReason'
2385
+ property :result_set_last_modify_time, as: 'resultSetLastModifyTime'
2386
+ property :result_set_last_replace_time, as: 'resultSetLastReplaceTime'
2387
+ end
2388
+ end
2389
+
2390
+ class IndexPruningStats
2391
+ # @private
2392
+ class Representation < Google::Apis::Core::JsonRepresentation
2393
+ property :base_table, as: 'baseTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
2394
+
2395
+ property :post_index_pruning_parallel_input_count, :numeric_string => true, as: 'postIndexPruningParallelInputCount'
2396
+ property :pre_index_pruning_parallel_input_count, :numeric_string => true, as: 'preIndexPruningParallelInputCount'
2397
+ end
2398
+ end
2399
+
2362
2400
  class IndexUnusedReason
2363
2401
  # @private
2364
2402
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2559,6 +2597,7 @@ module Google
2559
2597
 
2560
2598
  property :time_zone, as: 'timeZone'
2561
2599
  property :timestamp_format, as: 'timestampFormat'
2600
+ collection :timestamp_target_precision, as: 'timestampTargetPrecision'
2562
2601
  property :use_avro_logical_types, as: 'useAvroLogicalTypes'
2563
2602
  property :write_disposition, as: 'writeDisposition'
2564
2603
  end
@@ -2698,6 +2737,7 @@ module Google
2698
2737
  property :query, as: 'query', class: Google::Apis::BigqueryV2::JobStatistics2, decorator: Google::Apis::BigqueryV2::JobStatistics2::Representation
2699
2738
 
2700
2739
  collection :quota_deferments, as: 'quotaDeferments'
2740
+ collection :reservation_group_path, as: 'reservationGroupPath'
2701
2741
  collection :reservation_usage, as: 'reservationUsage', class: Google::Apis::BigqueryV2::JobStatistics::ReservationUsage, decorator: Google::Apis::BigqueryV2::JobStatistics::ReservationUsage::Representation
2702
2742
 
2703
2743
  property :reservation_id, as: 'reservation_id'
@@ -2755,6 +2795,8 @@ module Google
2755
2795
 
2756
2796
  collection :external_service_costs, as: 'externalServiceCosts', class: Google::Apis::BigqueryV2::ExternalServiceCost, decorator: Google::Apis::BigqueryV2::ExternalServiceCost::Representation
2757
2797
 
2798
+ property :incremental_result_stats, as: 'incrementalResultStats', class: Google::Apis::BigqueryV2::IncrementalResultStats, decorator: Google::Apis::BigqueryV2::IncrementalResultStats::Representation
2799
+
2758
2800
  property :load_query_statistics, as: 'loadQueryStatistics', class: Google::Apis::BigqueryV2::LoadQueryStatistics, decorator: Google::Apis::BigqueryV2::LoadQueryStatistics::Representation
2759
2801
 
2760
2802
  property :materialized_view_statistics, as: 'materializedViewStatistics', class: Google::Apis::BigqueryV2::MaterializedViewStatistics, decorator: Google::Apis::BigqueryV2::MaterializedViewStatistics::Representation
@@ -3179,6 +3221,15 @@ module Google
3179
3221
  end
3180
3222
  end
3181
3223
 
3224
+ class PruningStats
3225
+ # @private
3226
+ class Representation < Google::Apis::Core::JsonRepresentation
3227
+ property :post_cmeta_pruning_parallel_input_count, :numeric_string => true, as: 'postCmetaPruningParallelInputCount'
3228
+ property :post_cmeta_pruning_partition_count, :numeric_string => true, as: 'postCmetaPruningPartitionCount'
3229
+ property :pre_cmeta_pruning_parallel_input_count, :numeric_string => true, as: 'preCmetaPruningParallelInputCount'
3230
+ end
3231
+ end
3232
+
3182
3233
  class PythonOptions
3183
3234
  # @private
3184
3235
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3518,6 +3569,8 @@ module Google
3518
3569
  class SearchStatistics
3519
3570
  # @private
3520
3571
  class Representation < Google::Apis::Core::JsonRepresentation
3572
+ collection :index_pruning_stats, as: 'indexPruningStats', class: Google::Apis::BigqueryV2::IndexPruningStats, decorator: Google::Apis::BigqueryV2::IndexPruningStats::Representation
3573
+
3521
3574
  collection :index_unused_reasons, as: 'indexUnusedReasons', class: Google::Apis::BigqueryV2::IndexUnusedReason, decorator: Google::Apis::BigqueryV2::IndexUnusedReason::Representation
3522
3575
 
3523
3576
  property :index_usage_mode, as: 'indexUsageMode'
@@ -3926,6 +3979,7 @@ module Google
3926
3979
 
3927
3980
  property :rounding_mode, as: 'roundingMode'
3928
3981
  property :scale, :numeric_string => true, as: 'scale'
3982
+ property :timestamp_precision, :numeric_string => true, as: 'timestampPrecision'
3929
3983
  property :type, as: 'type'
3930
3984
  end
3931
3985
 
@@ -4000,6 +4054,8 @@ module Google
4000
4054
  # @private
4001
4055
  class Representation < Google::Apis::Core::JsonRepresentation
4002
4056
  property :explanation, as: 'explanation'
4057
+ property :pruning_stats, as: 'pruningStats', class: Google::Apis::BigqueryV2::PruningStats, decorator: Google::Apis::BigqueryV2::PruningStats::Representation
4058
+
4003
4059
  property :staleness, as: 'staleness'
4004
4060
  property :table_reference, as: 'tableReference', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
4005
4061
 
@@ -4104,6 +4160,7 @@ module Google
4104
4160
  property :dropout, as: 'dropout'
4105
4161
  property :early_stop, as: 'earlyStop'
4106
4162
  property :enable_global_explain, as: 'enableGlobalExplain'
4163
+ property :endpoint_idle_ttl, as: 'endpointIdleTtl'
4107
4164
  property :feedback_type, as: 'feedbackType'
4108
4165
  property :fit_intercept, as: 'fitIntercept'
4109
4166
  property :forecast_limit_lower_bound, as: 'forecastLimitLowerBound'
@@ -4113,6 +4170,7 @@ module Google
4113
4170
  collection :holiday_regions, as: 'holidayRegions'
4114
4171
  property :horizon, :numeric_string => true, as: 'horizon'
4115
4172
  collection :hparam_tuning_objectives, as: 'hparamTuningObjectives'
4173
+ property :hugging_face_model_id, as: 'huggingFaceModelId'
4116
4174
  property :include_drift, as: 'includeDrift'
4117
4175
  property :initial_learn_rate, as: 'initialLearnRate'
4118
4176
  collection :input_label_columns, as: 'inputLabelColumns'
@@ -4129,15 +4187,19 @@ module Google
4129
4187
  property :learn_rate, as: 'learnRate'
4130
4188
  property :learn_rate_strategy, as: 'learnRateStrategy'
4131
4189
  property :loss_type, as: 'lossType'
4190
+ property :machine_type, as: 'machineType'
4132
4191
  property :max_iterations, :numeric_string => true, as: 'maxIterations'
4133
4192
  property :max_parallel_trials, :numeric_string => true, as: 'maxParallelTrials'
4193
+ property :max_replica_count, :numeric_string => true, as: 'maxReplicaCount'
4134
4194
  property :max_time_series_length, :numeric_string => true, as: 'maxTimeSeriesLength'
4135
4195
  property :max_tree_depth, :numeric_string => true, as: 'maxTreeDepth'
4136
4196
  property :min_apriori_support, as: 'minAprioriSupport'
4137
4197
  property :min_relative_progress, as: 'minRelativeProgress'
4198
+ property :min_replica_count, :numeric_string => true, as: 'minReplicaCount'
4138
4199
  property :min_split_loss, as: 'minSplitLoss'
4139
4200
  property :min_time_series_length, :numeric_string => true, as: 'minTimeSeriesLength'
4140
4201
  property :min_tree_child_weight, :numeric_string => true, as: 'minTreeChildWeight'
4202
+ property :model_garden_model_name, as: 'modelGardenModelName'
4141
4203
  property :model_registry, as: 'modelRegistry'
4142
4204
  property :model_uri, as: 'modelUri'
4143
4205
  property :non_seasonal_order, as: 'nonSeasonalOrder', class: Google::Apis::BigqueryV2::ArimaOrder, decorator: Google::Apis::BigqueryV2::ArimaOrder::Representation
@@ -4151,6 +4213,9 @@ module Google
4151
4213
  property :optimizer, as: 'optimizer'
4152
4214
  property :pca_explained_variance_ratio, as: 'pcaExplainedVarianceRatio'
4153
4215
  property :pca_solver, as: 'pcaSolver'
4216
+ property :reservation_affinity_key, as: 'reservationAffinityKey'
4217
+ property :reservation_affinity_type, as: 'reservationAffinityType'
4218
+ collection :reservation_affinity_values, as: 'reservationAffinityValues'
4154
4219
  property :sampled_shapley_num_paths, :numeric_string => true, as: 'sampledShapleyNumPaths'
4155
4220
  property :scale_features, as: 'scaleFeatures'
4156
4221
  property :standardize_features, as: 'standardizeFeatures'
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.93.0
4
+ version: 0.95.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.93.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.95.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: