google-apis-bigquery_v2 0.10.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/bigquery_v2/classes.rb +162 -88
- data/lib/google/apis/bigquery_v2/gem_version.rb +3 -3
- data/lib/google/apis/bigquery_v2/representations.rb +54 -33
- 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: 07da4527c9f694b1177d51dc4c6d46a8e39882cda43df2a6036a5acb2d178a7e
|
4
|
+
data.tar.gz: dcb1551816d9ef4ed9bc1a7c690f17a4cc1a43c402e1252995b77090dd836395
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d98794c24a085dc2a2101bea63d46d0a6e1d9201b218ef0052c3dd4a9d430cd717c6d290593e65e2561b59af6a313f522e33ee1c6be8357a6a924edc813c1673
|
7
|
+
data.tar.gz: 8e8c95d8426858f0a2da06586c05c5d1c54a1ef1087909bd1f0214524b766f157e516d48560d66fc2fdc101e412b939914b193809b16715cc60e5f8c55ff4c9d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-bigquery_v2
|
2
2
|
|
3
|
+
### v0.15.0 (2021-06-29)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.4.0
|
6
|
+
|
7
|
+
### v0.14.0 (2021-06-27)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210617
|
10
|
+
|
11
|
+
### v0.13.0 (2021-06-04)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210529
|
14
|
+
* Regenerated using generator version 0.3.0
|
15
|
+
|
16
|
+
### v0.12.0 (2021-05-28)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210518
|
19
|
+
|
20
|
+
### v0.11.0 (2021-05-19)
|
21
|
+
|
22
|
+
* Unspecified changes
|
23
|
+
|
3
24
|
### v0.10.0 (2021-05-07)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210430
|
@@ -537,6 +537,60 @@ module Google
|
|
537
537
|
end
|
538
538
|
end
|
539
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
|
+
|
540
594
|
#
|
541
595
|
class BigQueryModelTraining
|
542
596
|
include Google::Apis::Core::Hashable
|
@@ -1843,6 +1897,37 @@ module Google
|
|
1843
1897
|
end
|
1844
1898
|
end
|
1845
1899
|
|
1900
|
+
#
|
1901
|
+
class DmlStatistics
|
1902
|
+
include Google::Apis::Core::Hashable
|
1903
|
+
|
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
|
1918
|
+
|
1919
|
+
def initialize(**args)
|
1920
|
+
update!(**args)
|
1921
|
+
end
|
1922
|
+
|
1923
|
+
# Update properties of this object
|
1924
|
+
def update!(**args)
|
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)
|
1928
|
+
end
|
1929
|
+
end
|
1930
|
+
|
1846
1931
|
#
|
1847
1932
|
class EncryptionConfiguration
|
1848
1933
|
include Google::Apis::Core::Hashable
|
@@ -2200,32 +2285,6 @@ module Google
|
|
2200
2285
|
end
|
2201
2286
|
end
|
2202
2287
|
|
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
2288
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
2230
2289
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
2231
2290
|
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
@@ -2313,6 +2372,27 @@ module Google
|
|
2313
2372
|
# @return [Google::Apis::BigqueryV2::CsvOptions]
|
2314
2373
|
attr_accessor :csv_options
|
2315
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
|
+
|
2316
2396
|
# [Optional] Additional options if sourceFormat is set to GOOGLE_SHEETS.
|
2317
2397
|
# Corresponds to the JSON property `googleSheetsOptions`
|
2318
2398
|
# @return [Google::Apis::BigqueryV2::GoogleSheetsOptions]
|
@@ -2390,6 +2470,7 @@ module Google
|
|
2390
2470
|
@compression = args[:compression] if args.key?(:compression)
|
2391
2471
|
@connection_id = args[:connection_id] if args.key?(:connection_id)
|
2392
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)
|
2393
2474
|
@google_sheets_options = args[:google_sheets_options] if args.key?(:google_sheets_options)
|
2394
2475
|
@hive_partitioning_options = args[:hive_partitioning_options] if args.key?(:hive_partitioning_options)
|
2395
2476
|
@ignore_unknown_values = args[:ignore_unknown_values] if args.key?(:ignore_unknown_values)
|
@@ -2602,34 +2683,6 @@ module Google
|
|
2602
2683
|
end
|
2603
2684
|
end
|
2604
2685
|
|
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
2686
|
#
|
2634
2687
|
class GoogleSheetsOptions
|
2635
2688
|
include Google::Apis::Core::Hashable
|
@@ -3066,24 +3119,23 @@ module Google
|
|
3066
3119
|
# @return [String]
|
3067
3120
|
attr_accessor :create_disposition
|
3068
3121
|
|
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.
|
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.
|
3087
3139
|
# Corresponds to the JSON property `decimalTargetTypes`
|
3088
3140
|
# @return [Array<String>]
|
3089
3141
|
attr_accessor :decimal_target_types
|
@@ -3824,9 +3876,9 @@ module Google
|
|
3824
3876
|
attr_accessor :script_statistics
|
3825
3877
|
|
3826
3878
|
# [Output-only] [Preview] Information of the session if this job is part of one.
|
3827
|
-
# Corresponds to the JSON property `
|
3879
|
+
# Corresponds to the JSON property `sessionInfo`
|
3828
3880
|
# @return [Google::Apis::BigqueryV2::SessionInfo]
|
3829
|
-
attr_accessor :
|
3881
|
+
attr_accessor :session_info
|
3830
3882
|
|
3831
3883
|
# [Output-only] Start time of this job, in milliseconds since the epoch. This
|
3832
3884
|
# field will be present when the job transitions from the PENDING state to
|
@@ -3848,9 +3900,9 @@ module Google
|
|
3848
3900
|
|
3849
3901
|
# [Output-only] [Alpha] Information of the multi-statement transaction if this
|
3850
3902
|
# job is part of one.
|
3851
|
-
# Corresponds to the JSON property `
|
3903
|
+
# Corresponds to the JSON property `transactionInfo`
|
3852
3904
|
# @return [Google::Apis::BigqueryV2::TransactionInfo]
|
3853
|
-
attr_accessor :
|
3905
|
+
attr_accessor :transaction_info
|
3854
3906
|
|
3855
3907
|
def initialize(**args)
|
3856
3908
|
update!(**args)
|
@@ -3871,11 +3923,11 @@ module Google
|
|
3871
3923
|
@reservation_id = args[:reservation_id] if args.key?(:reservation_id)
|
3872
3924
|
@row_level_security_statistics = args[:row_level_security_statistics] if args.key?(:row_level_security_statistics)
|
3873
3925
|
@script_statistics = args[:script_statistics] if args.key?(:script_statistics)
|
3874
|
-
@
|
3926
|
+
@session_info = args[:session_info] if args.key?(:session_info)
|
3875
3927
|
@start_time = args[:start_time] if args.key?(:start_time)
|
3876
3928
|
@total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed)
|
3877
3929
|
@total_slot_ms = args[:total_slot_ms] if args.key?(:total_slot_ms)
|
3878
|
-
@
|
3930
|
+
@transaction_info = args[:transaction_info] if args.key?(:transaction_info)
|
3879
3931
|
end
|
3880
3932
|
|
3881
3933
|
#
|
@@ -3908,6 +3960,11 @@ module Google
|
|
3908
3960
|
class JobStatistics2
|
3909
3961
|
include Google::Apis::Core::Hashable
|
3910
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
|
+
|
3911
3968
|
# [Output-only] Billing tier for the job.
|
3912
3969
|
# Corresponds to the JSON property `billingTier`
|
3913
3970
|
# @return [Fixnum]
|
@@ -3966,6 +4023,12 @@ module Google
|
|
3966
4023
|
# @return [Google::Apis::BigqueryV2::TableReference]
|
3967
4024
|
attr_accessor :ddl_target_table
|
3968
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
|
+
|
3969
4032
|
# [Output-only] The original estimate of bytes processed for the job.
|
3970
4033
|
# Corresponds to the JSON property `estimatedBytesProcessed`
|
3971
4034
|
# @return [Fixnum]
|
@@ -4087,6 +4150,7 @@ module Google
|
|
4087
4150
|
|
4088
4151
|
# Update properties of this object
|
4089
4152
|
def update!(**args)
|
4153
|
+
@bi_engine_statistics = args[:bi_engine_statistics] if args.key?(:bi_engine_statistics)
|
4090
4154
|
@billing_tier = args[:billing_tier] if args.key?(:billing_tier)
|
4091
4155
|
@cache_hit = args[:cache_hit] if args.key?(:cache_hit)
|
4092
4156
|
@ddl_affected_row_access_policy_count = args[:ddl_affected_row_access_policy_count] if args.key?(:ddl_affected_row_access_policy_count)
|
@@ -4096,6 +4160,7 @@ module Google
|
|
4096
4160
|
@ddl_target_routine = args[:ddl_target_routine] if args.key?(:ddl_target_routine)
|
4097
4161
|
@ddl_target_row_access_policy = args[:ddl_target_row_access_policy] if args.key?(:ddl_target_row_access_policy)
|
4098
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)
|
4099
4164
|
@estimated_bytes_processed = args[:estimated_bytes_processed] if args.key?(:estimated_bytes_processed)
|
4100
4165
|
@model_training = args[:model_training] if args.key?(:model_training)
|
4101
4166
|
@model_training_current_iteration = args[:model_training_current_iteration] if args.key?(:model_training_current_iteration)
|
@@ -5167,6 +5232,12 @@ module Google
|
|
5167
5232
|
attr_accessor :cache_hit
|
5168
5233
|
alias_method :cache_hit?, :cache_hit
|
5169
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
|
+
|
5170
5241
|
# [Output-only] The first errors or warnings encountered during the running of
|
5171
5242
|
# the job. The final message includes the number of errors that caused the
|
5172
5243
|
# process to stop. Errors here do not necessarily mean that the job has
|
@@ -5243,6 +5314,7 @@ module Google
|
|
5243
5314
|
# Update properties of this object
|
5244
5315
|
def update!(**args)
|
5245
5316
|
@cache_hit = args[:cache_hit] if args.key?(:cache_hit)
|
5317
|
+
@dml_stats = args[:dml_stats] if args.key?(:dml_stats)
|
5246
5318
|
@errors = args[:errors] if args.key?(:errors)
|
5247
5319
|
@job_complete = args[:job_complete] if args.key?(:job_complete)
|
5248
5320
|
@job_reference = args[:job_reference] if args.key?(:job_reference)
|
@@ -5874,12 +5946,13 @@ module Google
|
|
5874
5946
|
class SnapshotDefinition
|
5875
5947
|
include Google::Apis::Core::Hashable
|
5876
5948
|
|
5877
|
-
# [Required] Reference describing the ID of the table that
|
5949
|
+
# [Required] Reference describing the ID of the table that was snapshot.
|
5878
5950
|
# Corresponds to the JSON property `baseTableReference`
|
5879
5951
|
# @return [Google::Apis::BigqueryV2::TableReference]
|
5880
5952
|
attr_accessor :base_table_reference
|
5881
5953
|
|
5882
|
-
# [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.
|
5883
5956
|
# Corresponds to the JSON property `snapshotTime`
|
5884
5957
|
# @return [DateTime]
|
5885
5958
|
attr_accessor :snapshot_time
|
@@ -7240,13 +7313,6 @@ module Google
|
|
7240
7313
|
# @return [Google::Apis::BigqueryV2::EvaluationMetrics]
|
7241
7314
|
attr_accessor :evaluation_metrics
|
7242
7315
|
|
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
7316
|
# Output of each iteration run, results.size() <= max_iterations.
|
7251
7317
|
# Corresponds to the JSON property `results`
|
7252
7318
|
# @return [Array<Google::Apis::BigqueryV2::IterationResult>]
|
@@ -7270,7 +7336,6 @@ module Google
|
|
7270
7336
|
def update!(**args)
|
7271
7337
|
@data_split_result = args[:data_split_result] if args.key?(:data_split_result)
|
7272
7338
|
@evaluation_metrics = args[:evaluation_metrics] if args.key?(:evaluation_metrics)
|
7273
|
-
@global_explanations = args[:global_explanations] if args.key?(:global_explanations)
|
7274
7339
|
@results = args[:results] if args.key?(:results)
|
7275
7340
|
@start_time = args[:start_time] if args.key?(:start_time)
|
7276
7341
|
@training_options = args[:training_options] if args.key?(:training_options)
|
@@ -7338,6 +7403,14 @@ module Google
|
|
7338
7403
|
# @return [String]
|
7339
7404
|
attr_accessor :query
|
7340
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
|
+
|
7341
7414
|
# Specifies whether to use BigQuery's legacy SQL for this view. The default
|
7342
7415
|
# value is true. If set to false, the view will use BigQuery's standard SQL:
|
7343
7416
|
# https://cloud.google.com/bigquery/sql-reference/ Queries and views that
|
@@ -7359,6 +7432,7 @@ module Google
|
|
7359
7432
|
# Update properties of this object
|
7360
7433
|
def update!(**args)
|
7361
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)
|
7362
7436
|
@use_legacy_sql = args[:use_legacy_sql] if args.key?(:use_legacy_sql)
|
7363
7437
|
@user_defined_function_resources = args[:user_defined_function_resources] if args.key?(:user_defined_function_resources)
|
7364
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.
|
19
|
+
GEM_VERSION = "0.15.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 = "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,6 +268,12 @@ module Google
|
|
256
268
|
include Google::Apis::Core::JsonObjectSupport
|
257
269
|
end
|
258
270
|
|
271
|
+
class DmlStatistics
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
259
277
|
class EncryptionConfiguration
|
260
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
279
|
|
@@ -292,12 +310,6 @@ module Google
|
|
292
310
|
include Google::Apis::Core::JsonObjectSupport
|
293
311
|
end
|
294
312
|
|
295
|
-
class Explanation
|
296
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
-
|
298
|
-
include Google::Apis::Core::JsonObjectSupport
|
299
|
-
end
|
300
|
-
|
301
313
|
class Expr
|
302
314
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
315
|
|
@@ -340,12 +352,6 @@ module Google
|
|
340
352
|
include Google::Apis::Core::JsonObjectSupport
|
341
353
|
end
|
342
354
|
|
343
|
-
class GlobalExplanation
|
344
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
-
|
346
|
-
include Google::Apis::Core::JsonObjectSupport
|
347
|
-
end
|
348
|
-
|
349
355
|
class GoogleSheetsOptions
|
350
356
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
357
|
|
@@ -990,6 +996,23 @@ module Google
|
|
990
996
|
end
|
991
997
|
end
|
992
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
|
+
|
993
1016
|
class BigQueryModelTraining
|
994
1017
|
# @private
|
995
1018
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1300,6 +1323,15 @@ module Google
|
|
1300
1323
|
end
|
1301
1324
|
end
|
1302
1325
|
|
1326
|
+
class DmlStatistics
|
1327
|
+
# @private
|
1328
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
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'
|
1332
|
+
end
|
1333
|
+
end
|
1334
|
+
|
1303
1335
|
class EncryptionConfiguration
|
1304
1336
|
# @private
|
1305
1337
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1388,14 +1420,6 @@ module Google
|
|
1388
1420
|
end
|
1389
1421
|
end
|
1390
1422
|
|
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
1423
|
class Expr
|
1400
1424
|
# @private
|
1401
1425
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1416,6 +1440,7 @@ module Google
|
|
1416
1440
|
property :connection_id, as: 'connectionId'
|
1417
1441
|
property :csv_options, as: 'csvOptions', class: Google::Apis::BigqueryV2::CsvOptions, decorator: Google::Apis::BigqueryV2::CsvOptions::Representation
|
1418
1442
|
|
1443
|
+
collection :decimal_target_types, as: 'decimalTargetTypes'
|
1419
1444
|
property :google_sheets_options, as: 'googleSheetsOptions', class: Google::Apis::BigqueryV2::GoogleSheetsOptions, decorator: Google::Apis::BigqueryV2::GoogleSheetsOptions::Representation
|
1420
1445
|
|
1421
1446
|
property :hive_partitioning_options, as: 'hivePartitioningOptions', class: Google::Apis::BigqueryV2::HivePartitioningOptions, decorator: Google::Apis::BigqueryV2::HivePartitioningOptions::Representation
|
@@ -1486,15 +1511,6 @@ module Google
|
|
1486
1511
|
end
|
1487
1512
|
end
|
1488
1513
|
|
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
1514
|
class GoogleSheetsOptions
|
1499
1515
|
# @private
|
1500
1516
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1755,12 +1771,12 @@ module Google
|
|
1755
1771
|
|
1756
1772
|
property :script_statistics, as: 'scriptStatistics', class: Google::Apis::BigqueryV2::ScriptStatistics, decorator: Google::Apis::BigqueryV2::ScriptStatistics::Representation
|
1757
1773
|
|
1758
|
-
property :
|
1774
|
+
property :session_info, as: 'sessionInfo', class: Google::Apis::BigqueryV2::SessionInfo, decorator: Google::Apis::BigqueryV2::SessionInfo::Representation
|
1759
1775
|
|
1760
1776
|
property :start_time, :numeric_string => true, as: 'startTime'
|
1761
1777
|
property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
|
1762
1778
|
property :total_slot_ms, :numeric_string => true, as: 'totalSlotMs'
|
1763
|
-
property :
|
1779
|
+
property :transaction_info, as: 'transactionInfo', class: Google::Apis::BigqueryV2::TransactionInfo, decorator: Google::Apis::BigqueryV2::TransactionInfo::Representation
|
1764
1780
|
|
1765
1781
|
end
|
1766
1782
|
|
@@ -1776,6 +1792,8 @@ module Google
|
|
1776
1792
|
class JobStatistics2
|
1777
1793
|
# @private
|
1778
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
|
+
|
1779
1797
|
property :billing_tier, as: 'billingTier'
|
1780
1798
|
property :cache_hit, as: 'cacheHit'
|
1781
1799
|
property :ddl_affected_row_access_policy_count, :numeric_string => true, as: 'ddlAffectedRowAccessPolicyCount'
|
@@ -1790,6 +1808,8 @@ module Google
|
|
1790
1808
|
|
1791
1809
|
property :ddl_target_table, as: 'ddlTargetTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
|
1792
1810
|
|
1811
|
+
property :dml_stats, as: 'dmlStats', class: Google::Apis::BigqueryV2::DmlStatistics, decorator: Google::Apis::BigqueryV2::DmlStatistics::Representation
|
1812
|
+
|
1793
1813
|
property :estimated_bytes_processed, :numeric_string => true, as: 'estimatedBytesProcessed'
|
1794
1814
|
property :model_training, as: 'modelTraining', class: Google::Apis::BigqueryV2::BigQueryModelTraining, decorator: Google::Apis::BigqueryV2::BigQueryModelTraining::Representation
|
1795
1815
|
|
@@ -2089,6 +2109,8 @@ module Google
|
|
2089
2109
|
# @private
|
2090
2110
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2091
2111
|
property :cache_hit, as: 'cacheHit'
|
2112
|
+
property :dml_stats, as: 'dmlStats', class: Google::Apis::BigqueryV2::DmlStatistics, decorator: Google::Apis::BigqueryV2::DmlStatistics::Representation
|
2113
|
+
|
2092
2114
|
collection :errors, as: 'errors', class: Google::Apis::BigqueryV2::ErrorProto, decorator: Google::Apis::BigqueryV2::ErrorProto::Representation
|
2093
2115
|
|
2094
2116
|
property :job_complete, as: 'jobComplete'
|
@@ -2609,8 +2631,6 @@ module Google
|
|
2609
2631
|
|
2610
2632
|
property :evaluation_metrics, as: 'evaluationMetrics', class: Google::Apis::BigqueryV2::EvaluationMetrics, decorator: Google::Apis::BigqueryV2::EvaluationMetrics::Representation
|
2611
2633
|
|
2612
|
-
collection :global_explanations, as: 'globalExplanations', class: Google::Apis::BigqueryV2::GlobalExplanation, decorator: Google::Apis::BigqueryV2::GlobalExplanation::Representation
|
2613
|
-
|
2614
2634
|
collection :results, as: 'results', class: Google::Apis::BigqueryV2::IterationResult, decorator: Google::Apis::BigqueryV2::IterationResult::Representation
|
2615
2635
|
|
2616
2636
|
property :start_time, as: 'startTime'
|
@@ -2638,6 +2658,7 @@ module Google
|
|
2638
2658
|
# @private
|
2639
2659
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2640
2660
|
property :query, as: 'query'
|
2661
|
+
property :use_explicit_column_names, as: 'useExplicitColumnNames'
|
2641
2662
|
property :use_legacy_sql, as: 'useLegacySql'
|
2642
2663
|
collection :user_defined_function_resources, as: 'userDefinedFunctionResources', class: Google::Apis::BigqueryV2::UserDefinedFunctionResource, decorator: Google::Apis::BigqueryV2::UserDefinedFunctionResource::Representation
|
2643
2664
|
|
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.15.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-05
|
11
|
+
date: 2021-07-05 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.15.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: []
|