google-apis-bigquery_v2 0.93.0 → 0.96.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: e7a3eadffc0e8f959a005d5c9707c4315e6ccb7bb6f0eec13b335f07166f0112
4
+ data.tar.gz: 212ba6badd521899e0bd983caf09198c833ff38f7dcc52a7f4709017a5552c03
5
5
  SHA512:
6
- metadata.gz: 20860e093d69d19f908393ddd0effff45ade8a0337d081077b925ad54734050eb40c30eec7b356bea4145727c799230b8efc1880bd81e704517408ea4af409c1
7
- data.tar.gz: c1494ea8caaa41cf11296afa2e39e5c6231a8f6955ee611ba5ac39c4ab281a8d2a74a52b83d7a8eff57c9288b9cd345921947cdafb13463bf1b96ab9090f4ead
6
+ metadata.gz: 26887ad44bb81cb7fb2b3be19ca8bb86ab1d2529f25f2bf3cf71ffb650c363e299d5209fc2e1bcc311511c60261f31de3416beaa2c37840e24c5bf3bde60593e
7
+ data.tar.gz: d4461486e39d3001972594dba0bc758d154d5bd99ac528e168b0bb08f33705f6015e9201e92938fb98c5a1478876dd141c857c5ec5b26cb71bc432bc3178cdee
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.96.0 (2025-10-26)
4
+
5
+ * Regenerated from discovery document revision 20251012
6
+
7
+ ### v0.95.0 (2025-10-05)
8
+
9
+ * Regenerated from discovery document revision 20250928
10
+
11
+ ### v0.94.0 (2025-09-28)
12
+
13
+ * Regenerated from discovery document revision 20250919
14
+
3
15
  ### v0.93.0 (2025-08-31)
4
16
 
5
17
  * 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,77 @@ 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 index id.
4239
+ # Corresponds to the JSON property `indexId`
4240
+ # @return [String]
4241
+ attr_accessor :index_id
4242
+
4243
+ # The number of parallel inputs after index pruning.
4244
+ # Corresponds to the JSON property `postIndexPruningParallelInputCount`
4245
+ # @return [Fixnum]
4246
+ attr_accessor :post_index_pruning_parallel_input_count
4247
+
4248
+ # The number of parallel inputs before index pruning.
4249
+ # Corresponds to the JSON property `preIndexPruningParallelInputCount`
4250
+ # @return [Fixnum]
4251
+ attr_accessor :pre_index_pruning_parallel_input_count
4252
+
4253
+ def initialize(**args)
4254
+ update!(**args)
4255
+ end
4256
+
4257
+ # Update properties of this object
4258
+ def update!(**args)
4259
+ @base_table = args[:base_table] if args.key?(:base_table)
4260
+ @index_id = args[:index_id] if args.key?(:index_id)
4261
+ @post_index_pruning_parallel_input_count = args[:post_index_pruning_parallel_input_count] if args.key?(:post_index_pruning_parallel_input_count)
4262
+ @pre_index_pruning_parallel_input_count = args[:pre_index_pruning_parallel_input_count] if args.key?(:pre_index_pruning_parallel_input_count)
4263
+ end
4264
+ end
4265
+
4180
4266
  # Reason about why no search index was used in the search query (or sub-query).
4181
4267
  class IndexUnusedReason
4182
4268
  include Google::Apis::Core::Hashable
@@ -4539,11 +4625,11 @@ module Google
4539
4625
  # @return [Google::Apis::BigqueryV2::JobConfigurationExtract]
4540
4626
  attr_accessor :extract
4541
4627
 
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.
4628
+ # Optional. Job timeout in milliseconds relative to the job creation time. If
4629
+ # this time limit is exceeded, BigQuery attempts to stop the job, but might not
4630
+ # always succeed in canceling it before the job completes. For example, a job
4631
+ # that takes more than 60 seconds to complete has a better chance of being
4632
+ # stopped than a job that takes 10 seconds to complete.
4547
4633
  # Corresponds to the JSON property `jobTimeoutMs`
4548
4634
  # @return [Fixnum]
4549
4635
  attr_accessor :job_timeout_ms
@@ -4568,9 +4654,12 @@ module Google
4568
4654
  # @return [Google::Apis::BigqueryV2::JobConfigurationLoad]
4569
4655
  attr_accessor :load
4570
4656
 
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.
4657
+ # Optional. A target limit on the rate of slot consumption by this job. If set
4658
+ # to a value > 0, BigQuery will attempt to limit the rate of slot consumption by
4659
+ # this job to keep it below the configured limit, even if the job is eligible
4660
+ # for more slots based on fair scheduling. The unused slots will be available
4661
+ # for other jobs and queries to use. Note: This feature is not yet generally
4662
+ # available.
4574
4663
  # Corresponds to the JSON property `maxSlots`
4575
4664
  # @return [Fixnum]
4576
4665
  attr_accessor :max_slots
@@ -4986,13 +5075,14 @@ module Google
4986
5075
 
4987
5076
  # Allows the schema of the destination table to be updated as a side effect of
4988
5077
  # 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.
5078
+ # Schema update options are supported in three cases: when writeDisposition is
5079
+ # WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE_DATA; when
5080
+ # writeDisposition is WRITE_TRUNCATE and the destination table is a partition of
5081
+ # a table, specified by partition decorators. For normal tables, WRITE_TRUNCATE
5082
+ # will always overwrite the schema. One or more of the following values are
5083
+ # specified: * ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema.
5084
+ # * ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original
5085
+ # schema to nullable.
4996
5086
  # Corresponds to the JSON property `schemaUpdateOptions`
4997
5087
  # @return [Array<String>]
4998
5088
  attr_accessor :schema_update_options
@@ -5061,6 +5151,20 @@ module Google
5061
5151
  # @return [String]
5062
5152
  attr_accessor :timestamp_format
5063
5153
 
5154
+ # Precisions (maximum number of total digits in base 10) for seconds of
5155
+ # TIMESTAMP types that are allowed to the destination table for autodetection
5156
+ # mode. Available for the formats: CSV. For the CSV Format, Possible values
5157
+ # include: Not Specified, [], or [6]: timestamp(6) for all auto detected
5158
+ # TIMESTAMP columns [6, 12]: timestamp(6) for all auto detected TIMESTAMP
5159
+ # columns that have less than 6 digits of subseconds. timestamp(12) for all auto
5160
+ # detected TIMESTAMP columns that have more than 6 digits of subseconds. [12]:
5161
+ # timestamp(12) for all auto detected TIMESTAMP columns. The order of the
5162
+ # elements in this array is ignored. Inputs that have higher precision than the
5163
+ # highest target precision in this array will be truncated.
5164
+ # Corresponds to the JSON property `timestampTargetPrecision`
5165
+ # @return [Array<Fixnum>]
5166
+ attr_accessor :timestamp_target_precision
5167
+
5064
5168
  # Optional. If sourceFormat is set to "AVRO", indicates whether to interpret
5065
5169
  # logical types as the corresponding BigQuery data type (for example, TIMESTAMP),
5066
5170
  # instead of using the raw type (for example, INTEGER).
@@ -5132,6 +5236,7 @@ module Google
5132
5236
  @time_partitioning = args[:time_partitioning] if args.key?(:time_partitioning)
5133
5237
  @time_zone = args[:time_zone] if args.key?(:time_zone)
5134
5238
  @timestamp_format = args[:timestamp_format] if args.key?(:timestamp_format)
5239
+ @timestamp_target_precision = args[:timestamp_target_precision] if args.key?(:timestamp_target_precision)
5135
5240
  @use_avro_logical_types = args[:use_avro_logical_types] if args.key?(:use_avro_logical_types)
5136
5241
  @write_disposition = args[:write_disposition] if args.key?(:write_disposition)
5137
5242
  end
@@ -5273,13 +5378,14 @@ module Google
5273
5378
  attr_accessor :range_partitioning
5274
5379
 
5275
5380
  # 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.
5381
+ # the query job. Schema update options are supported in three cases: when
5382
+ # writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE_DATA;
5383
+ # when writeDisposition is WRITE_TRUNCATE and the destination table is a
5384
+ # partition of a table, specified by partition decorators. For normal tables,
5385
+ # WRITE_TRUNCATE will always overwrite the schema. One or more of the following
5386
+ # values are specified: * ALLOW_FIELD_ADDITION: allow adding a nullable field to
5387
+ # the schema. * ALLOW_FIELD_RELAXATION: allow relaxing a required field in the
5388
+ # original schema to nullable.
5283
5389
  # Corresponds to the JSON property `schemaUpdateOptions`
5284
5390
  # @return [Array<String>]
5285
5391
  attr_accessor :schema_update_options
@@ -5724,6 +5830,15 @@ module Google
5724
5830
  # @return [Array<String>]
5725
5831
  attr_accessor :quota_deferments
5726
5832
 
5833
+ # Output only. The reservation group path of the reservation assigned to this
5834
+ # job. This field has a limit of 10 nested reservation groups. This is to
5835
+ # maintain consistency between reservatins info schema and jobs info schema. The
5836
+ # first reservation group is the root reservation group and the last is the leaf
5837
+ # or lowest level reservation group.
5838
+ # Corresponds to the JSON property `reservationGroupPath`
5839
+ # @return [Array<String>]
5840
+ attr_accessor :reservation_group_path
5841
+
5727
5842
  # Output only. Job resource usage breakdown by reservation. This field reported
5728
5843
  # misleading information and will no longer be populated.
5729
5844
  # Corresponds to the JSON property `reservationUsage`
@@ -5793,6 +5908,7 @@ module Google
5793
5908
  @parent_job_id = args[:parent_job_id] if args.key?(:parent_job_id)
5794
5909
  @query = args[:query] if args.key?(:query)
5795
5910
  @quota_deferments = args[:quota_deferments] if args.key?(:quota_deferments)
5911
+ @reservation_group_path = args[:reservation_group_path] if args.key?(:reservation_group_path)
5796
5912
  @reservation_usage = args[:reservation_usage] if args.key?(:reservation_usage)
5797
5913
  @reservation_id = args[:reservation_id] if args.key?(:reservation_id)
5798
5914
  @row_level_security_statistics = args[:row_level_security_statistics] if args.key?(:row_level_security_statistics)
@@ -5932,6 +6048,12 @@ module Google
5932
6048
  # @return [Array<Google::Apis::BigqueryV2::ExternalServiceCost>]
5933
6049
  attr_accessor :external_service_costs
5934
6050
 
6051
+ # Statistics related to Incremental Query Results. Populated as part of
6052
+ # JobStatistics2. This feature is not yet available.
6053
+ # Corresponds to the JSON property `incrementalResultStats`
6054
+ # @return [Google::Apis::BigqueryV2::IncrementalResultStats]
6055
+ attr_accessor :incremental_result_stats
6056
+
5935
6057
  # Statistics for a LOAD query.
5936
6058
  # Corresponds to the JSON property `loadQueryStatistics`
5937
6059
  # @return [Google::Apis::BigqueryV2::LoadQueryStatistics]
@@ -6145,10 +6267,10 @@ module Google
6145
6267
  # @return [Fixnum]
6146
6268
  attr_accessor :total_partitions_processed
6147
6269
 
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".
6270
+ # Output only. Total slot milliseconds for the job that ran on external services
6271
+ # and billed on the services SKU. This field is only populated for jobs that
6272
+ # have external service costs, and is the total of the usage for costs whose
6273
+ # billing method is `"SERVICES_SKU"`.
6152
6274
  # Corresponds to the JSON property `totalServicesSkuSlotMs`
6153
6275
  # @return [Fixnum]
6154
6276
  attr_accessor :total_services_sku_slot_ms
@@ -6198,6 +6320,7 @@ module Google
6198
6320
  @estimated_bytes_processed = args[:estimated_bytes_processed] if args.key?(:estimated_bytes_processed)
6199
6321
  @export_data_statistics = args[:export_data_statistics] if args.key?(:export_data_statistics)
6200
6322
  @external_service_costs = args[:external_service_costs] if args.key?(:external_service_costs)
6323
+ @incremental_result_stats = args[:incremental_result_stats] if args.key?(:incremental_result_stats)
6201
6324
  @load_query_statistics = args[:load_query_statistics] if args.key?(:load_query_statistics)
6202
6325
  @materialized_view_statistics = args[:materialized_view_statistics] if args.key?(:materialized_view_statistics)
6203
6326
  @metadata_cache_statistics = args[:metadata_cache_statistics] if args.key?(:metadata_cache_statistics)
@@ -7587,6 +7710,37 @@ module Google
7587
7710
  end
7588
7711
  end
7589
7712
 
7713
+ # The column metadata index pruning statistics.
7714
+ class PruningStats
7715
+ include Google::Apis::Core::Hashable
7716
+
7717
+ # The number of parallel inputs matched.
7718
+ # Corresponds to the JSON property `postCmetaPruningParallelInputCount`
7719
+ # @return [Fixnum]
7720
+ attr_accessor :post_cmeta_pruning_parallel_input_count
7721
+
7722
+ # The number of partitions matched.
7723
+ # Corresponds to the JSON property `postCmetaPruningPartitionCount`
7724
+ # @return [Fixnum]
7725
+ attr_accessor :post_cmeta_pruning_partition_count
7726
+
7727
+ # The number of parallel inputs scanned.
7728
+ # Corresponds to the JSON property `preCmetaPruningParallelInputCount`
7729
+ # @return [Fixnum]
7730
+ attr_accessor :pre_cmeta_pruning_parallel_input_count
7731
+
7732
+ def initialize(**args)
7733
+ update!(**args)
7734
+ end
7735
+
7736
+ # Update properties of this object
7737
+ def update!(**args)
7738
+ @post_cmeta_pruning_parallel_input_count = args[:post_cmeta_pruning_parallel_input_count] if args.key?(:post_cmeta_pruning_parallel_input_count)
7739
+ @post_cmeta_pruning_partition_count = args[:post_cmeta_pruning_partition_count] if args.key?(:post_cmeta_pruning_partition_count)
7740
+ @pre_cmeta_pruning_parallel_input_count = args[:pre_cmeta_pruning_parallel_input_count] if args.key?(:pre_cmeta_pruning_parallel_input_count)
7741
+ end
7742
+ end
7743
+
7590
7744
  # Options for a user-defined Python function.
7591
7745
  class PythonOptions
7592
7746
  include Google::Apis::Core::Hashable
@@ -7877,10 +8031,12 @@ module Google
7877
8031
  # @return [Fixnum]
7878
8032
  attr_accessor :max_results
7879
8033
 
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.
8034
+ # Optional. A target limit on the rate of slot consumption by this query. If set
8035
+ # to a value > 0, BigQuery will attempt to limit the rate of slot consumption by
8036
+ # this query to keep it below the configured limit, even if the query is
8037
+ # eligible for more slots based on fair scheduling. The unused slots will be
8038
+ # available for other jobs and queries to use. Note: This feature is not yet
8039
+ # generally available.
7884
8040
  # Corresponds to the JSON property `maxSlots`
7885
8041
  # @return [Fixnum]
7886
8042
  attr_accessor :max_slots
@@ -9016,6 +9172,14 @@ module Google
9016
9172
  class SearchStatistics
9017
9173
  include Google::Apis::Core::Hashable
9018
9174
 
9175
+ # Search index pruning statistics, one for each base table that has a search
9176
+ # index. If a base table does not have a search index or the index does not help
9177
+ # with pruning on the base table, then there is no pruning statistics for that
9178
+ # table.
9179
+ # Corresponds to the JSON property `indexPruningStats`
9180
+ # @return [Array<Google::Apis::BigqueryV2::IndexPruningStats>]
9181
+ attr_accessor :index_pruning_stats
9182
+
9019
9183
  # When `indexUsageMode` is `UNUSED` or `PARTIALLY_USED`, this field explains why
9020
9184
  # indexes were not used in all or part of the search query. If `indexUsageMode`
9021
9185
  # is `FULLY_USED`, this field is not populated.
@@ -9034,6 +9198,7 @@ module Google
9034
9198
 
9035
9199
  # Update properties of this object
9036
9200
  def update!(**args)
9201
+ @index_pruning_stats = args[:index_pruning_stats] if args.key?(:index_pruning_stats)
9037
9202
  @index_unused_reasons = args[:index_unused_reasons] if args.key?(:index_unused_reasons)
9038
9203
  @index_usage_mode = args[:index_usage_mode] if args.key?(:index_usage_mode)
9039
9204
  end
@@ -10599,6 +10764,13 @@ module Google
10599
10764
  # @return [Fixnum]
10600
10765
  attr_accessor :scale
10601
10766
 
10767
+ # Optional. Precision (maximum number of total digits in base 10) for seconds of
10768
+ # TIMESTAMP type. Possible values include: * 6 (Default, for TIMESTAMP type with
10769
+ # microsecond precision) * 12 (For TIMESTAMP type with picosecond precision)
10770
+ # Corresponds to the JSON property `timestampPrecision`
10771
+ # @return [Fixnum]
10772
+ attr_accessor :timestamp_precision
10773
+
10602
10774
  # Required. The field data type. Possible values include: * STRING * BYTES *
10603
10775
  # INTEGER (or INT64) * FLOAT (or FLOAT64) * BOOLEAN (or BOOL) * TIMESTAMP * DATE
10604
10776
  # * TIME * DATETIME * GEOGRAPHY * NUMERIC * BIGNUMERIC * JSON * RECORD (or
@@ -10629,6 +10801,7 @@ module Google
10629
10801
  @range_element_type = args[:range_element_type] if args.key?(:range_element_type)
10630
10802
  @rounding_mode = args[:rounding_mode] if args.key?(:rounding_mode)
10631
10803
  @scale = args[:scale] if args.key?(:scale)
10804
+ @timestamp_precision = args[:timestamp_precision] if args.key?(:timestamp_precision)
10632
10805
  @type = args[:type] if args.key?(:type)
10633
10806
  end
10634
10807
 
@@ -10870,6 +11043,11 @@ module Google
10870
11043
  # @return [String]
10871
11044
  attr_accessor :explanation
10872
11045
 
11046
+ # The column metadata index pruning statistics.
11047
+ # Corresponds to the JSON property `pruningStats`
11048
+ # @return [Google::Apis::BigqueryV2::PruningStats]
11049
+ attr_accessor :pruning_stats
11050
+
10873
11051
  # Duration since last refresh as of this job for managed tables (indicates
10874
11052
  # metadata cache staleness as seen by this job).
10875
11053
  # Corresponds to the JSON property `staleness`
@@ -10899,6 +11077,7 @@ module Google
10899
11077
  # Update properties of this object
10900
11078
  def update!(**args)
10901
11079
  @explanation = args[:explanation] if args.key?(:explanation)
11080
+ @pruning_stats = args[:pruning_stats] if args.key?(:pruning_stats)
10902
11081
  @staleness = args[:staleness] if args.key?(:staleness)
10903
11082
  @table_reference = args[:table_reference] if args.key?(:table_reference)
10904
11083
  @table_type = args[:table_type] if args.key?(:table_type)
@@ -11298,6 +11477,12 @@ module Google
11298
11477
  attr_accessor :enable_global_explain
11299
11478
  alias_method :enable_global_explain?, :enable_global_explain
11300
11479
 
11480
+ # The idle TTL of the endpoint before the resources get destroyed. The default
11481
+ # value is 6.5 hours.
11482
+ # Corresponds to the JSON property `endpointIdleTtl`
11483
+ # @return [String]
11484
+ attr_accessor :endpoint_idle_ttl
11485
+
11301
11486
  # Feedback type that specifies which algorithm to run for matrix factorization.
11302
11487
  # Corresponds to the JSON property `feedbackType`
11303
11488
  # @return [String]
@@ -11349,6 +11534,11 @@ module Google
11349
11534
  # @return [Array<String>]
11350
11535
  attr_accessor :hparam_tuning_objectives
11351
11536
 
11537
+ # The id of a Hugging Face model. For example, `google/gemma-2-2b-it`.
11538
+ # Corresponds to the JSON property `huggingFaceModelId`
11539
+ # @return [String]
11540
+ attr_accessor :hugging_face_model_id
11541
+
11352
11542
  # Include drift when fitting an ARIMA model.
11353
11543
  # Corresponds to the JSON property `includeDrift`
11354
11544
  # @return [Boolean]
@@ -11434,6 +11624,11 @@ module Google
11434
11624
  # @return [String]
11435
11625
  attr_accessor :loss_type
11436
11626
 
11627
+ # The type of the machine used to deploy and serve the model.
11628
+ # Corresponds to the JSON property `machineType`
11629
+ # @return [String]
11630
+ attr_accessor :machine_type
11631
+
11437
11632
  # The maximum number of iterations in training. Used only for iterative training
11438
11633
  # algorithms.
11439
11634
  # Corresponds to the JSON property `maxIterations`
@@ -11445,6 +11640,12 @@ module Google
11445
11640
  # @return [Fixnum]
11446
11641
  attr_accessor :max_parallel_trials
11447
11642
 
11643
+ # The maximum number of machine replicas that will be deployed on an endpoint.
11644
+ # The default value is equal to min_replica_count.
11645
+ # Corresponds to the JSON property `maxReplicaCount`
11646
+ # @return [Fixnum]
11647
+ attr_accessor :max_replica_count
11648
+
11448
11649
  # The maximum number of time points in a time series that can be used in
11449
11650
  # modeling the trend component of the time series. Don't use this option with
11450
11651
  # the `timeSeriesLengthFraction` or `minTimeSeriesLength` options.
@@ -11468,6 +11669,13 @@ module Google
11468
11669
  # @return [Float]
11469
11670
  attr_accessor :min_relative_progress
11470
11671
 
11672
+ # The minimum number of machine replicas that will be always deployed on an
11673
+ # endpoint. This value must be greater than or equal to 1. The default value is
11674
+ # 1.
11675
+ # Corresponds to the JSON property `minReplicaCount`
11676
+ # @return [Fixnum]
11677
+ attr_accessor :min_replica_count
11678
+
11471
11679
  # Minimum split loss for boosted tree models.
11472
11680
  # Corresponds to the JSON property `minSplitLoss`
11473
11681
  # @return [Float]
@@ -11490,6 +11698,12 @@ module Google
11490
11698
  # @return [Fixnum]
11491
11699
  attr_accessor :min_tree_child_weight
11492
11700
 
11701
+ # The name of a Vertex model garden publisher model. Format is `publishers/`
11702
+ # publisher`/models/`model`@`optional_version_id``.
11703
+ # Corresponds to the JSON property `modelGardenModelName`
11704
+ # @return [String]
11705
+ attr_accessor :model_garden_model_name
11706
+
11493
11707
  # The model registry.
11494
11708
  # Corresponds to the JSON property `modelRegistry`
11495
11709
  # @return [String]
@@ -11554,6 +11768,25 @@ module Google
11554
11768
  # @return [String]
11555
11769
  attr_accessor :pca_solver
11556
11770
 
11771
+ # Corresponds to the label key of a reservation resource used by Vertex AI. To
11772
+ # target a SPECIFIC_RESERVATION by name, use `compute.googleapis.com/reservation-
11773
+ # name` as the key and specify the name of your reservation as its value.
11774
+ # Corresponds to the JSON property `reservationAffinityKey`
11775
+ # @return [String]
11776
+ attr_accessor :reservation_affinity_key
11777
+
11778
+ # Specifies the reservation affinity type used to configure a Vertex AI resource.
11779
+ # The default value is `NO_RESERVATION`.
11780
+ # Corresponds to the JSON property `reservationAffinityType`
11781
+ # @return [String]
11782
+ attr_accessor :reservation_affinity_type
11783
+
11784
+ # Corresponds to the label values of a reservation resource used by Vertex AI.
11785
+ # This must be the full resource name of the reservation or reservation block.
11786
+ # Corresponds to the JSON property `reservationAffinityValues`
11787
+ # @return [Array<String>]
11788
+ attr_accessor :reservation_affinity_values
11789
+
11557
11790
  # Number of paths for the sampled Shapley explain method.
11558
11791
  # Corresponds to the JSON property `sampledShapleyNumPaths`
11559
11792
  # @return [Fixnum]
@@ -11690,6 +11923,7 @@ module Google
11690
11923
  @dropout = args[:dropout] if args.key?(:dropout)
11691
11924
  @early_stop = args[:early_stop] if args.key?(:early_stop)
11692
11925
  @enable_global_explain = args[:enable_global_explain] if args.key?(:enable_global_explain)
11926
+ @endpoint_idle_ttl = args[:endpoint_idle_ttl] if args.key?(:endpoint_idle_ttl)
11693
11927
  @feedback_type = args[:feedback_type] if args.key?(:feedback_type)
11694
11928
  @fit_intercept = args[:fit_intercept] if args.key?(:fit_intercept)
11695
11929
  @forecast_limit_lower_bound = args[:forecast_limit_lower_bound] if args.key?(:forecast_limit_lower_bound)
@@ -11699,6 +11933,7 @@ module Google
11699
11933
  @holiday_regions = args[:holiday_regions] if args.key?(:holiday_regions)
11700
11934
  @horizon = args[:horizon] if args.key?(:horizon)
11701
11935
  @hparam_tuning_objectives = args[:hparam_tuning_objectives] if args.key?(:hparam_tuning_objectives)
11936
+ @hugging_face_model_id = args[:hugging_face_model_id] if args.key?(:hugging_face_model_id)
11702
11937
  @include_drift = args[:include_drift] if args.key?(:include_drift)
11703
11938
  @initial_learn_rate = args[:initial_learn_rate] if args.key?(:initial_learn_rate)
11704
11939
  @input_label_columns = args[:input_label_columns] if args.key?(:input_label_columns)
@@ -11715,15 +11950,19 @@ module Google
11715
11950
  @learn_rate = args[:learn_rate] if args.key?(:learn_rate)
11716
11951
  @learn_rate_strategy = args[:learn_rate_strategy] if args.key?(:learn_rate_strategy)
11717
11952
  @loss_type = args[:loss_type] if args.key?(:loss_type)
11953
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
11718
11954
  @max_iterations = args[:max_iterations] if args.key?(:max_iterations)
11719
11955
  @max_parallel_trials = args[:max_parallel_trials] if args.key?(:max_parallel_trials)
11956
+ @max_replica_count = args[:max_replica_count] if args.key?(:max_replica_count)
11720
11957
  @max_time_series_length = args[:max_time_series_length] if args.key?(:max_time_series_length)
11721
11958
  @max_tree_depth = args[:max_tree_depth] if args.key?(:max_tree_depth)
11722
11959
  @min_apriori_support = args[:min_apriori_support] if args.key?(:min_apriori_support)
11723
11960
  @min_relative_progress = args[:min_relative_progress] if args.key?(:min_relative_progress)
11961
+ @min_replica_count = args[:min_replica_count] if args.key?(:min_replica_count)
11724
11962
  @min_split_loss = args[:min_split_loss] if args.key?(:min_split_loss)
11725
11963
  @min_time_series_length = args[:min_time_series_length] if args.key?(:min_time_series_length)
11726
11964
  @min_tree_child_weight = args[:min_tree_child_weight] if args.key?(:min_tree_child_weight)
11965
+ @model_garden_model_name = args[:model_garden_model_name] if args.key?(:model_garden_model_name)
11727
11966
  @model_registry = args[:model_registry] if args.key?(:model_registry)
11728
11967
  @model_uri = args[:model_uri] if args.key?(:model_uri)
11729
11968
  @non_seasonal_order = args[:non_seasonal_order] if args.key?(:non_seasonal_order)
@@ -11736,6 +11975,9 @@ module Google
11736
11975
  @optimizer = args[:optimizer] if args.key?(:optimizer)
11737
11976
  @pca_explained_variance_ratio = args[:pca_explained_variance_ratio] if args.key?(:pca_explained_variance_ratio)
11738
11977
  @pca_solver = args[:pca_solver] if args.key?(:pca_solver)
11978
+ @reservation_affinity_key = args[:reservation_affinity_key] if args.key?(:reservation_affinity_key)
11979
+ @reservation_affinity_type = args[:reservation_affinity_type] if args.key?(:reservation_affinity_type)
11980
+ @reservation_affinity_values = args[:reservation_affinity_values] if args.key?(:reservation_affinity_values)
11739
11981
  @sampled_shapley_num_paths = args[:sampled_shapley_num_paths] if args.key?(:sampled_shapley_num_paths)
11740
11982
  @scale_features = args[:scale_features] if args.key?(:scale_features)
11741
11983
  @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.96.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 = "20251012"
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,26 @@ 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 :index_id, as: 'indexId'
2396
+ property :post_index_pruning_parallel_input_count, :numeric_string => true, as: 'postIndexPruningParallelInputCount'
2397
+ property :pre_index_pruning_parallel_input_count, :numeric_string => true, as: 'preIndexPruningParallelInputCount'
2398
+ end
2399
+ end
2400
+
2362
2401
  class IndexUnusedReason
2363
2402
  # @private
2364
2403
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2559,6 +2598,7 @@ module Google
2559
2598
 
2560
2599
  property :time_zone, as: 'timeZone'
2561
2600
  property :timestamp_format, as: 'timestampFormat'
2601
+ collection :timestamp_target_precision, as: 'timestampTargetPrecision'
2562
2602
  property :use_avro_logical_types, as: 'useAvroLogicalTypes'
2563
2603
  property :write_disposition, as: 'writeDisposition'
2564
2604
  end
@@ -2698,6 +2738,7 @@ module Google
2698
2738
  property :query, as: 'query', class: Google::Apis::BigqueryV2::JobStatistics2, decorator: Google::Apis::BigqueryV2::JobStatistics2::Representation
2699
2739
 
2700
2740
  collection :quota_deferments, as: 'quotaDeferments'
2741
+ collection :reservation_group_path, as: 'reservationGroupPath'
2701
2742
  collection :reservation_usage, as: 'reservationUsage', class: Google::Apis::BigqueryV2::JobStatistics::ReservationUsage, decorator: Google::Apis::BigqueryV2::JobStatistics::ReservationUsage::Representation
2702
2743
 
2703
2744
  property :reservation_id, as: 'reservation_id'
@@ -2755,6 +2796,8 @@ module Google
2755
2796
 
2756
2797
  collection :external_service_costs, as: 'externalServiceCosts', class: Google::Apis::BigqueryV2::ExternalServiceCost, decorator: Google::Apis::BigqueryV2::ExternalServiceCost::Representation
2757
2798
 
2799
+ property :incremental_result_stats, as: 'incrementalResultStats', class: Google::Apis::BigqueryV2::IncrementalResultStats, decorator: Google::Apis::BigqueryV2::IncrementalResultStats::Representation
2800
+
2758
2801
  property :load_query_statistics, as: 'loadQueryStatistics', class: Google::Apis::BigqueryV2::LoadQueryStatistics, decorator: Google::Apis::BigqueryV2::LoadQueryStatistics::Representation
2759
2802
 
2760
2803
  property :materialized_view_statistics, as: 'materializedViewStatistics', class: Google::Apis::BigqueryV2::MaterializedViewStatistics, decorator: Google::Apis::BigqueryV2::MaterializedViewStatistics::Representation
@@ -3179,6 +3222,15 @@ module Google
3179
3222
  end
3180
3223
  end
3181
3224
 
3225
+ class PruningStats
3226
+ # @private
3227
+ class Representation < Google::Apis::Core::JsonRepresentation
3228
+ property :post_cmeta_pruning_parallel_input_count, :numeric_string => true, as: 'postCmetaPruningParallelInputCount'
3229
+ property :post_cmeta_pruning_partition_count, :numeric_string => true, as: 'postCmetaPruningPartitionCount'
3230
+ property :pre_cmeta_pruning_parallel_input_count, :numeric_string => true, as: 'preCmetaPruningParallelInputCount'
3231
+ end
3232
+ end
3233
+
3182
3234
  class PythonOptions
3183
3235
  # @private
3184
3236
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3518,6 +3570,8 @@ module Google
3518
3570
  class SearchStatistics
3519
3571
  # @private
3520
3572
  class Representation < Google::Apis::Core::JsonRepresentation
3573
+ collection :index_pruning_stats, as: 'indexPruningStats', class: Google::Apis::BigqueryV2::IndexPruningStats, decorator: Google::Apis::BigqueryV2::IndexPruningStats::Representation
3574
+
3521
3575
  collection :index_unused_reasons, as: 'indexUnusedReasons', class: Google::Apis::BigqueryV2::IndexUnusedReason, decorator: Google::Apis::BigqueryV2::IndexUnusedReason::Representation
3522
3576
 
3523
3577
  property :index_usage_mode, as: 'indexUsageMode'
@@ -3926,6 +3980,7 @@ module Google
3926
3980
 
3927
3981
  property :rounding_mode, as: 'roundingMode'
3928
3982
  property :scale, :numeric_string => true, as: 'scale'
3983
+ property :timestamp_precision, :numeric_string => true, as: 'timestampPrecision'
3929
3984
  property :type, as: 'type'
3930
3985
  end
3931
3986
 
@@ -4000,6 +4055,8 @@ module Google
4000
4055
  # @private
4001
4056
  class Representation < Google::Apis::Core::JsonRepresentation
4002
4057
  property :explanation, as: 'explanation'
4058
+ property :pruning_stats, as: 'pruningStats', class: Google::Apis::BigqueryV2::PruningStats, decorator: Google::Apis::BigqueryV2::PruningStats::Representation
4059
+
4003
4060
  property :staleness, as: 'staleness'
4004
4061
  property :table_reference, as: 'tableReference', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
4005
4062
 
@@ -4104,6 +4161,7 @@ module Google
4104
4161
  property :dropout, as: 'dropout'
4105
4162
  property :early_stop, as: 'earlyStop'
4106
4163
  property :enable_global_explain, as: 'enableGlobalExplain'
4164
+ property :endpoint_idle_ttl, as: 'endpointIdleTtl'
4107
4165
  property :feedback_type, as: 'feedbackType'
4108
4166
  property :fit_intercept, as: 'fitIntercept'
4109
4167
  property :forecast_limit_lower_bound, as: 'forecastLimitLowerBound'
@@ -4113,6 +4171,7 @@ module Google
4113
4171
  collection :holiday_regions, as: 'holidayRegions'
4114
4172
  property :horizon, :numeric_string => true, as: 'horizon'
4115
4173
  collection :hparam_tuning_objectives, as: 'hparamTuningObjectives'
4174
+ property :hugging_face_model_id, as: 'huggingFaceModelId'
4116
4175
  property :include_drift, as: 'includeDrift'
4117
4176
  property :initial_learn_rate, as: 'initialLearnRate'
4118
4177
  collection :input_label_columns, as: 'inputLabelColumns'
@@ -4129,15 +4188,19 @@ module Google
4129
4188
  property :learn_rate, as: 'learnRate'
4130
4189
  property :learn_rate_strategy, as: 'learnRateStrategy'
4131
4190
  property :loss_type, as: 'lossType'
4191
+ property :machine_type, as: 'machineType'
4132
4192
  property :max_iterations, :numeric_string => true, as: 'maxIterations'
4133
4193
  property :max_parallel_trials, :numeric_string => true, as: 'maxParallelTrials'
4194
+ property :max_replica_count, :numeric_string => true, as: 'maxReplicaCount'
4134
4195
  property :max_time_series_length, :numeric_string => true, as: 'maxTimeSeriesLength'
4135
4196
  property :max_tree_depth, :numeric_string => true, as: 'maxTreeDepth'
4136
4197
  property :min_apriori_support, as: 'minAprioriSupport'
4137
4198
  property :min_relative_progress, as: 'minRelativeProgress'
4199
+ property :min_replica_count, :numeric_string => true, as: 'minReplicaCount'
4138
4200
  property :min_split_loss, as: 'minSplitLoss'
4139
4201
  property :min_time_series_length, :numeric_string => true, as: 'minTimeSeriesLength'
4140
4202
  property :min_tree_child_weight, :numeric_string => true, as: 'minTreeChildWeight'
4203
+ property :model_garden_model_name, as: 'modelGardenModelName'
4141
4204
  property :model_registry, as: 'modelRegistry'
4142
4205
  property :model_uri, as: 'modelUri'
4143
4206
  property :non_seasonal_order, as: 'nonSeasonalOrder', class: Google::Apis::BigqueryV2::ArimaOrder, decorator: Google::Apis::BigqueryV2::ArimaOrder::Representation
@@ -4151,6 +4214,9 @@ module Google
4151
4214
  property :optimizer, as: 'optimizer'
4152
4215
  property :pca_explained_variance_ratio, as: 'pcaExplainedVarianceRatio'
4153
4216
  property :pca_solver, as: 'pcaSolver'
4217
+ property :reservation_affinity_key, as: 'reservationAffinityKey'
4218
+ property :reservation_affinity_type, as: 'reservationAffinityType'
4219
+ collection :reservation_affinity_values, as: 'reservationAffinityValues'
4154
4220
  property :sampled_shapley_num_paths, :numeric_string => true, as: 'sampledShapleyNumPaths'
4155
4221
  property :scale_features, as: 'scaleFeatures'
4156
4222
  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.96.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.96.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: