google-apis-bigquery_v2 0.12.0 → 0.16.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 +17 -0
- data/lib/google/apis/bigquery_v2/classes.rb +220 -96
- data/lib/google/apis/bigquery_v2/gem_version.rb +3 -3
- data/lib/google/apis/bigquery_v2/representations.rb +73 -34
- data/lib/google/apis/bigquery_v2.rb +5 -5
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c56bd25eff0f8c009964ca73eb8ae1476978917197c494063e3a780d2d2e4392
|
4
|
+
data.tar.gz: 7b9698870bca8b7ef465ae71e914b1c16b97e8227c7288d080cc820cffa7a5e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e12cdba6cd580092483799616e4a5b6f07acdc881f099efb063dc1272a81d7a7d110cdada197090ed08a5600f3f76b8b9bc1b571f6ea6b8b0905cae8400fd0df
|
7
|
+
data.tar.gz: d2025d016e4e7f6438c887c10efa7898edeead00694b7f9d24c4b198cea6f93b23ab4faded61e10d74a0f2b547607d06e6159b391afafa86d41b2a230dfdf9d5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-bigquery_v2
|
2
2
|
|
3
|
+
### v0.16.0 (2021-09-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210828
|
6
|
+
|
7
|
+
### v0.15.0 (2021-06-29)
|
8
|
+
|
9
|
+
* Regenerated using generator version 0.4.0
|
10
|
+
|
11
|
+
### v0.14.0 (2021-06-27)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210617
|
14
|
+
|
15
|
+
### v0.13.0 (2021-06-04)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210529
|
18
|
+
* Regenerated using generator version 0.3.0
|
19
|
+
|
3
20
|
### v0.12.0 (2021-05-28)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210518
|
@@ -537,6 +537,82 @@ module Google
|
|
537
537
|
end
|
538
538
|
end
|
539
539
|
|
540
|
+
#
|
541
|
+
class AvroOptions
|
542
|
+
include Google::Apis::Core::Hashable
|
543
|
+
|
544
|
+
# [Optional] If set to true will enable interpreting logical types into their
|
545
|
+
# corresponding types (ie. TIMESTAMP), instead of only using their raw types (ie.
|
546
|
+
# INTEGER).
|
547
|
+
# Corresponds to the JSON property `useAvroLogicalTypes`
|
548
|
+
# @return [Boolean]
|
549
|
+
attr_accessor :use_avro_logical_types
|
550
|
+
alias_method :use_avro_logical_types?, :use_avro_logical_types
|
551
|
+
|
552
|
+
def initialize(**args)
|
553
|
+
update!(**args)
|
554
|
+
end
|
555
|
+
|
556
|
+
# Update properties of this object
|
557
|
+
def update!(**args)
|
558
|
+
@use_avro_logical_types = args[:use_avro_logical_types] if args.key?(:use_avro_logical_types)
|
559
|
+
end
|
560
|
+
end
|
561
|
+
|
562
|
+
#
|
563
|
+
class BiEngineReason
|
564
|
+
include Google::Apis::Core::Hashable
|
565
|
+
|
566
|
+
# [Output-only] High-level BI Engine reason for partial or disabled acceleration.
|
567
|
+
# Corresponds to the JSON property `code`
|
568
|
+
# @return [String]
|
569
|
+
attr_accessor :code
|
570
|
+
|
571
|
+
# [Output-only] Free form human-readable reason for partial or disabled
|
572
|
+
# acceleration.
|
573
|
+
# Corresponds to the JSON property `message`
|
574
|
+
# @return [String]
|
575
|
+
attr_accessor :message
|
576
|
+
|
577
|
+
def initialize(**args)
|
578
|
+
update!(**args)
|
579
|
+
end
|
580
|
+
|
581
|
+
# Update properties of this object
|
582
|
+
def update!(**args)
|
583
|
+
@code = args[:code] if args.key?(:code)
|
584
|
+
@message = args[:message] if args.key?(:message)
|
585
|
+
end
|
586
|
+
end
|
587
|
+
|
588
|
+
#
|
589
|
+
class BiEngineStatistics
|
590
|
+
include Google::Apis::Core::Hashable
|
591
|
+
|
592
|
+
# [Output-only] Specifies which mode of BI Engine acceleration was performed (if
|
593
|
+
# any).
|
594
|
+
# Corresponds to the JSON property `biEngineMode`
|
595
|
+
# @return [String]
|
596
|
+
attr_accessor :bi_engine_mode
|
597
|
+
|
598
|
+
# In case of DISABLED or PARTIAL bi_engine_mode, these contain the explanatory
|
599
|
+
# reasons as to why BI Engine could not accelerate. In case the full query was
|
600
|
+
# accelerated, this field is not populated.
|
601
|
+
# Corresponds to the JSON property `biEngineReasons`
|
602
|
+
# @return [Array<Google::Apis::BigqueryV2::BiEngineReason>]
|
603
|
+
attr_accessor :bi_engine_reasons
|
604
|
+
|
605
|
+
def initialize(**args)
|
606
|
+
update!(**args)
|
607
|
+
end
|
608
|
+
|
609
|
+
# Update properties of this object
|
610
|
+
def update!(**args)
|
611
|
+
@bi_engine_mode = args[:bi_engine_mode] if args.key?(:bi_engine_mode)
|
612
|
+
@bi_engine_reasons = args[:bi_engine_reasons] if args.key?(:bi_engine_reasons)
|
613
|
+
end
|
614
|
+
end
|
615
|
+
|
540
616
|
#
|
541
617
|
class BigQueryModelTraining
|
542
618
|
include Google::Apis::Core::Hashable
|
@@ -1333,6 +1409,12 @@ module Google
|
|
1333
1409
|
# @return [String]
|
1334
1410
|
attr_accessor :field_delimiter
|
1335
1411
|
|
1412
|
+
# [Optional] An custom string that will represent a NULL value in CSV import
|
1413
|
+
# data.
|
1414
|
+
# Corresponds to the JSON property `null_marker`
|
1415
|
+
# @return [String]
|
1416
|
+
attr_accessor :null_marker
|
1417
|
+
|
1336
1418
|
# [Optional] The value that is used to quote data sections in a CSV file.
|
1337
1419
|
# BigQuery converts the string to ISO-8859-1 encoding, and then uses the first
|
1338
1420
|
# byte of the encoded string to split the data in its raw, binary state. The
|
@@ -1369,6 +1451,7 @@ module Google
|
|
1369
1451
|
@allow_quoted_newlines = args[:allow_quoted_newlines] if args.key?(:allow_quoted_newlines)
|
1370
1452
|
@encoding = args[:encoding] if args.key?(:encoding)
|
1371
1453
|
@field_delimiter = args[:field_delimiter] if args.key?(:field_delimiter)
|
1454
|
+
@null_marker = args[:null_marker] if args.key?(:null_marker)
|
1372
1455
|
@quote = args[:quote] if args.key?(:quote)
|
1373
1456
|
@skip_leading_rows = args[:skip_leading_rows] if args.key?(:skip_leading_rows)
|
1374
1457
|
end
|
@@ -1485,6 +1568,12 @@ module Google
|
|
1485
1568
|
# @return [String]
|
1486
1569
|
attr_accessor :id
|
1487
1570
|
|
1571
|
+
# [Optional] Indicates if table names are case insensitive in the dataset.
|
1572
|
+
# Corresponds to the JSON property `isCaseInsensitive`
|
1573
|
+
# @return [Boolean]
|
1574
|
+
attr_accessor :is_case_insensitive
|
1575
|
+
alias_method :is_case_insensitive?, :is_case_insensitive
|
1576
|
+
|
1488
1577
|
# [Output-only] The resource type.
|
1489
1578
|
# Corresponds to the JSON property `kind`
|
1490
1579
|
# @return [String]
|
@@ -1537,6 +1626,7 @@ module Google
|
|
1537
1626
|
@etag = args[:etag] if args.key?(:etag)
|
1538
1627
|
@friendly_name = args[:friendly_name] if args.key?(:friendly_name)
|
1539
1628
|
@id = args[:id] if args.key?(:id)
|
1629
|
+
@is_case_insensitive = args[:is_case_insensitive] if args.key?(:is_case_insensitive)
|
1540
1630
|
@kind = args[:kind] if args.key?(:kind)
|
1541
1631
|
@labels = args[:labels] if args.key?(:labels)
|
1542
1632
|
@last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
|
@@ -1843,6 +1933,37 @@ module Google
|
|
1843
1933
|
end
|
1844
1934
|
end
|
1845
1935
|
|
1936
|
+
#
|
1937
|
+
class DmlStatistics
|
1938
|
+
include Google::Apis::Core::Hashable
|
1939
|
+
|
1940
|
+
# Number of deleted Rows. populated by DML DELETE, MERGE and TRUNCATE statements.
|
1941
|
+
# Corresponds to the JSON property `deletedRowCount`
|
1942
|
+
# @return [Fixnum]
|
1943
|
+
attr_accessor :deleted_row_count
|
1944
|
+
|
1945
|
+
# Number of inserted Rows. Populated by DML INSERT and MERGE statements.
|
1946
|
+
# Corresponds to the JSON property `insertedRowCount`
|
1947
|
+
# @return [Fixnum]
|
1948
|
+
attr_accessor :inserted_row_count
|
1949
|
+
|
1950
|
+
# Number of updated Rows. Populated by DML UPDATE and MERGE statements.
|
1951
|
+
# Corresponds to the JSON property `updatedRowCount`
|
1952
|
+
# @return [Fixnum]
|
1953
|
+
attr_accessor :updated_row_count
|
1954
|
+
|
1955
|
+
def initialize(**args)
|
1956
|
+
update!(**args)
|
1957
|
+
end
|
1958
|
+
|
1959
|
+
# Update properties of this object
|
1960
|
+
def update!(**args)
|
1961
|
+
@deleted_row_count = args[:deleted_row_count] if args.key?(:deleted_row_count)
|
1962
|
+
@inserted_row_count = args[:inserted_row_count] if args.key?(:inserted_row_count)
|
1963
|
+
@updated_row_count = args[:updated_row_count] if args.key?(:updated_row_count)
|
1964
|
+
end
|
1965
|
+
end
|
1966
|
+
|
1846
1967
|
#
|
1847
1968
|
class EncryptionConfiguration
|
1848
1969
|
include Google::Apis::Core::Hashable
|
@@ -2200,32 +2321,6 @@ module Google
|
|
2200
2321
|
end
|
2201
2322
|
end
|
2202
2323
|
|
2203
|
-
# Explanation for a single feature.
|
2204
|
-
class Explanation
|
2205
|
-
include Google::Apis::Core::Hashable
|
2206
|
-
|
2207
|
-
# Attribution of feature.
|
2208
|
-
# Corresponds to the JSON property `attribution`
|
2209
|
-
# @return [Float]
|
2210
|
-
attr_accessor :attribution
|
2211
|
-
|
2212
|
-
# Full name of the feature. For non-numerical features, will be formatted like ..
|
2213
|
-
# Overall size of feature name will always be truncated to first 120 characters.
|
2214
|
-
# Corresponds to the JSON property `featureName`
|
2215
|
-
# @return [String]
|
2216
|
-
attr_accessor :feature_name
|
2217
|
-
|
2218
|
-
def initialize(**args)
|
2219
|
-
update!(**args)
|
2220
|
-
end
|
2221
|
-
|
2222
|
-
# Update properties of this object
|
2223
|
-
def update!(**args)
|
2224
|
-
@attribution = args[:attribution] if args.key?(:attribution)
|
2225
|
-
@feature_name = args[:feature_name] if args.key?(:feature_name)
|
2226
|
-
end
|
2227
|
-
end
|
2228
|
-
|
2229
2324
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
2230
2325
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
2231
2326
|
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
@@ -2291,6 +2386,11 @@ module Google
|
|
2291
2386
|
attr_accessor :autodetect
|
2292
2387
|
alias_method :autodetect?, :autodetect
|
2293
2388
|
|
2389
|
+
# Additional properties to set if sourceFormat is set to Avro.
|
2390
|
+
# Corresponds to the JSON property `avroOptions`
|
2391
|
+
# @return [Google::Apis::BigqueryV2::AvroOptions]
|
2392
|
+
attr_accessor :avro_options
|
2393
|
+
|
2294
2394
|
# [Optional] Additional options if sourceFormat is set to BIGTABLE.
|
2295
2395
|
# Corresponds to the JSON property `bigtableOptions`
|
2296
2396
|
# @return [Google::Apis::BigqueryV2::BigtableOptions]
|
@@ -2313,6 +2413,27 @@ module Google
|
|
2313
2413
|
# @return [Google::Apis::BigqueryV2::CsvOptions]
|
2314
2414
|
attr_accessor :csv_options
|
2315
2415
|
|
2416
|
+
# [Optional] Defines the list of possible SQL data types to which the source
|
2417
|
+
# decimal values are converted. This list and the precision and the scale
|
2418
|
+
# parameters of the decimal field determine the target type. In the order of
|
2419
|
+
# NUMERIC, BIGNUMERIC, and STRING, a type is picked if it is in the specified
|
2420
|
+
# list and if it supports the precision and the scale. STRING supports all
|
2421
|
+
# precision and scale values. If none of the listed types supports the precision
|
2422
|
+
# and the scale, the type supporting the widest range in the specified list is
|
2423
|
+
# picked, and if a value exceeds the supported range when reading the data, an
|
2424
|
+
# error will be thrown. Example: Suppose the value of this field is ["NUMERIC", "
|
2425
|
+
# BIGNUMERIC"]. If (precision,scale) is: (38,9) -> NUMERIC; (39,9) -> BIGNUMERIC
|
2426
|
+
# (NUMERIC cannot hold 30 integer digits); (38,10) -> BIGNUMERIC (NUMERIC cannot
|
2427
|
+
# hold 10 fractional digits); (76,38) -> BIGNUMERIC; (77,38) -> BIGNUMERIC (
|
2428
|
+
# error if value exeeds supported range). This field cannot contain duplicate
|
2429
|
+
# types. The order of the types in this field is ignored. For example, ["
|
2430
|
+
# BIGNUMERIC", "NUMERIC"] is the same as ["NUMERIC", "BIGNUMERIC"] and NUMERIC
|
2431
|
+
# always takes precedence over BIGNUMERIC. Defaults to ["NUMERIC", "STRING"] for
|
2432
|
+
# ORC and ["NUMERIC"] for the other file formats.
|
2433
|
+
# Corresponds to the JSON property `decimalTargetTypes`
|
2434
|
+
# @return [Array<String>]
|
2435
|
+
attr_accessor :decimal_target_types
|
2436
|
+
|
2316
2437
|
# [Optional] Additional options if sourceFormat is set to GOOGLE_SHEETS.
|
2317
2438
|
# Corresponds to the JSON property `googleSheetsOptions`
|
2318
2439
|
# @return [Google::Apis::BigqueryV2::GoogleSheetsOptions]
|
@@ -2386,10 +2507,12 @@ module Google
|
|
2386
2507
|
# Update properties of this object
|
2387
2508
|
def update!(**args)
|
2388
2509
|
@autodetect = args[:autodetect] if args.key?(:autodetect)
|
2510
|
+
@avro_options = args[:avro_options] if args.key?(:avro_options)
|
2389
2511
|
@bigtable_options = args[:bigtable_options] if args.key?(:bigtable_options)
|
2390
2512
|
@compression = args[:compression] if args.key?(:compression)
|
2391
2513
|
@connection_id = args[:connection_id] if args.key?(:connection_id)
|
2392
2514
|
@csv_options = args[:csv_options] if args.key?(:csv_options)
|
2515
|
+
@decimal_target_types = args[:decimal_target_types] if args.key?(:decimal_target_types)
|
2393
2516
|
@google_sheets_options = args[:google_sheets_options] if args.key?(:google_sheets_options)
|
2394
2517
|
@hive_partitioning_options = args[:hive_partitioning_options] if args.key?(:hive_partitioning_options)
|
2395
2518
|
@ignore_unknown_values = args[:ignore_unknown_values] if args.key?(:ignore_unknown_values)
|
@@ -2602,34 +2725,6 @@ module Google
|
|
2602
2725
|
end
|
2603
2726
|
end
|
2604
2727
|
|
2605
|
-
# Global explanations containing the top most important features after training.
|
2606
|
-
class GlobalExplanation
|
2607
|
-
include Google::Apis::Core::Hashable
|
2608
|
-
|
2609
|
-
# Class label for this set of global explanations. Will be empty/null for binary
|
2610
|
-
# logistic and linear regression models. Sorted alphabetically in descending
|
2611
|
-
# order.
|
2612
|
-
# Corresponds to the JSON property `classLabel`
|
2613
|
-
# @return [String]
|
2614
|
-
attr_accessor :class_label
|
2615
|
-
|
2616
|
-
# A list of the top global explanations. Sorted by absolute value of attribution
|
2617
|
-
# in descending order.
|
2618
|
-
# Corresponds to the JSON property `explanations`
|
2619
|
-
# @return [Array<Google::Apis::BigqueryV2::Explanation>]
|
2620
|
-
attr_accessor :explanations
|
2621
|
-
|
2622
|
-
def initialize(**args)
|
2623
|
-
update!(**args)
|
2624
|
-
end
|
2625
|
-
|
2626
|
-
# Update properties of this object
|
2627
|
-
def update!(**args)
|
2628
|
-
@class_label = args[:class_label] if args.key?(:class_label)
|
2629
|
-
@explanations = args[:explanations] if args.key?(:explanations)
|
2630
|
-
end
|
2631
|
-
end
|
2632
|
-
|
2633
2728
|
#
|
2634
2729
|
class GoogleSheetsOptions
|
2635
2730
|
include Google::Apis::Core::Hashable
|
@@ -3066,24 +3161,23 @@ module Google
|
|
3066
3161
|
# @return [String]
|
3067
3162
|
attr_accessor :create_disposition
|
3068
3163
|
|
3069
|
-
# Defines the list of possible SQL data types to which the source
|
3070
|
-
# are converted. This list and the precision and the scale
|
3071
|
-
# decimal field determine the target type. In the order of
|
3072
|
-
#
|
3073
|
-
#
|
3074
|
-
#
|
3075
|
-
#
|
3076
|
-
#
|
3077
|
-
#
|
3078
|
-
#
|
3079
|
-
#
|
3080
|
-
#
|
3081
|
-
#
|
3082
|
-
#
|
3083
|
-
#
|
3084
|
-
#
|
3085
|
-
#
|
3086
|
-
# formats.
|
3164
|
+
# [Optional] Defines the list of possible SQL data types to which the source
|
3165
|
+
# decimal values are converted. This list and the precision and the scale
|
3166
|
+
# parameters of the decimal field determine the target type. In the order of
|
3167
|
+
# NUMERIC, BIGNUMERIC, and STRING, a type is picked if it is in the specified
|
3168
|
+
# list and if it supports the precision and the scale. STRING supports all
|
3169
|
+
# precision and scale values. If none of the listed types supports the precision
|
3170
|
+
# and the scale, the type supporting the widest range in the specified list is
|
3171
|
+
# picked, and if a value exceeds the supported range when reading the data, an
|
3172
|
+
# error will be thrown. Example: Suppose the value of this field is ["NUMERIC", "
|
3173
|
+
# BIGNUMERIC"]. If (precision,scale) is: (38,9) -> NUMERIC; (39,9) -> BIGNUMERIC
|
3174
|
+
# (NUMERIC cannot hold 30 integer digits); (38,10) -> BIGNUMERIC (NUMERIC cannot
|
3175
|
+
# hold 10 fractional digits); (76,38) -> BIGNUMERIC; (77,38) -> BIGNUMERIC (
|
3176
|
+
# error if value exeeds supported range). This field cannot contain duplicate
|
3177
|
+
# types. The order of the types in this field is ignored. For example, ["
|
3178
|
+
# BIGNUMERIC", "NUMERIC"] is the same as ["NUMERIC", "BIGNUMERIC"] and NUMERIC
|
3179
|
+
# always takes precedence over BIGNUMERIC. Defaults to ["NUMERIC", "STRING"] for
|
3180
|
+
# ORC and ["NUMERIC"] for the other file formats.
|
3087
3181
|
# Corresponds to the JSON property `decimalTargetTypes`
|
3088
3182
|
# @return [Array<String>]
|
3089
3183
|
attr_accessor :decimal_target_types
|
@@ -3824,9 +3918,9 @@ module Google
|
|
3824
3918
|
attr_accessor :script_statistics
|
3825
3919
|
|
3826
3920
|
# [Output-only] [Preview] Information of the session if this job is part of one.
|
3827
|
-
# Corresponds to the JSON property `
|
3921
|
+
# Corresponds to the JSON property `sessionInfo`
|
3828
3922
|
# @return [Google::Apis::BigqueryV2::SessionInfo]
|
3829
|
-
attr_accessor :
|
3923
|
+
attr_accessor :session_info
|
3830
3924
|
|
3831
3925
|
# [Output-only] Start time of this job, in milliseconds since the epoch. This
|
3832
3926
|
# field will be present when the job transitions from the PENDING state to
|
@@ -3848,9 +3942,9 @@ module Google
|
|
3848
3942
|
|
3849
3943
|
# [Output-only] [Alpha] Information of the multi-statement transaction if this
|
3850
3944
|
# job is part of one.
|
3851
|
-
# Corresponds to the JSON property `
|
3945
|
+
# Corresponds to the JSON property `transactionInfo`
|
3852
3946
|
# @return [Google::Apis::BigqueryV2::TransactionInfo]
|
3853
|
-
attr_accessor :
|
3947
|
+
attr_accessor :transaction_info
|
3854
3948
|
|
3855
3949
|
def initialize(**args)
|
3856
3950
|
update!(**args)
|
@@ -3871,11 +3965,11 @@ module Google
|
|
3871
3965
|
@reservation_id = args[:reservation_id] if args.key?(:reservation_id)
|
3872
3966
|
@row_level_security_statistics = args[:row_level_security_statistics] if args.key?(:row_level_security_statistics)
|
3873
3967
|
@script_statistics = args[:script_statistics] if args.key?(:script_statistics)
|
3874
|
-
@
|
3968
|
+
@session_info = args[:session_info] if args.key?(:session_info)
|
3875
3969
|
@start_time = args[:start_time] if args.key?(:start_time)
|
3876
3970
|
@total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed)
|
3877
3971
|
@total_slot_ms = args[:total_slot_ms] if args.key?(:total_slot_ms)
|
3878
|
-
@
|
3972
|
+
@transaction_info = args[:transaction_info] if args.key?(:transaction_info)
|
3879
3973
|
end
|
3880
3974
|
|
3881
3975
|
#
|
@@ -3908,6 +4002,11 @@ module Google
|
|
3908
4002
|
class JobStatistics2
|
3909
4003
|
include Google::Apis::Core::Hashable
|
3910
4004
|
|
4005
|
+
# BI Engine specific Statistics. [Output-only] BI Engine specific Statistics.
|
4006
|
+
# Corresponds to the JSON property `biEngineStatistics`
|
4007
|
+
# @return [Google::Apis::BigqueryV2::BiEngineStatistics]
|
4008
|
+
attr_accessor :bi_engine_statistics
|
4009
|
+
|
3911
4010
|
# [Output-only] Billing tier for the job.
|
3912
4011
|
# Corresponds to the JSON property `billingTier`
|
3913
4012
|
# @return [Fixnum]
|
@@ -3966,6 +4065,12 @@ module Google
|
|
3966
4065
|
# @return [Google::Apis::BigqueryV2::TableReference]
|
3967
4066
|
attr_accessor :ddl_target_table
|
3968
4067
|
|
4068
|
+
# [Output-only] Detailed statistics for DML statements Present only for DML
|
4069
|
+
# statements INSERT, UPDATE, DELETE or TRUNCATE.
|
4070
|
+
# Corresponds to the JSON property `dmlStats`
|
4071
|
+
# @return [Google::Apis::BigqueryV2::DmlStatistics]
|
4072
|
+
attr_accessor :dml_stats
|
4073
|
+
|
3969
4074
|
# [Output-only] The original estimate of bytes processed for the job.
|
3970
4075
|
# Corresponds to the JSON property `estimatedBytesProcessed`
|
3971
4076
|
# @return [Fixnum]
|
@@ -4087,6 +4192,7 @@ module Google
|
|
4087
4192
|
|
4088
4193
|
# Update properties of this object
|
4089
4194
|
def update!(**args)
|
4195
|
+
@bi_engine_statistics = args[:bi_engine_statistics] if args.key?(:bi_engine_statistics)
|
4090
4196
|
@billing_tier = args[:billing_tier] if args.key?(:billing_tier)
|
4091
4197
|
@cache_hit = args[:cache_hit] if args.key?(:cache_hit)
|
4092
4198
|
@ddl_affected_row_access_policy_count = args[:ddl_affected_row_access_policy_count] if args.key?(:ddl_affected_row_access_policy_count)
|
@@ -4096,6 +4202,7 @@ module Google
|
|
4096
4202
|
@ddl_target_routine = args[:ddl_target_routine] if args.key?(:ddl_target_routine)
|
4097
4203
|
@ddl_target_row_access_policy = args[:ddl_target_row_access_policy] if args.key?(:ddl_target_row_access_policy)
|
4098
4204
|
@ddl_target_table = args[:ddl_target_table] if args.key?(:ddl_target_table)
|
4205
|
+
@dml_stats = args[:dml_stats] if args.key?(:dml_stats)
|
4099
4206
|
@estimated_bytes_processed = args[:estimated_bytes_processed] if args.key?(:estimated_bytes_processed)
|
4100
4207
|
@model_training = args[:model_training] if args.key?(:model_training)
|
4101
4208
|
@model_training_current_iteration = args[:model_training_current_iteration] if args.key?(:model_training_current_iteration)
|
@@ -4689,7 +4796,7 @@ module Google
|
|
4689
4796
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
4690
4797
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
4691
4798
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
4692
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
4799
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
4693
4800
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
4694
4801
|
# google.com/iam/docs/).
|
4695
4802
|
class Policy
|
@@ -5167,6 +5274,12 @@ module Google
|
|
5167
5274
|
attr_accessor :cache_hit
|
5168
5275
|
alias_method :cache_hit?, :cache_hit
|
5169
5276
|
|
5277
|
+
# [Output-only] Detailed statistics for DML statements Present only for DML
|
5278
|
+
# statements INSERT, UPDATE, DELETE or TRUNCATE.
|
5279
|
+
# Corresponds to the JSON property `dmlStats`
|
5280
|
+
# @return [Google::Apis::BigqueryV2::DmlStatistics]
|
5281
|
+
attr_accessor :dml_stats
|
5282
|
+
|
5170
5283
|
# [Output-only] The first errors or warnings encountered during the running of
|
5171
5284
|
# the job. The final message includes the number of errors that caused the
|
5172
5285
|
# process to stop. Errors here do not necessarily mean that the job has
|
@@ -5220,9 +5333,9 @@ module Google
|
|
5220
5333
|
attr_accessor :schema
|
5221
5334
|
|
5222
5335
|
# [Output-only] [Preview] Information of the session if this job is part of one.
|
5223
|
-
# Corresponds to the JSON property `
|
5336
|
+
# Corresponds to the JSON property `sessionInfo`
|
5224
5337
|
# @return [Google::Apis::BigqueryV2::SessionInfo]
|
5225
|
-
attr_accessor :
|
5338
|
+
attr_accessor :session_info
|
5226
5339
|
|
5227
5340
|
# The total number of bytes processed for this query. If this query was a dry
|
5228
5341
|
# run, this is the number of bytes that would be processed if the query were run.
|
@@ -5243,6 +5356,7 @@ module Google
|
|
5243
5356
|
# Update properties of this object
|
5244
5357
|
def update!(**args)
|
5245
5358
|
@cache_hit = args[:cache_hit] if args.key?(:cache_hit)
|
5359
|
+
@dml_stats = args[:dml_stats] if args.key?(:dml_stats)
|
5246
5360
|
@errors = args[:errors] if args.key?(:errors)
|
5247
5361
|
@job_complete = args[:job_complete] if args.key?(:job_complete)
|
5248
5362
|
@job_reference = args[:job_reference] if args.key?(:job_reference)
|
@@ -5251,7 +5365,7 @@ module Google
|
|
5251
5365
|
@page_token = args[:page_token] if args.key?(:page_token)
|
5252
5366
|
@rows = args[:rows] if args.key?(:rows)
|
5253
5367
|
@schema = args[:schema] if args.key?(:schema)
|
5254
|
-
@
|
5368
|
+
@session_info = args[:session_info] if args.key?(:session_info)
|
5255
5369
|
@total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed)
|
5256
5370
|
@total_rows = args[:total_rows] if args.key?(:total_rows)
|
5257
5371
|
end
|
@@ -5477,13 +5591,12 @@ module Google
|
|
5477
5591
|
# @return [String]
|
5478
5592
|
attr_accessor :definition_body
|
5479
5593
|
|
5480
|
-
# Optional.
|
5594
|
+
# Optional. The description of the routine, if defined.
|
5481
5595
|
# Corresponds to the JSON property `description`
|
5482
5596
|
# @return [String]
|
5483
5597
|
attr_accessor :description
|
5484
5598
|
|
5485
|
-
# Optional.
|
5486
|
-
# defined.
|
5599
|
+
# Optional. The determinism level of the JavaScript UDF, if defined.
|
5487
5600
|
# Corresponds to the JSON property `determinismLevel`
|
5488
5601
|
# @return [String]
|
5489
5602
|
attr_accessor :determinism_level
|
@@ -5533,6 +5646,16 @@ module Google
|
|
5533
5646
|
# @return [String]
|
5534
5647
|
attr_accessor :routine_type
|
5535
5648
|
|
5649
|
+
# Optional. Can be set for procedures only. If true (default), the definition
|
5650
|
+
# body will be validated in the creation and the updates of the procedure. For
|
5651
|
+
# procedures with an argument of ANY TYPE, the definition body validtion is not
|
5652
|
+
# supported at creation/update time, and thus this field must be set to false
|
5653
|
+
# explicitly.
|
5654
|
+
# Corresponds to the JSON property `strictMode`
|
5655
|
+
# @return [Boolean]
|
5656
|
+
attr_accessor :strict_mode
|
5657
|
+
alias_method :strict_mode?, :strict_mode
|
5658
|
+
|
5536
5659
|
def initialize(**args)
|
5537
5660
|
update!(**args)
|
5538
5661
|
end
|
@@ -5552,6 +5675,7 @@ module Google
|
|
5552
5675
|
@return_type = args[:return_type] if args.key?(:return_type)
|
5553
5676
|
@routine_reference = args[:routine_reference] if args.key?(:routine_reference)
|
5554
5677
|
@routine_type = args[:routine_type] if args.key?(:routine_type)
|
5678
|
+
@strict_mode = args[:strict_mode] if args.key?(:strict_mode)
|
5555
5679
|
end
|
5556
5680
|
end
|
5557
5681
|
|
@@ -5845,7 +5969,7 @@ module Google
|
|
5845
5969
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
5846
5970
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
5847
5971
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
5848
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
5972
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
5849
5973
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
5850
5974
|
# google.com/iam/docs/).
|
5851
5975
|
# Corresponds to the JSON property `policy`
|
@@ -5874,12 +5998,13 @@ module Google
|
|
5874
5998
|
class SnapshotDefinition
|
5875
5999
|
include Google::Apis::Core::Hashable
|
5876
6000
|
|
5877
|
-
# [Required] Reference describing the ID of the table that
|
6001
|
+
# [Required] Reference describing the ID of the table that was snapshot.
|
5878
6002
|
# Corresponds to the JSON property `baseTableReference`
|
5879
6003
|
# @return [Google::Apis::BigqueryV2::TableReference]
|
5880
6004
|
attr_accessor :base_table_reference
|
5881
6005
|
|
5882
|
-
# [Required] The time at which the base table was snapshot.
|
6006
|
+
# [Required] The time at which the base table was snapshot. This value is
|
6007
|
+
# reported in the JSON response using RFC3339 format.
|
5883
6008
|
# Corresponds to the JSON property `snapshotTime`
|
5884
6009
|
# @return [DateTime]
|
5885
6010
|
attr_accessor :snapshot_time
|
@@ -6459,6 +6584,12 @@ module Google
|
|
6459
6584
|
# @return [Google::Apis::BigqueryV2::TableFieldSchema::Categories]
|
6460
6585
|
attr_accessor :categories
|
6461
6586
|
|
6587
|
+
# Optional. Collation specification of the field. It only can be set on string
|
6588
|
+
# type field.
|
6589
|
+
# Corresponds to the JSON property `collationSpec`
|
6590
|
+
# @return [String]
|
6591
|
+
attr_accessor :collation_spec
|
6592
|
+
|
6462
6593
|
# [Optional] The field description. The maximum length is 1,024 characters.
|
6463
6594
|
# Corresponds to the JSON property `description`
|
6464
6595
|
# @return [String]
|
@@ -6539,6 +6670,7 @@ module Google
|
|
6539
6670
|
# Update properties of this object
|
6540
6671
|
def update!(**args)
|
6541
6672
|
@categories = args[:categories] if args.key?(:categories)
|
6673
|
+
@collation_spec = args[:collation_spec] if args.key?(:collation_spec)
|
6542
6674
|
@description = args[:description] if args.key?(:description)
|
6543
6675
|
@fields = args[:fields] if args.key?(:fields)
|
6544
6676
|
@max_length = args[:max_length] if args.key?(:max_length)
|
@@ -7240,13 +7372,6 @@ module Google
|
|
7240
7372
|
# @return [Google::Apis::BigqueryV2::EvaluationMetrics]
|
7241
7373
|
attr_accessor :evaluation_metrics
|
7242
7374
|
|
7243
|
-
# Global explanations for important features of the model. For multi-class
|
7244
|
-
# models, there is one entry for each label class. For other models, there is
|
7245
|
-
# only one entry in the list.
|
7246
|
-
# Corresponds to the JSON property `globalExplanations`
|
7247
|
-
# @return [Array<Google::Apis::BigqueryV2::GlobalExplanation>]
|
7248
|
-
attr_accessor :global_explanations
|
7249
|
-
|
7250
7375
|
# Output of each iteration run, results.size() <= max_iterations.
|
7251
7376
|
# Corresponds to the JSON property `results`
|
7252
7377
|
# @return [Array<Google::Apis::BigqueryV2::IterationResult>]
|
@@ -7270,7 +7395,6 @@ module Google
|
|
7270
7395
|
def update!(**args)
|
7271
7396
|
@data_split_result = args[:data_split_result] if args.key?(:data_split_result)
|
7272
7397
|
@evaluation_metrics = args[:evaluation_metrics] if args.key?(:evaluation_metrics)
|
7273
|
-
@global_explanations = args[:global_explanations] if args.key?(:global_explanations)
|
7274
7398
|
@results = args[:results] if args.key?(:results)
|
7275
7399
|
@start_time = args[:start_time] if args.key?(:start_time)
|
7276
7400
|
@training_options = args[:training_options] if args.key?(:training_options)
|
@@ -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.16.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210828"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -88,6 +88,24 @@ module Google
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
89
89
|
end
|
90
90
|
|
91
|
+
class AvroOptions
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class BiEngineReason
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class BiEngineStatistics
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
91
109
|
class BigQueryModelTraining
|
92
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
111
|
|
@@ -256,6 +274,12 @@ module Google
|
|
256
274
|
include Google::Apis::Core::JsonObjectSupport
|
257
275
|
end
|
258
276
|
|
277
|
+
class DmlStatistics
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
259
283
|
class EncryptionConfiguration
|
260
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
285
|
|
@@ -292,12 +316,6 @@ module Google
|
|
292
316
|
include Google::Apis::Core::JsonObjectSupport
|
293
317
|
end
|
294
318
|
|
295
|
-
class Explanation
|
296
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
-
|
298
|
-
include Google::Apis::Core::JsonObjectSupport
|
299
|
-
end
|
300
|
-
|
301
319
|
class Expr
|
302
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
321
|
|
@@ -340,12 +358,6 @@ module Google
|
|
340
358
|
include Google::Apis::Core::JsonObjectSupport
|
341
359
|
end
|
342
360
|
|
343
|
-
class GlobalExplanation
|
344
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
-
|
346
|
-
include Google::Apis::Core::JsonObjectSupport
|
347
|
-
end
|
348
|
-
|
349
361
|
class GoogleSheetsOptions
|
350
362
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
363
|
|
@@ -990,6 +1002,30 @@ module Google
|
|
990
1002
|
end
|
991
1003
|
end
|
992
1004
|
|
1005
|
+
class AvroOptions
|
1006
|
+
# @private
|
1007
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1008
|
+
property :use_avro_logical_types, as: 'useAvroLogicalTypes'
|
1009
|
+
end
|
1010
|
+
end
|
1011
|
+
|
1012
|
+
class BiEngineReason
|
1013
|
+
# @private
|
1014
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1015
|
+
property :code, as: 'code'
|
1016
|
+
property :message, as: 'message'
|
1017
|
+
end
|
1018
|
+
end
|
1019
|
+
|
1020
|
+
class BiEngineStatistics
|
1021
|
+
# @private
|
1022
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1023
|
+
property :bi_engine_mode, as: 'biEngineMode'
|
1024
|
+
collection :bi_engine_reasons, as: 'biEngineReasons', class: Google::Apis::BigqueryV2::BiEngineReason, decorator: Google::Apis::BigqueryV2::BiEngineReason::Representation
|
1025
|
+
|
1026
|
+
end
|
1027
|
+
end
|
1028
|
+
|
993
1029
|
class BigQueryModelTraining
|
994
1030
|
# @private
|
995
1031
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1184,6 +1220,7 @@ module Google
|
|
1184
1220
|
property :allow_quoted_newlines, as: 'allowQuotedNewlines'
|
1185
1221
|
property :encoding, as: 'encoding'
|
1186
1222
|
property :field_delimiter, as: 'fieldDelimiter'
|
1223
|
+
property :null_marker, as: 'null_marker'
|
1187
1224
|
property :quote, as: 'quote'
|
1188
1225
|
property :skip_leading_rows, :numeric_string => true, as: 'skipLeadingRows'
|
1189
1226
|
end
|
@@ -1215,6 +1252,7 @@ module Google
|
|
1215
1252
|
property :etag, as: 'etag'
|
1216
1253
|
property :friendly_name, as: 'friendlyName'
|
1217
1254
|
property :id, as: 'id'
|
1255
|
+
property :is_case_insensitive, as: 'isCaseInsensitive'
|
1218
1256
|
property :kind, as: 'kind'
|
1219
1257
|
hash :labels, as: 'labels'
|
1220
1258
|
property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime'
|
@@ -1300,6 +1338,15 @@ module Google
|
|
1300
1338
|
end
|
1301
1339
|
end
|
1302
1340
|
|
1341
|
+
class DmlStatistics
|
1342
|
+
# @private
|
1343
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1344
|
+
property :deleted_row_count, :numeric_string => true, as: 'deletedRowCount'
|
1345
|
+
property :inserted_row_count, :numeric_string => true, as: 'insertedRowCount'
|
1346
|
+
property :updated_row_count, :numeric_string => true, as: 'updatedRowCount'
|
1347
|
+
end
|
1348
|
+
end
|
1349
|
+
|
1303
1350
|
class EncryptionConfiguration
|
1304
1351
|
# @private
|
1305
1352
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1388,14 +1435,6 @@ module Google
|
|
1388
1435
|
end
|
1389
1436
|
end
|
1390
1437
|
|
1391
|
-
class Explanation
|
1392
|
-
# @private
|
1393
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1394
|
-
property :attribution, as: 'attribution'
|
1395
|
-
property :feature_name, as: 'featureName'
|
1396
|
-
end
|
1397
|
-
end
|
1398
|
-
|
1399
1438
|
class Expr
|
1400
1439
|
# @private
|
1401
1440
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1410,12 +1449,15 @@ module Google
|
|
1410
1449
|
# @private
|
1411
1450
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1412
1451
|
property :autodetect, as: 'autodetect'
|
1452
|
+
property :avro_options, as: 'avroOptions', class: Google::Apis::BigqueryV2::AvroOptions, decorator: Google::Apis::BigqueryV2::AvroOptions::Representation
|
1453
|
+
|
1413
1454
|
property :bigtable_options, as: 'bigtableOptions', class: Google::Apis::BigqueryV2::BigtableOptions, decorator: Google::Apis::BigqueryV2::BigtableOptions::Representation
|
1414
1455
|
|
1415
1456
|
property :compression, as: 'compression'
|
1416
1457
|
property :connection_id, as: 'connectionId'
|
1417
1458
|
property :csv_options, as: 'csvOptions', class: Google::Apis::BigqueryV2::CsvOptions, decorator: Google::Apis::BigqueryV2::CsvOptions::Representation
|
1418
1459
|
|
1460
|
+
collection :decimal_target_types, as: 'decimalTargetTypes'
|
1419
1461
|
property :google_sheets_options, as: 'googleSheetsOptions', class: Google::Apis::BigqueryV2::GoogleSheetsOptions, decorator: Google::Apis::BigqueryV2::GoogleSheetsOptions::Representation
|
1420
1462
|
|
1421
1463
|
property :hive_partitioning_options, as: 'hivePartitioningOptions', class: Google::Apis::BigqueryV2::HivePartitioningOptions, decorator: Google::Apis::BigqueryV2::HivePartitioningOptions::Representation
|
@@ -1486,15 +1528,6 @@ module Google
|
|
1486
1528
|
end
|
1487
1529
|
end
|
1488
1530
|
|
1489
|
-
class GlobalExplanation
|
1490
|
-
# @private
|
1491
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1492
|
-
property :class_label, as: 'classLabel'
|
1493
|
-
collection :explanations, as: 'explanations', class: Google::Apis::BigqueryV2::Explanation, decorator: Google::Apis::BigqueryV2::Explanation::Representation
|
1494
|
-
|
1495
|
-
end
|
1496
|
-
end
|
1497
|
-
|
1498
1531
|
class GoogleSheetsOptions
|
1499
1532
|
# @private
|
1500
1533
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1755,12 +1788,12 @@ module Google
|
|
1755
1788
|
|
1756
1789
|
property :script_statistics, as: 'scriptStatistics', class: Google::Apis::BigqueryV2::ScriptStatistics, decorator: Google::Apis::BigqueryV2::ScriptStatistics::Representation
|
1757
1790
|
|
1758
|
-
property :
|
1791
|
+
property :session_info, as: 'sessionInfo', class: Google::Apis::BigqueryV2::SessionInfo, decorator: Google::Apis::BigqueryV2::SessionInfo::Representation
|
1759
1792
|
|
1760
1793
|
property :start_time, :numeric_string => true, as: 'startTime'
|
1761
1794
|
property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
|
1762
1795
|
property :total_slot_ms, :numeric_string => true, as: 'totalSlotMs'
|
1763
|
-
property :
|
1796
|
+
property :transaction_info, as: 'transactionInfo', class: Google::Apis::BigqueryV2::TransactionInfo, decorator: Google::Apis::BigqueryV2::TransactionInfo::Representation
|
1764
1797
|
|
1765
1798
|
end
|
1766
1799
|
|
@@ -1776,6 +1809,8 @@ module Google
|
|
1776
1809
|
class JobStatistics2
|
1777
1810
|
# @private
|
1778
1811
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1812
|
+
property :bi_engine_statistics, as: 'biEngineStatistics', class: Google::Apis::BigqueryV2::BiEngineStatistics, decorator: Google::Apis::BigqueryV2::BiEngineStatistics::Representation
|
1813
|
+
|
1779
1814
|
property :billing_tier, as: 'billingTier'
|
1780
1815
|
property :cache_hit, as: 'cacheHit'
|
1781
1816
|
property :ddl_affected_row_access_policy_count, :numeric_string => true, as: 'ddlAffectedRowAccessPolicyCount'
|
@@ -1790,6 +1825,8 @@ module Google
|
|
1790
1825
|
|
1791
1826
|
property :ddl_target_table, as: 'ddlTargetTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
|
1792
1827
|
|
1828
|
+
property :dml_stats, as: 'dmlStats', class: Google::Apis::BigqueryV2::DmlStatistics, decorator: Google::Apis::BigqueryV2::DmlStatistics::Representation
|
1829
|
+
|
1793
1830
|
property :estimated_bytes_processed, :numeric_string => true, as: 'estimatedBytesProcessed'
|
1794
1831
|
property :model_training, as: 'modelTraining', class: Google::Apis::BigqueryV2::BigQueryModelTraining, decorator: Google::Apis::BigqueryV2::BigQueryModelTraining::Representation
|
1795
1832
|
|
@@ -2089,6 +2126,8 @@ module Google
|
|
2089
2126
|
# @private
|
2090
2127
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2091
2128
|
property :cache_hit, as: 'cacheHit'
|
2129
|
+
property :dml_stats, as: 'dmlStats', class: Google::Apis::BigqueryV2::DmlStatistics, decorator: Google::Apis::BigqueryV2::DmlStatistics::Representation
|
2130
|
+
|
2092
2131
|
collection :errors, as: 'errors', class: Google::Apis::BigqueryV2::ErrorProto, decorator: Google::Apis::BigqueryV2::ErrorProto::Representation
|
2093
2132
|
|
2094
2133
|
property :job_complete, as: 'jobComplete'
|
@@ -2101,7 +2140,7 @@ module Google
|
|
2101
2140
|
|
2102
2141
|
property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
|
2103
2142
|
|
2104
|
-
property :
|
2143
|
+
property :session_info, as: 'sessionInfo', class: Google::Apis::BigqueryV2::SessionInfo, decorator: Google::Apis::BigqueryV2::SessionInfo::Representation
|
2105
2144
|
|
2106
2145
|
property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
|
2107
2146
|
property :total_rows, :numeric_string => true, as: 'totalRows'
|
@@ -2178,6 +2217,7 @@ module Google
|
|
2178
2217
|
property :routine_reference, as: 'routineReference', class: Google::Apis::BigqueryV2::RoutineReference, decorator: Google::Apis::BigqueryV2::RoutineReference::Representation
|
2179
2218
|
|
2180
2219
|
property :routine_type, as: 'routineType'
|
2220
|
+
property :strict_mode, as: 'strictMode'
|
2181
2221
|
end
|
2182
2222
|
end
|
2183
2223
|
|
@@ -2429,6 +2469,7 @@ module Google
|
|
2429
2469
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2430
2470
|
property :categories, as: 'categories', class: Google::Apis::BigqueryV2::TableFieldSchema::Categories, decorator: Google::Apis::BigqueryV2::TableFieldSchema::Categories::Representation
|
2431
2471
|
|
2472
|
+
property :collation_spec, as: 'collationSpec'
|
2432
2473
|
property :description, as: 'description'
|
2433
2474
|
collection :fields, as: 'fields', class: Google::Apis::BigqueryV2::TableFieldSchema, decorator: Google::Apis::BigqueryV2::TableFieldSchema::Representation
|
2434
2475
|
|
@@ -2609,8 +2650,6 @@ module Google
|
|
2609
2650
|
|
2610
2651
|
property :evaluation_metrics, as: 'evaluationMetrics', class: Google::Apis::BigqueryV2::EvaluationMetrics, decorator: Google::Apis::BigqueryV2::EvaluationMetrics::Representation
|
2611
2652
|
|
2612
|
-
collection :global_explanations, as: 'globalExplanations', class: Google::Apis::BigqueryV2::GlobalExplanation, decorator: Google::Apis::BigqueryV2::GlobalExplanation::Representation
|
2613
|
-
|
2614
2653
|
collection :results, as: 'results', class: Google::Apis::BigqueryV2::IterationResult, decorator: Google::Apis::BigqueryV2::IterationResult::Representation
|
2615
2654
|
|
2616
2655
|
property :start_time, as: 'startTime'
|
@@ -29,25 +29,25 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V2'
|
31
31
|
|
32
|
-
# View and manage your data in Google BigQuery
|
32
|
+
# View and manage your data in Google BigQuery and see the email address for your Google Account
|
33
33
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
34
34
|
|
35
35
|
# Insert data into Google BigQuery
|
36
36
|
AUTH_BIGQUERY_INSERTDATA = 'https://www.googleapis.com/auth/bigquery.insertdata'
|
37
37
|
|
38
|
-
# See, edit, configure, and delete your Google Cloud
|
38
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
39
39
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
40
40
|
|
41
|
-
# View your data across Google Cloud
|
41
|
+
# View your data across Google Cloud services and see the email address of your Google Account
|
42
42
|
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
|
43
43
|
|
44
|
-
# Manage your data and permissions in
|
44
|
+
# Manage your data and permissions in Cloud Storage and see the email address for your Google Account
|
45
45
|
AUTH_DEVSTORAGE_FULL_CONTROL = 'https://www.googleapis.com/auth/devstorage.full_control'
|
46
46
|
|
47
47
|
# View your data in Google Cloud Storage
|
48
48
|
AUTH_DEVSTORAGE_READ_ONLY = 'https://www.googleapis.com/auth/devstorage.read_only'
|
49
49
|
|
50
|
-
# Manage your data in
|
50
|
+
# Manage your data in Cloud Storage and see the email address of your Google Account
|
51
51
|
AUTH_DEVSTORAGE_READ_WRITE = 'https://www.googleapis.com/auth/devstorage.read_write'
|
52
52
|
end
|
53
53
|
end
|
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.
|
4
|
+
version: 0.16.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-09-06 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.
|
19
|
+
version: '0.4'
|
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.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.16.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: []
|