google-apis-bigquery_v2 0.13.0 → 0.17.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: 819a4cffd54494696c9857bc472d6562fe48010d9984ad30a0346bb915181fc0
4
- data.tar.gz: 1e670c613c23839c249a244736ceec83adb8cbd4929d17489416a7b90e7da8fa
3
+ metadata.gz: b5091e316b06374adfd8c8c737e8bc47cf8de7c01ec4f149281acb175b1023e8
4
+ data.tar.gz: 3ef80007dd5e777bd27641b4107e09fd176a8c1c8fc3365aa8e9ff6c0fe7f99a
5
5
  SHA512:
6
- metadata.gz: c92ebf6d294b6ec1ce525330aef135f5390ceb7ae8013ed85487a564f8e7ac824b9a555470b33fdd3d62c808104d557ed4e10b1227a4dfd134d2d8639306cbae
7
- data.tar.gz: 0d230f6665b07150cb896208de25f8e20487ae6605255534643558fbff2ce0ec182e229a19e89ccd46c26230f7ba2c5f1757fd05582837bc36181dccdd8be3e6
6
+ metadata.gz: 69df559cfa6940c409925b3a248a699ffe6a69786f99a2db08aa48d81812771e1320a6aa7d30e3afd3bbd2471be533d8721c7d4d86813a6fb5a323f1077b2a8a
7
+ data.tar.gz: '0329b563c3978e59d46bf336c5d94312b2d00fe167f055469199133cf250f01c78064b448f73fcd636c67fa022fb2ce3d4fe7c6f246cd72a4c2d66661ec1fc4d'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.17.0 (2021-09-10)
4
+
5
+ * Regenerated from discovery document revision 20210904
6
+
7
+ ### v0.16.0 (2021-09-02)
8
+
9
+ * Regenerated from discovery document revision 20210828
10
+
11
+ ### v0.15.0 (2021-06-29)
12
+
13
+ * Regenerated using generator version 0.4.0
14
+
15
+ ### v0.14.0 (2021-06-27)
16
+
17
+ * Regenerated from discovery document revision 20210617
18
+
3
19
  ### v0.13.0 (2021-06-04)
4
20
 
5
21
  * Regenerated from discovery document revision 20210529
@@ -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 sourceFormat is set to "AVRO", indicates whether to interpret
545
+ # logical types as the corresponding BigQuery data type (for example, TIMESTAMP),
546
+ # instead of using the raw type (for example, 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
@@ -1427,6 +1510,11 @@ module Google
1427
1510
  # @return [Google::Apis::BigqueryV2::DatasetReference]
1428
1511
  attr_accessor :dataset_reference
1429
1512
 
1513
+ # [Output-only] The default collation of the dataset.
1514
+ # Corresponds to the JSON property `defaultCollation`
1515
+ # @return [String]
1516
+ attr_accessor :default_collation
1517
+
1430
1518
  #
1431
1519
  # Corresponds to the JSON property `defaultEncryptionConfiguration`
1432
1520
  # @return [Google::Apis::BigqueryV2::EncryptionConfiguration]
@@ -1485,6 +1573,12 @@ module Google
1485
1573
  # @return [String]
1486
1574
  attr_accessor :id
1487
1575
 
1576
+ # [Optional] Indicates if table names are case insensitive in the dataset.
1577
+ # Corresponds to the JSON property `isCaseInsensitive`
1578
+ # @return [Boolean]
1579
+ attr_accessor :is_case_insensitive
1580
+ alias_method :is_case_insensitive?, :is_case_insensitive
1581
+
1488
1582
  # [Output-only] The resource type.
1489
1583
  # Corresponds to the JSON property `kind`
1490
1584
  # @return [String]
@@ -1530,6 +1624,7 @@ module Google
1530
1624
  @access = args[:access] if args.key?(:access)
1531
1625
  @creation_time = args[:creation_time] if args.key?(:creation_time)
1532
1626
  @dataset_reference = args[:dataset_reference] if args.key?(:dataset_reference)
1627
+ @default_collation = args[:default_collation] if args.key?(:default_collation)
1533
1628
  @default_encryption_configuration = args[:default_encryption_configuration] if args.key?(:default_encryption_configuration)
1534
1629
  @default_partition_expiration_ms = args[:default_partition_expiration_ms] if args.key?(:default_partition_expiration_ms)
1535
1630
  @default_table_expiration_ms = args[:default_table_expiration_ms] if args.key?(:default_table_expiration_ms)
@@ -1537,6 +1632,7 @@ module Google
1537
1632
  @etag = args[:etag] if args.key?(:etag)
1538
1633
  @friendly_name = args[:friendly_name] if args.key?(:friendly_name)
1539
1634
  @id = args[:id] if args.key?(:id)
1635
+ @is_case_insensitive = args[:is_case_insensitive] if args.key?(:is_case_insensitive)
1540
1636
  @kind = args[:kind] if args.key?(:kind)
1541
1637
  @labels = args[:labels] if args.key?(:labels)
1542
1638
  @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
@@ -1843,6 +1939,37 @@ module Google
1843
1939
  end
1844
1940
  end
1845
1941
 
1942
+ #
1943
+ class DmlStatistics
1944
+ include Google::Apis::Core::Hashable
1945
+
1946
+ # Number of deleted Rows. populated by DML DELETE, MERGE and TRUNCATE statements.
1947
+ # Corresponds to the JSON property `deletedRowCount`
1948
+ # @return [Fixnum]
1949
+ attr_accessor :deleted_row_count
1950
+
1951
+ # Number of inserted Rows. Populated by DML INSERT and MERGE statements.
1952
+ # Corresponds to the JSON property `insertedRowCount`
1953
+ # @return [Fixnum]
1954
+ attr_accessor :inserted_row_count
1955
+
1956
+ # Number of updated Rows. Populated by DML UPDATE and MERGE statements.
1957
+ # Corresponds to the JSON property `updatedRowCount`
1958
+ # @return [Fixnum]
1959
+ attr_accessor :updated_row_count
1960
+
1961
+ def initialize(**args)
1962
+ update!(**args)
1963
+ end
1964
+
1965
+ # Update properties of this object
1966
+ def update!(**args)
1967
+ @deleted_row_count = args[:deleted_row_count] if args.key?(:deleted_row_count)
1968
+ @inserted_row_count = args[:inserted_row_count] if args.key?(:inserted_row_count)
1969
+ @updated_row_count = args[:updated_row_count] if args.key?(:updated_row_count)
1970
+ end
1971
+ end
1972
+
1846
1973
  #
1847
1974
  class EncryptionConfiguration
1848
1975
  include Google::Apis::Core::Hashable
@@ -2200,32 +2327,6 @@ module Google
2200
2327
  end
2201
2328
  end
2202
2329
 
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
2330
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
2230
2331
  # CEL is a C-like expression language. The syntax and semantics of CEL are
2231
2332
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -2291,6 +2392,11 @@ module Google
2291
2392
  attr_accessor :autodetect
2292
2393
  alias_method :autodetect?, :autodetect
2293
2394
 
2395
+ # Additional properties to set if sourceFormat is set to Avro.
2396
+ # Corresponds to the JSON property `avroOptions`
2397
+ # @return [Google::Apis::BigqueryV2::AvroOptions]
2398
+ attr_accessor :avro_options
2399
+
2294
2400
  # [Optional] Additional options if sourceFormat is set to BIGTABLE.
2295
2401
  # Corresponds to the JSON property `bigtableOptions`
2296
2402
  # @return [Google::Apis::BigqueryV2::BigtableOptions]
@@ -2407,6 +2513,7 @@ module Google
2407
2513
  # Update properties of this object
2408
2514
  def update!(**args)
2409
2515
  @autodetect = args[:autodetect] if args.key?(:autodetect)
2516
+ @avro_options = args[:avro_options] if args.key?(:avro_options)
2410
2517
  @bigtable_options = args[:bigtable_options] if args.key?(:bigtable_options)
2411
2518
  @compression = args[:compression] if args.key?(:compression)
2412
2519
  @connection_id = args[:connection_id] if args.key?(:connection_id)
@@ -2624,34 +2731,6 @@ module Google
2624
2731
  end
2625
2732
  end
2626
2733
 
2627
- # Global explanations containing the top most important features after training.
2628
- class GlobalExplanation
2629
- include Google::Apis::Core::Hashable
2630
-
2631
- # Class label for this set of global explanations. Will be empty/null for binary
2632
- # logistic and linear regression models. Sorted alphabetically in descending
2633
- # order.
2634
- # Corresponds to the JSON property `classLabel`
2635
- # @return [String]
2636
- attr_accessor :class_label
2637
-
2638
- # A list of the top global explanations. Sorted by absolute value of attribution
2639
- # in descending order.
2640
- # Corresponds to the JSON property `explanations`
2641
- # @return [Array<Google::Apis::BigqueryV2::Explanation>]
2642
- attr_accessor :explanations
2643
-
2644
- def initialize(**args)
2645
- update!(**args)
2646
- end
2647
-
2648
- # Update properties of this object
2649
- def update!(**args)
2650
- @class_label = args[:class_label] if args.key?(:class_label)
2651
- @explanations = args[:explanations] if args.key?(:explanations)
2652
- end
2653
- end
2654
-
2655
2734
  #
2656
2735
  class GoogleSheetsOptions
2657
2736
  include Google::Apis::Core::Hashable
@@ -3280,9 +3359,9 @@ module Google
3280
3359
  # @return [Google::Apis::BigqueryV2::TimePartitioning]
3281
3360
  attr_accessor :time_partitioning
3282
3361
 
3283
- # [Optional] If sourceFormat is set to "AVRO", indicates whether to enable
3284
- # interpreting logical types into their corresponding types (ie. TIMESTAMP),
3285
- # instead of only using their raw types (ie. INTEGER).
3362
+ # [Optional] If sourceFormat is set to "AVRO", indicates whether to interpret
3363
+ # logical types as the corresponding BigQuery data type (for example, TIMESTAMP),
3364
+ # instead of using the raw type (for example, INTEGER).
3286
3365
  # Corresponds to the JSON property `useAvroLogicalTypes`
3287
3366
  # @return [Boolean]
3288
3367
  attr_accessor :use_avro_logical_types
@@ -3845,9 +3924,9 @@ module Google
3845
3924
  attr_accessor :script_statistics
3846
3925
 
3847
3926
  # [Output-only] [Preview] Information of the session if this job is part of one.
3848
- # Corresponds to the JSON property `sessionInfoTemplate`
3927
+ # Corresponds to the JSON property `sessionInfo`
3849
3928
  # @return [Google::Apis::BigqueryV2::SessionInfo]
3850
- attr_accessor :session_info_template
3929
+ attr_accessor :session_info
3851
3930
 
3852
3931
  # [Output-only] Start time of this job, in milliseconds since the epoch. This
3853
3932
  # field will be present when the job transitions from the PENDING state to
@@ -3892,7 +3971,7 @@ module Google
3892
3971
  @reservation_id = args[:reservation_id] if args.key?(:reservation_id)
3893
3972
  @row_level_security_statistics = args[:row_level_security_statistics] if args.key?(:row_level_security_statistics)
3894
3973
  @script_statistics = args[:script_statistics] if args.key?(:script_statistics)
3895
- @session_info_template = args[:session_info_template] if args.key?(:session_info_template)
3974
+ @session_info = args[:session_info] if args.key?(:session_info)
3896
3975
  @start_time = args[:start_time] if args.key?(:start_time)
3897
3976
  @total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed)
3898
3977
  @total_slot_ms = args[:total_slot_ms] if args.key?(:total_slot_ms)
@@ -3929,6 +4008,11 @@ module Google
3929
4008
  class JobStatistics2
3930
4009
  include Google::Apis::Core::Hashable
3931
4010
 
4011
+ # BI Engine specific Statistics. [Output-only] BI Engine specific Statistics.
4012
+ # Corresponds to the JSON property `biEngineStatistics`
4013
+ # @return [Google::Apis::BigqueryV2::BiEngineStatistics]
4014
+ attr_accessor :bi_engine_statistics
4015
+
3932
4016
  # [Output-only] Billing tier for the job.
3933
4017
  # Corresponds to the JSON property `billingTier`
3934
4018
  # @return [Fixnum]
@@ -3990,7 +4074,7 @@ module Google
3990
4074
  # [Output-only] Detailed statistics for DML statements Present only for DML
3991
4075
  # statements INSERT, UPDATE, DELETE or TRUNCATE.
3992
4076
  # Corresponds to the JSON property `dmlStats`
3993
- # @return [Object]
4077
+ # @return [Google::Apis::BigqueryV2::DmlStatistics]
3994
4078
  attr_accessor :dml_stats
3995
4079
 
3996
4080
  # [Output-only] The original estimate of bytes processed for the job.
@@ -4114,6 +4198,7 @@ module Google
4114
4198
 
4115
4199
  # Update properties of this object
4116
4200
  def update!(**args)
4201
+ @bi_engine_statistics = args[:bi_engine_statistics] if args.key?(:bi_engine_statistics)
4117
4202
  @billing_tier = args[:billing_tier] if args.key?(:billing_tier)
4118
4203
  @cache_hit = args[:cache_hit] if args.key?(:cache_hit)
4119
4204
  @ddl_affected_row_access_policy_count = args[:ddl_affected_row_access_policy_count] if args.key?(:ddl_affected_row_access_policy_count)
@@ -4717,7 +4802,7 @@ module Google
4717
4802
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
4718
4803
  # roles/resourcemanager.organizationViewer condition: title: expirable access
4719
4804
  # description: Does not grant access after Sep 2020 expression: request.time <
4720
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
4805
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
4721
4806
  # description of IAM and its features, see the [IAM documentation](https://cloud.
4722
4807
  # google.com/iam/docs/).
4723
4808
  class Policy
@@ -5198,7 +5283,7 @@ module Google
5198
5283
  # [Output-only] Detailed statistics for DML statements Present only for DML
5199
5284
  # statements INSERT, UPDATE, DELETE or TRUNCATE.
5200
5285
  # Corresponds to the JSON property `dmlStats`
5201
- # @return [Object]
5286
+ # @return [Google::Apis::BigqueryV2::DmlStatistics]
5202
5287
  attr_accessor :dml_stats
5203
5288
 
5204
5289
  # [Output-only] The first errors or warnings encountered during the running of
@@ -5254,9 +5339,9 @@ module Google
5254
5339
  attr_accessor :schema
5255
5340
 
5256
5341
  # [Output-only] [Preview] Information of the session if this job is part of one.
5257
- # Corresponds to the JSON property `sessionInfoTemplate`
5342
+ # Corresponds to the JSON property `sessionInfo`
5258
5343
  # @return [Google::Apis::BigqueryV2::SessionInfo]
5259
- attr_accessor :session_info_template
5344
+ attr_accessor :session_info
5260
5345
 
5261
5346
  # The total number of bytes processed for this query. If this query was a dry
5262
5347
  # run, this is the number of bytes that would be processed if the query were run.
@@ -5286,7 +5371,7 @@ module Google
5286
5371
  @page_token = args[:page_token] if args.key?(:page_token)
5287
5372
  @rows = args[:rows] if args.key?(:rows)
5288
5373
  @schema = args[:schema] if args.key?(:schema)
5289
- @session_info_template = args[:session_info_template] if args.key?(:session_info_template)
5374
+ @session_info = args[:session_info] if args.key?(:session_info)
5290
5375
  @total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed)
5291
5376
  @total_rows = args[:total_rows] if args.key?(:total_rows)
5292
5377
  end
@@ -5512,13 +5597,12 @@ module Google
5512
5597
  # @return [String]
5513
5598
  attr_accessor :definition_body
5514
5599
 
5515
- # Optional. [Experimental] The description of the routine if defined.
5600
+ # Optional. The description of the routine, if defined.
5516
5601
  # Corresponds to the JSON property `description`
5517
5602
  # @return [String]
5518
5603
  attr_accessor :description
5519
5604
 
5520
- # Optional. [Experimental] The determinism level of the JavaScript UDF if
5521
- # defined.
5605
+ # Optional. The determinism level of the JavaScript UDF, if defined.
5522
5606
  # Corresponds to the JSON property `determinismLevel`
5523
5607
  # @return [String]
5524
5608
  attr_accessor :determinism_level
@@ -5568,6 +5652,16 @@ module Google
5568
5652
  # @return [String]
5569
5653
  attr_accessor :routine_type
5570
5654
 
5655
+ # Optional. Can be set for procedures only. If true (default), the definition
5656
+ # body will be validated in the creation and the updates of the procedure. For
5657
+ # procedures with an argument of ANY TYPE, the definition body validtion is not
5658
+ # supported at creation/update time, and thus this field must be set to false
5659
+ # explicitly.
5660
+ # Corresponds to the JSON property `strictMode`
5661
+ # @return [Boolean]
5662
+ attr_accessor :strict_mode
5663
+ alias_method :strict_mode?, :strict_mode
5664
+
5571
5665
  def initialize(**args)
5572
5666
  update!(**args)
5573
5667
  end
@@ -5587,6 +5681,7 @@ module Google
5587
5681
  @return_type = args[:return_type] if args.key?(:return_type)
5588
5682
  @routine_reference = args[:routine_reference] if args.key?(:routine_reference)
5589
5683
  @routine_type = args[:routine_type] if args.key?(:routine_type)
5684
+ @strict_mode = args[:strict_mode] if args.key?(:strict_mode)
5590
5685
  end
5591
5686
  end
5592
5687
 
@@ -5880,7 +5975,7 @@ module Google
5880
5975
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
5881
5976
  # roles/resourcemanager.organizationViewer condition: title: expirable access
5882
5977
  # description: Does not grant access after Sep 2020 expression: request.time <
5883
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
5978
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
5884
5979
  # description of IAM and its features, see the [IAM documentation](https://cloud.
5885
5980
  # google.com/iam/docs/).
5886
5981
  # Corresponds to the JSON property `policy`
@@ -6086,6 +6181,11 @@ module Google
6086
6181
  # @return [Fixnum]
6087
6182
  attr_accessor :creation_time
6088
6183
 
6184
+ # [Output-only] The default collation of the table.
6185
+ # Corresponds to the JSON property `defaultCollation`
6186
+ # @return [String]
6187
+ attr_accessor :default_collation
6188
+
6089
6189
  # [Optional] A user-friendly description of this table.
6090
6190
  # Corresponds to the JSON property `description`
6091
6191
  # @return [String]
@@ -6262,6 +6362,7 @@ module Google
6262
6362
  def update!(**args)
6263
6363
  @clustering = args[:clustering] if args.key?(:clustering)
6264
6364
  @creation_time = args[:creation_time] if args.key?(:creation_time)
6365
+ @default_collation = args[:default_collation] if args.key?(:default_collation)
6265
6366
  @description = args[:description] if args.key?(:description)
6266
6367
  @encryption_configuration = args[:encryption_configuration] if args.key?(:encryption_configuration)
6267
6368
  @etag = args[:etag] if args.key?(:etag)
@@ -6495,6 +6596,12 @@ module Google
6495
6596
  # @return [Google::Apis::BigqueryV2::TableFieldSchema::Categories]
6496
6597
  attr_accessor :categories
6497
6598
 
6599
+ # Optional. Collation specification of the field. It only can be set on string
6600
+ # type field.
6601
+ # Corresponds to the JSON property `collationSpec`
6602
+ # @return [String]
6603
+ attr_accessor :collation_spec
6604
+
6498
6605
  # [Optional] The field description. The maximum length is 1,024 characters.
6499
6606
  # Corresponds to the JSON property `description`
6500
6607
  # @return [String]
@@ -6575,6 +6682,7 @@ module Google
6575
6682
  # Update properties of this object
6576
6683
  def update!(**args)
6577
6684
  @categories = args[:categories] if args.key?(:categories)
6685
+ @collation_spec = args[:collation_spec] if args.key?(:collation_spec)
6578
6686
  @description = args[:description] if args.key?(:description)
6579
6687
  @fields = args[:fields] if args.key?(:fields)
6580
6688
  @max_length = args[:max_length] if args.key?(:max_length)
@@ -7276,13 +7384,6 @@ module Google
7276
7384
  # @return [Google::Apis::BigqueryV2::EvaluationMetrics]
7277
7385
  attr_accessor :evaluation_metrics
7278
7386
 
7279
- # Global explanations for important features of the model. For multi-class
7280
- # models, there is one entry for each label class. For other models, there is
7281
- # only one entry in the list.
7282
- # Corresponds to the JSON property `globalExplanations`
7283
- # @return [Array<Google::Apis::BigqueryV2::GlobalExplanation>]
7284
- attr_accessor :global_explanations
7285
-
7286
7387
  # Output of each iteration run, results.size() <= max_iterations.
7287
7388
  # Corresponds to the JSON property `results`
7288
7389
  # @return [Array<Google::Apis::BigqueryV2::IterationResult>]
@@ -7306,7 +7407,6 @@ module Google
7306
7407
  def update!(**args)
7307
7408
  @data_split_result = args[:data_split_result] if args.key?(:data_split_result)
7308
7409
  @evaluation_metrics = args[:evaluation_metrics] if args.key?(:evaluation_metrics)
7309
- @global_explanations = args[:global_explanations] if args.key?(:global_explanations)
7310
7410
  @results = args[:results] if args.key?(:results)
7311
7411
  @start_time = args[:start_time] if args.key?(:start_time)
7312
7412
  @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.13.0"
19
+ GEM_VERSION = "0.17.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.3.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210529"
25
+ REVISION = "20210904"
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
@@ -1207,6 +1244,7 @@ module Google
1207
1244
  property :creation_time, :numeric_string => true, as: 'creationTime'
1208
1245
  property :dataset_reference, as: 'datasetReference', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
1209
1246
 
1247
+ property :default_collation, as: 'defaultCollation'
1210
1248
  property :default_encryption_configuration, as: 'defaultEncryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
1211
1249
 
1212
1250
  property :default_partition_expiration_ms, :numeric_string => true, as: 'defaultPartitionExpirationMs'
@@ -1215,6 +1253,7 @@ module Google
1215
1253
  property :etag, as: 'etag'
1216
1254
  property :friendly_name, as: 'friendlyName'
1217
1255
  property :id, as: 'id'
1256
+ property :is_case_insensitive, as: 'isCaseInsensitive'
1218
1257
  property :kind, as: 'kind'
1219
1258
  hash :labels, as: 'labels'
1220
1259
  property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime'
@@ -1300,6 +1339,15 @@ module Google
1300
1339
  end
1301
1340
  end
1302
1341
 
1342
+ class DmlStatistics
1343
+ # @private
1344
+ class Representation < Google::Apis::Core::JsonRepresentation
1345
+ property :deleted_row_count, :numeric_string => true, as: 'deletedRowCount'
1346
+ property :inserted_row_count, :numeric_string => true, as: 'insertedRowCount'
1347
+ property :updated_row_count, :numeric_string => true, as: 'updatedRowCount'
1348
+ end
1349
+ end
1350
+
1303
1351
  class EncryptionConfiguration
1304
1352
  # @private
1305
1353
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1388,14 +1436,6 @@ module Google
1388
1436
  end
1389
1437
  end
1390
1438
 
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
1439
  class Expr
1400
1440
  # @private
1401
1441
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1410,6 +1450,8 @@ module Google
1410
1450
  # @private
1411
1451
  class Representation < Google::Apis::Core::JsonRepresentation
1412
1452
  property :autodetect, as: 'autodetect'
1453
+ property :avro_options, as: 'avroOptions', class: Google::Apis::BigqueryV2::AvroOptions, decorator: Google::Apis::BigqueryV2::AvroOptions::Representation
1454
+
1413
1455
  property :bigtable_options, as: 'bigtableOptions', class: Google::Apis::BigqueryV2::BigtableOptions, decorator: Google::Apis::BigqueryV2::BigtableOptions::Representation
1414
1456
 
1415
1457
  property :compression, as: 'compression'
@@ -1487,15 +1529,6 @@ module Google
1487
1529
  end
1488
1530
  end
1489
1531
 
1490
- class GlobalExplanation
1491
- # @private
1492
- class Representation < Google::Apis::Core::JsonRepresentation
1493
- property :class_label, as: 'classLabel'
1494
- collection :explanations, as: 'explanations', class: Google::Apis::BigqueryV2::Explanation, decorator: Google::Apis::BigqueryV2::Explanation::Representation
1495
-
1496
- end
1497
- end
1498
-
1499
1532
  class GoogleSheetsOptions
1500
1533
  # @private
1501
1534
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1756,7 +1789,7 @@ module Google
1756
1789
 
1757
1790
  property :script_statistics, as: 'scriptStatistics', class: Google::Apis::BigqueryV2::ScriptStatistics, decorator: Google::Apis::BigqueryV2::ScriptStatistics::Representation
1758
1791
 
1759
- property :session_info_template, as: 'sessionInfoTemplate', class: Google::Apis::BigqueryV2::SessionInfo, decorator: Google::Apis::BigqueryV2::SessionInfo::Representation
1792
+ property :session_info, as: 'sessionInfo', class: Google::Apis::BigqueryV2::SessionInfo, decorator: Google::Apis::BigqueryV2::SessionInfo::Representation
1760
1793
 
1761
1794
  property :start_time, :numeric_string => true, as: 'startTime'
1762
1795
  property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
@@ -1777,6 +1810,8 @@ module Google
1777
1810
  class JobStatistics2
1778
1811
  # @private
1779
1812
  class Representation < Google::Apis::Core::JsonRepresentation
1813
+ property :bi_engine_statistics, as: 'biEngineStatistics', class: Google::Apis::BigqueryV2::BiEngineStatistics, decorator: Google::Apis::BigqueryV2::BiEngineStatistics::Representation
1814
+
1780
1815
  property :billing_tier, as: 'billingTier'
1781
1816
  property :cache_hit, as: 'cacheHit'
1782
1817
  property :ddl_affected_row_access_policy_count, :numeric_string => true, as: 'ddlAffectedRowAccessPolicyCount'
@@ -1791,7 +1826,8 @@ module Google
1791
1826
 
1792
1827
  property :ddl_target_table, as: 'ddlTargetTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
1793
1828
 
1794
- property :dml_stats, as: 'dmlStats'
1829
+ property :dml_stats, as: 'dmlStats', class: Google::Apis::BigqueryV2::DmlStatistics, decorator: Google::Apis::BigqueryV2::DmlStatistics::Representation
1830
+
1795
1831
  property :estimated_bytes_processed, :numeric_string => true, as: 'estimatedBytesProcessed'
1796
1832
  property :model_training, as: 'modelTraining', class: Google::Apis::BigqueryV2::BigQueryModelTraining, decorator: Google::Apis::BigqueryV2::BigQueryModelTraining::Representation
1797
1833
 
@@ -2091,7 +2127,8 @@ module Google
2091
2127
  # @private
2092
2128
  class Representation < Google::Apis::Core::JsonRepresentation
2093
2129
  property :cache_hit, as: 'cacheHit'
2094
- property :dml_stats, as: 'dmlStats'
2130
+ property :dml_stats, as: 'dmlStats', class: Google::Apis::BigqueryV2::DmlStatistics, decorator: Google::Apis::BigqueryV2::DmlStatistics::Representation
2131
+
2095
2132
  collection :errors, as: 'errors', class: Google::Apis::BigqueryV2::ErrorProto, decorator: Google::Apis::BigqueryV2::ErrorProto::Representation
2096
2133
 
2097
2134
  property :job_complete, as: 'jobComplete'
@@ -2104,7 +2141,7 @@ module Google
2104
2141
 
2105
2142
  property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
2106
2143
 
2107
- property :session_info_template, as: 'sessionInfoTemplate', class: Google::Apis::BigqueryV2::SessionInfo, decorator: Google::Apis::BigqueryV2::SessionInfo::Representation
2144
+ property :session_info, as: 'sessionInfo', class: Google::Apis::BigqueryV2::SessionInfo, decorator: Google::Apis::BigqueryV2::SessionInfo::Representation
2108
2145
 
2109
2146
  property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
2110
2147
  property :total_rows, :numeric_string => true, as: 'totalRows'
@@ -2181,6 +2218,7 @@ module Google
2181
2218
  property :routine_reference, as: 'routineReference', class: Google::Apis::BigqueryV2::RoutineReference, decorator: Google::Apis::BigqueryV2::RoutineReference::Representation
2182
2219
 
2183
2220
  property :routine_type, as: 'routineType'
2221
+ property :strict_mode, as: 'strictMode'
2184
2222
  end
2185
2223
  end
2186
2224
 
@@ -2329,6 +2367,7 @@ module Google
2329
2367
  property :clustering, as: 'clustering', class: Google::Apis::BigqueryV2::Clustering, decorator: Google::Apis::BigqueryV2::Clustering::Representation
2330
2368
 
2331
2369
  property :creation_time, :numeric_string => true, as: 'creationTime'
2370
+ property :default_collation, as: 'defaultCollation'
2332
2371
  property :description, as: 'description'
2333
2372
  property :encryption_configuration, as: 'encryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
2334
2373
 
@@ -2432,6 +2471,7 @@ module Google
2432
2471
  class Representation < Google::Apis::Core::JsonRepresentation
2433
2472
  property :categories, as: 'categories', class: Google::Apis::BigqueryV2::TableFieldSchema::Categories, decorator: Google::Apis::BigqueryV2::TableFieldSchema::Categories::Representation
2434
2473
 
2474
+ property :collation_spec, as: 'collationSpec'
2435
2475
  property :description, as: 'description'
2436
2476
  collection :fields, as: 'fields', class: Google::Apis::BigqueryV2::TableFieldSchema, decorator: Google::Apis::BigqueryV2::TableFieldSchema::Representation
2437
2477
 
@@ -2612,8 +2652,6 @@ module Google
2612
2652
 
2613
2653
  property :evaluation_metrics, as: 'evaluationMetrics', class: Google::Apis::BigqueryV2::EvaluationMetrics, decorator: Google::Apis::BigqueryV2::EvaluationMetrics::Representation
2614
2654
 
2615
- collection :global_explanations, as: 'globalExplanations', class: Google::Apis::BigqueryV2::GlobalExplanation, decorator: Google::Apis::BigqueryV2::GlobalExplanation::Representation
2616
-
2617
2655
  collection :results, as: 'results', class: Google::Apis::BigqueryV2::IterationResult, decorator: Google::Apis::BigqueryV2::IterationResult::Representation
2618
2656
 
2619
2657
  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 Platform data
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 Platform services
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 Google Cloud Storage
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 Google Cloud Storage
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.13.0
4
+ version: 0.17.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-06-07 00:00:00.000000000 Z
11
+ date: 2021-09-13 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.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: '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.13.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.17.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: []