google-apis-bigquery_v2 0.50.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: fb342e58fd748126b08e9fe91f28879401d6c30720bb00559d1966903586b965
4
- data.tar.gz: 0bd226ca86d9667f112c35d7679535a2701ee8a25b55fc467af8ef02c884118c
3
+ metadata.gz: 6d47a6eb9e61a19bcbfd624414e61d59f6f7ff9740642b45f1b6cdfd47f02173
4
+ data.tar.gz: 4e53d6f921bbd9d679fc4882de042731a526263dca222706aef7de9547f3f31a
5
5
  SHA512:
6
- metadata.gz: 1048a5a765e98eef44d9dff5f700481c4582935bd863a709cea278d59609ba716776b535a39f15f6cb6521a5f292eb337dc2516ba3f16e64a447bacd938e61b6
7
- data.tar.gz: f0fa7706cc6b8f343a979c16f70d897026ae763b3881a85f49283ebcf573db08d9fe02c2dd843afcdfa0fc06f290e9d512f03b0fd229a960e8e7edf94b4e1cc0
6
+ metadata.gz: 2a7225c2abc29eadef575592554f448ed1245bc558acccd8dec36bdd9e502a76d891b05a417ad050166e13329d24357a46f063967778133a16228f365be65af9
7
+ data.tar.gz: f382346baaf4e9d8d826abd458165e52dd8ad642a9093413069cfdea335152e6ab9104f0fed9244e7ff2ebcb47eee656a62f4bf2d439028b1b1b651b1730e8c9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.51.0 (2023-04-16)
8
+
9
+ * Regenerated from discovery document revision 20230408
10
+
3
11
  ### v0.50.0 (2023-03-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20230318
@@ -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
@@ -7069,6 +7126,8 @@ module Google
7069
7126
 
7070
7127
  # The main file/jar URI of the Spark application. Exactly one of the
7071
7128
  # definition_body field and the main_file_uri field must be set for Python.
7129
+ # Exactly one of main_class and main_file_uri field should be set for Java/Scala
7130
+ # language type.
7072
7131
  # Corresponds to the JSON property `mainFileUri`
7073
7132
  # @return [String]
7074
7133
  attr_accessor :main_file_uri
@@ -8304,11 +8363,16 @@ module Google
8304
8363
  attr_accessor :auto_arima
8305
8364
  alias_method :auto_arima?, :auto_arima
8306
8365
 
8307
- # The max value of non-seasonal p and q.
8366
+ # The max value of the sum of non-seasonal p and q.
8308
8367
  # Corresponds to the JSON property `autoArimaMaxOrder`
8309
8368
  # @return [Fixnum]
8310
8369
  attr_accessor :auto_arima_max_order
8311
8370
 
8371
+ # The min value of the sum of non-seasonal p and q.
8372
+ # Corresponds to the JSON property `autoArimaMinOrder`
8373
+ # @return [Fixnum]
8374
+ attr_accessor :auto_arima_min_order
8375
+
8312
8376
  # Batch size for dnn models.
8313
8377
  # Corresponds to the JSON property `batchSize`
8314
8378
  # @return [Fixnum]
@@ -8460,6 +8524,12 @@ module Google
8460
8524
  # @return [Array<String>]
8461
8525
  attr_accessor :input_label_columns
8462
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
+
8463
8533
  # Number of integral steps for the integrated gradients explain method.
8464
8534
  # Corresponds to the JSON property `integratedGradientsNumSteps`
8465
8535
  # @return [Fixnum]
@@ -8612,6 +8682,12 @@ module Google
8612
8682
  # @return [Float]
8613
8683
  attr_accessor :subsample
8614
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
+
8615
8691
  # Column to be designated as time series data for ARIMA model.
8616
8692
  # Corresponds to the JSON property `timeSeriesDataColumn`
8617
8693
  # @return [String]
@@ -8663,6 +8739,11 @@ module Google
8663
8739
  attr_accessor :warm_start
8664
8740
  alias_method :warm_start?, :warm_start
8665
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
+
8666
8747
  def initialize(**args)
8667
8748
  update!(**args)
8668
8749
  end
@@ -8672,6 +8753,7 @@ module Google
8672
8753
  @adjust_step_changes = args[:adjust_step_changes] if args.key?(:adjust_step_changes)
8673
8754
  @auto_arima = args[:auto_arima] if args.key?(:auto_arima)
8674
8755
  @auto_arima_max_order = args[:auto_arima_max_order] if args.key?(:auto_arima_max_order)
8756
+ @auto_arima_min_order = args[:auto_arima_min_order] if args.key?(:auto_arima_min_order)
8675
8757
  @batch_size = args[:batch_size] if args.key?(:batch_size)
8676
8758
  @booster_type = args[:booster_type] if args.key?(:booster_type)
8677
8759
  @calculate_p_values = args[:calculate_p_values] if args.key?(:calculate_p_values)
@@ -8698,6 +8780,7 @@ module Google
8698
8780
  @include_drift = args[:include_drift] if args.key?(:include_drift)
8699
8781
  @initial_learn_rate = args[:initial_learn_rate] if args.key?(:initial_learn_rate)
8700
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)
8701
8784
  @integrated_gradients_num_steps = args[:integrated_gradients_num_steps] if args.key?(:integrated_gradients_num_steps)
8702
8785
  @item_column = args[:item_column] if args.key?(:item_column)
8703
8786
  @kmeans_initialization_column = args[:kmeans_initialization_column] if args.key?(:kmeans_initialization_column)
@@ -8726,6 +8809,7 @@ module Google
8726
8809
  @preserve_input_structs = args[:preserve_input_structs] if args.key?(:preserve_input_structs)
8727
8810
  @sampled_shapley_num_paths = args[:sampled_shapley_num_paths] if args.key?(:sampled_shapley_num_paths)
8728
8811
  @subsample = args[:subsample] if args.key?(:subsample)
8812
+ @tf_version = args[:tf_version] if args.key?(:tf_version)
8729
8813
  @time_series_data_column = args[:time_series_data_column] if args.key?(:time_series_data_column)
8730
8814
  @time_series_id_column = args[:time_series_id_column] if args.key?(:time_series_id_column)
8731
8815
  @time_series_id_columns = args[:time_series_id_columns] if args.key?(:time_series_id_columns)
@@ -8736,6 +8820,7 @@ module Google
8736
8820
  @user_column = args[:user_column] if args.key?(:user_column)
8737
8821
  @wals_alpha = args[:wals_alpha] if args.key?(:wals_alpha)
8738
8822
  @warm_start = args[:warm_start] if args.key?(:warm_start)
8823
+ @xgboost_version = args[:xgboost_version] if args.key?(:xgboost_version)
8739
8824
  end
8740
8825
  end
8741
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.50.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 = "20230318"
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
@@ -3078,6 +3097,7 @@ module Google
3078
3097
  property :adjust_step_changes, as: 'adjustStepChanges'
3079
3098
  property :auto_arima, as: 'autoArima'
3080
3099
  property :auto_arima_max_order, :numeric_string => true, as: 'autoArimaMaxOrder'
3100
+ property :auto_arima_min_order, :numeric_string => true, as: 'autoArimaMinOrder'
3081
3101
  property :batch_size, :numeric_string => true, as: 'batchSize'
3082
3102
  property :booster_type, as: 'boosterType'
3083
3103
  property :calculate_p_values, as: 'calculatePValues'
@@ -3104,6 +3124,7 @@ module Google
3104
3124
  property :include_drift, as: 'includeDrift'
3105
3125
  property :initial_learn_rate, as: 'initialLearnRate'
3106
3126
  collection :input_label_columns, as: 'inputLabelColumns'
3127
+ property :instance_weight_column, as: 'instanceWeightColumn'
3107
3128
  property :integrated_gradients_num_steps, :numeric_string => true, as: 'integratedGradientsNumSteps'
3108
3129
  property :item_column, as: 'itemColumn'
3109
3130
  property :kmeans_initialization_column, as: 'kmeansInitializationColumn'
@@ -3133,6 +3154,7 @@ module Google
3133
3154
  property :preserve_input_structs, as: 'preserveInputStructs'
3134
3155
  property :sampled_shapley_num_paths, :numeric_string => true, as: 'sampledShapleyNumPaths'
3135
3156
  property :subsample, as: 'subsample'
3157
+ property :tf_version, as: 'tfVersion'
3136
3158
  property :time_series_data_column, as: 'timeSeriesDataColumn'
3137
3159
  property :time_series_id_column, as: 'timeSeriesIdColumn'
3138
3160
  collection :time_series_id_columns, as: 'timeSeriesIdColumns'
@@ -3143,6 +3165,7 @@ module Google
3143
3165
  property :user_column, as: 'userColumn'
3144
3166
  property :wals_alpha, as: 'walsAlpha'
3145
3167
  property :warm_start, as: 'warmStart'
3168
+ property :xgboost_version, as: 'xgboostVersion'
3146
3169
  end
3147
3170
  end
3148
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.50.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-03-26 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.50.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: []