diff --git a/api_names_out.yaml b/api_names_out.yaml index 41bf745ccbe..dc42a852ac9 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -53552,6 +53552,14 @@ "/bigquery:v2/IdentityColumnInfo/generatedMode": generated_mode "/bigquery:v2/IdentityColumnInfo/increment": increment "/bigquery:v2/IdentityColumnInfo/start": start +"/bigquery:v2/IncrementalResultStats": incremental_result_stats +"/bigquery:v2/IncrementalResultStats/disabledReason": disabled_reason +"/bigquery:v2/IncrementalResultStats/resultSetLastModifyTime": result_set_last_modify_time +"/bigquery:v2/IncrementalResultStats/resultSetLastReplaceTime": result_set_last_replace_time +"/bigquery:v2/IndexPruningStats": index_pruning_stats +"/bigquery:v2/IndexPruningStats/baseTable": base_table +"/bigquery:v2/IndexPruningStats/postIndexPruningParallelInputCount": post_index_pruning_parallel_input_count +"/bigquery:v2/IndexPruningStats/preIndexPruningParallelInputCount": pre_index_pruning_parallel_input_count "/bigquery:v2/IndexUnusedReason": index_unused_reason "/bigquery:v2/IndexUnusedReason/baseTable": base_table "/bigquery:v2/IndexUnusedReason/base_table": base_table @@ -53794,6 +53802,7 @@ "/bigquery:v2/JobStatistics2/exportDataStatistics": export_data_statistics "/bigquery:v2/JobStatistics2/externalServiceCosts": external_service_costs "/bigquery:v2/JobStatistics2/externalServiceCosts/external_service_cost": external_service_cost +"/bigquery:v2/JobStatistics2/incrementalResultStats": incremental_result_stats "/bigquery:v2/JobStatistics2/loadQueryStatistics": load_query_statistics "/bigquery:v2/JobStatistics2/materializedViewStatistics": materialized_view_statistics "/bigquery:v2/JobStatistics2/metadataCacheStatistics": metadata_cache_statistics @@ -54014,6 +54023,10 @@ "/bigquery:v2/ProjectList/totalItems": total_items "/bigquery:v2/ProjectReference": project_reference "/bigquery:v2/ProjectReference/projectId": project_id +"/bigquery:v2/PruningStats": pruning_stats +"/bigquery:v2/PruningStats/postCmetaPruningParallelInputCount": post_cmeta_pruning_parallel_input_count +"/bigquery:v2/PruningStats/postCmetaPruningPartitionCount": post_cmeta_pruning_partition_count +"/bigquery:v2/PruningStats/preCmetaPruningParallelInputCount": pre_cmeta_pruning_parallel_input_count "/bigquery:v2/PythonOptions": python_options "/bigquery:v2/PythonOptions/entryPoint": entry_point "/bigquery:v2/PythonOptions/packages": packages @@ -54207,6 +54220,8 @@ "/bigquery:v2/ScriptStatistics/stackFrames": stack_frames "/bigquery:v2/ScriptStatistics/stackFrames/stack_frame": stack_frame "/bigquery:v2/SearchStatistics": search_statistics +"/bigquery:v2/SearchStatistics/indexPruningStats": index_pruning_stats +"/bigquery:v2/SearchStatistics/indexPruningStats/index_pruning_stat": index_pruning_stat "/bigquery:v2/SearchStatistics/indexUnusedReason": index_unused_reason "/bigquery:v2/SearchStatistics/indexUnusedReason/index_unused_reason": index_unused_reason "/bigquery:v2/SearchStatistics/indexUnusedReasons": index_unused_reasons @@ -54456,6 +54471,7 @@ "/bigquery:v2/TableFieldSchema/rangeElementType/type": type "/bigquery:v2/TableFieldSchema/roundingMode": rounding_mode "/bigquery:v2/TableFieldSchema/scale": scale +"/bigquery:v2/TableFieldSchema/timestampPrecision": timestamp_precision "/bigquery:v2/TableFieldSchema/type": type "/bigquery:v2/TableList": table_list "/bigquery:v2/TableList/etag": etag @@ -54482,6 +54498,7 @@ "/bigquery:v2/TableList/totalItems": total_items "/bigquery:v2/TableMetadataCacheUsage": table_metadata_cache_usage "/bigquery:v2/TableMetadataCacheUsage/explanation": explanation +"/bigquery:v2/TableMetadataCacheUsage/pruningStats": pruning_stats "/bigquery:v2/TableMetadataCacheUsage/staleness": staleness "/bigquery:v2/TableMetadataCacheUsage/tableReference": table_reference "/bigquery:v2/TableMetadataCacheUsage/tableType": table_type @@ -54545,6 +54562,7 @@ "/bigquery:v2/TrainingOptions/dropout": dropout "/bigquery:v2/TrainingOptions/earlyStop": early_stop "/bigquery:v2/TrainingOptions/enableGlobalExplain": enable_global_explain +"/bigquery:v2/TrainingOptions/endpointIdleTtl": endpoint_idle_ttl "/bigquery:v2/TrainingOptions/feedbackType": feedback_type "/bigquery:v2/TrainingOptions/fitIntercept": fit_intercept "/bigquery:v2/TrainingOptions/forecastLimitLowerBound": forecast_limit_lower_bound @@ -54557,6 +54575,7 @@ "/bigquery:v2/TrainingOptions/horizon": horizon "/bigquery:v2/TrainingOptions/hparamTuningObjectives": hparam_tuning_objectives "/bigquery:v2/TrainingOptions/hparamTuningObjectives/hparam_tuning_objective": hparam_tuning_objective +"/bigquery:v2/TrainingOptions/huggingFaceModelId": hugging_face_model_id "/bigquery:v2/TrainingOptions/includeDrift": include_drift "/bigquery:v2/TrainingOptions/initialLearnRate": initial_learn_rate "/bigquery:v2/TrainingOptions/inputLabelColumns": input_label_columns @@ -54575,15 +54594,19 @@ "/bigquery:v2/TrainingOptions/learnRate": learn_rate "/bigquery:v2/TrainingOptions/learnRateStrategy": learn_rate_strategy "/bigquery:v2/TrainingOptions/lossType": loss_type +"/bigquery:v2/TrainingOptions/machineType": machine_type "/bigquery:v2/TrainingOptions/maxIterations": max_iterations "/bigquery:v2/TrainingOptions/maxParallelTrials": max_parallel_trials +"/bigquery:v2/TrainingOptions/maxReplicaCount": max_replica_count "/bigquery:v2/TrainingOptions/maxTimeSeriesLength": max_time_series_length "/bigquery:v2/TrainingOptions/maxTreeDepth": max_tree_depth "/bigquery:v2/TrainingOptions/minAprioriSupport": min_apriori_support "/bigquery:v2/TrainingOptions/minRelativeProgress": min_relative_progress +"/bigquery:v2/TrainingOptions/minReplicaCount": min_replica_count "/bigquery:v2/TrainingOptions/minSplitLoss": min_split_loss "/bigquery:v2/TrainingOptions/minTimeSeriesLength": min_time_series_length "/bigquery:v2/TrainingOptions/minTreeChildWeight": min_tree_child_weight +"/bigquery:v2/TrainingOptions/modelGardenModelName": model_garden_model_name "/bigquery:v2/TrainingOptions/modelRegistry": model_registry "/bigquery:v2/TrainingOptions/modelUri": model_uri "/bigquery:v2/TrainingOptions/nonSeasonalOrder": non_seasonal_order @@ -54597,6 +54620,10 @@ "/bigquery:v2/TrainingOptions/pcaExplainedVarianceRatio": pca_explained_variance_ratio "/bigquery:v2/TrainingOptions/pcaSolver": pca_solver "/bigquery:v2/TrainingOptions/preserveInputStructs": preserve_input_structs +"/bigquery:v2/TrainingOptions/reservationAffinityKey": reservation_affinity_key +"/bigquery:v2/TrainingOptions/reservationAffinityType": reservation_affinity_type +"/bigquery:v2/TrainingOptions/reservationAffinityValues": reservation_affinity_values +"/bigquery:v2/TrainingOptions/reservationAffinityValues/reservation_affinity_value": reservation_affinity_value "/bigquery:v2/TrainingOptions/sampledShapleyNumPaths": sampled_shapley_num_paths "/bigquery:v2/TrainingOptions/scaleFeatures": scale_features "/bigquery:v2/TrainingOptions/standardizeFeatures": standardize_features diff --git a/generated/google-apis-bigquery_v2/CHANGELOG.md b/generated/google-apis-bigquery_v2/CHANGELOG.md index ce5db6be63e..84ecd4044a6 100644 --- a/generated/google-apis-bigquery_v2/CHANGELOG.md +++ b/generated/google-apis-bigquery_v2/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-bigquery_v2 +### v0.94.0 (2025-09-28) + +* Regenerated from discovery document revision 20250919 + ### v0.93.0 (2025-08-31) * Regenerated from discovery document revision 20250816 diff --git a/generated/google-apis-bigquery_v2/lib/google/apis/bigquery_v2/classes.rb b/generated/google-apis-bigquery_v2/lib/google/apis/bigquery_v2/classes.rb index 878c43255a6..2146179a97a 100644 --- a/generated/google-apis-bigquery_v2/lib/google/apis/bigquery_v2/classes.rb +++ b/generated/google-apis-bigquery_v2/lib/google/apis/bigquery_v2/classes.rb @@ -3489,8 +3489,8 @@ def update!(**args) class ExternalServiceCost include Google::Apis::Core::Hashable - # The billing method used for the external job. This field is only used when - # billed on the services sku, set to "SERVICES_SKU". Otherwise, it is + # The billing method used for the external job. This field, set to `SERVICES_SKU` + # , is only used when billing under the services SKU. Otherwise, it is # unspecified for backward compatibility. # Corresponds to the JSON property `billingMethod` # @return [String] @@ -4177,6 +4177,71 @@ def update!(**args) end end + # Statistics related to Incremental Query Results. Populated as part of + # JobStatistics2. This feature is not yet available. + class IncrementalResultStats + include Google::Apis::Core::Hashable + + # Reason why incremental query results are/were not written by the query. + # Corresponds to the JSON property `disabledReason` + # @return [String] + attr_accessor :disabled_reason + + # The time at which the result table's contents were modified. May be absent if + # no results have been written or the query has completed. + # Corresponds to the JSON property `resultSetLastModifyTime` + # @return [String] + attr_accessor :result_set_last_modify_time + + # The time at which the result table's contents were completely replaced. May be + # absent if no results have been written or the query has completed. + # Corresponds to the JSON property `resultSetLastReplaceTime` + # @return [String] + attr_accessor :result_set_last_replace_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @disabled_reason = args[:disabled_reason] if args.key?(:disabled_reason) + @result_set_last_modify_time = args[:result_set_last_modify_time] if args.key?(:result_set_last_modify_time) + @result_set_last_replace_time = args[:result_set_last_replace_time] if args.key?(:result_set_last_replace_time) + end + end + + # Statistics for index pruning. + class IndexPruningStats + include Google::Apis::Core::Hashable + + # The base table reference. + # Corresponds to the JSON property `baseTable` + # @return [Google::Apis::BigqueryV2::TableReference] + attr_accessor :base_table + + # The number of parallel inputs after index pruning. + # Corresponds to the JSON property `postIndexPruningParallelInputCount` + # @return [Fixnum] + attr_accessor :post_index_pruning_parallel_input_count + + # The number of parallel inputs before index pruning. + # Corresponds to the JSON property `preIndexPruningParallelInputCount` + # @return [Fixnum] + attr_accessor :pre_index_pruning_parallel_input_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @base_table = args[:base_table] if args.key?(:base_table) + @post_index_pruning_parallel_input_count = args[:post_index_pruning_parallel_input_count] if args.key?(:post_index_pruning_parallel_input_count) + @pre_index_pruning_parallel_input_count = args[:pre_index_pruning_parallel_input_count] if args.key?(:pre_index_pruning_parallel_input_count) + end + end + # Reason about why no search index was used in the search query (or sub-query). class IndexUnusedReason include Google::Apis::Core::Hashable @@ -4539,11 +4604,11 @@ class JobConfiguration # @return [Google::Apis::BigqueryV2::JobConfigurationExtract] attr_accessor :extract - # Optional. Job timeout in milliseconds. If this time limit is exceeded, - # BigQuery will attempt to stop a longer job, but may not always succeed in - # canceling it before the job completes. For example, a job that takes more than - # 60 seconds to complete has a better chance of being stopped than a job that - # takes 10 seconds to complete. + # Optional. Job timeout in milliseconds relative to the job creation time. If + # this time limit is exceeded, BigQuery attempts to stop the job, but might not + # always succeed in canceling it before the job completes. For example, a job + # that takes more than 60 seconds to complete has a better chance of being + # stopped than a job that takes 10 seconds to complete. # Corresponds to the JSON property `jobTimeoutMs` # @return [Fixnum] attr_accessor :job_timeout_ms @@ -4986,13 +5051,14 @@ class JobConfigurationLoad # Allows the schema of the destination table to be updated as a side effect of # the load job if a schema is autodetected or supplied in the job configuration. - # Schema update options are supported in two cases: when writeDisposition is - # WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE and the destination - # table is a partition of a table, specified by partition decorators. For normal - # tables, WRITE_TRUNCATE will always overwrite the schema. One or more of the - # following values are specified: * ALLOW_FIELD_ADDITION: allow adding a - # nullable field to the schema. * ALLOW_FIELD_RELAXATION: allow relaxing a - # required field in the original schema to nullable. + # Schema update options are supported in three cases: when writeDisposition is + # WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE_DATA; when + # writeDisposition is WRITE_TRUNCATE and the destination table is a partition of + # a table, specified by partition decorators. For normal tables, WRITE_TRUNCATE + # will always overwrite the schema. One or more of the following values are + # specified: * ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema. + # * ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original + # schema to nullable. # Corresponds to the JSON property `schemaUpdateOptions` # @return [Array] attr_accessor :schema_update_options @@ -5273,13 +5339,14 @@ class JobConfigurationQuery attr_accessor :range_partitioning # Allows the schema of the destination table to be updated as a side effect of - # the query job. Schema update options are supported in two cases: when - # writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE and - # the destination table is a partition of a table, specified by partition - # decorators. For normal tables, WRITE_TRUNCATE will always overwrite the schema. - # One or more of the following values are specified: * ALLOW_FIELD_ADDITION: - # allow adding a nullable field to the schema. * ALLOW_FIELD_RELAXATION: allow - # relaxing a required field in the original schema to nullable. + # the query job. Schema update options are supported in three cases: when + # writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE_DATA; + # when writeDisposition is WRITE_TRUNCATE and the destination table is a + # partition of a table, specified by partition decorators. For normal tables, + # WRITE_TRUNCATE will always overwrite the schema. One or more of the following + # values are specified: * ALLOW_FIELD_ADDITION: allow adding a nullable field to + # the schema. * ALLOW_FIELD_RELAXATION: allow relaxing a required field in the + # original schema to nullable. # Corresponds to the JSON property `schemaUpdateOptions` # @return [Array] attr_accessor :schema_update_options @@ -5932,6 +5999,12 @@ class JobStatistics2 # @return [Array] attr_accessor :external_service_costs + # Statistics related to Incremental Query Results. Populated as part of + # JobStatistics2. This feature is not yet available. + # Corresponds to the JSON property `incrementalResultStats` + # @return [Google::Apis::BigqueryV2::IncrementalResultStats] + attr_accessor :incremental_result_stats + # Statistics for a LOAD query. # Corresponds to the JSON property `loadQueryStatistics` # @return [Google::Apis::BigqueryV2::LoadQueryStatistics] @@ -6145,10 +6218,10 @@ class JobStatistics2 # @return [Fixnum] attr_accessor :total_partitions_processed - # Output only. Total slot-milliseconds for the job that run on external services - # and billed on the service SKU. This field is only populated for jobs that have - # external service costs, and is the total of the usage for costs whose billing - # method is "SERVICES_SKU". + # Output only. Total slot milliseconds for the job that ran on external services + # and billed on the services SKU. This field is only populated for jobs that + # have external service costs, and is the total of the usage for costs whose + # billing method is `"SERVICES_SKU"`. # Corresponds to the JSON property `totalServicesSkuSlotMs` # @return [Fixnum] attr_accessor :total_services_sku_slot_ms @@ -6198,6 +6271,7 @@ def update!(**args) @estimated_bytes_processed = args[:estimated_bytes_processed] if args.key?(:estimated_bytes_processed) @export_data_statistics = args[:export_data_statistics] if args.key?(:export_data_statistics) @external_service_costs = args[:external_service_costs] if args.key?(:external_service_costs) + @incremental_result_stats = args[:incremental_result_stats] if args.key?(:incremental_result_stats) @load_query_statistics = args[:load_query_statistics] if args.key?(:load_query_statistics) @materialized_view_statistics = args[:materialized_view_statistics] if args.key?(:materialized_view_statistics) @metadata_cache_statistics = args[:metadata_cache_statistics] if args.key?(:metadata_cache_statistics) @@ -7587,6 +7661,37 @@ def update!(**args) end end + # The column metadata index pruning statistics. + class PruningStats + include Google::Apis::Core::Hashable + + # The number of parallel inputs matched. + # Corresponds to the JSON property `postCmetaPruningParallelInputCount` + # @return [Fixnum] + attr_accessor :post_cmeta_pruning_parallel_input_count + + # The number of partitions matched. + # Corresponds to the JSON property `postCmetaPruningPartitionCount` + # @return [Fixnum] + attr_accessor :post_cmeta_pruning_partition_count + + # The number of parallel inputs scanned. + # Corresponds to the JSON property `preCmetaPruningParallelInputCount` + # @return [Fixnum] + attr_accessor :pre_cmeta_pruning_parallel_input_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @post_cmeta_pruning_parallel_input_count = args[:post_cmeta_pruning_parallel_input_count] if args.key?(:post_cmeta_pruning_parallel_input_count) + @post_cmeta_pruning_partition_count = args[:post_cmeta_pruning_partition_count] if args.key?(:post_cmeta_pruning_partition_count) + @pre_cmeta_pruning_parallel_input_count = args[:pre_cmeta_pruning_parallel_input_count] if args.key?(:pre_cmeta_pruning_parallel_input_count) + end + end + # Options for a user-defined Python function. class PythonOptions include Google::Apis::Core::Hashable @@ -9016,6 +9121,14 @@ def update!(**args) class SearchStatistics include Google::Apis::Core::Hashable + # Search index pruning statistics, one for each base table that has a search + # index. If a base table does not have a search index or the index does not help + # with pruning on the base table, then there is no pruning statistics for that + # table. + # Corresponds to the JSON property `indexPruningStats` + # @return [Array] + attr_accessor :index_pruning_stats + # When `indexUsageMode` is `UNUSED` or `PARTIALLY_USED`, this field explains why # indexes were not used in all or part of the search query. If `indexUsageMode` # is `FULLY_USED`, this field is not populated. @@ -9034,6 +9147,7 @@ def initialize(**args) # Update properties of this object def update!(**args) + @index_pruning_stats = args[:index_pruning_stats] if args.key?(:index_pruning_stats) @index_unused_reasons = args[:index_unused_reasons] if args.key?(:index_unused_reasons) @index_usage_mode = args[:index_usage_mode] if args.key?(:index_usage_mode) end @@ -10599,6 +10713,13 @@ class TableFieldSchema # @return [Fixnum] attr_accessor :scale + # Optional. Precision (maximum number of total digits in base 10) for seconds of + # TIMESTAMP type. Possible values include: * 6 (Default, for TIMESTAMP type with + # microsecond precision) * 12 (For TIMESTAMP type with picosecond precision) + # Corresponds to the JSON property `timestampPrecision` + # @return [Fixnum] + attr_accessor :timestamp_precision + # Required. The field data type. Possible values include: * STRING * BYTES * # INTEGER (or INT64) * FLOAT (or FLOAT64) * BOOLEAN (or BOOL) * TIMESTAMP * DATE # * TIME * DATETIME * GEOGRAPHY * NUMERIC * BIGNUMERIC * JSON * RECORD (or @@ -10629,6 +10750,7 @@ def update!(**args) @range_element_type = args[:range_element_type] if args.key?(:range_element_type) @rounding_mode = args[:rounding_mode] if args.key?(:rounding_mode) @scale = args[:scale] if args.key?(:scale) + @timestamp_precision = args[:timestamp_precision] if args.key?(:timestamp_precision) @type = args[:type] if args.key?(:type) end @@ -10870,6 +10992,11 @@ class TableMetadataCacheUsage # @return [String] attr_accessor :explanation + # The column metadata index pruning statistics. + # Corresponds to the JSON property `pruningStats` + # @return [Google::Apis::BigqueryV2::PruningStats] + attr_accessor :pruning_stats + # Duration since last refresh as of this job for managed tables (indicates # metadata cache staleness as seen by this job). # Corresponds to the JSON property `staleness` @@ -10899,6 +11026,7 @@ def initialize(**args) # Update properties of this object def update!(**args) @explanation = args[:explanation] if args.key?(:explanation) + @pruning_stats = args[:pruning_stats] if args.key?(:pruning_stats) @staleness = args[:staleness] if args.key?(:staleness) @table_reference = args[:table_reference] if args.key?(:table_reference) @table_type = args[:table_type] if args.key?(:table_type) @@ -11298,6 +11426,12 @@ class TrainingOptions attr_accessor :enable_global_explain alias_method :enable_global_explain?, :enable_global_explain + # The idle TTL of the endpoint before the resources get destroyed. The default + # value is 6.5 hours. + # Corresponds to the JSON property `endpointIdleTtl` + # @return [String] + attr_accessor :endpoint_idle_ttl + # Feedback type that specifies which algorithm to run for matrix factorization. # Corresponds to the JSON property `feedbackType` # @return [String] @@ -11349,6 +11483,11 @@ class TrainingOptions # @return [Array] attr_accessor :hparam_tuning_objectives + # The id of a Hugging Face model. For example, `google/gemma-2-2b-it`. + # Corresponds to the JSON property `huggingFaceModelId` + # @return [String] + attr_accessor :hugging_face_model_id + # Include drift when fitting an ARIMA model. # Corresponds to the JSON property `includeDrift` # @return [Boolean] @@ -11434,6 +11573,11 @@ class TrainingOptions # @return [String] attr_accessor :loss_type + # The type of the machine used to deploy and serve the model. + # Corresponds to the JSON property `machineType` + # @return [String] + attr_accessor :machine_type + # The maximum number of iterations in training. Used only for iterative training # algorithms. # Corresponds to the JSON property `maxIterations` @@ -11445,6 +11589,12 @@ class TrainingOptions # @return [Fixnum] attr_accessor :max_parallel_trials + # The maximum number of machine replicas that will be deployed on an endpoint. + # The default value is equal to min_replica_count. + # Corresponds to the JSON property `maxReplicaCount` + # @return [Fixnum] + attr_accessor :max_replica_count + # The maximum number of time points in a time series that can be used in # modeling the trend component of the time series. Don't use this option with # the `timeSeriesLengthFraction` or `minTimeSeriesLength` options. @@ -11468,6 +11618,13 @@ class TrainingOptions # @return [Float] attr_accessor :min_relative_progress + # The minimum number of machine replicas that will be always deployed on an + # endpoint. This value must be greater than or equal to 1. The default value is + # 1. + # Corresponds to the JSON property `minReplicaCount` + # @return [Fixnum] + attr_accessor :min_replica_count + # Minimum split loss for boosted tree models. # Corresponds to the JSON property `minSplitLoss` # @return [Float] @@ -11490,6 +11647,12 @@ class TrainingOptions # @return [Fixnum] attr_accessor :min_tree_child_weight + # The name of a Vertex model garden publisher model. Format is `publishers/` + # publisher`/models/`model`@`optional_version_id``. + # Corresponds to the JSON property `modelGardenModelName` + # @return [String] + attr_accessor :model_garden_model_name + # The model registry. # Corresponds to the JSON property `modelRegistry` # @return [String] @@ -11554,6 +11717,25 @@ class TrainingOptions # @return [String] attr_accessor :pca_solver + # Corresponds to the label key of a reservation resource used by Vertex AI. To + # target a SPECIFIC_RESERVATION by name, use `compute.googleapis.com/reservation- + # name` as the key and specify the name of your reservation as its value. + # Corresponds to the JSON property `reservationAffinityKey` + # @return [String] + attr_accessor :reservation_affinity_key + + # Specifies the reservation affinity type used to configure a Vertex AI resource. + # The default value is `NO_RESERVATION`. + # Corresponds to the JSON property `reservationAffinityType` + # @return [String] + attr_accessor :reservation_affinity_type + + # Corresponds to the label values of a reservation resource used by Vertex AI. + # This must be the full resource name of the reservation or reservation block. + # Corresponds to the JSON property `reservationAffinityValues` + # @return [Array] + attr_accessor :reservation_affinity_values + # Number of paths for the sampled Shapley explain method. # Corresponds to the JSON property `sampledShapleyNumPaths` # @return [Fixnum] @@ -11690,6 +11872,7 @@ def update!(**args) @dropout = args[:dropout] if args.key?(:dropout) @early_stop = args[:early_stop] if args.key?(:early_stop) @enable_global_explain = args[:enable_global_explain] if args.key?(:enable_global_explain) + @endpoint_idle_ttl = args[:endpoint_idle_ttl] if args.key?(:endpoint_idle_ttl) @feedback_type = args[:feedback_type] if args.key?(:feedback_type) @fit_intercept = args[:fit_intercept] if args.key?(:fit_intercept) @forecast_limit_lower_bound = args[:forecast_limit_lower_bound] if args.key?(:forecast_limit_lower_bound) @@ -11699,6 +11882,7 @@ def update!(**args) @holiday_regions = args[:holiday_regions] if args.key?(:holiday_regions) @horizon = args[:horizon] if args.key?(:horizon) @hparam_tuning_objectives = args[:hparam_tuning_objectives] if args.key?(:hparam_tuning_objectives) + @hugging_face_model_id = args[:hugging_face_model_id] if args.key?(:hugging_face_model_id) @include_drift = args[:include_drift] if args.key?(:include_drift) @initial_learn_rate = args[:initial_learn_rate] if args.key?(:initial_learn_rate) @input_label_columns = args[:input_label_columns] if args.key?(:input_label_columns) @@ -11715,15 +11899,19 @@ def update!(**args) @learn_rate = args[:learn_rate] if args.key?(:learn_rate) @learn_rate_strategy = args[:learn_rate_strategy] if args.key?(:learn_rate_strategy) @loss_type = args[:loss_type] if args.key?(:loss_type) + @machine_type = args[:machine_type] if args.key?(:machine_type) @max_iterations = args[:max_iterations] if args.key?(:max_iterations) @max_parallel_trials = args[:max_parallel_trials] if args.key?(:max_parallel_trials) + @max_replica_count = args[:max_replica_count] if args.key?(:max_replica_count) @max_time_series_length = args[:max_time_series_length] if args.key?(:max_time_series_length) @max_tree_depth = args[:max_tree_depth] if args.key?(:max_tree_depth) @min_apriori_support = args[:min_apriori_support] if args.key?(:min_apriori_support) @min_relative_progress = args[:min_relative_progress] if args.key?(:min_relative_progress) + @min_replica_count = args[:min_replica_count] if args.key?(:min_replica_count) @min_split_loss = args[:min_split_loss] if args.key?(:min_split_loss) @min_time_series_length = args[:min_time_series_length] if args.key?(:min_time_series_length) @min_tree_child_weight = args[:min_tree_child_weight] if args.key?(:min_tree_child_weight) + @model_garden_model_name = args[:model_garden_model_name] if args.key?(:model_garden_model_name) @model_registry = args[:model_registry] if args.key?(:model_registry) @model_uri = args[:model_uri] if args.key?(:model_uri) @non_seasonal_order = args[:non_seasonal_order] if args.key?(:non_seasonal_order) @@ -11736,6 +11924,9 @@ def update!(**args) @optimizer = args[:optimizer] if args.key?(:optimizer) @pca_explained_variance_ratio = args[:pca_explained_variance_ratio] if args.key?(:pca_explained_variance_ratio) @pca_solver = args[:pca_solver] if args.key?(:pca_solver) + @reservation_affinity_key = args[:reservation_affinity_key] if args.key?(:reservation_affinity_key) + @reservation_affinity_type = args[:reservation_affinity_type] if args.key?(:reservation_affinity_type) + @reservation_affinity_values = args[:reservation_affinity_values] if args.key?(:reservation_affinity_values) @sampled_shapley_num_paths = args[:sampled_shapley_num_paths] if args.key?(:sampled_shapley_num_paths) @scale_features = args[:scale_features] if args.key?(:scale_features) @standardize_features = args[:standardize_features] if args.key?(:standardize_features) diff --git a/generated/google-apis-bigquery_v2/lib/google/apis/bigquery_v2/gem_version.rb b/generated/google-apis-bigquery_v2/lib/google/apis/bigquery_v2/gem_version.rb index a6833257078..155031a33b3 100644 --- a/generated/google-apis-bigquery_v2/lib/google/apis/bigquery_v2/gem_version.rb +++ b/generated/google-apis-bigquery_v2/lib/google/apis/bigquery_v2/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module BigqueryV2 # Version of the google-apis-bigquery_v2 gem - GEM_VERSION = "0.93.0" + GEM_VERSION = "0.94.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20250816" + REVISION = "20250919" end end end diff --git a/generated/google-apis-bigquery_v2/lib/google/apis/bigquery_v2/representations.rb b/generated/google-apis-bigquery_v2/lib/google/apis/bigquery_v2/representations.rb index 18f4ae2f0dd..3f543107e72 100644 --- a/generated/google-apis-bigquery_v2/lib/google/apis/bigquery_v2/representations.rb +++ b/generated/google-apis-bigquery_v2/lib/google/apis/bigquery_v2/representations.rb @@ -520,6 +520,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class IncrementalResultStats + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class IndexPruningStats + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class IndexUnusedReason class Representation < Google::Apis::Core::JsonRepresentation; end @@ -874,6 +886,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class PruningStats + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class PythonOptions class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2359,6 +2377,25 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class IncrementalResultStats + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :disabled_reason, as: 'disabledReason' + property :result_set_last_modify_time, as: 'resultSetLastModifyTime' + property :result_set_last_replace_time, as: 'resultSetLastReplaceTime' + end + end + + class IndexPruningStats + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :base_table, as: 'baseTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation + + property :post_index_pruning_parallel_input_count, :numeric_string => true, as: 'postIndexPruningParallelInputCount' + property :pre_index_pruning_parallel_input_count, :numeric_string => true, as: 'preIndexPruningParallelInputCount' + end + end + class IndexUnusedReason # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2755,6 +2792,8 @@ class Representation < Google::Apis::Core::JsonRepresentation collection :external_service_costs, as: 'externalServiceCosts', class: Google::Apis::BigqueryV2::ExternalServiceCost, decorator: Google::Apis::BigqueryV2::ExternalServiceCost::Representation + property :incremental_result_stats, as: 'incrementalResultStats', class: Google::Apis::BigqueryV2::IncrementalResultStats, decorator: Google::Apis::BigqueryV2::IncrementalResultStats::Representation + property :load_query_statistics, as: 'loadQueryStatistics', class: Google::Apis::BigqueryV2::LoadQueryStatistics, decorator: Google::Apis::BigqueryV2::LoadQueryStatistics::Representation property :materialized_view_statistics, as: 'materializedViewStatistics', class: Google::Apis::BigqueryV2::MaterializedViewStatistics, decorator: Google::Apis::BigqueryV2::MaterializedViewStatistics::Representation @@ -3179,6 +3218,15 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class PruningStats + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :post_cmeta_pruning_parallel_input_count, :numeric_string => true, as: 'postCmetaPruningParallelInputCount' + property :post_cmeta_pruning_partition_count, :numeric_string => true, as: 'postCmetaPruningPartitionCount' + property :pre_cmeta_pruning_parallel_input_count, :numeric_string => true, as: 'preCmetaPruningParallelInputCount' + end + end + class PythonOptions # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3518,6 +3566,8 @@ class Representation < Google::Apis::Core::JsonRepresentation class SearchStatistics # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :index_pruning_stats, as: 'indexPruningStats', class: Google::Apis::BigqueryV2::IndexPruningStats, decorator: Google::Apis::BigqueryV2::IndexPruningStats::Representation + collection :index_unused_reasons, as: 'indexUnusedReasons', class: Google::Apis::BigqueryV2::IndexUnusedReason, decorator: Google::Apis::BigqueryV2::IndexUnusedReason::Representation property :index_usage_mode, as: 'indexUsageMode' @@ -3926,6 +3976,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :rounding_mode, as: 'roundingMode' property :scale, :numeric_string => true, as: 'scale' + property :timestamp_precision, :numeric_string => true, as: 'timestampPrecision' property :type, as: 'type' end @@ -4000,6 +4051,8 @@ class TableMetadataCacheUsage # @private class Representation < Google::Apis::Core::JsonRepresentation property :explanation, as: 'explanation' + property :pruning_stats, as: 'pruningStats', class: Google::Apis::BigqueryV2::PruningStats, decorator: Google::Apis::BigqueryV2::PruningStats::Representation + property :staleness, as: 'staleness' property :table_reference, as: 'tableReference', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation @@ -4104,6 +4157,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :dropout, as: 'dropout' property :early_stop, as: 'earlyStop' property :enable_global_explain, as: 'enableGlobalExplain' + property :endpoint_idle_ttl, as: 'endpointIdleTtl' property :feedback_type, as: 'feedbackType' property :fit_intercept, as: 'fitIntercept' property :forecast_limit_lower_bound, as: 'forecastLimitLowerBound' @@ -4113,6 +4167,7 @@ class Representation < Google::Apis::Core::JsonRepresentation collection :holiday_regions, as: 'holidayRegions' property :horizon, :numeric_string => true, as: 'horizon' collection :hparam_tuning_objectives, as: 'hparamTuningObjectives' + property :hugging_face_model_id, as: 'huggingFaceModelId' property :include_drift, as: 'includeDrift' property :initial_learn_rate, as: 'initialLearnRate' collection :input_label_columns, as: 'inputLabelColumns' @@ -4129,15 +4184,19 @@ class Representation < Google::Apis::Core::JsonRepresentation property :learn_rate, as: 'learnRate' property :learn_rate_strategy, as: 'learnRateStrategy' property :loss_type, as: 'lossType' + property :machine_type, as: 'machineType' property :max_iterations, :numeric_string => true, as: 'maxIterations' property :max_parallel_trials, :numeric_string => true, as: 'maxParallelTrials' + property :max_replica_count, :numeric_string => true, as: 'maxReplicaCount' property :max_time_series_length, :numeric_string => true, as: 'maxTimeSeriesLength' property :max_tree_depth, :numeric_string => true, as: 'maxTreeDepth' property :min_apriori_support, as: 'minAprioriSupport' property :min_relative_progress, as: 'minRelativeProgress' + property :min_replica_count, :numeric_string => true, as: 'minReplicaCount' property :min_split_loss, as: 'minSplitLoss' property :min_time_series_length, :numeric_string => true, as: 'minTimeSeriesLength' property :min_tree_child_weight, :numeric_string => true, as: 'minTreeChildWeight' + property :model_garden_model_name, as: 'modelGardenModelName' property :model_registry, as: 'modelRegistry' property :model_uri, as: 'modelUri' property :non_seasonal_order, as: 'nonSeasonalOrder', class: Google::Apis::BigqueryV2::ArimaOrder, decorator: Google::Apis::BigqueryV2::ArimaOrder::Representation @@ -4151,6 +4210,9 @@ class Representation < Google::Apis::Core::JsonRepresentation property :optimizer, as: 'optimizer' property :pca_explained_variance_ratio, as: 'pcaExplainedVarianceRatio' property :pca_solver, as: 'pcaSolver' + property :reservation_affinity_key, as: 'reservationAffinityKey' + property :reservation_affinity_type, as: 'reservationAffinityType' + collection :reservation_affinity_values, as: 'reservationAffinityValues' property :sampled_shapley_num_paths, :numeric_string => true, as: 'sampledShapleyNumPaths' property :scale_features, as: 'scaleFeatures' property :standardize_features, as: 'standardizeFeatures'