google-apis-bigquery_v2 0.92.0 → 0.94.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: e6688ea793c403f3e507fc682f6c6f00feb0c6d2a6bb3f8003579f8b0c7d7f95
4
- data.tar.gz: 507add9ff75d94b451533ac577465533ca8a90154a750073a88ff47e74150476
3
+ metadata.gz: b5cb4217438b5c1494cf4fed1d90cbdac77ad343adad71724804015192043ace
4
+ data.tar.gz: f24aa7205d1737c7bd36b73e3cf8bea14145b73a4af0d3be7a1dfa93ac94c54c
5
5
  SHA512:
6
- metadata.gz: 8f55da4a5d2ad70b9b9ec59bbad5e50e85f0372df0f94f137ea005af6d63d8c87e9b35c72bf1957bb4a01f0277e1a84150a75b209c7eb4601271fcef3595a3ec
7
- data.tar.gz: d28563ca44ff1b740431fd3be0fcca5fe9fdafa280510cfd37537c8bbcec7bffe8bffa9566c1fecdf18aa2df7c23e7f5d44b471783a05396a17aba336468e5c7
6
+ metadata.gz: eb8fd87f19322d3b8d2ea7a864791206f353343722f2c42fdf8915b02aa60468e0a75d24da57cf478463a5f78a500e0759fbabb09959bfeaec15e0e92ca4d2e8
7
+ data.tar.gz: 328337b2ac0ee99b4f3b6abaace152b3a061f55d4033c7a6e3bfe028d08c2bc3d9f647bc0388ba4fa0ece1c700440d1538dfa71566fe2f0917f1afd655d45f92
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.94.0 (2025-09-28)
4
+
5
+ * Regenerated from discovery document revision 20250919
6
+
7
+ ### v0.93.0 (2025-08-31)
8
+
9
+ * Regenerated from discovery document revision 20250816
10
+
3
11
  ### v0.92.0 (2025-08-03)
4
12
 
5
13
  * Regenerated from discovery document revision 20250713
@@ -1732,8 +1732,9 @@ module Google
1732
1732
  end
1733
1733
  end
1734
1734
 
1735
- # Data policy option proto, it currently supports name only, will support
1736
- # precedence later.
1735
+ # Data policy option. For more information, see [Mask data by applying data
1736
+ # policies to a column](https://cloud.google.com/bigquery/docs/column-data-
1737
+ # masking#data-policies-on-column/).
1737
1738
  class DataPolicyOption
1738
1739
  include Google::Apis::Core::Hashable
1739
1740
 
@@ -3488,8 +3489,8 @@ module Google
3488
3489
  class ExternalServiceCost
3489
3490
  include Google::Apis::Core::Hashable
3490
3491
 
3491
- # The billing method used for the external job. This field is only used when
3492
- # billed on the services sku, set to "SERVICES_SKU". Otherwise, it is
3492
+ # The billing method used for the external job. This field, set to `SERVICES_SKU`
3493
+ # , is only used when billing under the services SKU. Otherwise, it is
3493
3494
  # unspecified for backward compatibility.
3494
3495
  # Corresponds to the JSON property `billingMethod`
3495
3496
  # @return [String]
@@ -4176,6 +4177,71 @@ module Google
4176
4177
  end
4177
4178
  end
4178
4179
 
4180
+ # Statistics related to Incremental Query Results. Populated as part of
4181
+ # JobStatistics2. This feature is not yet available.
4182
+ class IncrementalResultStats
4183
+ include Google::Apis::Core::Hashable
4184
+
4185
+ # Reason why incremental query results are/were not written by the query.
4186
+ # Corresponds to the JSON property `disabledReason`
4187
+ # @return [String]
4188
+ attr_accessor :disabled_reason
4189
+
4190
+ # The time at which the result table's contents were modified. May be absent if
4191
+ # no results have been written or the query has completed.
4192
+ # Corresponds to the JSON property `resultSetLastModifyTime`
4193
+ # @return [String]
4194
+ attr_accessor :result_set_last_modify_time
4195
+
4196
+ # The time at which the result table's contents were completely replaced. May be
4197
+ # absent if no results have been written or the query has completed.
4198
+ # Corresponds to the JSON property `resultSetLastReplaceTime`
4199
+ # @return [String]
4200
+ attr_accessor :result_set_last_replace_time
4201
+
4202
+ def initialize(**args)
4203
+ update!(**args)
4204
+ end
4205
+
4206
+ # Update properties of this object
4207
+ def update!(**args)
4208
+ @disabled_reason = args[:disabled_reason] if args.key?(:disabled_reason)
4209
+ @result_set_last_modify_time = args[:result_set_last_modify_time] if args.key?(:result_set_last_modify_time)
4210
+ @result_set_last_replace_time = args[:result_set_last_replace_time] if args.key?(:result_set_last_replace_time)
4211
+ end
4212
+ end
4213
+
4214
+ # Statistics for index pruning.
4215
+ class IndexPruningStats
4216
+ include Google::Apis::Core::Hashable
4217
+
4218
+ # The base table reference.
4219
+ # Corresponds to the JSON property `baseTable`
4220
+ # @return [Google::Apis::BigqueryV2::TableReference]
4221
+ attr_accessor :base_table
4222
+
4223
+ # The number of parallel inputs after index pruning.
4224
+ # Corresponds to the JSON property `postIndexPruningParallelInputCount`
4225
+ # @return [Fixnum]
4226
+ attr_accessor :post_index_pruning_parallel_input_count
4227
+
4228
+ # The number of parallel inputs before index pruning.
4229
+ # Corresponds to the JSON property `preIndexPruningParallelInputCount`
4230
+ # @return [Fixnum]
4231
+ attr_accessor :pre_index_pruning_parallel_input_count
4232
+
4233
+ def initialize(**args)
4234
+ update!(**args)
4235
+ end
4236
+
4237
+ # Update properties of this object
4238
+ def update!(**args)
4239
+ @base_table = args[:base_table] if args.key?(:base_table)
4240
+ @post_index_pruning_parallel_input_count = args[:post_index_pruning_parallel_input_count] if args.key?(:post_index_pruning_parallel_input_count)
4241
+ @pre_index_pruning_parallel_input_count = args[:pre_index_pruning_parallel_input_count] if args.key?(:pre_index_pruning_parallel_input_count)
4242
+ end
4243
+ end
4244
+
4179
4245
  # Reason about why no search index was used in the search query (or sub-query).
4180
4246
  class IndexUnusedReason
4181
4247
  include Google::Apis::Core::Hashable
@@ -4538,11 +4604,11 @@ module Google
4538
4604
  # @return [Google::Apis::BigqueryV2::JobConfigurationExtract]
4539
4605
  attr_accessor :extract
4540
4606
 
4541
- # Optional. Job timeout in milliseconds. If this time limit is exceeded,
4542
- # BigQuery will attempt to stop a longer job, but may not always succeed in
4543
- # canceling it before the job completes. For example, a job that takes more than
4544
- # 60 seconds to complete has a better chance of being stopped than a job that
4545
- # takes 10 seconds to complete.
4607
+ # Optional. Job timeout in milliseconds relative to the job creation time. If
4608
+ # this time limit is exceeded, BigQuery attempts to stop the job, but might not
4609
+ # always succeed in canceling it before the job completes. For example, a job
4610
+ # that takes more than 60 seconds to complete has a better chance of being
4611
+ # stopped than a job that takes 10 seconds to complete.
4546
4612
  # Corresponds to the JSON property `jobTimeoutMs`
4547
4613
  # @return [Fixnum]
4548
4614
  attr_accessor :job_timeout_ms
@@ -4567,6 +4633,13 @@ module Google
4567
4633
  # @return [Google::Apis::BigqueryV2::JobConfigurationLoad]
4568
4634
  attr_accessor :load
4569
4635
 
4636
+ # Optional. INTERNAL: DO NOT USE. The maximum rate of slot consumption to allow
4637
+ # for this job. If set, the number of slots used to execute the job will be
4638
+ # throttled to try and keep its slot consumption below the requested rate.
4639
+ # Corresponds to the JSON property `maxSlots`
4640
+ # @return [Fixnum]
4641
+ attr_accessor :max_slots
4642
+
4570
4643
  # JobConfigurationQuery configures a BigQuery query job.
4571
4644
  # Corresponds to the JSON property `query`
4572
4645
  # @return [Google::Apis::BigqueryV2::JobConfigurationQuery]
@@ -4593,6 +4666,7 @@ module Google
4593
4666
  @job_type = args[:job_type] if args.key?(:job_type)
4594
4667
  @labels = args[:labels] if args.key?(:labels)
4595
4668
  @load = args[:load] if args.key?(:load)
4669
+ @max_slots = args[:max_slots] if args.key?(:max_slots)
4596
4670
  @query = args[:query] if args.key?(:query)
4597
4671
  @reservation = args[:reservation] if args.key?(:reservation)
4598
4672
  end
@@ -4977,13 +5051,14 @@ module Google
4977
5051
 
4978
5052
  # Allows the schema of the destination table to be updated as a side effect of
4979
5053
  # the load job if a schema is autodetected or supplied in the job configuration.
4980
- # Schema update options are supported in two cases: when writeDisposition is
4981
- # WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE and the destination
4982
- # table is a partition of a table, specified by partition decorators. For normal
4983
- # tables, WRITE_TRUNCATE will always overwrite the schema. One or more of the
4984
- # following values are specified: * ALLOW_FIELD_ADDITION: allow adding a
4985
- # nullable field to the schema. * ALLOW_FIELD_RELAXATION: allow relaxing a
4986
- # required field in the original schema to nullable.
5054
+ # Schema update options are supported in three cases: when writeDisposition is
5055
+ # WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE_DATA; when
5056
+ # writeDisposition is WRITE_TRUNCATE and the destination table is a partition of
5057
+ # a table, specified by partition decorators. For normal tables, WRITE_TRUNCATE
5058
+ # will always overwrite the schema. One or more of the following values are
5059
+ # specified: * ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema.
5060
+ # * ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original
5061
+ # schema to nullable.
4987
5062
  # Corresponds to the JSON property `schemaUpdateOptions`
4988
5063
  # @return [Array<String>]
4989
5064
  attr_accessor :schema_update_options
@@ -5264,13 +5339,14 @@ module Google
5264
5339
  attr_accessor :range_partitioning
5265
5340
 
5266
5341
  # Allows the schema of the destination table to be updated as a side effect of
5267
- # the query job. Schema update options are supported in two cases: when
5268
- # writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE and
5269
- # the destination table is a partition of a table, specified by partition
5270
- # decorators. For normal tables, WRITE_TRUNCATE will always overwrite the schema.
5271
- # One or more of the following values are specified: * ALLOW_FIELD_ADDITION:
5272
- # allow adding a nullable field to the schema. * ALLOW_FIELD_RELAXATION: allow
5273
- # relaxing a required field in the original schema to nullable.
5342
+ # the query job. Schema update options are supported in three cases: when
5343
+ # writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE_DATA;
5344
+ # when writeDisposition is WRITE_TRUNCATE and the destination table is a
5345
+ # partition of a table, specified by partition decorators. For normal tables,
5346
+ # WRITE_TRUNCATE will always overwrite the schema. One or more of the following
5347
+ # values are specified: * ALLOW_FIELD_ADDITION: allow adding a nullable field to
5348
+ # the schema. * ALLOW_FIELD_RELAXATION: allow relaxing a required field in the
5349
+ # original schema to nullable.
5274
5350
  # Corresponds to the JSON property `schemaUpdateOptions`
5275
5351
  # @return [Array<String>]
5276
5352
  attr_accessor :schema_update_options
@@ -5923,6 +5999,12 @@ module Google
5923
5999
  # @return [Array<Google::Apis::BigqueryV2::ExternalServiceCost>]
5924
6000
  attr_accessor :external_service_costs
5925
6001
 
6002
+ # Statistics related to Incremental Query Results. Populated as part of
6003
+ # JobStatistics2. This feature is not yet available.
6004
+ # Corresponds to the JSON property `incrementalResultStats`
6005
+ # @return [Google::Apis::BigqueryV2::IncrementalResultStats]
6006
+ attr_accessor :incremental_result_stats
6007
+
5926
6008
  # Statistics for a LOAD query.
5927
6009
  # Corresponds to the JSON property `loadQueryStatistics`
5928
6010
  # @return [Google::Apis::BigqueryV2::LoadQueryStatistics]
@@ -6136,10 +6218,10 @@ module Google
6136
6218
  # @return [Fixnum]
6137
6219
  attr_accessor :total_partitions_processed
6138
6220
 
6139
- # Output only. Total slot-milliseconds for the job that run on external services
6140
- # and billed on the service SKU. This field is only populated for jobs that have
6141
- # external service costs, and is the total of the usage for costs whose billing
6142
- # method is "SERVICES_SKU".
6221
+ # Output only. Total slot milliseconds for the job that ran on external services
6222
+ # and billed on the services SKU. This field is only populated for jobs that
6223
+ # have external service costs, and is the total of the usage for costs whose
6224
+ # billing method is `"SERVICES_SKU"`.
6143
6225
  # Corresponds to the JSON property `totalServicesSkuSlotMs`
6144
6226
  # @return [Fixnum]
6145
6227
  attr_accessor :total_services_sku_slot_ms
@@ -6189,6 +6271,7 @@ module Google
6189
6271
  @estimated_bytes_processed = args[:estimated_bytes_processed] if args.key?(:estimated_bytes_processed)
6190
6272
  @export_data_statistics = args[:export_data_statistics] if args.key?(:export_data_statistics)
6191
6273
  @external_service_costs = args[:external_service_costs] if args.key?(:external_service_costs)
6274
+ @incremental_result_stats = args[:incremental_result_stats] if args.key?(:incremental_result_stats)
6192
6275
  @load_query_statistics = args[:load_query_statistics] if args.key?(:load_query_statistics)
6193
6276
  @materialized_view_statistics = args[:materialized_view_statistics] if args.key?(:materialized_view_statistics)
6194
6277
  @metadata_cache_statistics = args[:metadata_cache_statistics] if args.key?(:metadata_cache_statistics)
@@ -7578,6 +7661,37 @@ module Google
7578
7661
  end
7579
7662
  end
7580
7663
 
7664
+ # The column metadata index pruning statistics.
7665
+ class PruningStats
7666
+ include Google::Apis::Core::Hashable
7667
+
7668
+ # The number of parallel inputs matched.
7669
+ # Corresponds to the JSON property `postCmetaPruningParallelInputCount`
7670
+ # @return [Fixnum]
7671
+ attr_accessor :post_cmeta_pruning_parallel_input_count
7672
+
7673
+ # The number of partitions matched.
7674
+ # Corresponds to the JSON property `postCmetaPruningPartitionCount`
7675
+ # @return [Fixnum]
7676
+ attr_accessor :post_cmeta_pruning_partition_count
7677
+
7678
+ # The number of parallel inputs scanned.
7679
+ # Corresponds to the JSON property `preCmetaPruningParallelInputCount`
7680
+ # @return [Fixnum]
7681
+ attr_accessor :pre_cmeta_pruning_parallel_input_count
7682
+
7683
+ def initialize(**args)
7684
+ update!(**args)
7685
+ end
7686
+
7687
+ # Update properties of this object
7688
+ def update!(**args)
7689
+ @post_cmeta_pruning_parallel_input_count = args[:post_cmeta_pruning_parallel_input_count] if args.key?(:post_cmeta_pruning_parallel_input_count)
7690
+ @post_cmeta_pruning_partition_count = args[:post_cmeta_pruning_partition_count] if args.key?(:post_cmeta_pruning_partition_count)
7691
+ @pre_cmeta_pruning_parallel_input_count = args[:pre_cmeta_pruning_parallel_input_count] if args.key?(:pre_cmeta_pruning_parallel_input_count)
7692
+ end
7693
+ end
7694
+
7581
7695
  # Options for a user-defined Python function.
7582
7696
  class PythonOptions
7583
7697
  include Google::Apis::Core::Hashable
@@ -7868,6 +7982,14 @@ module Google
7868
7982
  # @return [Fixnum]
7869
7983
  attr_accessor :max_results
7870
7984
 
7985
+ # Optional. INTERNAL: DO NOT USE. The maximum rate of slot consumption to allow
7986
+ # for this job. If set, the number of slots used to execute the job will be
7987
+ # throttled to try and keep its slot consumption below the requested rate. This
7988
+ # limit is best effort.
7989
+ # Corresponds to the JSON property `maxSlots`
7990
+ # @return [Fixnum]
7991
+ attr_accessor :max_slots
7992
+
7871
7993
  # Optional. Limits the bytes billed for this query. Queries with bytes billed
7872
7994
  # above this limit will fail (without incurring a charge). If unspecified, the
7873
7995
  # project default is used.
@@ -7988,6 +8110,7 @@ module Google
7988
8110
  @labels = args[:labels] if args.key?(:labels)
7989
8111
  @location = args[:location] if args.key?(:location)
7990
8112
  @max_results = args[:max_results] if args.key?(:max_results)
8113
+ @max_slots = args[:max_slots] if args.key?(:max_slots)
7991
8114
  @maximum_bytes_billed = args[:maximum_bytes_billed] if args.key?(:maximum_bytes_billed)
7992
8115
  @parameter_mode = args[:parameter_mode] if args.key?(:parameter_mode)
7993
8116
  @preserve_nulls = args[:preserve_nulls] if args.key?(:preserve_nulls)
@@ -8544,15 +8667,16 @@ module Google
8544
8667
  attr_accessor :data_governance_type
8545
8668
 
8546
8669
  # Required. The body of the routine. For functions, this is the expression in
8547
- # the AS clause. If language=SQL, it is the substring inside (but excluding) the
8548
- # parentheses. For example, for the function created with the following
8549
- # statement: `CREATE FUNCTION JoinLines(x string, y string) as (concat(x, "\n",
8550
- # y))` The definition_body is `concat(x, "\n", y)` (\n is not replaced with
8551
- # linebreak). If language=JAVASCRIPT, it is the evaluated string in the AS
8552
- # clause. For example, for the function created with the following statement: `
8553
- # CREATE FUNCTION f() RETURNS STRING LANGUAGE js AS 'return "\n";\n'` The
8670
+ # the AS clause. If `language = "SQL"`, it is the substring inside (but
8671
+ # excluding) the parentheses. For example, for the function created with the
8672
+ # following statement: `CREATE FUNCTION JoinLines(x string, y string) as (concat(
8673
+ # x, "\n", y))` The definition_body is `concat(x, "\n", y)` (\n is not replaced
8674
+ # with linebreak). If `language="JAVASCRIPT"`, it is the evaluated string in the
8675
+ # AS clause. For example, for the function created with the following statement:
8676
+ # `CREATE FUNCTION f() RETURNS STRING LANGUAGE js AS 'return "\n";\n'` The
8554
8677
  # definition_body is `return "\n";\n` Note that both \n are replaced with
8555
- # linebreaks.
8678
+ # linebreaks. If `definition_body` references another routine, then that routine
8679
+ # must be fully qualified with its project ID.
8556
8680
  # Corresponds to the JSON property `definitionBody`
8557
8681
  # @return [String]
8558
8682
  attr_accessor :definition_body
@@ -8997,6 +9121,14 @@ module Google
8997
9121
  class SearchStatistics
8998
9122
  include Google::Apis::Core::Hashable
8999
9123
 
9124
+ # Search index pruning statistics, one for each base table that has a search
9125
+ # index. If a base table does not have a search index or the index does not help
9126
+ # with pruning on the base table, then there is no pruning statistics for that
9127
+ # table.
9128
+ # Corresponds to the JSON property `indexPruningStats`
9129
+ # @return [Array<Google::Apis::BigqueryV2::IndexPruningStats>]
9130
+ attr_accessor :index_pruning_stats
9131
+
9000
9132
  # When `indexUsageMode` is `UNUSED` or `PARTIALLY_USED`, this field explains why
9001
9133
  # indexes were not used in all or part of the search query. If `indexUsageMode`
9002
9134
  # is `FULLY_USED`, this field is not populated.
@@ -9015,6 +9147,7 @@ module Google
9015
9147
 
9016
9148
  # Update properties of this object
9017
9149
  def update!(**args)
9150
+ @index_pruning_stats = args[:index_pruning_stats] if args.key?(:index_pruning_stats)
9018
9151
  @index_unused_reasons = args[:index_unused_reasons] if args.key?(:index_unused_reasons)
9019
9152
  @index_usage_mode = args[:index_usage_mode] if args.key?(:index_usage_mode)
9020
9153
  end
@@ -10486,7 +10619,8 @@ module Google
10486
10619
  # @return [String]
10487
10620
  attr_accessor :collation
10488
10621
 
10489
- # Optional. Data policy options, will replace the data_policies.
10622
+ # Optional. Data policies attached to this field, used for field-level access
10623
+ # control.
10490
10624
  # Corresponds to the JSON property `dataPolicies`
10491
10625
  # @return [Array<Google::Apis::BigqueryV2::DataPolicyOption>]
10492
10626
  attr_accessor :data_policies
@@ -10579,6 +10713,13 @@ module Google
10579
10713
  # @return [Fixnum]
10580
10714
  attr_accessor :scale
10581
10715
 
10716
+ # Optional. Precision (maximum number of total digits in base 10) for seconds of
10717
+ # TIMESTAMP type. Possible values include: * 6 (Default, for TIMESTAMP type with
10718
+ # microsecond precision) * 12 (For TIMESTAMP type with picosecond precision)
10719
+ # Corresponds to the JSON property `timestampPrecision`
10720
+ # @return [Fixnum]
10721
+ attr_accessor :timestamp_precision
10722
+
10582
10723
  # Required. The field data type. Possible values include: * STRING * BYTES *
10583
10724
  # INTEGER (or INT64) * FLOAT (or FLOAT64) * BOOLEAN (or BOOL) * TIMESTAMP * DATE
10584
10725
  # * TIME * DATETIME * GEOGRAPHY * NUMERIC * BIGNUMERIC * JSON * RECORD (or
@@ -10609,6 +10750,7 @@ module Google
10609
10750
  @range_element_type = args[:range_element_type] if args.key?(:range_element_type)
10610
10751
  @rounding_mode = args[:rounding_mode] if args.key?(:rounding_mode)
10611
10752
  @scale = args[:scale] if args.key?(:scale)
10753
+ @timestamp_precision = args[:timestamp_precision] if args.key?(:timestamp_precision)
10612
10754
  @type = args[:type] if args.key?(:type)
10613
10755
  end
10614
10756
 
@@ -10850,6 +10992,11 @@ module Google
10850
10992
  # @return [String]
10851
10993
  attr_accessor :explanation
10852
10994
 
10995
+ # The column metadata index pruning statistics.
10996
+ # Corresponds to the JSON property `pruningStats`
10997
+ # @return [Google::Apis::BigqueryV2::PruningStats]
10998
+ attr_accessor :pruning_stats
10999
+
10853
11000
  # Duration since last refresh as of this job for managed tables (indicates
10854
11001
  # metadata cache staleness as seen by this job).
10855
11002
  # Corresponds to the JSON property `staleness`
@@ -10879,6 +11026,7 @@ module Google
10879
11026
  # Update properties of this object
10880
11027
  def update!(**args)
10881
11028
  @explanation = args[:explanation] if args.key?(:explanation)
11029
+ @pruning_stats = args[:pruning_stats] if args.key?(:pruning_stats)
10882
11030
  @staleness = args[:staleness] if args.key?(:staleness)
10883
11031
  @table_reference = args[:table_reference] if args.key?(:table_reference)
10884
11032
  @table_type = args[:table_type] if args.key?(:table_type)
@@ -11278,6 +11426,12 @@ module Google
11278
11426
  attr_accessor :enable_global_explain
11279
11427
  alias_method :enable_global_explain?, :enable_global_explain
11280
11428
 
11429
+ # The idle TTL of the endpoint before the resources get destroyed. The default
11430
+ # value is 6.5 hours.
11431
+ # Corresponds to the JSON property `endpointIdleTtl`
11432
+ # @return [String]
11433
+ attr_accessor :endpoint_idle_ttl
11434
+
11281
11435
  # Feedback type that specifies which algorithm to run for matrix factorization.
11282
11436
  # Corresponds to the JSON property `feedbackType`
11283
11437
  # @return [String]
@@ -11329,6 +11483,11 @@ module Google
11329
11483
  # @return [Array<String>]
11330
11484
  attr_accessor :hparam_tuning_objectives
11331
11485
 
11486
+ # The id of a Hugging Face model. For example, `google/gemma-2-2b-it`.
11487
+ # Corresponds to the JSON property `huggingFaceModelId`
11488
+ # @return [String]
11489
+ attr_accessor :hugging_face_model_id
11490
+
11332
11491
  # Include drift when fitting an ARIMA model.
11333
11492
  # Corresponds to the JSON property `includeDrift`
11334
11493
  # @return [Boolean]
@@ -11414,6 +11573,11 @@ module Google
11414
11573
  # @return [String]
11415
11574
  attr_accessor :loss_type
11416
11575
 
11576
+ # The type of the machine used to deploy and serve the model.
11577
+ # Corresponds to the JSON property `machineType`
11578
+ # @return [String]
11579
+ attr_accessor :machine_type
11580
+
11417
11581
  # The maximum number of iterations in training. Used only for iterative training
11418
11582
  # algorithms.
11419
11583
  # Corresponds to the JSON property `maxIterations`
@@ -11425,6 +11589,12 @@ module Google
11425
11589
  # @return [Fixnum]
11426
11590
  attr_accessor :max_parallel_trials
11427
11591
 
11592
+ # The maximum number of machine replicas that will be deployed on an endpoint.
11593
+ # The default value is equal to min_replica_count.
11594
+ # Corresponds to the JSON property `maxReplicaCount`
11595
+ # @return [Fixnum]
11596
+ attr_accessor :max_replica_count
11597
+
11428
11598
  # The maximum number of time points in a time series that can be used in
11429
11599
  # modeling the trend component of the time series. Don't use this option with
11430
11600
  # the `timeSeriesLengthFraction` or `minTimeSeriesLength` options.
@@ -11448,6 +11618,13 @@ module Google
11448
11618
  # @return [Float]
11449
11619
  attr_accessor :min_relative_progress
11450
11620
 
11621
+ # The minimum number of machine replicas that will be always deployed on an
11622
+ # endpoint. This value must be greater than or equal to 1. The default value is
11623
+ # 1.
11624
+ # Corresponds to the JSON property `minReplicaCount`
11625
+ # @return [Fixnum]
11626
+ attr_accessor :min_replica_count
11627
+
11451
11628
  # Minimum split loss for boosted tree models.
11452
11629
  # Corresponds to the JSON property `minSplitLoss`
11453
11630
  # @return [Float]
@@ -11470,6 +11647,12 @@ module Google
11470
11647
  # @return [Fixnum]
11471
11648
  attr_accessor :min_tree_child_weight
11472
11649
 
11650
+ # The name of a Vertex model garden publisher model. Format is `publishers/`
11651
+ # publisher`/models/`model`@`optional_version_id``.
11652
+ # Corresponds to the JSON property `modelGardenModelName`
11653
+ # @return [String]
11654
+ attr_accessor :model_garden_model_name
11655
+
11473
11656
  # The model registry.
11474
11657
  # Corresponds to the JSON property `modelRegistry`
11475
11658
  # @return [String]
@@ -11534,6 +11717,25 @@ module Google
11534
11717
  # @return [String]
11535
11718
  attr_accessor :pca_solver
11536
11719
 
11720
+ # Corresponds to the label key of a reservation resource used by Vertex AI. To
11721
+ # target a SPECIFIC_RESERVATION by name, use `compute.googleapis.com/reservation-
11722
+ # name` as the key and specify the name of your reservation as its value.
11723
+ # Corresponds to the JSON property `reservationAffinityKey`
11724
+ # @return [String]
11725
+ attr_accessor :reservation_affinity_key
11726
+
11727
+ # Specifies the reservation affinity type used to configure a Vertex AI resource.
11728
+ # The default value is `NO_RESERVATION`.
11729
+ # Corresponds to the JSON property `reservationAffinityType`
11730
+ # @return [String]
11731
+ attr_accessor :reservation_affinity_type
11732
+
11733
+ # Corresponds to the label values of a reservation resource used by Vertex AI.
11734
+ # This must be the full resource name of the reservation or reservation block.
11735
+ # Corresponds to the JSON property `reservationAffinityValues`
11736
+ # @return [Array<String>]
11737
+ attr_accessor :reservation_affinity_values
11738
+
11537
11739
  # Number of paths for the sampled Shapley explain method.
11538
11740
  # Corresponds to the JSON property `sampledShapleyNumPaths`
11539
11741
  # @return [Fixnum]
@@ -11670,6 +11872,7 @@ module Google
11670
11872
  @dropout = args[:dropout] if args.key?(:dropout)
11671
11873
  @early_stop = args[:early_stop] if args.key?(:early_stop)
11672
11874
  @enable_global_explain = args[:enable_global_explain] if args.key?(:enable_global_explain)
11875
+ @endpoint_idle_ttl = args[:endpoint_idle_ttl] if args.key?(:endpoint_idle_ttl)
11673
11876
  @feedback_type = args[:feedback_type] if args.key?(:feedback_type)
11674
11877
  @fit_intercept = args[:fit_intercept] if args.key?(:fit_intercept)
11675
11878
  @forecast_limit_lower_bound = args[:forecast_limit_lower_bound] if args.key?(:forecast_limit_lower_bound)
@@ -11679,6 +11882,7 @@ module Google
11679
11882
  @holiday_regions = args[:holiday_regions] if args.key?(:holiday_regions)
11680
11883
  @horizon = args[:horizon] if args.key?(:horizon)
11681
11884
  @hparam_tuning_objectives = args[:hparam_tuning_objectives] if args.key?(:hparam_tuning_objectives)
11885
+ @hugging_face_model_id = args[:hugging_face_model_id] if args.key?(:hugging_face_model_id)
11682
11886
  @include_drift = args[:include_drift] if args.key?(:include_drift)
11683
11887
  @initial_learn_rate = args[:initial_learn_rate] if args.key?(:initial_learn_rate)
11684
11888
  @input_label_columns = args[:input_label_columns] if args.key?(:input_label_columns)
@@ -11695,15 +11899,19 @@ module Google
11695
11899
  @learn_rate = args[:learn_rate] if args.key?(:learn_rate)
11696
11900
  @learn_rate_strategy = args[:learn_rate_strategy] if args.key?(:learn_rate_strategy)
11697
11901
  @loss_type = args[:loss_type] if args.key?(:loss_type)
11902
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
11698
11903
  @max_iterations = args[:max_iterations] if args.key?(:max_iterations)
11699
11904
  @max_parallel_trials = args[:max_parallel_trials] if args.key?(:max_parallel_trials)
11905
+ @max_replica_count = args[:max_replica_count] if args.key?(:max_replica_count)
11700
11906
  @max_time_series_length = args[:max_time_series_length] if args.key?(:max_time_series_length)
11701
11907
  @max_tree_depth = args[:max_tree_depth] if args.key?(:max_tree_depth)
11702
11908
  @min_apriori_support = args[:min_apriori_support] if args.key?(:min_apriori_support)
11703
11909
  @min_relative_progress = args[:min_relative_progress] if args.key?(:min_relative_progress)
11910
+ @min_replica_count = args[:min_replica_count] if args.key?(:min_replica_count)
11704
11911
  @min_split_loss = args[:min_split_loss] if args.key?(:min_split_loss)
11705
11912
  @min_time_series_length = args[:min_time_series_length] if args.key?(:min_time_series_length)
11706
11913
  @min_tree_child_weight = args[:min_tree_child_weight] if args.key?(:min_tree_child_weight)
11914
+ @model_garden_model_name = args[:model_garden_model_name] if args.key?(:model_garden_model_name)
11707
11915
  @model_registry = args[:model_registry] if args.key?(:model_registry)
11708
11916
  @model_uri = args[:model_uri] if args.key?(:model_uri)
11709
11917
  @non_seasonal_order = args[:non_seasonal_order] if args.key?(:non_seasonal_order)
@@ -11716,6 +11924,9 @@ module Google
11716
11924
  @optimizer = args[:optimizer] if args.key?(:optimizer)
11717
11925
  @pca_explained_variance_ratio = args[:pca_explained_variance_ratio] if args.key?(:pca_explained_variance_ratio)
11718
11926
  @pca_solver = args[:pca_solver] if args.key?(:pca_solver)
11927
+ @reservation_affinity_key = args[:reservation_affinity_key] if args.key?(:reservation_affinity_key)
11928
+ @reservation_affinity_type = args[:reservation_affinity_type] if args.key?(:reservation_affinity_type)
11929
+ @reservation_affinity_values = args[:reservation_affinity_values] if args.key?(:reservation_affinity_values)
11719
11930
  @sampled_shapley_num_paths = args[:sampled_shapley_num_paths] if args.key?(:sampled_shapley_num_paths)
11720
11931
  @scale_features = args[:scale_features] if args.key?(:scale_features)
11721
11932
  @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.92.0"
19
+ GEM_VERSION = "0.94.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 = "20250713"
25
+ REVISION = "20250919"
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
 
@@ -2359,6 +2377,25 @@ module Google
2359
2377
  end
2360
2378
  end
2361
2379
 
2380
+ class IncrementalResultStats
2381
+ # @private
2382
+ class Representation < Google::Apis::Core::JsonRepresentation
2383
+ property :disabled_reason, as: 'disabledReason'
2384
+ property :result_set_last_modify_time, as: 'resultSetLastModifyTime'
2385
+ property :result_set_last_replace_time, as: 'resultSetLastReplaceTime'
2386
+ end
2387
+ end
2388
+
2389
+ class IndexPruningStats
2390
+ # @private
2391
+ class Representation < Google::Apis::Core::JsonRepresentation
2392
+ property :base_table, as: 'baseTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
2393
+
2394
+ property :post_index_pruning_parallel_input_count, :numeric_string => true, as: 'postIndexPruningParallelInputCount'
2395
+ property :pre_index_pruning_parallel_input_count, :numeric_string => true, as: 'preIndexPruningParallelInputCount'
2396
+ end
2397
+ end
2398
+
2362
2399
  class IndexUnusedReason
2363
2400
  # @private
2364
2401
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2478,6 +2515,7 @@ module Google
2478
2515
  hash :labels, as: 'labels'
2479
2516
  property :load, as: 'load', class: Google::Apis::BigqueryV2::JobConfigurationLoad, decorator: Google::Apis::BigqueryV2::JobConfigurationLoad::Representation
2480
2517
 
2518
+ property :max_slots, as: 'maxSlots'
2481
2519
  property :query, as: 'query', class: Google::Apis::BigqueryV2::JobConfigurationQuery, decorator: Google::Apis::BigqueryV2::JobConfigurationQuery::Representation
2482
2520
 
2483
2521
  property :reservation, as: 'reservation'
@@ -2754,6 +2792,8 @@ module Google
2754
2792
 
2755
2793
  collection :external_service_costs, as: 'externalServiceCosts', class: Google::Apis::BigqueryV2::ExternalServiceCost, decorator: Google::Apis::BigqueryV2::ExternalServiceCost::Representation
2756
2794
 
2795
+ property :incremental_result_stats, as: 'incrementalResultStats', class: Google::Apis::BigqueryV2::IncrementalResultStats, decorator: Google::Apis::BigqueryV2::IncrementalResultStats::Representation
2796
+
2757
2797
  property :load_query_statistics, as: 'loadQueryStatistics', class: Google::Apis::BigqueryV2::LoadQueryStatistics, decorator: Google::Apis::BigqueryV2::LoadQueryStatistics::Representation
2758
2798
 
2759
2799
  property :materialized_view_statistics, as: 'materializedViewStatistics', class: Google::Apis::BigqueryV2::MaterializedViewStatistics, decorator: Google::Apis::BigqueryV2::MaterializedViewStatistics::Representation
@@ -3178,6 +3218,15 @@ module Google
3178
3218
  end
3179
3219
  end
3180
3220
 
3221
+ class PruningStats
3222
+ # @private
3223
+ class Representation < Google::Apis::Core::JsonRepresentation
3224
+ property :post_cmeta_pruning_parallel_input_count, :numeric_string => true, as: 'postCmetaPruningParallelInputCount'
3225
+ property :post_cmeta_pruning_partition_count, :numeric_string => true, as: 'postCmetaPruningPartitionCount'
3226
+ property :pre_cmeta_pruning_parallel_input_count, :numeric_string => true, as: 'preCmetaPruningParallelInputCount'
3227
+ end
3228
+ end
3229
+
3181
3230
  class PythonOptions
3182
3231
  # @private
3183
3232
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3261,6 +3310,7 @@ module Google
3261
3310
  hash :labels, as: 'labels'
3262
3311
  property :location, as: 'location'
3263
3312
  property :max_results, as: 'maxResults'
3313
+ property :max_slots, as: 'maxSlots'
3264
3314
  property :maximum_bytes_billed, :numeric_string => true, as: 'maximumBytesBilled'
3265
3315
  property :parameter_mode, as: 'parameterMode'
3266
3316
  property :preserve_nulls, as: 'preserveNulls'
@@ -3516,6 +3566,8 @@ module Google
3516
3566
  class SearchStatistics
3517
3567
  # @private
3518
3568
  class Representation < Google::Apis::Core::JsonRepresentation
3569
+ collection :index_pruning_stats, as: 'indexPruningStats', class: Google::Apis::BigqueryV2::IndexPruningStats, decorator: Google::Apis::BigqueryV2::IndexPruningStats::Representation
3570
+
3519
3571
  collection :index_unused_reasons, as: 'indexUnusedReasons', class: Google::Apis::BigqueryV2::IndexUnusedReason, decorator: Google::Apis::BigqueryV2::IndexUnusedReason::Representation
3520
3572
 
3521
3573
  property :index_usage_mode, as: 'indexUsageMode'
@@ -3924,6 +3976,7 @@ module Google
3924
3976
 
3925
3977
  property :rounding_mode, as: 'roundingMode'
3926
3978
  property :scale, :numeric_string => true, as: 'scale'
3979
+ property :timestamp_precision, :numeric_string => true, as: 'timestampPrecision'
3927
3980
  property :type, as: 'type'
3928
3981
  end
3929
3982
 
@@ -3998,6 +4051,8 @@ module Google
3998
4051
  # @private
3999
4052
  class Representation < Google::Apis::Core::JsonRepresentation
4000
4053
  property :explanation, as: 'explanation'
4054
+ property :pruning_stats, as: 'pruningStats', class: Google::Apis::BigqueryV2::PruningStats, decorator: Google::Apis::BigqueryV2::PruningStats::Representation
4055
+
4001
4056
  property :staleness, as: 'staleness'
4002
4057
  property :table_reference, as: 'tableReference', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
4003
4058
 
@@ -4102,6 +4157,7 @@ module Google
4102
4157
  property :dropout, as: 'dropout'
4103
4158
  property :early_stop, as: 'earlyStop'
4104
4159
  property :enable_global_explain, as: 'enableGlobalExplain'
4160
+ property :endpoint_idle_ttl, as: 'endpointIdleTtl'
4105
4161
  property :feedback_type, as: 'feedbackType'
4106
4162
  property :fit_intercept, as: 'fitIntercept'
4107
4163
  property :forecast_limit_lower_bound, as: 'forecastLimitLowerBound'
@@ -4111,6 +4167,7 @@ module Google
4111
4167
  collection :holiday_regions, as: 'holidayRegions'
4112
4168
  property :horizon, :numeric_string => true, as: 'horizon'
4113
4169
  collection :hparam_tuning_objectives, as: 'hparamTuningObjectives'
4170
+ property :hugging_face_model_id, as: 'huggingFaceModelId'
4114
4171
  property :include_drift, as: 'includeDrift'
4115
4172
  property :initial_learn_rate, as: 'initialLearnRate'
4116
4173
  collection :input_label_columns, as: 'inputLabelColumns'
@@ -4127,15 +4184,19 @@ module Google
4127
4184
  property :learn_rate, as: 'learnRate'
4128
4185
  property :learn_rate_strategy, as: 'learnRateStrategy'
4129
4186
  property :loss_type, as: 'lossType'
4187
+ property :machine_type, as: 'machineType'
4130
4188
  property :max_iterations, :numeric_string => true, as: 'maxIterations'
4131
4189
  property :max_parallel_trials, :numeric_string => true, as: 'maxParallelTrials'
4190
+ property :max_replica_count, :numeric_string => true, as: 'maxReplicaCount'
4132
4191
  property :max_time_series_length, :numeric_string => true, as: 'maxTimeSeriesLength'
4133
4192
  property :max_tree_depth, :numeric_string => true, as: 'maxTreeDepth'
4134
4193
  property :min_apriori_support, as: 'minAprioriSupport'
4135
4194
  property :min_relative_progress, as: 'minRelativeProgress'
4195
+ property :min_replica_count, :numeric_string => true, as: 'minReplicaCount'
4136
4196
  property :min_split_loss, as: 'minSplitLoss'
4137
4197
  property :min_time_series_length, :numeric_string => true, as: 'minTimeSeriesLength'
4138
4198
  property :min_tree_child_weight, :numeric_string => true, as: 'minTreeChildWeight'
4199
+ property :model_garden_model_name, as: 'modelGardenModelName'
4139
4200
  property :model_registry, as: 'modelRegistry'
4140
4201
  property :model_uri, as: 'modelUri'
4141
4202
  property :non_seasonal_order, as: 'nonSeasonalOrder', class: Google::Apis::BigqueryV2::ArimaOrder, decorator: Google::Apis::BigqueryV2::ArimaOrder::Representation
@@ -4149,6 +4210,9 @@ module Google
4149
4210
  property :optimizer, as: 'optimizer'
4150
4211
  property :pca_explained_variance_ratio, as: 'pcaExplainedVarianceRatio'
4151
4212
  property :pca_solver, as: 'pcaSolver'
4213
+ property :reservation_affinity_key, as: 'reservationAffinityKey'
4214
+ property :reservation_affinity_type, as: 'reservationAffinityType'
4215
+ collection :reservation_affinity_values, as: 'reservationAffinityValues'
4152
4216
  property :sampled_shapley_num_paths, :numeric_string => true, as: 'sampledShapleyNumPaths'
4153
4217
  property :scale_features, as: 'scaleFeatures'
4154
4218
  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.92.0
4
+ version: 0.94.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.92.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.94.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: