google-apis-bigquery_v2 0.51.0 → 0.52.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e1db0fd58ad45550b18d871dceb48ef09678b4c92156bbb28c45abdc10ede201
4
- data.tar.gz: 26c0df42deec9bdce797e49cfc4704814e12046d6c14acd49ba177cb2095170d
3
+ metadata.gz: 6d47a6eb9e61a19bcbfd624414e61d59f6f7ff9740642b45f1b6cdfd47f02173
4
+ data.tar.gz: 4e53d6f921bbd9d679fc4882de042731a526263dca222706aef7de9547f3f31a
5
5
  SHA512:
6
- metadata.gz: d8de71fcf3151f4f6f8aa8c42c872f76befa0f81a6cca32f3852c0b0545c70d5d926e4b616d4604694ff157ce14fdfe0133bad8a824deac8d95760bb6dcf5e8d
7
- data.tar.gz: 8b7c6a87a8d654d63c13d5bbe7f4b14dbd1aaaeaa1d5d59a356cea6b60d5fcbc9d5c5355337323df6458117fa90b55984b0f591ca1dc91350b16b5d9b8412ee6
6
+ metadata.gz: 2a7225c2abc29eadef575592554f448ed1245bc558acccd8dec36bdd9e502a76d891b05a417ad050166e13329d24357a46f063967778133a16228f365be65af9
7
+ data.tar.gz: f382346baaf4e9d8d826abd458165e52dd8ad642a9093413069cfdea335152e6ab9104f0fed9244e7ff2ebcb47eee656a62f4bf2d439028b1b1b651b1730e8c9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.52.0 (2023-04-30)
4
+
5
+ * Regenerated from discovery document revision 20230422
6
+
3
7
  ### v0.51.0 (2023-04-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20230408
@@ -3062,6 +3062,16 @@ module Google
3062
3062
  class HivePartitioningOptions
3063
3063
  include Google::Apis::Core::Hashable
3064
3064
 
3065
+ # [Output-only] For permanent external tables, this field is populated with the
3066
+ # hive partition keys in the order they were inferred. The types of the
3067
+ # partition keys can be deduced by checking the table schema (which will include
3068
+ # the partition keys). Not every API will populate this field in the output. For
3069
+ # example, Tables.Get will populate it, but Tables.List will not contain this
3070
+ # field.
3071
+ # Corresponds to the JSON property `fields`
3072
+ # @return [Array<String>]
3073
+ attr_accessor :fields
3074
+
3065
3075
  # [Optional] When set, what mode of hive partitioning to use when reading data.
3066
3076
  # The following modes are supported. (1) AUTO: automatically infer partition key
3067
3077
  # name(s) and type(s). (2) STRINGS: automatically infer partition key name(s).
@@ -3102,6 +3112,7 @@ module Google
3102
3112
 
3103
3113
  # Update properties of this object
3104
3114
  def update!(**args)
3115
+ @fields = args[:fields] if args.key?(:fields)
3105
3116
  @mode = args[:mode] if args.key?(:mode)
3106
3117
  @require_partition_filter = args[:require_partition_filter] if args.key?(:require_partition_filter)
3107
3118
  @source_uri_prefix = args[:source_uri_prefix] if args.key?(:source_uri_prefix)
@@ -5418,6 +5429,11 @@ module Google
5418
5429
  # @return [Array<Fixnum>]
5419
5430
  attr_accessor :optimal_trial_ids
5420
5431
 
5432
+ # Remote Model Info
5433
+ # Corresponds to the JSON property `remoteModelInfo`
5434
+ # @return [Google::Apis::BigqueryV2::RemoteModelInfo]
5435
+ attr_accessor :remote_model_info
5436
+
5421
5437
  # Information for all training runs in increasing order of start_time.
5422
5438
  # Corresponds to the JSON property `trainingRuns`
5423
5439
  # @return [Array<Google::Apis::BigqueryV2::TrainingRun>]
@@ -5447,6 +5463,7 @@ module Google
5447
5463
  @model_reference = args[:model_reference] if args.key?(:model_reference)
5448
5464
  @model_type = args[:model_type] if args.key?(:model_type)
5449
5465
  @optimal_trial_ids = args[:optimal_trial_ids] if args.key?(:optimal_trial_ids)
5466
+ @remote_model_info = args[:remote_model_info] if args.key?(:remote_model_info)
5450
5467
  @training_runs = args[:training_runs] if args.key?(:training_runs)
5451
5468
  end
5452
5469
  end
@@ -6499,6 +6516,46 @@ module Google
6499
6516
  end
6500
6517
  end
6501
6518
 
6519
+ # Remote Model Info
6520
+ class RemoteModelInfo
6521
+ include Google::Apis::Core::Hashable
6522
+
6523
+ # Output only. Fully qualified name of the user-provided connection object of
6524
+ # the remote model. Format: ```"projects/`project_id`/locations/`location_id`/
6525
+ # connections/`connection_id`"```
6526
+ # Corresponds to the JSON property `connection`
6527
+ # @return [String]
6528
+ attr_accessor :connection
6529
+
6530
+ # Output only. The endpoint for remote model.
6531
+ # Corresponds to the JSON property `endpoint`
6532
+ # @return [String]
6533
+ attr_accessor :endpoint
6534
+
6535
+ # Output only. Max number of rows in each batch sent to the remote service. If
6536
+ # unset, the number of rows in each batch is set dynamically.
6537
+ # Corresponds to the JSON property `maxBatchingRows`
6538
+ # @return [Fixnum]
6539
+ attr_accessor :max_batching_rows
6540
+
6541
+ # Output only. The remote service type for remote model.
6542
+ # Corresponds to the JSON property `remoteServiceType`
6543
+ # @return [String]
6544
+ attr_accessor :remote_service_type
6545
+
6546
+ def initialize(**args)
6547
+ update!(**args)
6548
+ end
6549
+
6550
+ # Update properties of this object
6551
+ def update!(**args)
6552
+ @connection = args[:connection] if args.key?(:connection)
6553
+ @endpoint = args[:endpoint] if args.key?(:endpoint)
6554
+ @max_batching_rows = args[:max_batching_rows] if args.key?(:max_batching_rows)
6555
+ @remote_service_type = args[:remote_service_type] if args.key?(:remote_service_type)
6556
+ end
6557
+ end
6558
+
6502
6559
  # A user-defined function or a stored procedure.
6503
6560
  class Routine
6504
6561
  include Google::Apis::Core::Hashable
@@ -8467,6 +8524,12 @@ module Google
8467
8524
  # @return [Array<String>]
8468
8525
  attr_accessor :input_label_columns
8469
8526
 
8527
+ # Name of the instance weight column for training data. This column isn't be
8528
+ # used as a feature.
8529
+ # Corresponds to the JSON property `instanceWeightColumn`
8530
+ # @return [String]
8531
+ attr_accessor :instance_weight_column
8532
+
8470
8533
  # Number of integral steps for the integrated gradients explain method.
8471
8534
  # Corresponds to the JSON property `integratedGradientsNumSteps`
8472
8535
  # @return [Fixnum]
@@ -8619,6 +8682,12 @@ module Google
8619
8682
  # @return [Float]
8620
8683
  attr_accessor :subsample
8621
8684
 
8685
+ # Based on the selected TF version, the corresponding docker image is used to
8686
+ # train external models.
8687
+ # Corresponds to the JSON property `tfVersion`
8688
+ # @return [String]
8689
+ attr_accessor :tf_version
8690
+
8622
8691
  # Column to be designated as time series data for ARIMA model.
8623
8692
  # Corresponds to the JSON property `timeSeriesDataColumn`
8624
8693
  # @return [String]
@@ -8670,6 +8739,11 @@ module Google
8670
8739
  attr_accessor :warm_start
8671
8740
  alias_method :warm_start?, :warm_start
8672
8741
 
8742
+ # User-selected XGBoost versions for training of XGBoost models.
8743
+ # Corresponds to the JSON property `xgboostVersion`
8744
+ # @return [String]
8745
+ attr_accessor :xgboost_version
8746
+
8673
8747
  def initialize(**args)
8674
8748
  update!(**args)
8675
8749
  end
@@ -8706,6 +8780,7 @@ module Google
8706
8780
  @include_drift = args[:include_drift] if args.key?(:include_drift)
8707
8781
  @initial_learn_rate = args[:initial_learn_rate] if args.key?(:initial_learn_rate)
8708
8782
  @input_label_columns = args[:input_label_columns] if args.key?(:input_label_columns)
8783
+ @instance_weight_column = args[:instance_weight_column] if args.key?(:instance_weight_column)
8709
8784
  @integrated_gradients_num_steps = args[:integrated_gradients_num_steps] if args.key?(:integrated_gradients_num_steps)
8710
8785
  @item_column = args[:item_column] if args.key?(:item_column)
8711
8786
  @kmeans_initialization_column = args[:kmeans_initialization_column] if args.key?(:kmeans_initialization_column)
@@ -8734,6 +8809,7 @@ module Google
8734
8809
  @preserve_input_structs = args[:preserve_input_structs] if args.key?(:preserve_input_structs)
8735
8810
  @sampled_shapley_num_paths = args[:sampled_shapley_num_paths] if args.key?(:sampled_shapley_num_paths)
8736
8811
  @subsample = args[:subsample] if args.key?(:subsample)
8812
+ @tf_version = args[:tf_version] if args.key?(:tf_version)
8737
8813
  @time_series_data_column = args[:time_series_data_column] if args.key?(:time_series_data_column)
8738
8814
  @time_series_id_column = args[:time_series_id_column] if args.key?(:time_series_id_column)
8739
8815
  @time_series_id_columns = args[:time_series_id_columns] if args.key?(:time_series_id_columns)
@@ -8744,6 +8820,7 @@ module Google
8744
8820
  @user_column = args[:user_column] if args.key?(:user_column)
8745
8821
  @wals_alpha = args[:wals_alpha] if args.key?(:wals_alpha)
8746
8822
  @warm_start = args[:warm_start] if args.key?(:warm_start)
8823
+ @xgboost_version = args[:xgboost_version] if args.key?(:xgboost_version)
8747
8824
  end
8748
8825
  end
8749
8826
 
@@ -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.51.0"
19
+ GEM_VERSION = "0.52.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230408"
25
+ REVISION = "20230422"
26
26
  end
27
27
  end
28
28
  end
@@ -754,6 +754,12 @@ module Google
754
754
  include Google::Apis::Core::JsonObjectSupport
755
755
  end
756
756
 
757
+ class RemoteModelInfo
758
+ class Representation < Google::Apis::Core::JsonRepresentation; end
759
+
760
+ include Google::Apis::Core::JsonObjectSupport
761
+ end
762
+
757
763
  class Routine
758
764
  class Representation < Google::Apis::Core::JsonRepresentation; end
759
765
 
@@ -1772,6 +1778,7 @@ module Google
1772
1778
  class HivePartitioningOptions
1773
1779
  # @private
1774
1780
  class Representation < Google::Apis::Core::JsonRepresentation
1781
+ collection :fields, as: 'fields'
1775
1782
  property :mode, as: 'mode'
1776
1783
  property :require_partition_filter, as: 'requirePartitionFilter'
1777
1784
  property :source_uri_prefix, as: 'sourceUriPrefix'
@@ -2350,6 +2357,8 @@ module Google
2350
2357
 
2351
2358
  property :model_type, as: 'modelType'
2352
2359
  collection :optimal_trial_ids, as: 'optimalTrialIds'
2360
+ property :remote_model_info, as: 'remoteModelInfo', class: Google::Apis::BigqueryV2::RemoteModelInfo, decorator: Google::Apis::BigqueryV2::RemoteModelInfo::Representation
2361
+
2353
2362
  collection :training_runs, as: 'trainingRuns', class: Google::Apis::BigqueryV2::TrainingRun, decorator: Google::Apis::BigqueryV2::TrainingRun::Representation
2354
2363
 
2355
2364
  end
@@ -2610,6 +2619,16 @@ module Google
2610
2619
  end
2611
2620
  end
2612
2621
 
2622
+ class RemoteModelInfo
2623
+ # @private
2624
+ class Representation < Google::Apis::Core::JsonRepresentation
2625
+ property :connection, as: 'connection'
2626
+ property :endpoint, as: 'endpoint'
2627
+ property :max_batching_rows, :numeric_string => true, as: 'maxBatchingRows'
2628
+ property :remote_service_type, as: 'remoteServiceType'
2629
+ end
2630
+ end
2631
+
2613
2632
  class Routine
2614
2633
  # @private
2615
2634
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3105,6 +3124,7 @@ module Google
3105
3124
  property :include_drift, as: 'includeDrift'
3106
3125
  property :initial_learn_rate, as: 'initialLearnRate'
3107
3126
  collection :input_label_columns, as: 'inputLabelColumns'
3127
+ property :instance_weight_column, as: 'instanceWeightColumn'
3108
3128
  property :integrated_gradients_num_steps, :numeric_string => true, as: 'integratedGradientsNumSteps'
3109
3129
  property :item_column, as: 'itemColumn'
3110
3130
  property :kmeans_initialization_column, as: 'kmeansInitializationColumn'
@@ -3134,6 +3154,7 @@ module Google
3134
3154
  property :preserve_input_structs, as: 'preserveInputStructs'
3135
3155
  property :sampled_shapley_num_paths, :numeric_string => true, as: 'sampledShapleyNumPaths'
3136
3156
  property :subsample, as: 'subsample'
3157
+ property :tf_version, as: 'tfVersion'
3137
3158
  property :time_series_data_column, as: 'timeSeriesDataColumn'
3138
3159
  property :time_series_id_column, as: 'timeSeriesIdColumn'
3139
3160
  collection :time_series_id_columns, as: 'timeSeriesIdColumns'
@@ -3144,6 +3165,7 @@ module Google
3144
3165
  property :user_column, as: 'userColumn'
3145
3166
  property :wals_alpha, as: 'walsAlpha'
3146
3167
  property :warm_start, as: 'warmStart'
3168
+ property :xgboost_version, as: 'xgboostVersion'
3147
3169
  end
3148
3170
  end
3149
3171
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-bigquery_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.51.0
4
+ version: 0.52.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-16 00:00:00.000000000 Z
11
+ date: 2023-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquery_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.51.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.52.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquery_v2
63
63
  post_install_message:
64
64
  rdoc_options: []