google-apis-bigquery_v2 0.55.0 → 0.57.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1f77fe304de033da3a8270f6cf61b94ef168ed4d0bcce36b2350e4c9f9baf50
|
4
|
+
data.tar.gz: 5a54609029acc737e9af7a1175e3335c509fb6ba77c7560bc4a5df1f1968753d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79cc2a0d44f3c8a8e8ca31ed3814c9e29ab14d522a6ece9c066581e4281cbf54ebd4188a190852fe61c64aedd588cfa426a78e0228577798e20338400e31465a
|
7
|
+
data.tar.gz: b73d4fa990bec8f2981126e98f5b190d59ebb0c3f28dbb3190626ac405f94a0d643768edad9a4efd6b1ce17d8c3d5bcc134cacb8b8bf0c92ac908afbe5fe1eef
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-bigquery_v2
|
2
2
|
|
3
|
+
### v0.57.0 (2023-07-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230715
|
6
|
+
|
7
|
+
### v0.56.0 (2023-07-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230708
|
10
|
+
|
3
11
|
### v0.55.0 (2023-06-25)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230617
|
@@ -5407,7 +5407,8 @@ module Google
|
|
5407
5407
|
# @return [Fixnum]
|
5408
5408
|
attr_accessor :expiration_time
|
5409
5409
|
|
5410
|
-
# Output only. Input feature columns
|
5410
|
+
# Output only. Input feature columns for the model inference. If the model is
|
5411
|
+
# trained with TRANSFORM clause, these are the input of the TRANSFORM clause.
|
5411
5412
|
# Corresponds to the JSON property `featureColumns`
|
5412
5413
|
# @return [Array<Google::Apis::BigqueryV2::StandardSqlField>]
|
5413
5414
|
attr_accessor :feature_columns
|
@@ -5484,6 +5485,13 @@ module Google
|
|
5484
5485
|
# @return [Array<Google::Apis::BigqueryV2::TrainingRun>]
|
5485
5486
|
attr_accessor :training_runs
|
5486
5487
|
|
5488
|
+
# Output only. This field will be populated if a TRANSFORM clause was used to
|
5489
|
+
# train a model. TRANSFORM clause (if used) takes feature_columns as input and
|
5490
|
+
# outputs transform_columns. transform_columns then are used to train the model.
|
5491
|
+
# Corresponds to the JSON property `transformColumns`
|
5492
|
+
# @return [Array<Google::Apis::BigqueryV2::TransformColumn>]
|
5493
|
+
attr_accessor :transform_columns
|
5494
|
+
|
5487
5495
|
def initialize(**args)
|
5488
5496
|
update!(**args)
|
5489
5497
|
end
|
@@ -5510,6 +5518,7 @@ module Google
|
|
5510
5518
|
@optimal_trial_ids = args[:optimal_trial_ids] if args.key?(:optimal_trial_ids)
|
5511
5519
|
@remote_model_info = args[:remote_model_info] if args.key?(:remote_model_info)
|
5512
5520
|
@training_runs = args[:training_runs] if args.key?(:training_runs)
|
5521
|
+
@transform_columns = args[:transform_columns] if args.key?(:transform_columns)
|
5513
5522
|
end
|
5514
5523
|
end
|
5515
5524
|
|
@@ -8533,6 +8542,11 @@ module Google
|
|
8533
8542
|
class TrainingOptions
|
8534
8543
|
include Google::Apis::Core::Hashable
|
8535
8544
|
|
8545
|
+
# Activation function of the neural nets.
|
8546
|
+
# Corresponds to the JSON property `activationFn`
|
8547
|
+
# @return [String]
|
8548
|
+
attr_accessor :activation_fn
|
8549
|
+
|
8536
8550
|
# If true, detect step changes and make data adjustment in the input time series.
|
8537
8551
|
# Corresponds to the JSON property `adjustStepChanges`
|
8538
8552
|
# @return [Boolean]
|
@@ -8562,6 +8576,13 @@ module Google
|
|
8562
8576
|
# @return [Fixnum]
|
8563
8577
|
attr_accessor :auto_arima_min_order
|
8564
8578
|
|
8579
|
+
# Whether to calculate class weights automatically based on the popularity of
|
8580
|
+
# each label.
|
8581
|
+
# Corresponds to the JSON property `autoClassWeights`
|
8582
|
+
# @return [Boolean]
|
8583
|
+
attr_accessor :auto_class_weights
|
8584
|
+
alias_method :auto_class_weights?, :auto_class_weights
|
8585
|
+
|
8565
8586
|
# Batch size for dnn models.
|
8566
8587
|
# Corresponds to the JSON property `batchSize`
|
8567
8588
|
# @return [Fixnum]
|
@@ -8572,6 +8593,11 @@ module Google
|
|
8572
8593
|
# @return [String]
|
8573
8594
|
attr_accessor :booster_type
|
8574
8595
|
|
8596
|
+
# Budget in hours for AutoML training.
|
8597
|
+
# Corresponds to the JSON property `budgetHours`
|
8598
|
+
# @return [Float]
|
8599
|
+
attr_accessor :budget_hours
|
8600
|
+
|
8575
8601
|
# Whether or not p-value test should be computed for this model. Only available
|
8576
8602
|
# for linear and logistic regression models.
|
8577
8603
|
# Corresponds to the JSON property `calculatePValues`
|
@@ -8675,6 +8701,12 @@ module Google
|
|
8675
8701
|
# @return [String]
|
8676
8702
|
attr_accessor :feedback_type
|
8677
8703
|
|
8704
|
+
# Whether the model should include intercept during model training.
|
8705
|
+
# Corresponds to the JSON property `fitIntercept`
|
8706
|
+
# @return [Boolean]
|
8707
|
+
attr_accessor :fit_intercept
|
8708
|
+
alias_method :fit_intercept?, :fit_intercept
|
8709
|
+
|
8678
8710
|
# Hidden units for dnn models.
|
8679
8711
|
# Corresponds to the JSON property `hiddenUnits`
|
8680
8712
|
# @return [Array<Fixnum>]
|
@@ -8740,6 +8772,11 @@ module Google
|
|
8740
8772
|
# @return [String]
|
8741
8773
|
attr_accessor :kmeans_initialization_method
|
8742
8774
|
|
8775
|
+
# L1 regularization coefficient to activations.
|
8776
|
+
# Corresponds to the JSON property `l1RegActivation`
|
8777
|
+
# @return [Float]
|
8778
|
+
attr_accessor :l1_reg_activation
|
8779
|
+
|
8743
8780
|
# L1 regularization coefficient.
|
8744
8781
|
# Corresponds to the JSON property `l1Regularization`
|
8745
8782
|
# @return [Float]
|
@@ -8815,6 +8852,11 @@ module Google
|
|
8815
8852
|
# @return [Fixnum]
|
8816
8853
|
attr_accessor :min_tree_child_weight
|
8817
8854
|
|
8855
|
+
# The model registry.
|
8856
|
+
# Corresponds to the JSON property `modelRegistry`
|
8857
|
+
# @return [String]
|
8858
|
+
attr_accessor :model_registry
|
8859
|
+
|
8818
8860
|
# Google Cloud Storage URI from which the model was imported. Only applicable
|
8819
8861
|
# for imported models.
|
8820
8862
|
# Corresponds to the JSON property `modelUri`
|
@@ -8842,6 +8884,12 @@ module Google
|
|
8842
8884
|
# @return [Fixnum]
|
8843
8885
|
attr_accessor :num_parallel_tree
|
8844
8886
|
|
8887
|
+
# Number of principal components to keep in the PCA model. Must be <= the number
|
8888
|
+
# of features.
|
8889
|
+
# Corresponds to the JSON property `numPrincipalComponents`
|
8890
|
+
# @return [Fixnum]
|
8891
|
+
attr_accessor :num_principal_components
|
8892
|
+
|
8845
8893
|
# Number of trials to run this hyperparameter tuning job.
|
8846
8894
|
# Corresponds to the JSON property `numTrials`
|
8847
8895
|
# @return [Fixnum]
|
@@ -8852,11 +8900,40 @@ module Google
|
|
8852
8900
|
# @return [String]
|
8853
8901
|
attr_accessor :optimization_strategy
|
8854
8902
|
|
8903
|
+
# Optimizer used for training the neural nets.
|
8904
|
+
# Corresponds to the JSON property `optimizer`
|
8905
|
+
# @return [String]
|
8906
|
+
attr_accessor :optimizer
|
8907
|
+
|
8908
|
+
# The minimum ratio of cumulative explained variance that needs to be given by
|
8909
|
+
# the PCA model.
|
8910
|
+
# Corresponds to the JSON property `pcaExplainedVarianceRatio`
|
8911
|
+
# @return [Float]
|
8912
|
+
attr_accessor :pca_explained_variance_ratio
|
8913
|
+
|
8914
|
+
# The solver for PCA.
|
8915
|
+
# Corresponds to the JSON property `pcaSolver`
|
8916
|
+
# @return [String]
|
8917
|
+
attr_accessor :pca_solver
|
8918
|
+
|
8855
8919
|
# Number of paths for the sampled Shapley explain method.
|
8856
8920
|
# Corresponds to the JSON property `sampledShapleyNumPaths`
|
8857
8921
|
# @return [Fixnum]
|
8858
8922
|
attr_accessor :sampled_shapley_num_paths
|
8859
8923
|
|
8924
|
+
# If true, scale the feature values by dividing the feature standard deviation.
|
8925
|
+
# Currently only apply to PCA.
|
8926
|
+
# Corresponds to the JSON property `scaleFeatures`
|
8927
|
+
# @return [Boolean]
|
8928
|
+
attr_accessor :scale_features
|
8929
|
+
alias_method :scale_features?, :scale_features
|
8930
|
+
|
8931
|
+
# Whether to standardize numerical features. Default to true.
|
8932
|
+
# Corresponds to the JSON property `standardizeFeatures`
|
8933
|
+
# @return [Boolean]
|
8934
|
+
attr_accessor :standardize_features
|
8935
|
+
alias_method :standardize_features?, :standardize_features
|
8936
|
+
|
8860
8937
|
# Subsample fraction of the training data to grow tree to prevent overfitting
|
8861
8938
|
# for boosted tree models.
|
8862
8939
|
# Corresponds to the JSON property `subsample`
|
@@ -8909,6 +8986,12 @@ module Google
|
|
8909
8986
|
# @return [String]
|
8910
8987
|
attr_accessor :user_column
|
8911
8988
|
|
8989
|
+
# The version aliases to apply in Vertex AI model registry. Always overwrite if
|
8990
|
+
# the version aliases exists in a existing model.
|
8991
|
+
# Corresponds to the JSON property `vertexAiModelVersionAliases`
|
8992
|
+
# @return [Array<String>]
|
8993
|
+
attr_accessor :vertex_ai_model_version_aliases
|
8994
|
+
|
8912
8995
|
# Hyperparameter for matrix factoration when implicit feedback type is specified.
|
8913
8996
|
# Corresponds to the JSON property `walsAlpha`
|
8914
8997
|
# @return [Float]
|
@@ -8931,13 +9014,16 @@ module Google
|
|
8931
9014
|
|
8932
9015
|
# Update properties of this object
|
8933
9016
|
def update!(**args)
|
9017
|
+
@activation_fn = args[:activation_fn] if args.key?(:activation_fn)
|
8934
9018
|
@adjust_step_changes = args[:adjust_step_changes] if args.key?(:adjust_step_changes)
|
8935
9019
|
@approx_global_feature_contrib = args[:approx_global_feature_contrib] if args.key?(:approx_global_feature_contrib)
|
8936
9020
|
@auto_arima = args[:auto_arima] if args.key?(:auto_arima)
|
8937
9021
|
@auto_arima_max_order = args[:auto_arima_max_order] if args.key?(:auto_arima_max_order)
|
8938
9022
|
@auto_arima_min_order = args[:auto_arima_min_order] if args.key?(:auto_arima_min_order)
|
9023
|
+
@auto_class_weights = args[:auto_class_weights] if args.key?(:auto_class_weights)
|
8939
9024
|
@batch_size = args[:batch_size] if args.key?(:batch_size)
|
8940
9025
|
@booster_type = args[:booster_type] if args.key?(:booster_type)
|
9026
|
+
@budget_hours = args[:budget_hours] if args.key?(:budget_hours)
|
8941
9027
|
@calculate_p_values = args[:calculate_p_values] if args.key?(:calculate_p_values)
|
8942
9028
|
@clean_spikes_and_dips = args[:clean_spikes_and_dips] if args.key?(:clean_spikes_and_dips)
|
8943
9029
|
@color_space = args[:color_space] if args.key?(:color_space)
|
@@ -8955,6 +9041,7 @@ module Google
|
|
8955
9041
|
@early_stop = args[:early_stop] if args.key?(:early_stop)
|
8956
9042
|
@enable_global_explain = args[:enable_global_explain] if args.key?(:enable_global_explain)
|
8957
9043
|
@feedback_type = args[:feedback_type] if args.key?(:feedback_type)
|
9044
|
+
@fit_intercept = args[:fit_intercept] if args.key?(:fit_intercept)
|
8958
9045
|
@hidden_units = args[:hidden_units] if args.key?(:hidden_units)
|
8959
9046
|
@holiday_region = args[:holiday_region] if args.key?(:holiday_region)
|
8960
9047
|
@horizon = args[:horizon] if args.key?(:horizon)
|
@@ -8967,6 +9054,7 @@ module Google
|
|
8967
9054
|
@item_column = args[:item_column] if args.key?(:item_column)
|
8968
9055
|
@kmeans_initialization_column = args[:kmeans_initialization_column] if args.key?(:kmeans_initialization_column)
|
8969
9056
|
@kmeans_initialization_method = args[:kmeans_initialization_method] if args.key?(:kmeans_initialization_method)
|
9057
|
+
@l1_reg_activation = args[:l1_reg_activation] if args.key?(:l1_reg_activation)
|
8970
9058
|
@l1_regularization = args[:l1_regularization] if args.key?(:l1_regularization)
|
8971
9059
|
@l2_regularization = args[:l2_regularization] if args.key?(:l2_regularization)
|
8972
9060
|
@label_class_weights = args[:label_class_weights] if args.key?(:label_class_weights)
|
@@ -8981,14 +9069,21 @@ module Google
|
|
8981
9069
|
@min_split_loss = args[:min_split_loss] if args.key?(:min_split_loss)
|
8982
9070
|
@min_time_series_length = args[:min_time_series_length] if args.key?(:min_time_series_length)
|
8983
9071
|
@min_tree_child_weight = args[:min_tree_child_weight] if args.key?(:min_tree_child_weight)
|
9072
|
+
@model_registry = args[:model_registry] if args.key?(:model_registry)
|
8984
9073
|
@model_uri = args[:model_uri] if args.key?(:model_uri)
|
8985
9074
|
@non_seasonal_order = args[:non_seasonal_order] if args.key?(:non_seasonal_order)
|
8986
9075
|
@num_clusters = args[:num_clusters] if args.key?(:num_clusters)
|
8987
9076
|
@num_factors = args[:num_factors] if args.key?(:num_factors)
|
8988
9077
|
@num_parallel_tree = args[:num_parallel_tree] if args.key?(:num_parallel_tree)
|
9078
|
+
@num_principal_components = args[:num_principal_components] if args.key?(:num_principal_components)
|
8989
9079
|
@num_trials = args[:num_trials] if args.key?(:num_trials)
|
8990
9080
|
@optimization_strategy = args[:optimization_strategy] if args.key?(:optimization_strategy)
|
9081
|
+
@optimizer = args[:optimizer] if args.key?(:optimizer)
|
9082
|
+
@pca_explained_variance_ratio = args[:pca_explained_variance_ratio] if args.key?(:pca_explained_variance_ratio)
|
9083
|
+
@pca_solver = args[:pca_solver] if args.key?(:pca_solver)
|
8991
9084
|
@sampled_shapley_num_paths = args[:sampled_shapley_num_paths] if args.key?(:sampled_shapley_num_paths)
|
9085
|
+
@scale_features = args[:scale_features] if args.key?(:scale_features)
|
9086
|
+
@standardize_features = args[:standardize_features] if args.key?(:standardize_features)
|
8992
9087
|
@subsample = args[:subsample] if args.key?(:subsample)
|
8993
9088
|
@tf_version = args[:tf_version] if args.key?(:tf_version)
|
8994
9089
|
@time_series_data_column = args[:time_series_data_column] if args.key?(:time_series_data_column)
|
@@ -8999,6 +9094,7 @@ module Google
|
|
8999
9094
|
@tree_method = args[:tree_method] if args.key?(:tree_method)
|
9000
9095
|
@trend_smoothing_window_size = args[:trend_smoothing_window_size] if args.key?(:trend_smoothing_window_size)
|
9001
9096
|
@user_column = args[:user_column] if args.key?(:user_column)
|
9097
|
+
@vertex_ai_model_version_aliases = args[:vertex_ai_model_version_aliases] if args.key?(:vertex_ai_model_version_aliases)
|
9002
9098
|
@wals_alpha = args[:wals_alpha] if args.key?(:wals_alpha)
|
9003
9099
|
@warm_start = args[:warm_start] if args.key?(:warm_start)
|
9004
9100
|
@xgboost_version = args[:xgboost_version] if args.key?(:xgboost_version)
|
@@ -9103,6 +9199,42 @@ module Google
|
|
9103
9199
|
end
|
9104
9200
|
end
|
9105
9201
|
|
9202
|
+
# Information about a single transform column.
|
9203
|
+
class TransformColumn
|
9204
|
+
include Google::Apis::Core::Hashable
|
9205
|
+
|
9206
|
+
# Output only. Name of the column.
|
9207
|
+
# Corresponds to the JSON property `name`
|
9208
|
+
# @return [String]
|
9209
|
+
attr_accessor :name
|
9210
|
+
|
9211
|
+
# Output only. The SQL expression used in the column transform.
|
9212
|
+
# Corresponds to the JSON property `transformSql`
|
9213
|
+
# @return [String]
|
9214
|
+
attr_accessor :transform_sql
|
9215
|
+
|
9216
|
+
# The data type of a variable such as a function argument. Examples include: *
|
9217
|
+
# INT64: ``"typeKind": "INT64"`` * ARRAY: ` "typeKind": "ARRAY", "
|
9218
|
+
# arrayElementType": `"typeKind": "STRING"` ` * STRUCT>: ` "typeKind": "STRUCT",
|
9219
|
+
# "structType": ` "fields": [ ` "name": "x", "type": `"typeKind": "STRING"` `, `
|
9220
|
+
# "name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typeKind": "
|
9221
|
+
# DATE"` ` ` ] ` `
|
9222
|
+
# Corresponds to the JSON property `type`
|
9223
|
+
# @return [Google::Apis::BigqueryV2::StandardSqlDataType]
|
9224
|
+
attr_accessor :type
|
9225
|
+
|
9226
|
+
def initialize(**args)
|
9227
|
+
update!(**args)
|
9228
|
+
end
|
9229
|
+
|
9230
|
+
# Update properties of this object
|
9231
|
+
def update!(**args)
|
9232
|
+
@name = args[:name] if args.key?(:name)
|
9233
|
+
@transform_sql = args[:transform_sql] if args.key?(:transform_sql)
|
9234
|
+
@type = args[:type] if args.key?(:type)
|
9235
|
+
end
|
9236
|
+
end
|
9237
|
+
|
9106
9238
|
# This is used for defining User Defined Function (UDF) resources only when
|
9107
9239
|
# using legacy SQL. Users of Standard SQL should leverage either DDL (e.g.
|
9108
9240
|
# CREATE [TEMPORARY] FUNCTION ... ) or the Routines API to define UDF resources.
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.57.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 = "
|
25
|
+
REVISION = "20230715"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1054,6 +1054,12 @@ module Google
|
|
1054
1054
|
include Google::Apis::Core::JsonObjectSupport
|
1055
1055
|
end
|
1056
1056
|
|
1057
|
+
class TransformColumn
|
1058
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1059
|
+
|
1060
|
+
include Google::Apis::Core::JsonObjectSupport
|
1061
|
+
end
|
1062
|
+
|
1057
1063
|
class UserDefinedFunctionResource
|
1058
1064
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1059
1065
|
|
@@ -2408,6 +2414,8 @@ module Google
|
|
2408
2414
|
|
2409
2415
|
collection :training_runs, as: 'trainingRuns', class: Google::Apis::BigqueryV2::TrainingRun, decorator: Google::Apis::BigqueryV2::TrainingRun::Representation
|
2410
2416
|
|
2417
|
+
collection :transform_columns, as: 'transformColumns', class: Google::Apis::BigqueryV2::TransformColumn, decorator: Google::Apis::BigqueryV2::TransformColumn::Representation
|
2418
|
+
|
2411
2419
|
end
|
2412
2420
|
end
|
2413
2421
|
|
@@ -3188,13 +3196,16 @@ module Google
|
|
3188
3196
|
class TrainingOptions
|
3189
3197
|
# @private
|
3190
3198
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3199
|
+
property :activation_fn, as: 'activationFn'
|
3191
3200
|
property :adjust_step_changes, as: 'adjustStepChanges'
|
3192
3201
|
property :approx_global_feature_contrib, as: 'approxGlobalFeatureContrib'
|
3193
3202
|
property :auto_arima, as: 'autoArima'
|
3194
3203
|
property :auto_arima_max_order, :numeric_string => true, as: 'autoArimaMaxOrder'
|
3195
3204
|
property :auto_arima_min_order, :numeric_string => true, as: 'autoArimaMinOrder'
|
3205
|
+
property :auto_class_weights, as: 'autoClassWeights'
|
3196
3206
|
property :batch_size, :numeric_string => true, as: 'batchSize'
|
3197
3207
|
property :booster_type, as: 'boosterType'
|
3208
|
+
property :budget_hours, as: 'budgetHours'
|
3198
3209
|
property :calculate_p_values, as: 'calculatePValues'
|
3199
3210
|
property :clean_spikes_and_dips, as: 'cleanSpikesAndDips'
|
3200
3211
|
property :color_space, as: 'colorSpace'
|
@@ -3212,6 +3223,7 @@ module Google
|
|
3212
3223
|
property :early_stop, as: 'earlyStop'
|
3213
3224
|
property :enable_global_explain, as: 'enableGlobalExplain'
|
3214
3225
|
property :feedback_type, as: 'feedbackType'
|
3226
|
+
property :fit_intercept, as: 'fitIntercept'
|
3215
3227
|
collection :hidden_units, as: 'hiddenUnits'
|
3216
3228
|
property :holiday_region, as: 'holidayRegion'
|
3217
3229
|
property :horizon, :numeric_string => true, as: 'horizon'
|
@@ -3224,6 +3236,7 @@ module Google
|
|
3224
3236
|
property :item_column, as: 'itemColumn'
|
3225
3237
|
property :kmeans_initialization_column, as: 'kmeansInitializationColumn'
|
3226
3238
|
property :kmeans_initialization_method, as: 'kmeansInitializationMethod'
|
3239
|
+
property :l1_reg_activation, as: 'l1RegActivation'
|
3227
3240
|
property :l1_regularization, as: 'l1Regularization'
|
3228
3241
|
property :l2_regularization, as: 'l2Regularization'
|
3229
3242
|
hash :label_class_weights, as: 'labelClassWeights'
|
@@ -3238,15 +3251,22 @@ module Google
|
|
3238
3251
|
property :min_split_loss, as: 'minSplitLoss'
|
3239
3252
|
property :min_time_series_length, :numeric_string => true, as: 'minTimeSeriesLength'
|
3240
3253
|
property :min_tree_child_weight, :numeric_string => true, as: 'minTreeChildWeight'
|
3254
|
+
property :model_registry, as: 'modelRegistry'
|
3241
3255
|
property :model_uri, as: 'modelUri'
|
3242
3256
|
property :non_seasonal_order, as: 'nonSeasonalOrder', class: Google::Apis::BigqueryV2::ArimaOrder, decorator: Google::Apis::BigqueryV2::ArimaOrder::Representation
|
3243
3257
|
|
3244
3258
|
property :num_clusters, :numeric_string => true, as: 'numClusters'
|
3245
3259
|
property :num_factors, :numeric_string => true, as: 'numFactors'
|
3246
3260
|
property :num_parallel_tree, :numeric_string => true, as: 'numParallelTree'
|
3261
|
+
property :num_principal_components, :numeric_string => true, as: 'numPrincipalComponents'
|
3247
3262
|
property :num_trials, :numeric_string => true, as: 'numTrials'
|
3248
3263
|
property :optimization_strategy, as: 'optimizationStrategy'
|
3264
|
+
property :optimizer, as: 'optimizer'
|
3265
|
+
property :pca_explained_variance_ratio, as: 'pcaExplainedVarianceRatio'
|
3266
|
+
property :pca_solver, as: 'pcaSolver'
|
3249
3267
|
property :sampled_shapley_num_paths, :numeric_string => true, as: 'sampledShapleyNumPaths'
|
3268
|
+
property :scale_features, as: 'scaleFeatures'
|
3269
|
+
property :standardize_features, as: 'standardizeFeatures'
|
3250
3270
|
property :subsample, as: 'subsample'
|
3251
3271
|
property :tf_version, as: 'tfVersion'
|
3252
3272
|
property :time_series_data_column, as: 'timeSeriesDataColumn'
|
@@ -3257,6 +3277,7 @@ module Google
|
|
3257
3277
|
property :tree_method, as: 'treeMethod'
|
3258
3278
|
property :trend_smoothing_window_size, :numeric_string => true, as: 'trendSmoothingWindowSize'
|
3259
3279
|
property :user_column, as: 'userColumn'
|
3280
|
+
collection :vertex_ai_model_version_aliases, as: 'vertexAiModelVersionAliases'
|
3260
3281
|
property :wals_alpha, as: 'walsAlpha'
|
3261
3282
|
property :warm_start, as: 'warmStart'
|
3262
3283
|
property :xgboost_version, as: 'xgboostVersion'
|
@@ -3292,6 +3313,16 @@ module Google
|
|
3292
3313
|
end
|
3293
3314
|
end
|
3294
3315
|
|
3316
|
+
class TransformColumn
|
3317
|
+
# @private
|
3318
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3319
|
+
property :name, as: 'name'
|
3320
|
+
property :transform_sql, as: 'transformSql'
|
3321
|
+
property :type, as: 'type', class: Google::Apis::BigqueryV2::StandardSqlDataType, decorator: Google::Apis::BigqueryV2::StandardSqlDataType::Representation
|
3322
|
+
|
3323
|
+
end
|
3324
|
+
end
|
3325
|
+
|
3295
3326
|
class UserDefinedFunctionResource
|
3296
3327
|
# @private
|
3297
3328
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1158,46 +1158,6 @@ module Google
|
|
1158
1158
|
execute_or_queue_command(command, &block)
|
1159
1159
|
end
|
1160
1160
|
|
1161
|
-
# Sets the access control policy on the specified resource. Replaces any
|
1162
|
-
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
1163
|
-
# PERMISSION_DENIED` errors.
|
1164
|
-
# @param [String] resource
|
1165
|
-
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
1166
|
-
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1167
|
-
# appropriate value for this field.
|
1168
|
-
# @param [Google::Apis::BigqueryV2::SetIamPolicyRequest] set_iam_policy_request_object
|
1169
|
-
# @param [String] fields
|
1170
|
-
# Selector specifying which fields to include in a partial response.
|
1171
|
-
# @param [String] quota_user
|
1172
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1173
|
-
# characters.
|
1174
|
-
# @param [String] user_ip
|
1175
|
-
# Deprecated. Please use quotaUser instead.
|
1176
|
-
# @param [Google::Apis::RequestOptions] options
|
1177
|
-
# Request-specific options
|
1178
|
-
#
|
1179
|
-
# @yield [result, err] Result & error if block supplied
|
1180
|
-
# @yieldparam result [Google::Apis::BigqueryV2::Policy] parsed result object
|
1181
|
-
# @yieldparam err [StandardError] error object if request failed
|
1182
|
-
#
|
1183
|
-
# @return [Google::Apis::BigqueryV2::Policy]
|
1184
|
-
#
|
1185
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1186
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1187
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1188
|
-
def set_row_access_policy_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1189
|
-
command = make_simple_command(:post, '{+resource}:setIamPolicy', options)
|
1190
|
-
command.request_representation = Google::Apis::BigqueryV2::SetIamPolicyRequest::Representation
|
1191
|
-
command.request_object = set_iam_policy_request_object
|
1192
|
-
command.response_representation = Google::Apis::BigqueryV2::Policy::Representation
|
1193
|
-
command.response_class = Google::Apis::BigqueryV2::Policy
|
1194
|
-
command.params['resource'] = resource unless resource.nil?
|
1195
|
-
command.query['fields'] = fields unless fields.nil?
|
1196
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1197
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1198
|
-
execute_or_queue_command(command, &block)
|
1199
|
-
end
|
1200
|
-
|
1201
1161
|
# Returns permissions that a caller has on the specified resource. If the
|
1202
1162
|
# resource does not exist, this will return an empty set of permissions, not a `
|
1203
1163
|
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
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.
|
4
|
+
version: 0.57.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-
|
11
|
+
date: 2023-07-23 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.57.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: []
|