google-apis-bigquery_v2 0.15.0 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 07da4527c9f694b1177d51dc4c6d46a8e39882cda43df2a6036a5acb2d178a7e
4
- data.tar.gz: dcb1551816d9ef4ed9bc1a7c690f17a4cc1a43c402e1252995b77090dd836395
3
+ metadata.gz: 34007ad79e7d6922ab68294ce07a49812fac0f7b09fe3713866006267ce3bde5
4
+ data.tar.gz: 7bc7559e034e74abab286d942705249ea5a060dafae5679e863eb8dd569d5c58
5
5
  SHA512:
6
- metadata.gz: d98794c24a085dc2a2101bea63d46d0a6e1d9201b218ef0052c3dd4a9d430cd717c6d290593e65e2561b59af6a313f522e33ee1c6be8357a6a924edc813c1673
7
- data.tar.gz: 8e8c95d8426858f0a2da06586c05c5d1c54a1ef1087909bd1f0214524b766f157e516d48560d66fc2fdc101e412b939914b193809b16715cc60e5f8c55ff4c9d
6
+ metadata.gz: 1b2456c00169206b2bdd5d0abdd2534870853fba3e911d2de067920c0c4f971f41fe874e97655a77d18236ef72b1b3138862d312a2d51056d064afd3b662e195
7
+ data.tar.gz: 3a4576b30e430f6ebbc4cb626fbcab6eb7d0faa1df681c7501e93df792fa17e4130b24e0c194978a15adfe272f1e84c91b3f7f6c52a1b8822663ff898452b3df
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.19.0 (2021-10-02)
4
+
5
+ * Regenerated from discovery document revision 20210927
6
+
7
+ ### v0.18.0 (2021-09-21)
8
+
9
+ * Regenerated from discovery document revision 20210910
10
+
11
+ ### v0.17.0 (2021-09-10)
12
+
13
+ * Regenerated from discovery document revision 20210904
14
+
15
+ ### v0.16.0 (2021-09-02)
16
+
17
+ * Regenerated from discovery document revision 20210828
18
+
3
19
  ### v0.15.0 (2021-06-29)
4
20
 
5
21
  * Regenerated using generator version 0.4.0
@@ -537,6 +537,28 @@ 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
+
540
562
  #
541
563
  class BiEngineReason
542
564
  include Google::Apis::Core::Hashable
@@ -1387,6 +1409,12 @@ module Google
1387
1409
  # @return [String]
1388
1410
  attr_accessor :field_delimiter
1389
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
+
1390
1418
  # [Optional] The value that is used to quote data sections in a CSV file.
1391
1419
  # BigQuery converts the string to ISO-8859-1 encoding, and then uses the first
1392
1420
  # byte of the encoded string to split the data in its raw, binary state. The
@@ -1423,6 +1451,7 @@ module Google
1423
1451
  @allow_quoted_newlines = args[:allow_quoted_newlines] if args.key?(:allow_quoted_newlines)
1424
1452
  @encoding = args[:encoding] if args.key?(:encoding)
1425
1453
  @field_delimiter = args[:field_delimiter] if args.key?(:field_delimiter)
1454
+ @null_marker = args[:null_marker] if args.key?(:null_marker)
1426
1455
  @quote = args[:quote] if args.key?(:quote)
1427
1456
  @skip_leading_rows = args[:skip_leading_rows] if args.key?(:skip_leading_rows)
1428
1457
  end
@@ -1481,6 +1510,11 @@ module Google
1481
1510
  # @return [Google::Apis::BigqueryV2::DatasetReference]
1482
1511
  attr_accessor :dataset_reference
1483
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
+
1484
1518
  #
1485
1519
  # Corresponds to the JSON property `defaultEncryptionConfiguration`
1486
1520
  # @return [Google::Apis::BigqueryV2::EncryptionConfiguration]
@@ -1539,6 +1573,12 @@ module Google
1539
1573
  # @return [String]
1540
1574
  attr_accessor :id
1541
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
+
1542
1582
  # [Output-only] The resource type.
1543
1583
  # Corresponds to the JSON property `kind`
1544
1584
  # @return [String]
@@ -1584,6 +1624,7 @@ module Google
1584
1624
  @access = args[:access] if args.key?(:access)
1585
1625
  @creation_time = args[:creation_time] if args.key?(:creation_time)
1586
1626
  @dataset_reference = args[:dataset_reference] if args.key?(:dataset_reference)
1627
+ @default_collation = args[:default_collation] if args.key?(:default_collation)
1587
1628
  @default_encryption_configuration = args[:default_encryption_configuration] if args.key?(:default_encryption_configuration)
1588
1629
  @default_partition_expiration_ms = args[:default_partition_expiration_ms] if args.key?(:default_partition_expiration_ms)
1589
1630
  @default_table_expiration_ms = args[:default_table_expiration_ms] if args.key?(:default_table_expiration_ms)
@@ -1591,6 +1632,7 @@ module Google
1591
1632
  @etag = args[:etag] if args.key?(:etag)
1592
1633
  @friendly_name = args[:friendly_name] if args.key?(:friendly_name)
1593
1634
  @id = args[:id] if args.key?(:id)
1635
+ @is_case_insensitive = args[:is_case_insensitive] if args.key?(:is_case_insensitive)
1594
1636
  @kind = args[:kind] if args.key?(:kind)
1595
1637
  @labels = args[:labels] if args.key?(:labels)
1596
1638
  @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
@@ -1870,6 +1912,19 @@ module Google
1870
1912
  # @return [String]
1871
1913
  attr_accessor :description
1872
1914
 
1915
+ # [Optional] The expiration timestamp for the destination table. If this field
1916
+ # is set: For a new table, it will set the table's expiration time (even if
1917
+ # there is a dataset level default table expiration time). For an existing table,
1918
+ # it will update the table's expiration time. If this field is not set: For a
1919
+ # new table, if dataset level default table expiration time is present, that
1920
+ # will be applied. For an existing table, no change is made to the table's
1921
+ # expiration time. Additionally this field is only applied when data is written
1922
+ # to an empty table (WRITE_EMPTY) or data is overwritten to a table (
1923
+ # WRITE_TRUNCATE).
1924
+ # Corresponds to the JSON property `expirationTimestampMillis`
1925
+ # @return [Fixnum]
1926
+ attr_accessor :expiration_timestamp_millis
1927
+
1873
1928
  # [Optional] The friendly name for the destination table. This will only be used
1874
1929
  # if the destination table is newly created. If the table already exists and a
1875
1930
  # value different than the current friendly name is provided, the job will fail.
@@ -1892,6 +1947,7 @@ module Google
1892
1947
  # Update properties of this object
1893
1948
  def update!(**args)
1894
1949
  @description = args[:description] if args.key?(:description)
1950
+ @expiration_timestamp_millis = args[:expiration_timestamp_millis] if args.key?(:expiration_timestamp_millis)
1895
1951
  @friendly_name = args[:friendly_name] if args.key?(:friendly_name)
1896
1952
  @labels = args[:labels] if args.key?(:labels)
1897
1953
  end
@@ -2350,6 +2406,11 @@ module Google
2350
2406
  attr_accessor :autodetect
2351
2407
  alias_method :autodetect?, :autodetect
2352
2408
 
2409
+ # Additional properties to set if sourceFormat is set to Avro.
2410
+ # Corresponds to the JSON property `avroOptions`
2411
+ # @return [Google::Apis::BigqueryV2::AvroOptions]
2412
+ attr_accessor :avro_options
2413
+
2353
2414
  # [Optional] Additional options if sourceFormat is set to BIGTABLE.
2354
2415
  # Corresponds to the JSON property `bigtableOptions`
2355
2416
  # @return [Google::Apis::BigqueryV2::BigtableOptions]
@@ -2466,6 +2527,7 @@ module Google
2466
2527
  # Update properties of this object
2467
2528
  def update!(**args)
2468
2529
  @autodetect = args[:autodetect] if args.key?(:autodetect)
2530
+ @avro_options = args[:avro_options] if args.key?(:avro_options)
2469
2531
  @bigtable_options = args[:bigtable_options] if args.key?(:bigtable_options)
2470
2532
  @compression = args[:compression] if args.key?(:compression)
2471
2533
  @connection_id = args[:connection_id] if args.key?(:connection_id)
@@ -3311,9 +3373,9 @@ module Google
3311
3373
  # @return [Google::Apis::BigqueryV2::TimePartitioning]
3312
3374
  attr_accessor :time_partitioning
3313
3375
 
3314
- # [Optional] If sourceFormat is set to "AVRO", indicates whether to enable
3315
- # interpreting logical types into their corresponding types (ie. TIMESTAMP),
3316
- # instead of only using their raw types (ie. INTEGER).
3376
+ # [Optional] If sourceFormat is set to "AVRO", indicates whether to interpret
3377
+ # logical types as the corresponding BigQuery data type (for example, TIMESTAMP),
3378
+ # instead of using the raw type (for example, INTEGER).
3317
3379
  # Corresponds to the JSON property `useAvroLogicalTypes`
3318
3380
  # @return [Boolean]
3319
3381
  attr_accessor :use_avro_logical_types
@@ -4754,7 +4816,7 @@ module Google
4754
4816
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
4755
4817
  # roles/resourcemanager.organizationViewer condition: title: expirable access
4756
4818
  # description: Does not grant access after Sep 2020 expression: request.time <
4757
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
4819
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
4758
4820
  # description of IAM and its features, see the [IAM documentation](https://cloud.
4759
4821
  # google.com/iam/docs/).
4760
4822
  class Policy
@@ -5291,9 +5353,9 @@ module Google
5291
5353
  attr_accessor :schema
5292
5354
 
5293
5355
  # [Output-only] [Preview] Information of the session if this job is part of one.
5294
- # Corresponds to the JSON property `sessionInfoTemplate`
5356
+ # Corresponds to the JSON property `sessionInfo`
5295
5357
  # @return [Google::Apis::BigqueryV2::SessionInfo]
5296
- attr_accessor :session_info_template
5358
+ attr_accessor :session_info
5297
5359
 
5298
5360
  # The total number of bytes processed for this query. If this query was a dry
5299
5361
  # run, this is the number of bytes that would be processed if the query were run.
@@ -5323,7 +5385,7 @@ module Google
5323
5385
  @page_token = args[:page_token] if args.key?(:page_token)
5324
5386
  @rows = args[:rows] if args.key?(:rows)
5325
5387
  @schema = args[:schema] if args.key?(:schema)
5326
- @session_info_template = args[:session_info_template] if args.key?(:session_info_template)
5388
+ @session_info = args[:session_info] if args.key?(:session_info)
5327
5389
  @total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed)
5328
5390
  @total_rows = args[:total_rows] if args.key?(:total_rows)
5329
5391
  end
@@ -5549,13 +5611,12 @@ module Google
5549
5611
  # @return [String]
5550
5612
  attr_accessor :definition_body
5551
5613
 
5552
- # Optional. [Experimental] The description of the routine if defined.
5614
+ # Optional. The description of the routine, if defined.
5553
5615
  # Corresponds to the JSON property `description`
5554
5616
  # @return [String]
5555
5617
  attr_accessor :description
5556
5618
 
5557
- # Optional. [Experimental] The determinism level of the JavaScript UDF if
5558
- # defined.
5619
+ # Optional. The determinism level of the JavaScript UDF, if defined.
5559
5620
  # Corresponds to the JSON property `determinismLevel`
5560
5621
  # @return [String]
5561
5622
  attr_accessor :determinism_level
@@ -5605,6 +5666,16 @@ module Google
5605
5666
  # @return [String]
5606
5667
  attr_accessor :routine_type
5607
5668
 
5669
+ # Optional. Can be set for procedures only. If true (default), the definition
5670
+ # body will be validated in the creation and the updates of the procedure. For
5671
+ # procedures with an argument of ANY TYPE, the definition body validtion is not
5672
+ # supported at creation/update time, and thus this field must be set to false
5673
+ # explicitly.
5674
+ # Corresponds to the JSON property `strictMode`
5675
+ # @return [Boolean]
5676
+ attr_accessor :strict_mode
5677
+ alias_method :strict_mode?, :strict_mode
5678
+
5608
5679
  def initialize(**args)
5609
5680
  update!(**args)
5610
5681
  end
@@ -5624,6 +5695,7 @@ module Google
5624
5695
  @return_type = args[:return_type] if args.key?(:return_type)
5625
5696
  @routine_reference = args[:routine_reference] if args.key?(:routine_reference)
5626
5697
  @routine_type = args[:routine_type] if args.key?(:routine_type)
5698
+ @strict_mode = args[:strict_mode] if args.key?(:strict_mode)
5627
5699
  end
5628
5700
  end
5629
5701
 
@@ -5917,7 +5989,7 @@ module Google
5917
5989
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
5918
5990
  # roles/resourcemanager.organizationViewer condition: title: expirable access
5919
5991
  # description: Does not grant access after Sep 2020 expression: request.time <
5920
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
5992
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
5921
5993
  # description of IAM and its features, see the [IAM documentation](https://cloud.
5922
5994
  # google.com/iam/docs/).
5923
5995
  # Corresponds to the JSON property `policy`
@@ -6123,6 +6195,11 @@ module Google
6123
6195
  # @return [Fixnum]
6124
6196
  attr_accessor :creation_time
6125
6197
 
6198
+ # [Output-only] The default collation of the table.
6199
+ # Corresponds to the JSON property `defaultCollation`
6200
+ # @return [String]
6201
+ attr_accessor :default_collation
6202
+
6126
6203
  # [Optional] A user-friendly description of this table.
6127
6204
  # Corresponds to the JSON property `description`
6128
6205
  # @return [String]
@@ -6299,6 +6376,7 @@ module Google
6299
6376
  def update!(**args)
6300
6377
  @clustering = args[:clustering] if args.key?(:clustering)
6301
6378
  @creation_time = args[:creation_time] if args.key?(:creation_time)
6379
+ @default_collation = args[:default_collation] if args.key?(:default_collation)
6302
6380
  @description = args[:description] if args.key?(:description)
6303
6381
  @encryption_configuration = args[:encryption_configuration] if args.key?(:encryption_configuration)
6304
6382
  @etag = args[:etag] if args.key?(:etag)
@@ -6532,6 +6610,12 @@ module Google
6532
6610
  # @return [Google::Apis::BigqueryV2::TableFieldSchema::Categories]
6533
6611
  attr_accessor :categories
6534
6612
 
6613
+ # Optional. Collation specification of the field. It only can be set on string
6614
+ # type field.
6615
+ # Corresponds to the JSON property `collationSpec`
6616
+ # @return [String]
6617
+ attr_accessor :collation_spec
6618
+
6535
6619
  # [Optional] The field description. The maximum length is 1,024 characters.
6536
6620
  # Corresponds to the JSON property `description`
6537
6621
  # @return [String]
@@ -6612,6 +6696,7 @@ module Google
6612
6696
  # Update properties of this object
6613
6697
  def update!(**args)
6614
6698
  @categories = args[:categories] if args.key?(:categories)
6699
+ @collation_spec = args[:collation_spec] if args.key?(:collation_spec)
6615
6700
  @description = args[:description] if args.key?(:description)
6616
6701
  @fields = args[:fields] if args.key?(:fields)
6617
6702
  @max_length = args[:max_length] if args.key?(:max_length)
@@ -6998,12 +7083,37 @@ module Google
6998
7083
  # @return [Fixnum]
6999
7084
  attr_accessor :batch_size
7000
7085
 
7086
+ # Booster type for boosted tree models.
7087
+ # Corresponds to the JSON property `boosterType`
7088
+ # @return [String]
7089
+ attr_accessor :booster_type
7090
+
7001
7091
  # If true, clean spikes and dips in the input time series.
7002
7092
  # Corresponds to the JSON property `cleanSpikesAndDips`
7003
7093
  # @return [Boolean]
7004
7094
  attr_accessor :clean_spikes_and_dips
7005
7095
  alias_method :clean_spikes_and_dips?, :clean_spikes_and_dips
7006
7096
 
7097
+ # Subsample ratio of columns for each level for boosted tree models.
7098
+ # Corresponds to the JSON property `colsampleBylevel`
7099
+ # @return [Float]
7100
+ attr_accessor :colsample_bylevel
7101
+
7102
+ # Subsample ratio of columns for each node(split) for boosted tree models.
7103
+ # Corresponds to the JSON property `colsampleBynode`
7104
+ # @return [Float]
7105
+ attr_accessor :colsample_bynode
7106
+
7107
+ # Subsample ratio of columns when constructing each tree for boosted tree models.
7108
+ # Corresponds to the JSON property `colsampleBytree`
7109
+ # @return [Float]
7110
+ attr_accessor :colsample_bytree
7111
+
7112
+ # Type of normalization algorithm for boosted tree models using dart booster.
7113
+ # Corresponds to the JSON property `dartNormalizeType`
7114
+ # @return [String]
7115
+ attr_accessor :dart_normalize_type
7116
+
7007
7117
  # The data frequency of a time series.
7008
7118
  # Corresponds to the JSON property `dataFrequency`
7009
7119
  # @return [String]
@@ -7164,6 +7274,11 @@ module Google
7164
7274
  # @return [Float]
7165
7275
  attr_accessor :min_split_loss
7166
7276
 
7277
+ # Minimum sum of instance weight needed in a child for boosted tree models.
7278
+ # Corresponds to the JSON property `minTreeChildWeight`
7279
+ # @return [Fixnum]
7280
+ attr_accessor :min_tree_child_weight
7281
+
7167
7282
  # Google Cloud Storage URI from which the model was imported. Only applicable
7168
7283
  # for imported models.
7169
7284
  # Corresponds to the JSON property `modelUri`
@@ -7185,6 +7300,12 @@ module Google
7185
7300
  # @return [Fixnum]
7186
7301
  attr_accessor :num_factors
7187
7302
 
7303
+ # Number of parallel trees constructed during each iteration for boosted tree
7304
+ # models.
7305
+ # Corresponds to the JSON property `numParallelTree`
7306
+ # @return [Fixnum]
7307
+ attr_accessor :num_parallel_tree
7308
+
7188
7309
  # Optimization strategy for training linear regression models.
7189
7310
  # Corresponds to the JSON property `optimizationStrategy`
7190
7311
  # @return [String]
@@ -7224,6 +7345,11 @@ module Google
7224
7345
  # @return [String]
7225
7346
  attr_accessor :time_series_timestamp_column
7226
7347
 
7348
+ # Tree construction algorithm for boosted tree models.
7349
+ # Corresponds to the JSON property `treeMethod`
7350
+ # @return [String]
7351
+ attr_accessor :tree_method
7352
+
7227
7353
  # User column specified for matrix factorization models.
7228
7354
  # Corresponds to the JSON property `userColumn`
7229
7355
  # @return [String]
@@ -7250,7 +7376,12 @@ module Google
7250
7376
  @auto_arima = args[:auto_arima] if args.key?(:auto_arima)
7251
7377
  @auto_arima_max_order = args[:auto_arima_max_order] if args.key?(:auto_arima_max_order)
7252
7378
  @batch_size = args[:batch_size] if args.key?(:batch_size)
7379
+ @booster_type = args[:booster_type] if args.key?(:booster_type)
7253
7380
  @clean_spikes_and_dips = args[:clean_spikes_and_dips] if args.key?(:clean_spikes_and_dips)
7381
+ @colsample_bylevel = args[:colsample_bylevel] if args.key?(:colsample_bylevel)
7382
+ @colsample_bynode = args[:colsample_bynode] if args.key?(:colsample_bynode)
7383
+ @colsample_bytree = args[:colsample_bytree] if args.key?(:colsample_bytree)
7384
+ @dart_normalize_type = args[:dart_normalize_type] if args.key?(:dart_normalize_type)
7254
7385
  @data_frequency = args[:data_frequency] if args.key?(:data_frequency)
7255
7386
  @data_split_column = args[:data_split_column] if args.key?(:data_split_column)
7256
7387
  @data_split_eval_fraction = args[:data_split_eval_fraction] if args.key?(:data_split_eval_fraction)
@@ -7279,10 +7410,12 @@ module Google
7279
7410
  @max_tree_depth = args[:max_tree_depth] if args.key?(:max_tree_depth)
7280
7411
  @min_relative_progress = args[:min_relative_progress] if args.key?(:min_relative_progress)
7281
7412
  @min_split_loss = args[:min_split_loss] if args.key?(:min_split_loss)
7413
+ @min_tree_child_weight = args[:min_tree_child_weight] if args.key?(:min_tree_child_weight)
7282
7414
  @model_uri = args[:model_uri] if args.key?(:model_uri)
7283
7415
  @non_seasonal_order = args[:non_seasonal_order] if args.key?(:non_seasonal_order)
7284
7416
  @num_clusters = args[:num_clusters] if args.key?(:num_clusters)
7285
7417
  @num_factors = args[:num_factors] if args.key?(:num_factors)
7418
+ @num_parallel_tree = args[:num_parallel_tree] if args.key?(:num_parallel_tree)
7286
7419
  @optimization_strategy = args[:optimization_strategy] if args.key?(:optimization_strategy)
7287
7420
  @preserve_input_structs = args[:preserve_input_structs] if args.key?(:preserve_input_structs)
7288
7421
  @subsample = args[:subsample] if args.key?(:subsample)
@@ -7290,6 +7423,7 @@ module Google
7290
7423
  @time_series_id_column = args[:time_series_id_column] if args.key?(:time_series_id_column)
7291
7424
  @time_series_id_columns = args[:time_series_id_columns] if args.key?(:time_series_id_columns)
7292
7425
  @time_series_timestamp_column = args[:time_series_timestamp_column] if args.key?(:time_series_timestamp_column)
7426
+ @tree_method = args[:tree_method] if args.key?(:tree_method)
7293
7427
  @user_column = args[:user_column] if args.key?(:user_column)
7294
7428
  @wals_alpha = args[:wals_alpha] if args.key?(:wals_alpha)
7295
7429
  @warm_start = args[:warm_start] if args.key?(:warm_start)
@@ -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.15.0"
19
+ GEM_VERSION = "0.19.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210617"
25
+ REVISION = "20210927"
26
26
  end
27
27
  end
28
28
  end
@@ -88,6 +88,12 @@ 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
+
91
97
  class BiEngineReason
92
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
99
 
@@ -996,6 +1002,13 @@ module Google
996
1002
  end
997
1003
  end
998
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
+
999
1012
  class BiEngineReason
1000
1013
  # @private
1001
1014
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1207,6 +1220,7 @@ module Google
1207
1220
  property :allow_quoted_newlines, as: 'allowQuotedNewlines'
1208
1221
  property :encoding, as: 'encoding'
1209
1222
  property :field_delimiter, as: 'fieldDelimiter'
1223
+ property :null_marker, as: 'null_marker'
1210
1224
  property :quote, as: 'quote'
1211
1225
  property :skip_leading_rows, :numeric_string => true, as: 'skipLeadingRows'
1212
1226
  end
@@ -1230,6 +1244,7 @@ module Google
1230
1244
  property :creation_time, :numeric_string => true, as: 'creationTime'
1231
1245
  property :dataset_reference, as: 'datasetReference', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
1232
1246
 
1247
+ property :default_collation, as: 'defaultCollation'
1233
1248
  property :default_encryption_configuration, as: 'defaultEncryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
1234
1249
 
1235
1250
  property :default_partition_expiration_ms, :numeric_string => true, as: 'defaultPartitionExpirationMs'
@@ -1238,6 +1253,7 @@ module Google
1238
1253
  property :etag, as: 'etag'
1239
1254
  property :friendly_name, as: 'friendlyName'
1240
1255
  property :id, as: 'id'
1256
+ property :is_case_insensitive, as: 'isCaseInsensitive'
1241
1257
  property :kind, as: 'kind'
1242
1258
  hash :labels, as: 'labels'
1243
1259
  property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime'
@@ -1318,6 +1334,7 @@ module Google
1318
1334
  # @private
1319
1335
  class Representation < Google::Apis::Core::JsonRepresentation
1320
1336
  property :description, as: 'description'
1337
+ property :expiration_timestamp_millis, :numeric_string => true, as: 'expirationTimestampMillis'
1321
1338
  property :friendly_name, as: 'friendlyName'
1322
1339
  hash :labels, as: 'labels'
1323
1340
  end
@@ -1434,6 +1451,8 @@ module Google
1434
1451
  # @private
1435
1452
  class Representation < Google::Apis::Core::JsonRepresentation
1436
1453
  property :autodetect, as: 'autodetect'
1454
+ property :avro_options, as: 'avroOptions', class: Google::Apis::BigqueryV2::AvroOptions, decorator: Google::Apis::BigqueryV2::AvroOptions::Representation
1455
+
1437
1456
  property :bigtable_options, as: 'bigtableOptions', class: Google::Apis::BigqueryV2::BigtableOptions, decorator: Google::Apis::BigqueryV2::BigtableOptions::Representation
1438
1457
 
1439
1458
  property :compression, as: 'compression'
@@ -2123,7 +2142,7 @@ module Google
2123
2142
 
2124
2143
  property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
2125
2144
 
2126
- property :session_info_template, as: 'sessionInfoTemplate', class: Google::Apis::BigqueryV2::SessionInfo, decorator: Google::Apis::BigqueryV2::SessionInfo::Representation
2145
+ property :session_info, as: 'sessionInfo', class: Google::Apis::BigqueryV2::SessionInfo, decorator: Google::Apis::BigqueryV2::SessionInfo::Representation
2127
2146
 
2128
2147
  property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
2129
2148
  property :total_rows, :numeric_string => true, as: 'totalRows'
@@ -2200,6 +2219,7 @@ module Google
2200
2219
  property :routine_reference, as: 'routineReference', class: Google::Apis::BigqueryV2::RoutineReference, decorator: Google::Apis::BigqueryV2::RoutineReference::Representation
2201
2220
 
2202
2221
  property :routine_type, as: 'routineType'
2222
+ property :strict_mode, as: 'strictMode'
2203
2223
  end
2204
2224
  end
2205
2225
 
@@ -2348,6 +2368,7 @@ module Google
2348
2368
  property :clustering, as: 'clustering', class: Google::Apis::BigqueryV2::Clustering, decorator: Google::Apis::BigqueryV2::Clustering::Representation
2349
2369
 
2350
2370
  property :creation_time, :numeric_string => true, as: 'creationTime'
2371
+ property :default_collation, as: 'defaultCollation'
2351
2372
  property :description, as: 'description'
2352
2373
  property :encryption_configuration, as: 'encryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
2353
2374
 
@@ -2451,6 +2472,7 @@ module Google
2451
2472
  class Representation < Google::Apis::Core::JsonRepresentation
2452
2473
  property :categories, as: 'categories', class: Google::Apis::BigqueryV2::TableFieldSchema::Categories, decorator: Google::Apis::BigqueryV2::TableFieldSchema::Categories::Representation
2453
2474
 
2475
+ property :collation_spec, as: 'collationSpec'
2454
2476
  property :description, as: 'description'
2455
2477
  collection :fields, as: 'fields', class: Google::Apis::BigqueryV2::TableFieldSchema, decorator: Google::Apis::BigqueryV2::TableFieldSchema::Representation
2456
2478
 
@@ -2577,7 +2599,12 @@ module Google
2577
2599
  property :auto_arima, as: 'autoArima'
2578
2600
  property :auto_arima_max_order, :numeric_string => true, as: 'autoArimaMaxOrder'
2579
2601
  property :batch_size, :numeric_string => true, as: 'batchSize'
2602
+ property :booster_type, as: 'boosterType'
2580
2603
  property :clean_spikes_and_dips, as: 'cleanSpikesAndDips'
2604
+ property :colsample_bylevel, as: 'colsampleBylevel'
2605
+ property :colsample_bynode, as: 'colsampleBynode'
2606
+ property :colsample_bytree, as: 'colsampleBytree'
2607
+ property :dart_normalize_type, as: 'dartNormalizeType'
2581
2608
  property :data_frequency, as: 'dataFrequency'
2582
2609
  property :data_split_column, as: 'dataSplitColumn'
2583
2610
  property :data_split_eval_fraction, as: 'dataSplitEvalFraction'
@@ -2606,11 +2633,13 @@ module Google
2606
2633
  property :max_tree_depth, :numeric_string => true, as: 'maxTreeDepth'
2607
2634
  property :min_relative_progress, as: 'minRelativeProgress'
2608
2635
  property :min_split_loss, as: 'minSplitLoss'
2636
+ property :min_tree_child_weight, :numeric_string => true, as: 'minTreeChildWeight'
2609
2637
  property :model_uri, as: 'modelUri'
2610
2638
  property :non_seasonal_order, as: 'nonSeasonalOrder', class: Google::Apis::BigqueryV2::ArimaOrder, decorator: Google::Apis::BigqueryV2::ArimaOrder::Representation
2611
2639
 
2612
2640
  property :num_clusters, :numeric_string => true, as: 'numClusters'
2613
2641
  property :num_factors, :numeric_string => true, as: 'numFactors'
2642
+ property :num_parallel_tree, :numeric_string => true, as: 'numParallelTree'
2614
2643
  property :optimization_strategy, as: 'optimizationStrategy'
2615
2644
  property :preserve_input_structs, as: 'preserveInputStructs'
2616
2645
  property :subsample, as: 'subsample'
@@ -2618,6 +2647,7 @@ module Google
2618
2647
  property :time_series_id_column, as: 'timeSeriesIdColumn'
2619
2648
  collection :time_series_id_columns, as: 'timeSeriesIdColumns'
2620
2649
  property :time_series_timestamp_column, as: 'timeSeriesTimestampColumn'
2650
+ property :tree_method, as: 'treeMethod'
2621
2651
  property :user_column, as: 'userColumn'
2622
2652
  property :wals_alpha, as: 'walsAlpha'
2623
2653
  property :warm_start, as: 'warmStart'
@@ -340,14 +340,14 @@ module Google
340
340
  execute_or_queue_command(command, &block)
341
341
  end
342
342
 
343
- # Requests that a job is deleted. This call will return when the job is deleted.
344
- # This method is available in limited preview.
343
+ # Requests the deletion of the metadata of a job. This call returns when the job'
344
+ # s metadata is deleted.
345
345
  # @param [String] project_id
346
- # Required. Project ID of the job to be deleted.
346
+ # Required. Project ID of the job for which metadata is to be deleted.
347
347
  # @param [String] job_id
348
- # Required. Job ID of the job to be deleted. If this is a parent job which has
349
- # child jobs, all child jobs will be deleted as well. Deletion of child jobs
350
- # directly is not allowed.
348
+ # Required. Job ID of the job for which metadata is to be deleted. If this is a
349
+ # parent job which has child jobs, the metadata from all child jobs will be
350
+ # deleted as well. Direct deletion of the metadata of child jobs is not allowed.
351
351
  # @param [String] location
352
352
  # The geographic location of the job. Required. See details at: https://cloud.
353
353
  # google.com/bigquery/docs/locations#specifying_your_location.
@@ -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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-bigquery_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.19.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-07-05 00:00:00.000000000 Z
11
+ date: 2021-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigquery_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.19.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigquery_v2
63
63
  post_install_message:
64
64
  rdoc_options: []