google-apis-bigquery_v2 0.9.0 → 0.14.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: b70f30627fcc54e305122d5442de5e82bac938d607850bee31bba0382b2b6d55
4
- data.tar.gz: 5e02bf116b0debbb6806105a48d70f149c6794abe1c25496648a296678aa882f
3
+ metadata.gz: 1a4653c7423f2b5a5c57fd9a1c9e8929254715a8a5b94d06f366b70e23451b31
4
+ data.tar.gz: e7120403ea5d46bc7875d0d4b7f8f7f0653669a8821c29b548568a41f50c2210
5
5
  SHA512:
6
- metadata.gz: 1813455a88fd9af79994b9f3ab42ef1f2c39b58370e6fdd7fd033a6d2943e9abb360ea270b02afa7ab17c9d0a00b46f3f00acce86439773d714c5efa983507ec
7
- data.tar.gz: bec0fc87928500af6243a25a0feeb6346ad55321d44f3d96b6477e59fc6aa736a9d3578c2267751ed5e793aa31221308799474419f54696b23138f947c1a2ccb
6
+ metadata.gz: b92f1746473036f8161c1275e6a09feff1c1d35a7b1812b926f7e3574d7789a4ae0679b7b9952f9fbbb3411792cdb705ca5cee6eaad75f5ef81c03b48d0a4dd4
7
+ data.tar.gz: cc20dfeb62e89fbed175602ed0cbac4a4ec455a30f8ba80a0269e192adfcf80e138e3dcf8c29c0dbfa78b4fb424388a86b7016d91927685fe65fb45b703e4fb3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.14.0 (2021-06-27)
4
+
5
+ * Regenerated from discovery document revision 20210617
6
+
7
+ ### v0.13.0 (2021-06-04)
8
+
9
+ * Regenerated from discovery document revision 20210529
10
+ * Regenerated using generator version 0.3.0
11
+
12
+ ### v0.12.0 (2021-05-28)
13
+
14
+ * Regenerated from discovery document revision 20210518
15
+
16
+ ### v0.11.0 (2021-05-19)
17
+
18
+ * Unspecified changes
19
+
20
+ ### v0.10.0 (2021-05-07)
21
+
22
+ * Regenerated from discovery document revision 20210430
23
+
3
24
  ### v0.9.0 (2021-04-02)
4
25
 
5
26
  * Regenerated from discovery document revision 20210327
@@ -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
 
@@ -475,6 +537,60 @@ module Google
475
537
  end
476
538
  end
477
539
 
540
+ #
541
+ class BiEngineReason
542
+ include Google::Apis::Core::Hashable
543
+
544
+ # [Output-only] High-level BI Engine reason for partial or disabled acceleration.
545
+ # Corresponds to the JSON property `code`
546
+ # @return [String]
547
+ attr_accessor :code
548
+
549
+ # [Output-only] Free form human-readable reason for partial or disabled
550
+ # acceleration.
551
+ # Corresponds to the JSON property `message`
552
+ # @return [String]
553
+ attr_accessor :message
554
+
555
+ def initialize(**args)
556
+ update!(**args)
557
+ end
558
+
559
+ # Update properties of this object
560
+ def update!(**args)
561
+ @code = args[:code] if args.key?(:code)
562
+ @message = args[:message] if args.key?(:message)
563
+ end
564
+ end
565
+
566
+ #
567
+ class BiEngineStatistics
568
+ include Google::Apis::Core::Hashable
569
+
570
+ # [Output-only] Specifies which mode of BI Engine acceleration was performed (if
571
+ # any).
572
+ # Corresponds to the JSON property `biEngineMode`
573
+ # @return [String]
574
+ attr_accessor :bi_engine_mode
575
+
576
+ # In case of DISABLED or PARTIAL bi_engine_mode, these contain the explanatory
577
+ # reasons as to why BI Engine could not accelerate. In case the full query was
578
+ # accelerated, this field is not populated.
579
+ # Corresponds to the JSON property `biEngineReasons`
580
+ # @return [Array<Google::Apis::BigqueryV2::BiEngineReason>]
581
+ attr_accessor :bi_engine_reasons
582
+
583
+ def initialize(**args)
584
+ update!(**args)
585
+ end
586
+
587
+ # Update properties of this object
588
+ def update!(**args)
589
+ @bi_engine_mode = args[:bi_engine_mode] if args.key?(:bi_engine_mode)
590
+ @bi_engine_reasons = args[:bi_engine_reasons] if args.key?(:bi_engine_reasons)
591
+ end
592
+ end
593
+
478
594
  #
479
595
  class BigQueryModelTraining
480
596
  include Google::Apis::Core::Hashable
@@ -1781,14 +1897,24 @@ module Google
1781
1897
  end
1782
1898
  end
1783
1899
 
1784
- # Model evaluation metrics for dimensionality reduction models.
1785
- class DimensionalityReductionMetrics
1900
+ #
1901
+ class DmlStatistics
1786
1902
  include Google::Apis::Core::Hashable
1787
1903
 
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
1904
+ # Number of deleted Rows. populated by DML DELETE, MERGE and TRUNCATE statements.
1905
+ # Corresponds to the JSON property `deletedRowCount`
1906
+ # @return [Fixnum]
1907
+ attr_accessor :deleted_row_count
1908
+
1909
+ # Number of inserted Rows. Populated by DML INSERT and MERGE statements.
1910
+ # Corresponds to the JSON property `insertedRowCount`
1911
+ # @return [Fixnum]
1912
+ attr_accessor :inserted_row_count
1913
+
1914
+ # Number of updated Rows. Populated by DML UPDATE and MERGE statements.
1915
+ # Corresponds to the JSON property `updatedRowCount`
1916
+ # @return [Fixnum]
1917
+ attr_accessor :updated_row_count
1792
1918
 
1793
1919
  def initialize(**args)
1794
1920
  update!(**args)
@@ -1796,7 +1922,9 @@ module Google
1796
1922
 
1797
1923
  # Update properties of this object
1798
1924
  def update!(**args)
1799
- @total_explained_variance_ratio = args[:total_explained_variance_ratio] if args.key?(:total_explained_variance_ratio)
1925
+ @deleted_row_count = args[:deleted_row_count] if args.key?(:deleted_row_count)
1926
+ @inserted_row_count = args[:inserted_row_count] if args.key?(:inserted_row_count)
1927
+ @updated_row_count = args[:updated_row_count] if args.key?(:updated_row_count)
1800
1928
  end
1801
1929
  end
1802
1930
 
@@ -1906,11 +2034,6 @@ module Google
1906
2034
  # @return [Google::Apis::BigqueryV2::ClusteringMetrics]
1907
2035
  attr_accessor :clustering_metrics
1908
2036
 
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
2037
  # Evaluation metrics for multi-class classification/classifier models.
1915
2038
  # Corresponds to the JSON property `multiClassClassificationMetrics`
1916
2039
  # @return [Google::Apis::BigqueryV2::MultiClassClassificationMetrics]
@@ -1937,7 +2060,6 @@ module Google
1937
2060
  @arima_forecasting_metrics = args[:arima_forecasting_metrics] if args.key?(:arima_forecasting_metrics)
1938
2061
  @binary_classification_metrics = args[:binary_classification_metrics] if args.key?(:binary_classification_metrics)
1939
2062
  @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
2063
  @multi_class_classification_metrics = args[:multi_class_classification_metrics] if args.key?(:multi_class_classification_metrics)
1942
2064
  @ranking_metrics = args[:ranking_metrics] if args.key?(:ranking_metrics)
1943
2065
  @regression_metrics = args[:regression_metrics] if args.key?(:regression_metrics)
@@ -2163,32 +2285,6 @@ module Google
2163
2285
  end
2164
2286
  end
2165
2287
 
2166
- # Explanation for a single feature.
2167
- class Explanation
2168
- include Google::Apis::Core::Hashable
2169
-
2170
- # Attribution of feature.
2171
- # Corresponds to the JSON property `attribution`
2172
- # @return [Float]
2173
- attr_accessor :attribution
2174
-
2175
- # Full name of the feature. For non-numerical features, will be formatted like ..
2176
- # Overall size of feature name will always be truncated to first 120 characters.
2177
- # Corresponds to the JSON property `featureName`
2178
- # @return [String]
2179
- attr_accessor :feature_name
2180
-
2181
- def initialize(**args)
2182
- update!(**args)
2183
- end
2184
-
2185
- # Update properties of this object
2186
- def update!(**args)
2187
- @attribution = args[:attribution] if args.key?(:attribution)
2188
- @feature_name = args[:feature_name] if args.key?(:feature_name)
2189
- end
2190
- end
2191
-
2192
2288
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
2193
2289
  # CEL is a C-like expression language. The syntax and semantics of CEL are
2194
2290
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -2276,6 +2372,27 @@ module Google
2276
2372
  # @return [Google::Apis::BigqueryV2::CsvOptions]
2277
2373
  attr_accessor :csv_options
2278
2374
 
2375
+ # [Optional] Defines the list of possible SQL data types to which the source
2376
+ # decimal values are converted. This list and the precision and the scale
2377
+ # parameters of the decimal field determine the target type. In the order of
2378
+ # NUMERIC, BIGNUMERIC, and STRING, a type is picked if it is in the specified
2379
+ # list and if it supports the precision and the scale. STRING supports all
2380
+ # precision and scale values. If none of the listed types supports the precision
2381
+ # and the scale, the type supporting the widest range in the specified list is
2382
+ # picked, and if a value exceeds the supported range when reading the data, an
2383
+ # error will be thrown. Example: Suppose the value of this field is ["NUMERIC", "
2384
+ # BIGNUMERIC"]. If (precision,scale) is: (38,9) -> NUMERIC; (39,9) -> BIGNUMERIC
2385
+ # (NUMERIC cannot hold 30 integer digits); (38,10) -> BIGNUMERIC (NUMERIC cannot
2386
+ # hold 10 fractional digits); (76,38) -> BIGNUMERIC; (77,38) -> BIGNUMERIC (
2387
+ # error if value exeeds supported range). This field cannot contain duplicate
2388
+ # types. The order of the types in this field is ignored. For example, ["
2389
+ # BIGNUMERIC", "NUMERIC"] is the same as ["NUMERIC", "BIGNUMERIC"] and NUMERIC
2390
+ # always takes precedence over BIGNUMERIC. Defaults to ["NUMERIC", "STRING"] for
2391
+ # ORC and ["NUMERIC"] for the other file formats.
2392
+ # Corresponds to the JSON property `decimalTargetTypes`
2393
+ # @return [Array<String>]
2394
+ attr_accessor :decimal_target_types
2395
+
2279
2396
  # [Optional] Additional options if sourceFormat is set to GOOGLE_SHEETS.
2280
2397
  # Corresponds to the JSON property `googleSheetsOptions`
2281
2398
  # @return [Google::Apis::BigqueryV2::GoogleSheetsOptions]
@@ -2353,6 +2470,7 @@ module Google
2353
2470
  @compression = args[:compression] if args.key?(:compression)
2354
2471
  @connection_id = args[:connection_id] if args.key?(:connection_id)
2355
2472
  @csv_options = args[:csv_options] if args.key?(:csv_options)
2473
+ @decimal_target_types = args[:decimal_target_types] if args.key?(:decimal_target_types)
2356
2474
  @google_sheets_options = args[:google_sheets_options] if args.key?(:google_sheets_options)
2357
2475
  @hive_partitioning_options = args[:hive_partitioning_options] if args.key?(:hive_partitioning_options)
2358
2476
  @ignore_unknown_values = args[:ignore_unknown_values] if args.key?(:ignore_unknown_values)
@@ -2565,34 +2683,6 @@ module Google
2565
2683
  end
2566
2684
  end
2567
2685
 
2568
- # Global explanations containing the top most important features after training.
2569
- class GlobalExplanation
2570
- include Google::Apis::Core::Hashable
2571
-
2572
- # Class label for this set of global explanations. Will be empty/null for binary
2573
- # logistic and linear regression models. Sorted alphabetically in descending
2574
- # order.
2575
- # Corresponds to the JSON property `classLabel`
2576
- # @return [String]
2577
- attr_accessor :class_label
2578
-
2579
- # A list of the top global explanations. Sorted by absolute value of attribution
2580
- # in descending order.
2581
- # Corresponds to the JSON property `explanations`
2582
- # @return [Array<Google::Apis::BigqueryV2::Explanation>]
2583
- attr_accessor :explanations
2584
-
2585
- def initialize(**args)
2586
- update!(**args)
2587
- end
2588
-
2589
- # Update properties of this object
2590
- def update!(**args)
2591
- @class_label = args[:class_label] if args.key?(:class_label)
2592
- @explanations = args[:explanations] if args.key?(:explanations)
2593
- end
2594
- end
2595
-
2596
2686
  #
2597
2687
  class GoogleSheetsOptions
2598
2688
  include Google::Apis::Core::Hashable
@@ -2715,11 +2805,6 @@ module Google
2715
2805
  # @return [Float]
2716
2806
  attr_accessor :learn_rate
2717
2807
 
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
2808
  # Loss computed on the training data at the end of iteration.
2724
2809
  # Corresponds to the JSON property `trainingLoss`
2725
2810
  # @return [Float]
@@ -2737,7 +2822,6 @@ module Google
2737
2822
  @eval_loss = args[:eval_loss] if args.key?(:eval_loss)
2738
2823
  @index = args[:index] if args.key?(:index)
2739
2824
  @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
2825
  @training_loss = args[:training_loss] if args.key?(:training_loss)
2742
2826
  end
2743
2827
  end
@@ -3035,24 +3119,23 @@ module Google
3035
3119
  # @return [String]
3036
3120
  attr_accessor :create_disposition
3037
3121
 
3038
- # Defines the list of possible SQL data types to which the source decimal values
3039
- # are converted. This list and the precision and the scale parameters of the
3040
- # decimal field determine the target type. In the order of NUMERIC, BIGNUMERIC ([
3041
- # Preview](/products/#product-launch-stages)), and STRING, a type is picked if
3042
- # it is in the specified list and if it supports the precision and the scale.
3043
- # STRING supports all precision and scale values. If none of the listed types
3044
- # supports the precision and the scale, the type supporting the widest range in
3045
- # the specified list is picked, and if a value exceeds the supported range when
3046
- # reading the data, an error will be thrown. Example: Suppose the value of this
3047
- # field is ["NUMERIC", "BIGNUMERIC"]. If (precision,scale) is: * (38,9) ->
3048
- # NUMERIC; * (39,9) -> BIGNUMERIC (NUMERIC cannot hold 30 integer digits); * (38,
3049
- # 10) -> BIGNUMERIC (NUMERIC cannot hold 10 fractional digits); * (76,38) ->
3050
- # BIGNUMERIC; * (77,38) -> BIGNUMERIC (error if value exeeds supported range).
3051
- # This field cannot contain duplicate types. The order of the types in this
3052
- # field is ignored. For example, ["BIGNUMERIC", "NUMERIC"] is the same as ["
3053
- # NUMERIC", "BIGNUMERIC"] and NUMERIC always takes precedence over BIGNUMERIC.
3054
- # Defaults to ["NUMERIC", "STRING"] for ORC and ["NUMERIC"] for the other file
3055
- # formats.
3122
+ # [Optional] Defines the list of possible SQL data types to which the source
3123
+ # decimal values are converted. This list and the precision and the scale
3124
+ # parameters of the decimal field determine the target type. In the order of
3125
+ # NUMERIC, BIGNUMERIC, and STRING, a type is picked if it is in the specified
3126
+ # list and if it supports the precision and the scale. STRING supports all
3127
+ # precision and scale values. If none of the listed types supports the precision
3128
+ # and the scale, the type supporting the widest range in the specified list is
3129
+ # picked, and if a value exceeds the supported range when reading the data, an
3130
+ # error will be thrown. Example: Suppose the value of this field is ["NUMERIC", "
3131
+ # BIGNUMERIC"]. If (precision,scale) is: (38,9) -> NUMERIC; (39,9) -> BIGNUMERIC
3132
+ # (NUMERIC cannot hold 30 integer digits); (38,10) -> BIGNUMERIC (NUMERIC cannot
3133
+ # hold 10 fractional digits); (76,38) -> BIGNUMERIC; (77,38) -> BIGNUMERIC (
3134
+ # error if value exeeds supported range). This field cannot contain duplicate
3135
+ # types. The order of the types in this field is ignored. For example, ["
3136
+ # BIGNUMERIC", "NUMERIC"] is the same as ["NUMERIC", "BIGNUMERIC"] and NUMERIC
3137
+ # always takes precedence over BIGNUMERIC. Defaults to ["NUMERIC", "STRING"] for
3138
+ # ORC and ["NUMERIC"] for the other file formats.
3056
3139
  # Corresponds to the JSON property `decimalTargetTypes`
3057
3140
  # @return [Array<String>]
3058
3141
  attr_accessor :decimal_target_types
@@ -3793,9 +3876,9 @@ module Google
3793
3876
  attr_accessor :script_statistics
3794
3877
 
3795
3878
  # [Output-only] [Preview] Information of the session if this job is part of one.
3796
- # Corresponds to the JSON property `sessionInfoTemplate`
3879
+ # Corresponds to the JSON property `sessionInfo`
3797
3880
  # @return [Google::Apis::BigqueryV2::SessionInfo]
3798
- attr_accessor :session_info_template
3881
+ attr_accessor :session_info
3799
3882
 
3800
3883
  # [Output-only] Start time of this job, in milliseconds since the epoch. This
3801
3884
  # field will be present when the job transitions from the PENDING state to
@@ -3817,9 +3900,9 @@ module Google
3817
3900
 
3818
3901
  # [Output-only] [Alpha] Information of the multi-statement transaction if this
3819
3902
  # job is part of one.
3820
- # Corresponds to the JSON property `transactionInfoTemplate`
3903
+ # Corresponds to the JSON property `transactionInfo`
3821
3904
  # @return [Google::Apis::BigqueryV2::TransactionInfo]
3822
- attr_accessor :transaction_info_template
3905
+ attr_accessor :transaction_info
3823
3906
 
3824
3907
  def initialize(**args)
3825
3908
  update!(**args)
@@ -3840,11 +3923,11 @@ module Google
3840
3923
  @reservation_id = args[:reservation_id] if args.key?(:reservation_id)
3841
3924
  @row_level_security_statistics = args[:row_level_security_statistics] if args.key?(:row_level_security_statistics)
3842
3925
  @script_statistics = args[:script_statistics] if args.key?(:script_statistics)
3843
- @session_info_template = args[:session_info_template] if args.key?(:session_info_template)
3926
+ @session_info = args[:session_info] if args.key?(:session_info)
3844
3927
  @start_time = args[:start_time] if args.key?(:start_time)
3845
3928
  @total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed)
3846
3929
  @total_slot_ms = args[:total_slot_ms] if args.key?(:total_slot_ms)
3847
- @transaction_info_template = args[:transaction_info_template] if args.key?(:transaction_info_template)
3930
+ @transaction_info = args[:transaction_info] if args.key?(:transaction_info)
3848
3931
  end
3849
3932
 
3850
3933
  #
@@ -3877,6 +3960,11 @@ module Google
3877
3960
  class JobStatistics2
3878
3961
  include Google::Apis::Core::Hashable
3879
3962
 
3963
+ # BI Engine specific Statistics. [Output-only] BI Engine specific Statistics.
3964
+ # Corresponds to the JSON property `biEngineStatistics`
3965
+ # @return [Google::Apis::BigqueryV2::BiEngineStatistics]
3966
+ attr_accessor :bi_engine_statistics
3967
+
3880
3968
  # [Output-only] Billing tier for the job.
3881
3969
  # Corresponds to the JSON property `billingTier`
3882
3970
  # @return [Fixnum]
@@ -3894,6 +3982,12 @@ module Google
3894
3982
  # @return [Fixnum]
3895
3983
  attr_accessor :ddl_affected_row_access_policy_count
3896
3984
 
3985
+ # [Output-only] The DDL destination table. Present only for ALTER TABLE RENAME
3986
+ # TO queries. Note that ddl_target_table is used just for its type information.
3987
+ # Corresponds to the JSON property `ddlDestinationTable`
3988
+ # @return [Google::Apis::BigqueryV2::TableReference]
3989
+ attr_accessor :ddl_destination_table
3990
+
3897
3991
  # The DDL operation performed, possibly dependent on the pre-existence of the
3898
3992
  # DDL target. Possible values (new values might be added in the future): "CREATE"
3899
3993
  # : The query created the DDL target. "SKIP": No-op. Example cases: the query is
@@ -3929,6 +4023,12 @@ module Google
3929
4023
  # @return [Google::Apis::BigqueryV2::TableReference]
3930
4024
  attr_accessor :ddl_target_table
3931
4025
 
4026
+ # [Output-only] Detailed statistics for DML statements Present only for DML
4027
+ # statements INSERT, UPDATE, DELETE or TRUNCATE.
4028
+ # Corresponds to the JSON property `dmlStats`
4029
+ # @return [Google::Apis::BigqueryV2::DmlStatistics]
4030
+ attr_accessor :dml_stats
4031
+
3932
4032
  # [Output-only] The original estimate of bytes processed for the job.
3933
4033
  # Corresponds to the JSON property `estimatedBytesProcessed`
3934
4034
  # @return [Fixnum]
@@ -4050,14 +4150,17 @@ module Google
4050
4150
 
4051
4151
  # Update properties of this object
4052
4152
  def update!(**args)
4153
+ @bi_engine_statistics = args[:bi_engine_statistics] if args.key?(:bi_engine_statistics)
4053
4154
  @billing_tier = args[:billing_tier] if args.key?(:billing_tier)
4054
4155
  @cache_hit = args[:cache_hit] if args.key?(:cache_hit)
4055
4156
  @ddl_affected_row_access_policy_count = args[:ddl_affected_row_access_policy_count] if args.key?(:ddl_affected_row_access_policy_count)
4157
+ @ddl_destination_table = args[:ddl_destination_table] if args.key?(:ddl_destination_table)
4056
4158
  @ddl_operation_performed = args[:ddl_operation_performed] if args.key?(:ddl_operation_performed)
4057
4159
  @ddl_target_dataset = args[:ddl_target_dataset] if args.key?(:ddl_target_dataset)
4058
4160
  @ddl_target_routine = args[:ddl_target_routine] if args.key?(:ddl_target_routine)
4059
4161
  @ddl_target_row_access_policy = args[:ddl_target_row_access_policy] if args.key?(:ddl_target_row_access_policy)
4060
4162
  @ddl_target_table = args[:ddl_target_table] if args.key?(:ddl_target_table)
4163
+ @dml_stats = args[:dml_stats] if args.key?(:dml_stats)
4061
4164
  @estimated_bytes_processed = args[:estimated_bytes_processed] if args.key?(:estimated_bytes_processed)
4062
4165
  @model_training = args[:model_training] if args.key?(:model_training)
4063
4166
  @model_training_current_iteration = args[:model_training_current_iteration] if args.key?(:model_training_current_iteration)
@@ -4717,45 +4820,6 @@ module Google
4717
4820
  end
4718
4821
  end
4719
4822
 
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
4823
  #
4760
4824
  class ProjectList
4761
4825
  include Google::Apis::Core::Hashable
@@ -5168,6 +5232,12 @@ module Google
5168
5232
  attr_accessor :cache_hit
5169
5233
  alias_method :cache_hit?, :cache_hit
5170
5234
 
5235
+ # [Output-only] Detailed statistics for DML statements Present only for DML
5236
+ # statements INSERT, UPDATE, DELETE or TRUNCATE.
5237
+ # Corresponds to the JSON property `dmlStats`
5238
+ # @return [Google::Apis::BigqueryV2::DmlStatistics]
5239
+ attr_accessor :dml_stats
5240
+
5171
5241
  # [Output-only] The first errors or warnings encountered during the running of
5172
5242
  # the job. The final message includes the number of errors that caused the
5173
5243
  # process to stop. Errors here do not necessarily mean that the job has
@@ -5244,6 +5314,7 @@ module Google
5244
5314
  # Update properties of this object
5245
5315
  def update!(**args)
5246
5316
  @cache_hit = args[:cache_hit] if args.key?(:cache_hit)
5317
+ @dml_stats = args[:dml_stats] if args.key?(:dml_stats)
5247
5318
  @errors = args[:errors] if args.key?(:errors)
5248
5319
  @job_complete = args[:job_complete] if args.key?(:job_complete)
5249
5320
  @job_reference = args[:job_reference] if args.key?(:job_reference)
@@ -5875,12 +5946,13 @@ module Google
5875
5946
  class SnapshotDefinition
5876
5947
  include Google::Apis::Core::Hashable
5877
5948
 
5878
- # [Required] Reference describing the ID of the table that is snapshotted.
5949
+ # [Required] Reference describing the ID of the table that was snapshot.
5879
5950
  # Corresponds to the JSON property `baseTableReference`
5880
5951
  # @return [Google::Apis::BigqueryV2::TableReference]
5881
5952
  attr_accessor :base_table_reference
5882
5953
 
5883
- # [Required] The time at which the base table was snapshot.
5954
+ # [Required] The time at which the base table was snapshot. This value is
5955
+ # reported in the JSON response using RFC3339 format.
5884
5956
  # Corresponds to the JSON property `snapshotTime`
5885
5957
  # @return [DateTime]
5886
5958
  attr_accessor :snapshot_time
@@ -6489,7 +6561,7 @@ module Google
6489
6561
 
6490
6562
  # [Required] The field name. The name must contain only letters (a-z, A-Z),
6491
6563
  # numbers (0-9), or underscores (_), and must start with a letter or underscore.
6492
- # The maximum length is 128 characters.
6564
+ # The maximum length is 300 characters.
6493
6565
  # Corresponds to the JSON property `name`
6494
6566
  # @return [String]
6495
6567
  attr_accessor :name
@@ -6904,6 +6976,12 @@ module Google
6904
6976
  class TrainingOptions
6905
6977
  include Google::Apis::Core::Hashable
6906
6978
 
6979
+ # If true, detect step changes and make data adjustment in the input time series.
6980
+ # Corresponds to the JSON property `adjustStepChanges`
6981
+ # @return [Boolean]
6982
+ attr_accessor :adjust_step_changes
6983
+ alias_method :adjust_step_changes?, :adjust_step_changes
6984
+
6907
6985
  # Whether to enable auto ARIMA or not.
6908
6986
  # Corresponds to the JSON property `autoArima`
6909
6987
  # @return [Boolean]
@@ -6920,6 +6998,12 @@ module Google
6920
6998
  # @return [Fixnum]
6921
6999
  attr_accessor :batch_size
6922
7000
 
7001
+ # If true, clean spikes and dips in the input time series.
7002
+ # Corresponds to the JSON property `cleanSpikesAndDips`
7003
+ # @return [Boolean]
7004
+ attr_accessor :clean_spikes_and_dips
7005
+ alias_method :clean_spikes_and_dips?, :clean_spikes_and_dips
7006
+
6923
7007
  # The data frequency of a time series.
6924
7008
  # Corresponds to the JSON property `dataFrequency`
6925
7009
  # @return [String]
@@ -6949,6 +7033,12 @@ module Google
6949
7033
  # @return [String]
6950
7034
  attr_accessor :data_split_method
6951
7035
 
7036
+ # If true, perform decompose time series and save the results.
7037
+ # Corresponds to the JSON property `decomposeTimeSeries`
7038
+ # @return [Boolean]
7039
+ attr_accessor :decompose_time_series
7040
+ alias_method :decompose_time_series?, :decompose_time_series
7041
+
6952
7042
  # Distance type for clustering models.
6953
7043
  # Corresponds to the JSON property `distanceType`
6954
7044
  # @return [String]
@@ -7124,6 +7214,11 @@ module Google
7124
7214
  # @return [String]
7125
7215
  attr_accessor :time_series_id_column
7126
7216
 
7217
+ # The time series id columns that were used during ARIMA model training.
7218
+ # Corresponds to the JSON property `timeSeriesIdColumns`
7219
+ # @return [Array<String>]
7220
+ attr_accessor :time_series_id_columns
7221
+
7127
7222
  # Column to be designated as time series timestamp for ARIMA model.
7128
7223
  # Corresponds to the JSON property `timeSeriesTimestampColumn`
7129
7224
  # @return [String]
@@ -7151,13 +7246,16 @@ module Google
7151
7246
 
7152
7247
  # Update properties of this object
7153
7248
  def update!(**args)
7249
+ @adjust_step_changes = args[:adjust_step_changes] if args.key?(:adjust_step_changes)
7154
7250
  @auto_arima = args[:auto_arima] if args.key?(:auto_arima)
7155
7251
  @auto_arima_max_order = args[:auto_arima_max_order] if args.key?(:auto_arima_max_order)
7156
7252
  @batch_size = args[:batch_size] if args.key?(:batch_size)
7253
+ @clean_spikes_and_dips = args[:clean_spikes_and_dips] if args.key?(:clean_spikes_and_dips)
7157
7254
  @data_frequency = args[:data_frequency] if args.key?(:data_frequency)
7158
7255
  @data_split_column = args[:data_split_column] if args.key?(:data_split_column)
7159
7256
  @data_split_eval_fraction = args[:data_split_eval_fraction] if args.key?(:data_split_eval_fraction)
7160
7257
  @data_split_method = args[:data_split_method] if args.key?(:data_split_method)
7258
+ @decompose_time_series = args[:decompose_time_series] if args.key?(:decompose_time_series)
7161
7259
  @distance_type = args[:distance_type] if args.key?(:distance_type)
7162
7260
  @dropout = args[:dropout] if args.key?(:dropout)
7163
7261
  @early_stop = args[:early_stop] if args.key?(:early_stop)
@@ -7190,6 +7288,7 @@ module Google
7190
7288
  @subsample = args[:subsample] if args.key?(:subsample)
7191
7289
  @time_series_data_column = args[:time_series_data_column] if args.key?(:time_series_data_column)
7192
7290
  @time_series_id_column = args[:time_series_id_column] if args.key?(:time_series_id_column)
7291
+ @time_series_id_columns = args[:time_series_id_columns] if args.key?(:time_series_id_columns)
7193
7292
  @time_series_timestamp_column = args[:time_series_timestamp_column] if args.key?(:time_series_timestamp_column)
7194
7293
  @user_column = args[:user_column] if args.key?(:user_column)
7195
7294
  @wals_alpha = args[:wals_alpha] if args.key?(:wals_alpha)
@@ -7214,13 +7313,6 @@ module Google
7214
7313
  # @return [Google::Apis::BigqueryV2::EvaluationMetrics]
7215
7314
  attr_accessor :evaluation_metrics
7216
7315
 
7217
- # Global explanations for important features of the model. For multi-class
7218
- # models, there is one entry for each label class. For other models, there is
7219
- # only one entry in the list.
7220
- # Corresponds to the JSON property `globalExplanations`
7221
- # @return [Array<Google::Apis::BigqueryV2::GlobalExplanation>]
7222
- attr_accessor :global_explanations
7223
-
7224
7316
  # Output of each iteration run, results.size() <= max_iterations.
7225
7317
  # Corresponds to the JSON property `results`
7226
7318
  # @return [Array<Google::Apis::BigqueryV2::IterationResult>]
@@ -7244,7 +7336,6 @@ module Google
7244
7336
  def update!(**args)
7245
7337
  @data_split_result = args[:data_split_result] if args.key?(:data_split_result)
7246
7338
  @evaluation_metrics = args[:evaluation_metrics] if args.key?(:evaluation_metrics)
7247
- @global_explanations = args[:global_explanations] if args.key?(:global_explanations)
7248
7339
  @results = args[:results] if args.key?(:results)
7249
7340
  @start_time = args[:start_time] if args.key?(:start_time)
7250
7341
  @training_options = args[:training_options] if args.key?(:training_options)
@@ -7312,6 +7403,14 @@ module Google
7312
7403
  # @return [String]
7313
7404
  attr_accessor :query
7314
7405
 
7406
+ # True if the column names are explicitly specified. For example by using the '
7407
+ # CREATE VIEW v(c1, c2) AS ...' syntax. Can only be set using BigQuery's
7408
+ # standard SQL: https://cloud.google.com/bigquery/sql-reference/
7409
+ # Corresponds to the JSON property `useExplicitColumnNames`
7410
+ # @return [Boolean]
7411
+ attr_accessor :use_explicit_column_names
7412
+ alias_method :use_explicit_column_names?, :use_explicit_column_names
7413
+
7315
7414
  # Specifies whether to use BigQuery's legacy SQL for this view. The default
7316
7415
  # value is true. If set to false, the view will use BigQuery's standard SQL:
7317
7416
  # https://cloud.google.com/bigquery/sql-reference/ Queries and views that
@@ -7333,6 +7432,7 @@ module Google
7333
7432
  # Update properties of this object
7334
7433
  def update!(**args)
7335
7434
  @query = args[:query] if args.key?(:query)
7435
+ @use_explicit_column_names = args[:use_explicit_column_names] if args.key?(:use_explicit_column_names)
7336
7436
  @use_legacy_sql = args[:use_legacy_sql] if args.key?(:use_legacy_sql)
7337
7437
  @user_defined_function_resources = args[:user_defined_function_resources] if args.key?(:user_defined_function_resources)
7338
7438
  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.9.0"
19
+ GEM_VERSION = "0.14.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210327"
25
+ REVISION = "20210617"
26
26
  end
27
27
  end
28
28
  end
@@ -88,6 +88,18 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class BiEngineReason
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class BiEngineStatistics
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
91
103
  class BigQueryModelTraining
92
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
105
 
@@ -256,7 +268,7 @@ module Google
256
268
  include Google::Apis::Core::JsonObjectSupport
257
269
  end
258
270
 
259
- class DimensionalityReductionMetrics
271
+ class DmlStatistics
260
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
273
 
262
274
  include Google::Apis::Core::JsonObjectSupport
@@ -298,12 +310,6 @@ module Google
298
310
  include Google::Apis::Core::JsonObjectSupport
299
311
  end
300
312
 
301
- class Explanation
302
- class Representation < Google::Apis::Core::JsonRepresentation; end
303
-
304
- include Google::Apis::Core::JsonObjectSupport
305
- end
306
-
307
313
  class Expr
308
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
315
 
@@ -346,12 +352,6 @@ module Google
346
352
  include Google::Apis::Core::JsonObjectSupport
347
353
  end
348
354
 
349
- class GlobalExplanation
350
- class Representation < Google::Apis::Core::JsonRepresentation; end
351
-
352
- include Google::Apis::Core::JsonObjectSupport
353
- end
354
-
355
355
  class GoogleSheetsOptions
356
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
357
 
@@ -544,12 +544,6 @@ module Google
544
544
  include Google::Apis::Core::JsonObjectSupport
545
545
  end
546
546
 
547
- class PrincipalComponentInfo
548
- class Representation < Google::Apis::Core::JsonRepresentation; end
549
-
550
- include Google::Apis::Core::JsonObjectSupport
551
- end
552
-
553
547
  class ProjectList
554
548
  class Representation < Google::Apis::Core::JsonRepresentation; end
555
549
 
@@ -939,10 +933,14 @@ module Google
939
933
  property :arima_fitting_metrics, as: 'arimaFittingMetrics', class: Google::Apis::BigqueryV2::ArimaFittingMetrics, decorator: Google::Apis::BigqueryV2::ArimaFittingMetrics::Representation
940
934
 
941
935
  property :has_drift, as: 'hasDrift'
936
+ property :has_holiday_effect, as: 'hasHolidayEffect'
937
+ property :has_spikes_and_dips, as: 'hasSpikesAndDips'
938
+ property :has_step_changes, as: 'hasStepChanges'
942
939
  property :non_seasonal_order, as: 'nonSeasonalOrder', class: Google::Apis::BigqueryV2::ArimaOrder, decorator: Google::Apis::BigqueryV2::ArimaOrder::Representation
943
940
 
944
941
  collection :seasonal_periods, as: 'seasonalPeriods'
945
942
  property :time_series_id, as: 'timeSeriesId'
943
+ collection :time_series_ids, as: 'timeSeriesIds'
946
944
  end
947
945
  end
948
946
 
@@ -970,10 +968,14 @@ module Google
970
968
  property :arima_fitting_metrics, as: 'arimaFittingMetrics', class: Google::Apis::BigqueryV2::ArimaFittingMetrics, decorator: Google::Apis::BigqueryV2::ArimaFittingMetrics::Representation
971
969
 
972
970
  property :has_drift, as: 'hasDrift'
971
+ property :has_holiday_effect, as: 'hasHolidayEffect'
972
+ property :has_spikes_and_dips, as: 'hasSpikesAndDips'
973
+ property :has_step_changes, as: 'hasStepChanges'
973
974
  property :non_seasonal_order, as: 'nonSeasonalOrder', class: Google::Apis::BigqueryV2::ArimaOrder, decorator: Google::Apis::BigqueryV2::ArimaOrder::Representation
974
975
 
975
976
  collection :seasonal_periods, as: 'seasonalPeriods'
976
977
  property :time_series_id, as: 'timeSeriesId'
978
+ collection :time_series_ids, as: 'timeSeriesIds'
977
979
  end
978
980
  end
979
981
 
@@ -994,6 +996,23 @@ module Google
994
996
  end
995
997
  end
996
998
 
999
+ class BiEngineReason
1000
+ # @private
1001
+ class Representation < Google::Apis::Core::JsonRepresentation
1002
+ property :code, as: 'code'
1003
+ property :message, as: 'message'
1004
+ end
1005
+ end
1006
+
1007
+ class BiEngineStatistics
1008
+ # @private
1009
+ class Representation < Google::Apis::Core::JsonRepresentation
1010
+ property :bi_engine_mode, as: 'biEngineMode'
1011
+ collection :bi_engine_reasons, as: 'biEngineReasons', class: Google::Apis::BigqueryV2::BiEngineReason, decorator: Google::Apis::BigqueryV2::BiEngineReason::Representation
1012
+
1013
+ end
1014
+ end
1015
+
997
1016
  class BigQueryModelTraining
998
1017
  # @private
999
1018
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1304,10 +1323,12 @@ module Google
1304
1323
  end
1305
1324
  end
1306
1325
 
1307
- class DimensionalityReductionMetrics
1326
+ class DmlStatistics
1308
1327
  # @private
1309
1328
  class Representation < Google::Apis::Core::JsonRepresentation
1310
- property :total_explained_variance_ratio, as: 'totalExplainedVarianceRatio'
1329
+ property :deleted_row_count, :numeric_string => true, as: 'deletedRowCount'
1330
+ property :inserted_row_count, :numeric_string => true, as: 'insertedRowCount'
1331
+ property :updated_row_count, :numeric_string => true, as: 'updatedRowCount'
1311
1332
  end
1312
1333
  end
1313
1334
 
@@ -1345,8 +1366,6 @@ module Google
1345
1366
 
1346
1367
  property :clustering_metrics, as: 'clusteringMetrics', class: Google::Apis::BigqueryV2::ClusteringMetrics, decorator: Google::Apis::BigqueryV2::ClusteringMetrics::Representation
1347
1368
 
1348
- property :dimensionality_reduction_metrics, as: 'dimensionalityReductionMetrics', class: Google::Apis::BigqueryV2::DimensionalityReductionMetrics, decorator: Google::Apis::BigqueryV2::DimensionalityReductionMetrics::Representation
1349
-
1350
1369
  property :multi_class_classification_metrics, as: 'multiClassClassificationMetrics', class: Google::Apis::BigqueryV2::MultiClassClassificationMetrics, decorator: Google::Apis::BigqueryV2::MultiClassClassificationMetrics::Representation
1351
1370
 
1352
1371
  property :ranking_metrics, as: 'rankingMetrics', class: Google::Apis::BigqueryV2::RankingMetrics, decorator: Google::Apis::BigqueryV2::RankingMetrics::Representation
@@ -1401,14 +1420,6 @@ module Google
1401
1420
  end
1402
1421
  end
1403
1422
 
1404
- class Explanation
1405
- # @private
1406
- class Representation < Google::Apis::Core::JsonRepresentation
1407
- property :attribution, as: 'attribution'
1408
- property :feature_name, as: 'featureName'
1409
- end
1410
- end
1411
-
1412
1423
  class Expr
1413
1424
  # @private
1414
1425
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1429,6 +1440,7 @@ module Google
1429
1440
  property :connection_id, as: 'connectionId'
1430
1441
  property :csv_options, as: 'csvOptions', class: Google::Apis::BigqueryV2::CsvOptions, decorator: Google::Apis::BigqueryV2::CsvOptions::Representation
1431
1442
 
1443
+ collection :decimal_target_types, as: 'decimalTargetTypes'
1432
1444
  property :google_sheets_options, as: 'googleSheetsOptions', class: Google::Apis::BigqueryV2::GoogleSheetsOptions, decorator: Google::Apis::BigqueryV2::GoogleSheetsOptions::Representation
1433
1445
 
1434
1446
  property :hive_partitioning_options, as: 'hivePartitioningOptions', class: Google::Apis::BigqueryV2::HivePartitioningOptions, decorator: Google::Apis::BigqueryV2::HivePartitioningOptions::Representation
@@ -1499,15 +1511,6 @@ module Google
1499
1511
  end
1500
1512
  end
1501
1513
 
1502
- class GlobalExplanation
1503
- # @private
1504
- class Representation < Google::Apis::Core::JsonRepresentation
1505
- property :class_label, as: 'classLabel'
1506
- collection :explanations, as: 'explanations', class: Google::Apis::BigqueryV2::Explanation, decorator: Google::Apis::BigqueryV2::Explanation::Representation
1507
-
1508
- end
1509
- end
1510
-
1511
1514
  class GoogleSheetsOptions
1512
1515
  # @private
1513
1516
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1536,8 +1539,6 @@ module Google
1536
1539
  property :eval_loss, as: 'evalLoss'
1537
1540
  property :index, as: 'index'
1538
1541
  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
1542
  property :training_loss, as: 'trainingLoss'
1542
1543
  end
1543
1544
  end
@@ -1770,12 +1771,12 @@ module Google
1770
1771
 
1771
1772
  property :script_statistics, as: 'scriptStatistics', class: Google::Apis::BigqueryV2::ScriptStatistics, decorator: Google::Apis::BigqueryV2::ScriptStatistics::Representation
1772
1773
 
1773
- property :session_info_template, as: 'sessionInfoTemplate', class: Google::Apis::BigqueryV2::SessionInfo, decorator: Google::Apis::BigqueryV2::SessionInfo::Representation
1774
+ property :session_info, as: 'sessionInfo', class: Google::Apis::BigqueryV2::SessionInfo, decorator: Google::Apis::BigqueryV2::SessionInfo::Representation
1774
1775
 
1775
1776
  property :start_time, :numeric_string => true, as: 'startTime'
1776
1777
  property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
1777
1778
  property :total_slot_ms, :numeric_string => true, as: 'totalSlotMs'
1778
- property :transaction_info_template, as: 'transactionInfoTemplate', class: Google::Apis::BigqueryV2::TransactionInfo, decorator: Google::Apis::BigqueryV2::TransactionInfo::Representation
1779
+ property :transaction_info, as: 'transactionInfo', class: Google::Apis::BigqueryV2::TransactionInfo, decorator: Google::Apis::BigqueryV2::TransactionInfo::Representation
1779
1780
 
1780
1781
  end
1781
1782
 
@@ -1791,9 +1792,13 @@ module Google
1791
1792
  class JobStatistics2
1792
1793
  # @private
1793
1794
  class Representation < Google::Apis::Core::JsonRepresentation
1795
+ property :bi_engine_statistics, as: 'biEngineStatistics', class: Google::Apis::BigqueryV2::BiEngineStatistics, decorator: Google::Apis::BigqueryV2::BiEngineStatistics::Representation
1796
+
1794
1797
  property :billing_tier, as: 'billingTier'
1795
1798
  property :cache_hit, as: 'cacheHit'
1796
1799
  property :ddl_affected_row_access_policy_count, :numeric_string => true, as: 'ddlAffectedRowAccessPolicyCount'
1800
+ property :ddl_destination_table, as: 'ddlDestinationTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
1801
+
1797
1802
  property :ddl_operation_performed, as: 'ddlOperationPerformed'
1798
1803
  property :ddl_target_dataset, as: 'ddlTargetDataset', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
1799
1804
 
@@ -1803,6 +1808,8 @@ module Google
1803
1808
 
1804
1809
  property :ddl_target_table, as: 'ddlTargetTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
1805
1810
 
1811
+ property :dml_stats, as: 'dmlStats', class: Google::Apis::BigqueryV2::DmlStatistics, decorator: Google::Apis::BigqueryV2::DmlStatistics::Representation
1812
+
1806
1813
  property :estimated_bytes_processed, :numeric_string => true, as: 'estimatedBytesProcessed'
1807
1814
  property :model_training, as: 'modelTraining', class: Google::Apis::BigqueryV2::BigQueryModelTraining, decorator: Google::Apis::BigqueryV2::BigQueryModelTraining::Representation
1808
1815
 
@@ -1998,16 +2005,6 @@ module Google
1998
2005
  end
1999
2006
  end
2000
2007
 
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
2008
  class ProjectList
2012
2009
  # @private
2013
2010
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2112,6 +2109,8 @@ module Google
2112
2109
  # @private
2113
2110
  class Representation < Google::Apis::Core::JsonRepresentation
2114
2111
  property :cache_hit, as: 'cacheHit'
2112
+ property :dml_stats, as: 'dmlStats', class: Google::Apis::BigqueryV2::DmlStatistics, decorator: Google::Apis::BigqueryV2::DmlStatistics::Representation
2113
+
2115
2114
  collection :errors, as: 'errors', class: Google::Apis::BigqueryV2::ErrorProto, decorator: Google::Apis::BigqueryV2::ErrorProto::Representation
2116
2115
 
2117
2116
  property :job_complete, as: 'jobComplete'
@@ -2574,13 +2573,16 @@ module Google
2574
2573
  class TrainingOptions
2575
2574
  # @private
2576
2575
  class Representation < Google::Apis::Core::JsonRepresentation
2576
+ property :adjust_step_changes, as: 'adjustStepChanges'
2577
2577
  property :auto_arima, as: 'autoArima'
2578
2578
  property :auto_arima_max_order, :numeric_string => true, as: 'autoArimaMaxOrder'
2579
2579
  property :batch_size, :numeric_string => true, as: 'batchSize'
2580
+ property :clean_spikes_and_dips, as: 'cleanSpikesAndDips'
2580
2581
  property :data_frequency, as: 'dataFrequency'
2581
2582
  property :data_split_column, as: 'dataSplitColumn'
2582
2583
  property :data_split_eval_fraction, as: 'dataSplitEvalFraction'
2583
2584
  property :data_split_method, as: 'dataSplitMethod'
2585
+ property :decompose_time_series, as: 'decomposeTimeSeries'
2584
2586
  property :distance_type, as: 'distanceType'
2585
2587
  property :dropout, as: 'dropout'
2586
2588
  property :early_stop, as: 'earlyStop'
@@ -2614,6 +2616,7 @@ module Google
2614
2616
  property :subsample, as: 'subsample'
2615
2617
  property :time_series_data_column, as: 'timeSeriesDataColumn'
2616
2618
  property :time_series_id_column, as: 'timeSeriesIdColumn'
2619
+ collection :time_series_id_columns, as: 'timeSeriesIdColumns'
2617
2620
  property :time_series_timestamp_column, as: 'timeSeriesTimestampColumn'
2618
2621
  property :user_column, as: 'userColumn'
2619
2622
  property :wals_alpha, as: 'walsAlpha'
@@ -2628,8 +2631,6 @@ module Google
2628
2631
 
2629
2632
  property :evaluation_metrics, as: 'evaluationMetrics', class: Google::Apis::BigqueryV2::EvaluationMetrics, decorator: Google::Apis::BigqueryV2::EvaluationMetrics::Representation
2630
2633
 
2631
- collection :global_explanations, as: 'globalExplanations', class: Google::Apis::BigqueryV2::GlobalExplanation, decorator: Google::Apis::BigqueryV2::GlobalExplanation::Representation
2632
-
2633
2634
  collection :results, as: 'results', class: Google::Apis::BigqueryV2::IterationResult, decorator: Google::Apis::BigqueryV2::IterationResult::Representation
2634
2635
 
2635
2636
  property :start_time, as: 'startTime'
@@ -2657,6 +2658,7 @@ module Google
2657
2658
  # @private
2658
2659
  class Representation < Google::Apis::Core::JsonRepresentation
2659
2660
  property :query, as: 'query'
2661
+ property :use_explicit_column_names, as: 'useExplicitColumnNames'
2660
2662
  property :use_legacy_sql, as: 'useLegacySql'
2661
2663
  collection :user_defined_function_resources, as: 'userDefinedFunctionResources', class: Google::Apis::BigqueryV2::UserDefinedFunctionResource, decorator: Google::Apis::BigqueryV2::UserDefinedFunctionResource::Representation
2662
2664
 
@@ -701,6 +701,8 @@ module Google
701
701
  end
702
702
 
703
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.
704
706
  # @param [String] project_id
705
707
  # Required. Project ID of the models to list.
706
708
  # @param [String] dataset_id
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-bigquery_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.14.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-04-05 00:00:00.000000000 Z
11
+ date: 2021-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.3'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.3'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for BigQuery API V2. Simple REST clients
28
34
  are Ruby client libraries that provide access to Google services via their HTTP
29
35
  REST API endpoints. These libraries are generated and updated automatically based
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  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.9.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.14.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigquery_v2
57
63
  post_install_message:
58
64
  rdoc_options: []
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
75
  - !ruby/object:Gem::Version
70
76
  version: '0'
71
77
  requirements: []
72
- rubygems_version: 3.2.13
78
+ rubygems_version: 3.2.17
73
79
  signing_key:
74
80
  specification_version: 4
75
81
  summary: Simple REST client for BigQuery API V2