google-apis-bigquery_v2 0.8.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/bigquery_v2.rb +0 -3
- data/lib/google/apis/bigquery_v2/classes.rb +168 -97
- data/lib/google/apis/bigquery_v2/gem_version.rb +3 -3
- data/lib/google/apis/bigquery_v2/representations.rb +19 -34
- data/lib/google/apis/bigquery_v2/service.rb +43 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 819a4cffd54494696c9857bc472d6562fe48010d9984ad30a0346bb915181fc0
|
4
|
+
data.tar.gz: 1e670c613c23839c249a244736ceec83adb8cbd4929d17489416a7b90e7da8fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c92ebf6d294b6ec1ce525330aef135f5390ceb7ae8013ed85487a564f8e7ac824b9a555470b33fdd3d62c808104d557ed4e10b1227a4dfd134d2d8639306cbae
|
7
|
+
data.tar.gz: 0d230f6665b07150cb896208de25f8e20487ae6605255534643558fbff2ce0ec182e229a19e89ccd46c26230f7ba2c5f1757fd05582837bc36181dccdd8be3e6
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-bigquery_v2
|
2
2
|
|
3
|
+
### v0.13.0 (2021-06-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210529
|
6
|
+
* Regenerated using generator version 0.3.0
|
7
|
+
|
8
|
+
### v0.12.0 (2021-05-28)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20210518
|
11
|
+
|
12
|
+
### v0.11.0 (2021-05-19)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.10.0 (2021-05-07)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210430
|
19
|
+
|
20
|
+
### v0.9.0 (2021-04-02)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210327
|
23
|
+
|
3
24
|
### v0.8.0 (2021-03-18)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210313
|
@@ -35,9 +35,6 @@ module Google
|
|
35
35
|
# Insert data into Google BigQuery
|
36
36
|
AUTH_BIGQUERY_INSERTDATA = 'https://www.googleapis.com/auth/bigquery.insertdata'
|
37
37
|
|
38
|
-
# View your data in Google BigQuery
|
39
|
-
AUTH_BIGQUERY_READONLY = 'https://www.googleapis.com/auth/bigquery.readonly'
|
40
|
-
|
41
38
|
# See, edit, configure, and delete your Google Cloud Platform data
|
42
39
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
43
40
|
|
@@ -265,6 +265,24 @@ module Google
|
|
265
265
|
attr_accessor :has_drift
|
266
266
|
alias_method :has_drift?, :has_drift
|
267
267
|
|
268
|
+
# If true, holiday_effect is a part of time series decomposition result.
|
269
|
+
# Corresponds to the JSON property `hasHolidayEffect`
|
270
|
+
# @return [Boolean]
|
271
|
+
attr_accessor :has_holiday_effect
|
272
|
+
alias_method :has_holiday_effect?, :has_holiday_effect
|
273
|
+
|
274
|
+
# If true, spikes_and_dips is a part of time series decomposition result.
|
275
|
+
# Corresponds to the JSON property `hasSpikesAndDips`
|
276
|
+
# @return [Boolean]
|
277
|
+
attr_accessor :has_spikes_and_dips
|
278
|
+
alias_method :has_spikes_and_dips?, :has_spikes_and_dips
|
279
|
+
|
280
|
+
# If true, step_changes is a part of time series decomposition result.
|
281
|
+
# Corresponds to the JSON property `hasStepChanges`
|
282
|
+
# @return [Boolean]
|
283
|
+
attr_accessor :has_step_changes
|
284
|
+
alias_method :has_step_changes?, :has_step_changes
|
285
|
+
|
268
286
|
# Arima order, can be used for both non-seasonal and seasonal parts.
|
269
287
|
# Corresponds to the JSON property `nonSeasonalOrder`
|
270
288
|
# @return [Google::Apis::BigqueryV2::ArimaOrder]
|
@@ -283,6 +301,15 @@ module Google
|
|
283
301
|
# @return [String]
|
284
302
|
attr_accessor :time_series_id
|
285
303
|
|
304
|
+
# The tuple of time_series_ids identifying this time series. It will be one of
|
305
|
+
# the unique tuples of values present in the time_series_id_columns specified
|
306
|
+
# during ARIMA model training. Only present when time_series_id_columns training
|
307
|
+
# option was used and the order of values here are same as the order of
|
308
|
+
# time_series_id_columns.
|
309
|
+
# Corresponds to the JSON property `timeSeriesIds`
|
310
|
+
# @return [Array<String>]
|
311
|
+
attr_accessor :time_series_ids
|
312
|
+
|
286
313
|
def initialize(**args)
|
287
314
|
update!(**args)
|
288
315
|
end
|
@@ -292,9 +319,13 @@ module Google
|
|
292
319
|
@arima_coefficients = args[:arima_coefficients] if args.key?(:arima_coefficients)
|
293
320
|
@arima_fitting_metrics = args[:arima_fitting_metrics] if args.key?(:arima_fitting_metrics)
|
294
321
|
@has_drift = args[:has_drift] if args.key?(:has_drift)
|
322
|
+
@has_holiday_effect = args[:has_holiday_effect] if args.key?(:has_holiday_effect)
|
323
|
+
@has_spikes_and_dips = args[:has_spikes_and_dips] if args.key?(:has_spikes_and_dips)
|
324
|
+
@has_step_changes = args[:has_step_changes] if args.key?(:has_step_changes)
|
295
325
|
@non_seasonal_order = args[:non_seasonal_order] if args.key?(:non_seasonal_order)
|
296
326
|
@seasonal_periods = args[:seasonal_periods] if args.key?(:seasonal_periods)
|
297
327
|
@time_series_id = args[:time_series_id] if args.key?(:time_series_id)
|
328
|
+
@time_series_ids = args[:time_series_ids] if args.key?(:time_series_ids)
|
298
329
|
end
|
299
330
|
end
|
300
331
|
|
@@ -372,6 +403,24 @@ module Google
|
|
372
403
|
attr_accessor :has_drift
|
373
404
|
alias_method :has_drift?, :has_drift
|
374
405
|
|
406
|
+
# If true, holiday_effect is a part of time series decomposition result.
|
407
|
+
# Corresponds to the JSON property `hasHolidayEffect`
|
408
|
+
# @return [Boolean]
|
409
|
+
attr_accessor :has_holiday_effect
|
410
|
+
alias_method :has_holiday_effect?, :has_holiday_effect
|
411
|
+
|
412
|
+
# If true, spikes_and_dips is a part of time series decomposition result.
|
413
|
+
# Corresponds to the JSON property `hasSpikesAndDips`
|
414
|
+
# @return [Boolean]
|
415
|
+
attr_accessor :has_spikes_and_dips
|
416
|
+
alias_method :has_spikes_and_dips?, :has_spikes_and_dips
|
417
|
+
|
418
|
+
# If true, step_changes is a part of time series decomposition result.
|
419
|
+
# Corresponds to the JSON property `hasStepChanges`
|
420
|
+
# @return [Boolean]
|
421
|
+
attr_accessor :has_step_changes
|
422
|
+
alias_method :has_step_changes?, :has_step_changes
|
423
|
+
|
375
424
|
# Arima order, can be used for both non-seasonal and seasonal parts.
|
376
425
|
# Corresponds to the JSON property `nonSeasonalOrder`
|
377
426
|
# @return [Google::Apis::BigqueryV2::ArimaOrder]
|
@@ -390,6 +439,15 @@ module Google
|
|
390
439
|
# @return [String]
|
391
440
|
attr_accessor :time_series_id
|
392
441
|
|
442
|
+
# The tuple of time_series_ids identifying this time series. It will be one of
|
443
|
+
# the unique tuples of values present in the time_series_id_columns specified
|
444
|
+
# during ARIMA model training. Only present when time_series_id_columns training
|
445
|
+
# option was used and the order of values here are same as the order of
|
446
|
+
# time_series_id_columns.
|
447
|
+
# Corresponds to the JSON property `timeSeriesIds`
|
448
|
+
# @return [Array<String>]
|
449
|
+
attr_accessor :time_series_ids
|
450
|
+
|
393
451
|
def initialize(**args)
|
394
452
|
update!(**args)
|
395
453
|
end
|
@@ -398,9 +456,13 @@ module Google
|
|
398
456
|
def update!(**args)
|
399
457
|
@arima_fitting_metrics = args[:arima_fitting_metrics] if args.key?(:arima_fitting_metrics)
|
400
458
|
@has_drift = args[:has_drift] if args.key?(:has_drift)
|
459
|
+
@has_holiday_effect = args[:has_holiday_effect] if args.key?(:has_holiday_effect)
|
460
|
+
@has_spikes_and_dips = args[:has_spikes_and_dips] if args.key?(:has_spikes_and_dips)
|
461
|
+
@has_step_changes = args[:has_step_changes] if args.key?(:has_step_changes)
|
401
462
|
@non_seasonal_order = args[:non_seasonal_order] if args.key?(:non_seasonal_order)
|
402
463
|
@seasonal_periods = args[:seasonal_periods] if args.key?(:seasonal_periods)
|
403
464
|
@time_series_id = args[:time_series_id] if args.key?(:time_series_id)
|
465
|
+
@time_series_ids = args[:time_series_ids] if args.key?(:time_series_ids)
|
404
466
|
end
|
405
467
|
end
|
406
468
|
|
@@ -1781,25 +1843,6 @@ module Google
|
|
1781
1843
|
end
|
1782
1844
|
end
|
1783
1845
|
|
1784
|
-
# Model evaluation metrics for dimensionality reduction models.
|
1785
|
-
class DimensionalityReductionMetrics
|
1786
|
-
include Google::Apis::Core::Hashable
|
1787
|
-
|
1788
|
-
# Total percentage of variance explained by the selected principal components.
|
1789
|
-
# Corresponds to the JSON property `totalExplainedVarianceRatio`
|
1790
|
-
# @return [Float]
|
1791
|
-
attr_accessor :total_explained_variance_ratio
|
1792
|
-
|
1793
|
-
def initialize(**args)
|
1794
|
-
update!(**args)
|
1795
|
-
end
|
1796
|
-
|
1797
|
-
# Update properties of this object
|
1798
|
-
def update!(**args)
|
1799
|
-
@total_explained_variance_ratio = args[:total_explained_variance_ratio] if args.key?(:total_explained_variance_ratio)
|
1800
|
-
end
|
1801
|
-
end
|
1802
|
-
|
1803
1846
|
#
|
1804
1847
|
class EncryptionConfiguration
|
1805
1848
|
include Google::Apis::Core::Hashable
|
@@ -1906,11 +1949,6 @@ module Google
|
|
1906
1949
|
# @return [Google::Apis::BigqueryV2::ClusteringMetrics]
|
1907
1950
|
attr_accessor :clustering_metrics
|
1908
1951
|
|
1909
|
-
# Model evaluation metrics for dimensionality reduction models.
|
1910
|
-
# Corresponds to the JSON property `dimensionalityReductionMetrics`
|
1911
|
-
# @return [Google::Apis::BigqueryV2::DimensionalityReductionMetrics]
|
1912
|
-
attr_accessor :dimensionality_reduction_metrics
|
1913
|
-
|
1914
1952
|
# Evaluation metrics for multi-class classification/classifier models.
|
1915
1953
|
# Corresponds to the JSON property `multiClassClassificationMetrics`
|
1916
1954
|
# @return [Google::Apis::BigqueryV2::MultiClassClassificationMetrics]
|
@@ -1937,7 +1975,6 @@ module Google
|
|
1937
1975
|
@arima_forecasting_metrics = args[:arima_forecasting_metrics] if args.key?(:arima_forecasting_metrics)
|
1938
1976
|
@binary_classification_metrics = args[:binary_classification_metrics] if args.key?(:binary_classification_metrics)
|
1939
1977
|
@clustering_metrics = args[:clustering_metrics] if args.key?(:clustering_metrics)
|
1940
|
-
@dimensionality_reduction_metrics = args[:dimensionality_reduction_metrics] if args.key?(:dimensionality_reduction_metrics)
|
1941
1978
|
@multi_class_classification_metrics = args[:multi_class_classification_metrics] if args.key?(:multi_class_classification_metrics)
|
1942
1979
|
@ranking_metrics = args[:ranking_metrics] if args.key?(:ranking_metrics)
|
1943
1980
|
@regression_metrics = args[:regression_metrics] if args.key?(:regression_metrics)
|
@@ -2276,6 +2313,27 @@ module Google
|
|
2276
2313
|
# @return [Google::Apis::BigqueryV2::CsvOptions]
|
2277
2314
|
attr_accessor :csv_options
|
2278
2315
|
|
2316
|
+
# [Optional] Defines the list of possible SQL data types to which the source
|
2317
|
+
# decimal values are converted. This list and the precision and the scale
|
2318
|
+
# parameters of the decimal field determine the target type. In the order of
|
2319
|
+
# NUMERIC, BIGNUMERIC, and STRING, a type is picked if it is in the specified
|
2320
|
+
# list and if it supports the precision and the scale. STRING supports all
|
2321
|
+
# precision and scale values. If none of the listed types supports the precision
|
2322
|
+
# and the scale, the type supporting the widest range in the specified list is
|
2323
|
+
# picked, and if a value exceeds the supported range when reading the data, an
|
2324
|
+
# error will be thrown. Example: Suppose the value of this field is ["NUMERIC", "
|
2325
|
+
# BIGNUMERIC"]. If (precision,scale) is: (38,9) -> NUMERIC; (39,9) -> BIGNUMERIC
|
2326
|
+
# (NUMERIC cannot hold 30 integer digits); (38,10) -> BIGNUMERIC (NUMERIC cannot
|
2327
|
+
# hold 10 fractional digits); (76,38) -> BIGNUMERIC; (77,38) -> BIGNUMERIC (
|
2328
|
+
# error if value exeeds supported range). This field cannot contain duplicate
|
2329
|
+
# types. The order of the types in this field is ignored. For example, ["
|
2330
|
+
# BIGNUMERIC", "NUMERIC"] is the same as ["NUMERIC", "BIGNUMERIC"] and NUMERIC
|
2331
|
+
# always takes precedence over BIGNUMERIC. Defaults to ["NUMERIC", "STRING"] for
|
2332
|
+
# ORC and ["NUMERIC"] for the other file formats.
|
2333
|
+
# Corresponds to the JSON property `decimalTargetTypes`
|
2334
|
+
# @return [Array<String>]
|
2335
|
+
attr_accessor :decimal_target_types
|
2336
|
+
|
2279
2337
|
# [Optional] Additional options if sourceFormat is set to GOOGLE_SHEETS.
|
2280
2338
|
# Corresponds to the JSON property `googleSheetsOptions`
|
2281
2339
|
# @return [Google::Apis::BigqueryV2::GoogleSheetsOptions]
|
@@ -2353,6 +2411,7 @@ module Google
|
|
2353
2411
|
@compression = args[:compression] if args.key?(:compression)
|
2354
2412
|
@connection_id = args[:connection_id] if args.key?(:connection_id)
|
2355
2413
|
@csv_options = args[:csv_options] if args.key?(:csv_options)
|
2414
|
+
@decimal_target_types = args[:decimal_target_types] if args.key?(:decimal_target_types)
|
2356
2415
|
@google_sheets_options = args[:google_sheets_options] if args.key?(:google_sheets_options)
|
2357
2416
|
@hive_partitioning_options = args[:hive_partitioning_options] if args.key?(:hive_partitioning_options)
|
2358
2417
|
@ignore_unknown_values = args[:ignore_unknown_values] if args.key?(:ignore_unknown_values)
|
@@ -2715,11 +2774,6 @@ module Google
|
|
2715
2774
|
# @return [Float]
|
2716
2775
|
attr_accessor :learn_rate
|
2717
2776
|
|
2718
|
-
# The information of the principal components.
|
2719
|
-
# Corresponds to the JSON property `principalComponentInfos`
|
2720
|
-
# @return [Array<Google::Apis::BigqueryV2::PrincipalComponentInfo>]
|
2721
|
-
attr_accessor :principal_component_infos
|
2722
|
-
|
2723
2777
|
# Loss computed on the training data at the end of iteration.
|
2724
2778
|
# Corresponds to the JSON property `trainingLoss`
|
2725
2779
|
# @return [Float]
|
@@ -2737,7 +2791,6 @@ module Google
|
|
2737
2791
|
@eval_loss = args[:eval_loss] if args.key?(:eval_loss)
|
2738
2792
|
@index = args[:index] if args.key?(:index)
|
2739
2793
|
@learn_rate = args[:learn_rate] if args.key?(:learn_rate)
|
2740
|
-
@principal_component_infos = args[:principal_component_infos] if args.key?(:principal_component_infos)
|
2741
2794
|
@training_loss = args[:training_loss] if args.key?(:training_loss)
|
2742
2795
|
end
|
2743
2796
|
end
|
@@ -3035,24 +3088,23 @@ module Google
|
|
3035
3088
|
# @return [String]
|
3036
3089
|
attr_accessor :create_disposition
|
3037
3090
|
|
3038
|
-
# Defines the list of possible SQL data types to which the source
|
3039
|
-
# are converted. This list and the precision and the scale
|
3040
|
-
# decimal field determine the target type. In the order of
|
3041
|
-
#
|
3042
|
-
#
|
3043
|
-
#
|
3044
|
-
#
|
3045
|
-
#
|
3046
|
-
#
|
3047
|
-
#
|
3048
|
-
#
|
3049
|
-
#
|
3050
|
-
#
|
3051
|
-
#
|
3052
|
-
#
|
3053
|
-
#
|
3054
|
-
#
|
3055
|
-
# formats.
|
3091
|
+
# [Optional] Defines the list of possible SQL data types to which the source
|
3092
|
+
# decimal values are converted. This list and the precision and the scale
|
3093
|
+
# parameters of the decimal field determine the target type. In the order of
|
3094
|
+
# NUMERIC, BIGNUMERIC, and STRING, a type is picked if it is in the specified
|
3095
|
+
# list and if it supports the precision and the scale. STRING supports all
|
3096
|
+
# precision and scale values. If none of the listed types supports the precision
|
3097
|
+
# and the scale, the type supporting the widest range in the specified list is
|
3098
|
+
# picked, and if a value exceeds the supported range when reading the data, an
|
3099
|
+
# error will be thrown. Example: Suppose the value of this field is ["NUMERIC", "
|
3100
|
+
# BIGNUMERIC"]. If (precision,scale) is: (38,9) -> NUMERIC; (39,9) -> BIGNUMERIC
|
3101
|
+
# (NUMERIC cannot hold 30 integer digits); (38,10) -> BIGNUMERIC (NUMERIC cannot
|
3102
|
+
# hold 10 fractional digits); (76,38) -> BIGNUMERIC; (77,38) -> BIGNUMERIC (
|
3103
|
+
# error if value exeeds supported range). This field cannot contain duplicate
|
3104
|
+
# types. The order of the types in this field is ignored. For example, ["
|
3105
|
+
# BIGNUMERIC", "NUMERIC"] is the same as ["NUMERIC", "BIGNUMERIC"] and NUMERIC
|
3106
|
+
# always takes precedence over BIGNUMERIC. Defaults to ["NUMERIC", "STRING"] for
|
3107
|
+
# ORC and ["NUMERIC"] for the other file formats.
|
3056
3108
|
# Corresponds to the JSON property `decimalTargetTypes`
|
3057
3109
|
# @return [Array<String>]
|
3058
3110
|
attr_accessor :decimal_target_types
|
@@ -3817,9 +3869,9 @@ module Google
|
|
3817
3869
|
|
3818
3870
|
# [Output-only] [Alpha] Information of the multi-statement transaction if this
|
3819
3871
|
# job is part of one.
|
3820
|
-
# Corresponds to the JSON property `
|
3872
|
+
# Corresponds to the JSON property `transactionInfo`
|
3821
3873
|
# @return [Google::Apis::BigqueryV2::TransactionInfo]
|
3822
|
-
attr_accessor :
|
3874
|
+
attr_accessor :transaction_info
|
3823
3875
|
|
3824
3876
|
def initialize(**args)
|
3825
3877
|
update!(**args)
|
@@ -3844,7 +3896,7 @@ module Google
|
|
3844
3896
|
@start_time = args[:start_time] if args.key?(:start_time)
|
3845
3897
|
@total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed)
|
3846
3898
|
@total_slot_ms = args[:total_slot_ms] if args.key?(:total_slot_ms)
|
3847
|
-
@
|
3899
|
+
@transaction_info = args[:transaction_info] if args.key?(:transaction_info)
|
3848
3900
|
end
|
3849
3901
|
|
3850
3902
|
#
|
@@ -3894,6 +3946,12 @@ module Google
|
|
3894
3946
|
# @return [Fixnum]
|
3895
3947
|
attr_accessor :ddl_affected_row_access_policy_count
|
3896
3948
|
|
3949
|
+
# [Output-only] The DDL destination table. Present only for ALTER TABLE RENAME
|
3950
|
+
# TO queries. Note that ddl_target_table is used just for its type information.
|
3951
|
+
# Corresponds to the JSON property `ddlDestinationTable`
|
3952
|
+
# @return [Google::Apis::BigqueryV2::TableReference]
|
3953
|
+
attr_accessor :ddl_destination_table
|
3954
|
+
|
3897
3955
|
# The DDL operation performed, possibly dependent on the pre-existence of the
|
3898
3956
|
# DDL target. Possible values (new values might be added in the future): "CREATE"
|
3899
3957
|
# : The query created the DDL target. "SKIP": No-op. Example cases: the query is
|
@@ -3929,6 +3987,12 @@ module Google
|
|
3929
3987
|
# @return [Google::Apis::BigqueryV2::TableReference]
|
3930
3988
|
attr_accessor :ddl_target_table
|
3931
3989
|
|
3990
|
+
# [Output-only] Detailed statistics for DML statements Present only for DML
|
3991
|
+
# statements INSERT, UPDATE, DELETE or TRUNCATE.
|
3992
|
+
# Corresponds to the JSON property `dmlStats`
|
3993
|
+
# @return [Object]
|
3994
|
+
attr_accessor :dml_stats
|
3995
|
+
|
3932
3996
|
# [Output-only] The original estimate of bytes processed for the job.
|
3933
3997
|
# Corresponds to the JSON property `estimatedBytesProcessed`
|
3934
3998
|
# @return [Fixnum]
|
@@ -4053,11 +4117,13 @@ module Google
|
|
4053
4117
|
@billing_tier = args[:billing_tier] if args.key?(:billing_tier)
|
4054
4118
|
@cache_hit = args[:cache_hit] if args.key?(:cache_hit)
|
4055
4119
|
@ddl_affected_row_access_policy_count = args[:ddl_affected_row_access_policy_count] if args.key?(:ddl_affected_row_access_policy_count)
|
4120
|
+
@ddl_destination_table = args[:ddl_destination_table] if args.key?(:ddl_destination_table)
|
4056
4121
|
@ddl_operation_performed = args[:ddl_operation_performed] if args.key?(:ddl_operation_performed)
|
4057
4122
|
@ddl_target_dataset = args[:ddl_target_dataset] if args.key?(:ddl_target_dataset)
|
4058
4123
|
@ddl_target_routine = args[:ddl_target_routine] if args.key?(:ddl_target_routine)
|
4059
4124
|
@ddl_target_row_access_policy = args[:ddl_target_row_access_policy] if args.key?(:ddl_target_row_access_policy)
|
4060
4125
|
@ddl_target_table = args[:ddl_target_table] if args.key?(:ddl_target_table)
|
4126
|
+
@dml_stats = args[:dml_stats] if args.key?(:dml_stats)
|
4061
4127
|
@estimated_bytes_processed = args[:estimated_bytes_processed] if args.key?(:estimated_bytes_processed)
|
4062
4128
|
@model_training = args[:model_training] if args.key?(:model_training)
|
4063
4129
|
@model_training_current_iteration = args[:model_training_current_iteration] if args.key?(:model_training_current_iteration)
|
@@ -4717,45 +4783,6 @@ module Google
|
|
4717
4783
|
end
|
4718
4784
|
end
|
4719
4785
|
|
4720
|
-
# Principal component infos, used only for eigen decomposition based models, e.g.
|
4721
|
-
# , PCA. Ordered by explained_variance in the descending order.
|
4722
|
-
class PrincipalComponentInfo
|
4723
|
-
include Google::Apis::Core::Hashable
|
4724
|
-
|
4725
|
-
# The explained_variance is pre-ordered in the descending order to compute the
|
4726
|
-
# cumulative explained variance ratio.
|
4727
|
-
# Corresponds to the JSON property `cumulativeExplainedVarianceRatio`
|
4728
|
-
# @return [Float]
|
4729
|
-
attr_accessor :cumulative_explained_variance_ratio
|
4730
|
-
|
4731
|
-
# Explained variance by this principal component, which is simply the eigenvalue.
|
4732
|
-
# Corresponds to the JSON property `explainedVariance`
|
4733
|
-
# @return [Float]
|
4734
|
-
attr_accessor :explained_variance
|
4735
|
-
|
4736
|
-
# Explained_variance over the total explained variance.
|
4737
|
-
# Corresponds to the JSON property `explainedVarianceRatio`
|
4738
|
-
# @return [Float]
|
4739
|
-
attr_accessor :explained_variance_ratio
|
4740
|
-
|
4741
|
-
# Id of the principal component.
|
4742
|
-
# Corresponds to the JSON property `principalComponentId`
|
4743
|
-
# @return [Fixnum]
|
4744
|
-
attr_accessor :principal_component_id
|
4745
|
-
|
4746
|
-
def initialize(**args)
|
4747
|
-
update!(**args)
|
4748
|
-
end
|
4749
|
-
|
4750
|
-
# Update properties of this object
|
4751
|
-
def update!(**args)
|
4752
|
-
@cumulative_explained_variance_ratio = args[:cumulative_explained_variance_ratio] if args.key?(:cumulative_explained_variance_ratio)
|
4753
|
-
@explained_variance = args[:explained_variance] if args.key?(:explained_variance)
|
4754
|
-
@explained_variance_ratio = args[:explained_variance_ratio] if args.key?(:explained_variance_ratio)
|
4755
|
-
@principal_component_id = args[:principal_component_id] if args.key?(:principal_component_id)
|
4756
|
-
end
|
4757
|
-
end
|
4758
|
-
|
4759
4786
|
#
|
4760
4787
|
class ProjectList
|
4761
4788
|
include Google::Apis::Core::Hashable
|
@@ -5168,6 +5195,12 @@ module Google
|
|
5168
5195
|
attr_accessor :cache_hit
|
5169
5196
|
alias_method :cache_hit?, :cache_hit
|
5170
5197
|
|
5198
|
+
# [Output-only] Detailed statistics for DML statements Present only for DML
|
5199
|
+
# statements INSERT, UPDATE, DELETE or TRUNCATE.
|
5200
|
+
# Corresponds to the JSON property `dmlStats`
|
5201
|
+
# @return [Object]
|
5202
|
+
attr_accessor :dml_stats
|
5203
|
+
|
5171
5204
|
# [Output-only] The first errors or warnings encountered during the running of
|
5172
5205
|
# the job. The final message includes the number of errors that caused the
|
5173
5206
|
# process to stop. Errors here do not necessarily mean that the job has
|
@@ -5244,6 +5277,7 @@ module Google
|
|
5244
5277
|
# Update properties of this object
|
5245
5278
|
def update!(**args)
|
5246
5279
|
@cache_hit = args[:cache_hit] if args.key?(:cache_hit)
|
5280
|
+
@dml_stats = args[:dml_stats] if args.key?(:dml_stats)
|
5247
5281
|
@errors = args[:errors] if args.key?(:errors)
|
5248
5282
|
@job_complete = args[:job_complete] if args.key?(:job_complete)
|
5249
5283
|
@job_reference = args[:job_reference] if args.key?(:job_reference)
|
@@ -5875,12 +5909,13 @@ module Google
|
|
5875
5909
|
class SnapshotDefinition
|
5876
5910
|
include Google::Apis::Core::Hashable
|
5877
5911
|
|
5878
|
-
# [Required] Reference describing the ID of the table that
|
5912
|
+
# [Required] Reference describing the ID of the table that was snapshot.
|
5879
5913
|
# Corresponds to the JSON property `baseTableReference`
|
5880
5914
|
# @return [Google::Apis::BigqueryV2::TableReference]
|
5881
5915
|
attr_accessor :base_table_reference
|
5882
5916
|
|
5883
|
-
# [Required] The time at which the base table was snapshot.
|
5917
|
+
# [Required] The time at which the base table was snapshot. This value is
|
5918
|
+
# reported in the JSON response using RFC3339 format.
|
5884
5919
|
# Corresponds to the JSON property `snapshotTime`
|
5885
5920
|
# @return [DateTime]
|
5886
5921
|
attr_accessor :snapshot_time
|
@@ -6489,7 +6524,7 @@ module Google
|
|
6489
6524
|
|
6490
6525
|
# [Required] The field name. The name must contain only letters (a-z, A-Z),
|
6491
6526
|
# numbers (0-9), or underscores (_), and must start with a letter or underscore.
|
6492
|
-
# The maximum length is
|
6527
|
+
# The maximum length is 300 characters.
|
6493
6528
|
# Corresponds to the JSON property `name`
|
6494
6529
|
# @return [String]
|
6495
6530
|
attr_accessor :name
|
@@ -6526,9 +6561,9 @@ module Google
|
|
6526
6561
|
|
6527
6562
|
# [Required] The field data type. Possible values include STRING, BYTES, INTEGER,
|
6528
6563
|
# INT64 (same as INTEGER), FLOAT, FLOAT64 (same as FLOAT), NUMERIC, BIGNUMERIC,
|
6529
|
-
# BOOLEAN, BOOL (same as BOOLEAN), TIMESTAMP, DATE, TIME, DATETIME,
|
6530
|
-
# where RECORD indicates that the field contains a nested schema) or
|
6531
|
-
# same as RECORD).
|
6564
|
+
# BOOLEAN, BOOL (same as BOOLEAN), TIMESTAMP, DATE, TIME, DATETIME, INTERVAL,
|
6565
|
+
# RECORD (where RECORD indicates that the field contains a nested schema) or
|
6566
|
+
# STRUCT (same as RECORD).
|
6532
6567
|
# Corresponds to the JSON property `type`
|
6533
6568
|
# @return [String]
|
6534
6569
|
attr_accessor :type
|
@@ -6904,6 +6939,12 @@ module Google
|
|
6904
6939
|
class TrainingOptions
|
6905
6940
|
include Google::Apis::Core::Hashable
|
6906
6941
|
|
6942
|
+
# If true, detect step changes and make data adjustment in the input time series.
|
6943
|
+
# Corresponds to the JSON property `adjustStepChanges`
|
6944
|
+
# @return [Boolean]
|
6945
|
+
attr_accessor :adjust_step_changes
|
6946
|
+
alias_method :adjust_step_changes?, :adjust_step_changes
|
6947
|
+
|
6907
6948
|
# Whether to enable auto ARIMA or not.
|
6908
6949
|
# Corresponds to the JSON property `autoArima`
|
6909
6950
|
# @return [Boolean]
|
@@ -6920,6 +6961,12 @@ module Google
|
|
6920
6961
|
# @return [Fixnum]
|
6921
6962
|
attr_accessor :batch_size
|
6922
6963
|
|
6964
|
+
# If true, clean spikes and dips in the input time series.
|
6965
|
+
# Corresponds to the JSON property `cleanSpikesAndDips`
|
6966
|
+
# @return [Boolean]
|
6967
|
+
attr_accessor :clean_spikes_and_dips
|
6968
|
+
alias_method :clean_spikes_and_dips?, :clean_spikes_and_dips
|
6969
|
+
|
6923
6970
|
# The data frequency of a time series.
|
6924
6971
|
# Corresponds to the JSON property `dataFrequency`
|
6925
6972
|
# @return [String]
|
@@ -6949,6 +6996,12 @@ module Google
|
|
6949
6996
|
# @return [String]
|
6950
6997
|
attr_accessor :data_split_method
|
6951
6998
|
|
6999
|
+
# If true, perform decompose time series and save the results.
|
7000
|
+
# Corresponds to the JSON property `decomposeTimeSeries`
|
7001
|
+
# @return [Boolean]
|
7002
|
+
attr_accessor :decompose_time_series
|
7003
|
+
alias_method :decompose_time_series?, :decompose_time_series
|
7004
|
+
|
6952
7005
|
# Distance type for clustering models.
|
6953
7006
|
# Corresponds to the JSON property `distanceType`
|
6954
7007
|
# @return [String]
|
@@ -7124,6 +7177,11 @@ module Google
|
|
7124
7177
|
# @return [String]
|
7125
7178
|
attr_accessor :time_series_id_column
|
7126
7179
|
|
7180
|
+
# The time series id columns that were used during ARIMA model training.
|
7181
|
+
# Corresponds to the JSON property `timeSeriesIdColumns`
|
7182
|
+
# @return [Array<String>]
|
7183
|
+
attr_accessor :time_series_id_columns
|
7184
|
+
|
7127
7185
|
# Column to be designated as time series timestamp for ARIMA model.
|
7128
7186
|
# Corresponds to the JSON property `timeSeriesTimestampColumn`
|
7129
7187
|
# @return [String]
|
@@ -7151,13 +7209,16 @@ module Google
|
|
7151
7209
|
|
7152
7210
|
# Update properties of this object
|
7153
7211
|
def update!(**args)
|
7212
|
+
@adjust_step_changes = args[:adjust_step_changes] if args.key?(:adjust_step_changes)
|
7154
7213
|
@auto_arima = args[:auto_arima] if args.key?(:auto_arima)
|
7155
7214
|
@auto_arima_max_order = args[:auto_arima_max_order] if args.key?(:auto_arima_max_order)
|
7156
7215
|
@batch_size = args[:batch_size] if args.key?(:batch_size)
|
7216
|
+
@clean_spikes_and_dips = args[:clean_spikes_and_dips] if args.key?(:clean_spikes_and_dips)
|
7157
7217
|
@data_frequency = args[:data_frequency] if args.key?(:data_frequency)
|
7158
7218
|
@data_split_column = args[:data_split_column] if args.key?(:data_split_column)
|
7159
7219
|
@data_split_eval_fraction = args[:data_split_eval_fraction] if args.key?(:data_split_eval_fraction)
|
7160
7220
|
@data_split_method = args[:data_split_method] if args.key?(:data_split_method)
|
7221
|
+
@decompose_time_series = args[:decompose_time_series] if args.key?(:decompose_time_series)
|
7161
7222
|
@distance_type = args[:distance_type] if args.key?(:distance_type)
|
7162
7223
|
@dropout = args[:dropout] if args.key?(:dropout)
|
7163
7224
|
@early_stop = args[:early_stop] if args.key?(:early_stop)
|
@@ -7190,6 +7251,7 @@ module Google
|
|
7190
7251
|
@subsample = args[:subsample] if args.key?(:subsample)
|
7191
7252
|
@time_series_data_column = args[:time_series_data_column] if args.key?(:time_series_data_column)
|
7192
7253
|
@time_series_id_column = args[:time_series_id_column] if args.key?(:time_series_id_column)
|
7254
|
+
@time_series_id_columns = args[:time_series_id_columns] if args.key?(:time_series_id_columns)
|
7193
7255
|
@time_series_timestamp_column = args[:time_series_timestamp_column] if args.key?(:time_series_timestamp_column)
|
7194
7256
|
@user_column = args[:user_column] if args.key?(:user_column)
|
7195
7257
|
@wals_alpha = args[:wals_alpha] if args.key?(:wals_alpha)
|
@@ -7312,6 +7374,14 @@ module Google
|
|
7312
7374
|
# @return [String]
|
7313
7375
|
attr_accessor :query
|
7314
7376
|
|
7377
|
+
# True if the column names are explicitly specified. For example by using the '
|
7378
|
+
# CREATE VIEW v(c1, c2) AS ...' syntax. Can only be set using BigQuery's
|
7379
|
+
# standard SQL: https://cloud.google.com/bigquery/sql-reference/
|
7380
|
+
# Corresponds to the JSON property `useExplicitColumnNames`
|
7381
|
+
# @return [Boolean]
|
7382
|
+
attr_accessor :use_explicit_column_names
|
7383
|
+
alias_method :use_explicit_column_names?, :use_explicit_column_names
|
7384
|
+
|
7315
7385
|
# Specifies whether to use BigQuery's legacy SQL for this view. The default
|
7316
7386
|
# value is true. If set to false, the view will use BigQuery's standard SQL:
|
7317
7387
|
# https://cloud.google.com/bigquery/sql-reference/ Queries and views that
|
@@ -7333,6 +7403,7 @@ module Google
|
|
7333
7403
|
# Update properties of this object
|
7334
7404
|
def update!(**args)
|
7335
7405
|
@query = args[:query] if args.key?(:query)
|
7406
|
+
@use_explicit_column_names = args[:use_explicit_column_names] if args.key?(:use_explicit_column_names)
|
7336
7407
|
@use_legacy_sql = args[:use_legacy_sql] if args.key?(:use_legacy_sql)
|
7337
7408
|
@user_defined_function_resources = args[:user_defined_function_resources] if args.key?(:user_defined_function_resources)
|
7338
7409
|
end
|
@@ -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.13.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210529"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -256,12 +256,6 @@ module Google
|
|
256
256
|
include Google::Apis::Core::JsonObjectSupport
|
257
257
|
end
|
258
258
|
|
259
|
-
class DimensionalityReductionMetrics
|
260
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
-
|
262
|
-
include Google::Apis::Core::JsonObjectSupport
|
263
|
-
end
|
264
|
-
|
265
259
|
class EncryptionConfiguration
|
266
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
261
|
|
@@ -544,12 +538,6 @@ module Google
|
|
544
538
|
include Google::Apis::Core::JsonObjectSupport
|
545
539
|
end
|
546
540
|
|
547
|
-
class PrincipalComponentInfo
|
548
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
549
|
-
|
550
|
-
include Google::Apis::Core::JsonObjectSupport
|
551
|
-
end
|
552
|
-
|
553
541
|
class ProjectList
|
554
542
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
555
543
|
|
@@ -939,10 +927,14 @@ module Google
|
|
939
927
|
property :arima_fitting_metrics, as: 'arimaFittingMetrics', class: Google::Apis::BigqueryV2::ArimaFittingMetrics, decorator: Google::Apis::BigqueryV2::ArimaFittingMetrics::Representation
|
940
928
|
|
941
929
|
property :has_drift, as: 'hasDrift'
|
930
|
+
property :has_holiday_effect, as: 'hasHolidayEffect'
|
931
|
+
property :has_spikes_and_dips, as: 'hasSpikesAndDips'
|
932
|
+
property :has_step_changes, as: 'hasStepChanges'
|
942
933
|
property :non_seasonal_order, as: 'nonSeasonalOrder', class: Google::Apis::BigqueryV2::ArimaOrder, decorator: Google::Apis::BigqueryV2::ArimaOrder::Representation
|
943
934
|
|
944
935
|
collection :seasonal_periods, as: 'seasonalPeriods'
|
945
936
|
property :time_series_id, as: 'timeSeriesId'
|
937
|
+
collection :time_series_ids, as: 'timeSeriesIds'
|
946
938
|
end
|
947
939
|
end
|
948
940
|
|
@@ -970,10 +962,14 @@ module Google
|
|
970
962
|
property :arima_fitting_metrics, as: 'arimaFittingMetrics', class: Google::Apis::BigqueryV2::ArimaFittingMetrics, decorator: Google::Apis::BigqueryV2::ArimaFittingMetrics::Representation
|
971
963
|
|
972
964
|
property :has_drift, as: 'hasDrift'
|
965
|
+
property :has_holiday_effect, as: 'hasHolidayEffect'
|
966
|
+
property :has_spikes_and_dips, as: 'hasSpikesAndDips'
|
967
|
+
property :has_step_changes, as: 'hasStepChanges'
|
973
968
|
property :non_seasonal_order, as: 'nonSeasonalOrder', class: Google::Apis::BigqueryV2::ArimaOrder, decorator: Google::Apis::BigqueryV2::ArimaOrder::Representation
|
974
969
|
|
975
970
|
collection :seasonal_periods, as: 'seasonalPeriods'
|
976
971
|
property :time_series_id, as: 'timeSeriesId'
|
972
|
+
collection :time_series_ids, as: 'timeSeriesIds'
|
977
973
|
end
|
978
974
|
end
|
979
975
|
|
@@ -1304,13 +1300,6 @@ module Google
|
|
1304
1300
|
end
|
1305
1301
|
end
|
1306
1302
|
|
1307
|
-
class DimensionalityReductionMetrics
|
1308
|
-
# @private
|
1309
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1310
|
-
property :total_explained_variance_ratio, as: 'totalExplainedVarianceRatio'
|
1311
|
-
end
|
1312
|
-
end
|
1313
|
-
|
1314
1303
|
class EncryptionConfiguration
|
1315
1304
|
# @private
|
1316
1305
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1345,8 +1334,6 @@ module Google
|
|
1345
1334
|
|
1346
1335
|
property :clustering_metrics, as: 'clusteringMetrics', class: Google::Apis::BigqueryV2::ClusteringMetrics, decorator: Google::Apis::BigqueryV2::ClusteringMetrics::Representation
|
1347
1336
|
|
1348
|
-
property :dimensionality_reduction_metrics, as: 'dimensionalityReductionMetrics', class: Google::Apis::BigqueryV2::DimensionalityReductionMetrics, decorator: Google::Apis::BigqueryV2::DimensionalityReductionMetrics::Representation
|
1349
|
-
|
1350
1337
|
property :multi_class_classification_metrics, as: 'multiClassClassificationMetrics', class: Google::Apis::BigqueryV2::MultiClassClassificationMetrics, decorator: Google::Apis::BigqueryV2::MultiClassClassificationMetrics::Representation
|
1351
1338
|
|
1352
1339
|
property :ranking_metrics, as: 'rankingMetrics', class: Google::Apis::BigqueryV2::RankingMetrics, decorator: Google::Apis::BigqueryV2::RankingMetrics::Representation
|
@@ -1429,6 +1416,7 @@ module Google
|
|
1429
1416
|
property :connection_id, as: 'connectionId'
|
1430
1417
|
property :csv_options, as: 'csvOptions', class: Google::Apis::BigqueryV2::CsvOptions, decorator: Google::Apis::BigqueryV2::CsvOptions::Representation
|
1431
1418
|
|
1419
|
+
collection :decimal_target_types, as: 'decimalTargetTypes'
|
1432
1420
|
property :google_sheets_options, as: 'googleSheetsOptions', class: Google::Apis::BigqueryV2::GoogleSheetsOptions, decorator: Google::Apis::BigqueryV2::GoogleSheetsOptions::Representation
|
1433
1421
|
|
1434
1422
|
property :hive_partitioning_options, as: 'hivePartitioningOptions', class: Google::Apis::BigqueryV2::HivePartitioningOptions, decorator: Google::Apis::BigqueryV2::HivePartitioningOptions::Representation
|
@@ -1536,8 +1524,6 @@ module Google
|
|
1536
1524
|
property :eval_loss, as: 'evalLoss'
|
1537
1525
|
property :index, as: 'index'
|
1538
1526
|
property :learn_rate, as: 'learnRate'
|
1539
|
-
collection :principal_component_infos, as: 'principalComponentInfos', class: Google::Apis::BigqueryV2::PrincipalComponentInfo, decorator: Google::Apis::BigqueryV2::PrincipalComponentInfo::Representation
|
1540
|
-
|
1541
1527
|
property :training_loss, as: 'trainingLoss'
|
1542
1528
|
end
|
1543
1529
|
end
|
@@ -1775,7 +1761,7 @@ module Google
|
|
1775
1761
|
property :start_time, :numeric_string => true, as: 'startTime'
|
1776
1762
|
property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
|
1777
1763
|
property :total_slot_ms, :numeric_string => true, as: 'totalSlotMs'
|
1778
|
-
property :
|
1764
|
+
property :transaction_info, as: 'transactionInfo', class: Google::Apis::BigqueryV2::TransactionInfo, decorator: Google::Apis::BigqueryV2::TransactionInfo::Representation
|
1779
1765
|
|
1780
1766
|
end
|
1781
1767
|
|
@@ -1794,6 +1780,8 @@ module Google
|
|
1794
1780
|
property :billing_tier, as: 'billingTier'
|
1795
1781
|
property :cache_hit, as: 'cacheHit'
|
1796
1782
|
property :ddl_affected_row_access_policy_count, :numeric_string => true, as: 'ddlAffectedRowAccessPolicyCount'
|
1783
|
+
property :ddl_destination_table, as: 'ddlDestinationTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
|
1784
|
+
|
1797
1785
|
property :ddl_operation_performed, as: 'ddlOperationPerformed'
|
1798
1786
|
property :ddl_target_dataset, as: 'ddlTargetDataset', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
|
1799
1787
|
|
@@ -1803,6 +1791,7 @@ module Google
|
|
1803
1791
|
|
1804
1792
|
property :ddl_target_table, as: 'ddlTargetTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
|
1805
1793
|
|
1794
|
+
property :dml_stats, as: 'dmlStats'
|
1806
1795
|
property :estimated_bytes_processed, :numeric_string => true, as: 'estimatedBytesProcessed'
|
1807
1796
|
property :model_training, as: 'modelTraining', class: Google::Apis::BigqueryV2::BigQueryModelTraining, decorator: Google::Apis::BigqueryV2::BigQueryModelTraining::Representation
|
1808
1797
|
|
@@ -1998,16 +1987,6 @@ module Google
|
|
1998
1987
|
end
|
1999
1988
|
end
|
2000
1989
|
|
2001
|
-
class PrincipalComponentInfo
|
2002
|
-
# @private
|
2003
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2004
|
-
property :cumulative_explained_variance_ratio, as: 'cumulativeExplainedVarianceRatio'
|
2005
|
-
property :explained_variance, as: 'explainedVariance'
|
2006
|
-
property :explained_variance_ratio, as: 'explainedVarianceRatio'
|
2007
|
-
property :principal_component_id, :numeric_string => true, as: 'principalComponentId'
|
2008
|
-
end
|
2009
|
-
end
|
2010
|
-
|
2011
1990
|
class ProjectList
|
2012
1991
|
# @private
|
2013
1992
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2112,6 +2091,7 @@ module Google
|
|
2112
2091
|
# @private
|
2113
2092
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2114
2093
|
property :cache_hit, as: 'cacheHit'
|
2094
|
+
property :dml_stats, as: 'dmlStats'
|
2115
2095
|
collection :errors, as: 'errors', class: Google::Apis::BigqueryV2::ErrorProto, decorator: Google::Apis::BigqueryV2::ErrorProto::Representation
|
2116
2096
|
|
2117
2097
|
property :job_complete, as: 'jobComplete'
|
@@ -2574,13 +2554,16 @@ module Google
|
|
2574
2554
|
class TrainingOptions
|
2575
2555
|
# @private
|
2576
2556
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2557
|
+
property :adjust_step_changes, as: 'adjustStepChanges'
|
2577
2558
|
property :auto_arima, as: 'autoArima'
|
2578
2559
|
property :auto_arima_max_order, :numeric_string => true, as: 'autoArimaMaxOrder'
|
2579
2560
|
property :batch_size, :numeric_string => true, as: 'batchSize'
|
2561
|
+
property :clean_spikes_and_dips, as: 'cleanSpikesAndDips'
|
2580
2562
|
property :data_frequency, as: 'dataFrequency'
|
2581
2563
|
property :data_split_column, as: 'dataSplitColumn'
|
2582
2564
|
property :data_split_eval_fraction, as: 'dataSplitEvalFraction'
|
2583
2565
|
property :data_split_method, as: 'dataSplitMethod'
|
2566
|
+
property :decompose_time_series, as: 'decomposeTimeSeries'
|
2584
2567
|
property :distance_type, as: 'distanceType'
|
2585
2568
|
property :dropout, as: 'dropout'
|
2586
2569
|
property :early_stop, as: 'earlyStop'
|
@@ -2614,6 +2597,7 @@ module Google
|
|
2614
2597
|
property :subsample, as: 'subsample'
|
2615
2598
|
property :time_series_data_column, as: 'timeSeriesDataColumn'
|
2616
2599
|
property :time_series_id_column, as: 'timeSeriesIdColumn'
|
2600
|
+
collection :time_series_id_columns, as: 'timeSeriesIdColumns'
|
2617
2601
|
property :time_series_timestamp_column, as: 'timeSeriesTimestampColumn'
|
2618
2602
|
property :user_column, as: 'userColumn'
|
2619
2603
|
property :wals_alpha, as: 'walsAlpha'
|
@@ -2657,6 +2641,7 @@ module Google
|
|
2657
2641
|
# @private
|
2658
2642
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2659
2643
|
property :query, as: 'query'
|
2644
|
+
property :use_explicit_column_names, as: 'useExplicitColumnNames'
|
2660
2645
|
property :use_legacy_sql, as: 'useLegacySql'
|
2661
2646
|
collection :user_defined_function_resources, as: 'userDefinedFunctionResources', class: Google::Apis::BigqueryV2::UserDefinedFunctionResource, decorator: Google::Apis::BigqueryV2::UserDefinedFunctionResource::Representation
|
2662
2647
|
|
@@ -340,6 +340,47 @@ module Google
|
|
340
340
|
execute_or_queue_command(command, &block)
|
341
341
|
end
|
342
342
|
|
343
|
+
# Requests that a job is deleted. This call will return when the job is deleted.
|
344
|
+
# This method is available in limited preview.
|
345
|
+
# @param [String] project_id
|
346
|
+
# Required. Project ID of the job to be deleted.
|
347
|
+
# @param [String] job_id
|
348
|
+
# Required. Job ID of the job to be deleted. If this is a parent job which has
|
349
|
+
# child jobs, all child jobs will be deleted as well. Deletion of child jobs
|
350
|
+
# directly is not allowed.
|
351
|
+
# @param [String] location
|
352
|
+
# The geographic location of the job. Required. See details at: https://cloud.
|
353
|
+
# google.com/bigquery/docs/locations#specifying_your_location.
|
354
|
+
# @param [String] fields
|
355
|
+
# Selector specifying which fields to include in a partial response.
|
356
|
+
# @param [String] quota_user
|
357
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
358
|
+
# characters.
|
359
|
+
# @param [String] user_ip
|
360
|
+
# Deprecated. Please use quotaUser instead.
|
361
|
+
# @param [Google::Apis::RequestOptions] options
|
362
|
+
# Request-specific options
|
363
|
+
#
|
364
|
+
# @yield [result, err] Result & error if block supplied
|
365
|
+
# @yieldparam result [NilClass] No result returned for this method
|
366
|
+
# @yieldparam err [StandardError] error object if request failed
|
367
|
+
#
|
368
|
+
# @return [void]
|
369
|
+
#
|
370
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
371
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
372
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
373
|
+
def delete_job(project_id, job_id, location: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
374
|
+
command = make_simple_command(:delete, 'projects/{+projectId}/jobs/{+jobId}/delete', options)
|
375
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
376
|
+
command.params['jobId'] = job_id unless job_id.nil?
|
377
|
+
command.query['location'] = location unless location.nil?
|
378
|
+
command.query['fields'] = fields unless fields.nil?
|
379
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
380
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
381
|
+
execute_or_queue_command(command, &block)
|
382
|
+
end
|
383
|
+
|
343
384
|
# Returns information about a specific job. Job information is available for a
|
344
385
|
# six month period after creation. Requires that you're the person who ran the
|
345
386
|
# job, or have the Is Owner project role.
|
@@ -660,6 +701,8 @@ module Google
|
|
660
701
|
end
|
661
702
|
|
662
703
|
# Lists all models in the specified dataset. Requires the READER dataset role.
|
704
|
+
# After retrieving the list of models, you can get information about a
|
705
|
+
# particular model by calling the models.get method.
|
663
706
|
# @param [String] project_id
|
664
707
|
# Required. Project ID of the models to list.
|
665
708
|
# @param [String] dataset_id
|
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.13.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: 2021-
|
11
|
+
date: 2021-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigquery_v2/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.13.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigquery_v2
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for BigQuery API V2
|