google-apis-bigquery_v2 0.34.0 → 0.37.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: de535e40c0a238213412a4b2d71153532c42c35f4ca37ad798904ffe393229a4
4
- data.tar.gz: 6e34878a46e99f39808e914782365c88c4d3d51cad338d2cdeba48c81ee24698
3
+ metadata.gz: 32d2df0ba51f14f794d3e52af1c7cf2f50b2e548309cfca0825197453b9e9775
4
+ data.tar.gz: 9fe1896be61045533a0b61418669b7de35eca0aeccce3fcf960197b97a48dd95
5
5
  SHA512:
6
- metadata.gz: 0bc9e4f4cd91299485de574b3790f6614a2ac866795dfdbbdd5ce9487ba22dca27f063c6004ef04260a0b978e29dcda4cee2f5ffea375a2a2c6afcb883609f30
7
- data.tar.gz: 7974c52a47328cff9c7df19955b7e245e6718f9d997010faefd349a0fab69e6089da367f07b098e5bf75a8b39073f1afe537c854dcde79fc56600218359aa9a8
6
+ metadata.gz: ac90f0660bd2fd45b64a54560c4e937e46c95097836659e1b02bc09060fd8382c04597a00e1ef702dcb8145de5bdcb286c4ea47ee3b54b00c480d2f2354b5c12
7
+ data.tar.gz: 427ee1380c2a6367f0066fe2fcacad41607262866ca138b38579c5667d54f6a7b17f523e60124ee42cddfbf75c2c06a6a12a1fc2308c6dc297066465168f8e07
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.37.0 (2022-07-26)
4
+
5
+ * Regenerated from discovery document revision 20220716
6
+ * Regenerated using generator version 0.9.0
7
+
8
+ ### v0.36.0 (2022-06-30)
9
+
10
+ * Regenerated using generator version 0.8.0
11
+
12
+ ### v0.35.0 (2022-06-23)
13
+
14
+ * Regenerated from discovery document revision 20220611
15
+ * Regenerated using generator version 0.7.0
16
+
3
17
  ### v0.34.0 (2022-06-07)
4
18
 
5
19
  * Regenerated from discovery document revision 20220528
@@ -1443,6 +1443,14 @@ module Google
1443
1443
  # @return [String]
1444
1444
  attr_accessor :null_marker
1445
1445
 
1446
+ # [Optional] Preserves the embedded ASCII control characters (the first 32
1447
+ # characters in the ASCII-table, from '\x00' to '\x1F') when loading from CSV.
1448
+ # Only applicable to CSV, ignored for other formats.
1449
+ # Corresponds to the JSON property `preserveAsciiControlCharacters`
1450
+ # @return [Boolean]
1451
+ attr_accessor :preserve_ascii_control_characters
1452
+ alias_method :preserve_ascii_control_characters?, :preserve_ascii_control_characters
1453
+
1446
1454
  # [Optional] The value that is used to quote data sections in a CSV file.
1447
1455
  # BigQuery converts the string to ISO-8859-1 encoding, and then uses the first
1448
1456
  # byte of the encoded string to split the data in its raw, binary state. The
@@ -1480,6 +1488,7 @@ module Google
1480
1488
  @encoding = args[:encoding] if args.key?(:encoding)
1481
1489
  @field_delimiter = args[:field_delimiter] if args.key?(:field_delimiter)
1482
1490
  @null_marker = args[:null_marker] if args.key?(:null_marker)
1491
+ @preserve_ascii_control_characters = args[:preserve_ascii_control_characters] if args.key?(:preserve_ascii_control_characters)
1483
1492
  @quote = args[:quote] if args.key?(:quote)
1484
1493
  @skip_leading_rows = args[:skip_leading_rows] if args.key?(:skip_leading_rows)
1485
1494
  end
@@ -2657,6 +2666,12 @@ module Google
2657
2666
  # @return [Google::Apis::BigqueryV2::ParquetOptions]
2658
2667
  attr_accessor :parquet_options
2659
2668
 
2669
+ # [Optional] Provide a referencing file with the expected table schema. Enabled
2670
+ # for the format: AVRO, PARQUET, ORC.
2671
+ # Corresponds to the JSON property `referenceFileSchemaUri`
2672
+ # @return [String]
2673
+ attr_accessor :reference_file_schema_uri
2674
+
2660
2675
  # [Optional] The schema for the data. Schema is required for CSV and JSON
2661
2676
  # formats. Schema is disallowed for Google Cloud Bigtable, Cloud Datastore
2662
2677
  # backups, and Avro formats.
@@ -2702,6 +2717,7 @@ module Google
2702
2717
  @ignore_unknown_values = args[:ignore_unknown_values] if args.key?(:ignore_unknown_values)
2703
2718
  @max_bad_records = args[:max_bad_records] if args.key?(:max_bad_records)
2704
2719
  @parquet_options = args[:parquet_options] if args.key?(:parquet_options)
2720
+ @reference_file_schema_uri = args[:reference_file_schema_uri] if args.key?(:reference_file_schema_uri)
2705
2721
  @schema = args[:schema] if args.key?(:schema)
2706
2722
  @source_format = args[:source_format] if args.key?(:source_format)
2707
2723
  @source_uris = args[:source_uris] if args.key?(:source_uris)
@@ -3870,6 +3886,12 @@ module Google
3870
3886
  # @return [Google::Apis::BigqueryV2::RangePartitioning]
3871
3887
  attr_accessor :range_partitioning
3872
3888
 
3889
+ # User provided referencing file with the expected reader schema, Available for
3890
+ # the format: AVRO, PARQUET, ORC.
3891
+ # Corresponds to the JSON property `referenceFileSchemaUri`
3892
+ # @return [String]
3893
+ attr_accessor :reference_file_schema_uri
3894
+
3873
3895
  # [Optional] The schema for the destination table. The schema can be omitted if
3874
3896
  # the destination table already exists, or if you're loading data from Google
3875
3897
  # Cloud Datastore.
@@ -3980,6 +4002,7 @@ module Google
3980
4002
  @projection_fields = args[:projection_fields] if args.key?(:projection_fields)
3981
4003
  @quote = args[:quote] if args.key?(:quote)
3982
4004
  @range_partitioning = args[:range_partitioning] if args.key?(:range_partitioning)
4005
+ @reference_file_schema_uri = args[:reference_file_schema_uri] if args.key?(:reference_file_schema_uri)
3983
4006
  @schema = args[:schema] if args.key?(:schema)
3984
4007
  @schema_inline = args[:schema_inline] if args.key?(:schema_inline)
3985
4008
  @schema_inline_format = args[:schema_inline_format] if args.key?(:schema_inline_format)
@@ -6129,7 +6152,15 @@ module Google
6129
6152
  # @return [Fixnum]
6130
6153
  attr_accessor :elapsed_ms
6131
6154
 
6132
- # Total parallel units of work remaining for the active stages.
6155
+ # Units of work that can be scheduled immediately. Providing additional slots
6156
+ # for these units of work will speed up the query, provided no other query in
6157
+ # the reservation needs additional slots.
6158
+ # Corresponds to the JSON property `estimatedRunnableUnits`
6159
+ # @return [Fixnum]
6160
+ attr_accessor :estimated_runnable_units
6161
+
6162
+ # Total units of work remaining for the query. This number can be revised (
6163
+ # increased or decreased) while the query is running.
6133
6164
  # Corresponds to the JSON property `pendingUnits`
6134
6165
  # @return [Fixnum]
6135
6166
  attr_accessor :pending_units
@@ -6148,6 +6179,7 @@ module Google
6148
6179
  @active_units = args[:active_units] if args.key?(:active_units)
6149
6180
  @completed_units = args[:completed_units] if args.key?(:completed_units)
6150
6181
  @elapsed_ms = args[:elapsed_ms] if args.key?(:elapsed_ms)
6182
+ @estimated_runnable_units = args[:estimated_runnable_units] if args.key?(:estimated_runnable_units)
6151
6183
  @pending_units = args[:pending_units] if args.key?(:pending_units)
6152
6184
  @total_slot_ms = args[:total_slot_ms] if args.key?(:total_slot_ms)
6153
6185
  end
@@ -7101,6 +7133,13 @@ module Google
7101
7133
  # @return [Google::Apis::BigqueryV2::MaterializedViewDefinition]
7102
7134
  attr_accessor :materialized_view
7103
7135
 
7136
+ # [Optional] Max staleness of data that could be returned when table or
7137
+ # materialized view is queried (formatted as Google SQL Interval type).
7138
+ # Corresponds to the JSON property `maxStaleness`
7139
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
7140
+ # @return [String]
7141
+ attr_accessor :max_staleness
7142
+
7104
7143
  # [Output-only, Beta] Present iff this table represents a ML model. Describes
7105
7144
  # the training information for the model, and it is required to run 'PREDICT'
7106
7145
  # queries.
@@ -7264,6 +7303,7 @@ module Google
7264
7303
  @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
7265
7304
  @location = args[:location] if args.key?(:location)
7266
7305
  @materialized_view = args[:materialized_view] if args.key?(:materialized_view)
7306
+ @max_staleness = args[:max_staleness] if args.key?(:max_staleness)
7267
7307
  @model = args[:model] if args.key?(:model)
7268
7308
  @num_bytes = args[:num_bytes] if args.key?(:num_bytes)
7269
7309
  @num_long_term_bytes = args[:num_long_term_bytes] if args.key?(:num_long_term_bytes)
@@ -8182,6 +8222,12 @@ module Google
8182
8222
  # @return [Fixnum]
8183
8223
  attr_accessor :max_parallel_trials
8184
8224
 
8225
+ # Get truncated length by last n points in time series. Use separately from
8226
+ # time_series_length_fraction and min_time_series_length.
8227
+ # Corresponds to the JSON property `maxTimeSeriesLength`
8228
+ # @return [Fixnum]
8229
+ attr_accessor :max_time_series_length
8230
+
8185
8231
  # Maximum depth of a tree for boosted tree models.
8186
8232
  # Corresponds to the JSON property `maxTreeDepth`
8187
8233
  # @return [Fixnum]
@@ -8198,6 +8244,12 @@ module Google
8198
8244
  # @return [Float]
8199
8245
  attr_accessor :min_split_loss
8200
8246
 
8247
+ # Set fast trend ARIMA_PLUS model minimum training length. Use in pair with
8248
+ # time_series_length_fraction.
8249
+ # Corresponds to the JSON property `minTimeSeriesLength`
8250
+ # @return [Fixnum]
8251
+ attr_accessor :min_time_series_length
8252
+
8201
8253
  # Minimum sum of instance weight needed in a child for boosted tree models.
8202
8254
  # Corresponds to the JSON property `minTreeChildWeight`
8203
8255
  # @return [Fixnum]
@@ -8274,6 +8326,11 @@ module Google
8274
8326
  # @return [Array<String>]
8275
8327
  attr_accessor :time_series_id_columns
8276
8328
 
8329
+ # Get truncated length by fraction in time series.
8330
+ # Corresponds to the JSON property `timeSeriesLengthFraction`
8331
+ # @return [Float]
8332
+ attr_accessor :time_series_length_fraction
8333
+
8277
8334
  # Column to be designated as time series timestamp for ARIMA model.
8278
8335
  # Corresponds to the JSON property `timeSeriesTimestampColumn`
8279
8336
  # @return [String]
@@ -8284,6 +8341,11 @@ module Google
8284
8341
  # @return [String]
8285
8342
  attr_accessor :tree_method
8286
8343
 
8344
+ # The smoothing window size for the trend component of the time series.
8345
+ # Corresponds to the JSON property `trendSmoothingWindowSize`
8346
+ # @return [Fixnum]
8347
+ attr_accessor :trend_smoothing_window_size
8348
+
8287
8349
  # User column specified for matrix factorization models.
8288
8350
  # Corresponds to the JSON property `userColumn`
8289
8351
  # @return [String]
@@ -8346,9 +8408,11 @@ module Google
8346
8408
  @loss_type = args[:loss_type] if args.key?(:loss_type)
8347
8409
  @max_iterations = args[:max_iterations] if args.key?(:max_iterations)
8348
8410
  @max_parallel_trials = args[:max_parallel_trials] if args.key?(:max_parallel_trials)
8411
+ @max_time_series_length = args[:max_time_series_length] if args.key?(:max_time_series_length)
8349
8412
  @max_tree_depth = args[:max_tree_depth] if args.key?(:max_tree_depth)
8350
8413
  @min_relative_progress = args[:min_relative_progress] if args.key?(:min_relative_progress)
8351
8414
  @min_split_loss = args[:min_split_loss] if args.key?(:min_split_loss)
8415
+ @min_time_series_length = args[:min_time_series_length] if args.key?(:min_time_series_length)
8352
8416
  @min_tree_child_weight = args[:min_tree_child_weight] if args.key?(:min_tree_child_weight)
8353
8417
  @model_uri = args[:model_uri] if args.key?(:model_uri)
8354
8418
  @non_seasonal_order = args[:non_seasonal_order] if args.key?(:non_seasonal_order)
@@ -8363,8 +8427,10 @@ module Google
8363
8427
  @time_series_data_column = args[:time_series_data_column] if args.key?(:time_series_data_column)
8364
8428
  @time_series_id_column = args[:time_series_id_column] if args.key?(:time_series_id_column)
8365
8429
  @time_series_id_columns = args[:time_series_id_columns] if args.key?(:time_series_id_columns)
8430
+ @time_series_length_fraction = args[:time_series_length_fraction] if args.key?(:time_series_length_fraction)
8366
8431
  @time_series_timestamp_column = args[:time_series_timestamp_column] if args.key?(:time_series_timestamp_column)
8367
8432
  @tree_method = args[:tree_method] if args.key?(:tree_method)
8433
+ @trend_smoothing_window_size = args[:trend_smoothing_window_size] if args.key?(:trend_smoothing_window_size)
8368
8434
  @user_column = args[:user_column] if args.key?(:user_column)
8369
8435
  @wals_alpha = args[:wals_alpha] if args.key?(:wals_alpha)
8370
8436
  @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.34.0"
19
+ GEM_VERSION = "0.37.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.5.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220528"
25
+ REVISION = "20220716"
26
26
  end
27
27
  end
28
28
  end
@@ -1357,6 +1357,7 @@ module Google
1357
1357
  property :encoding, as: 'encoding'
1358
1358
  property :field_delimiter, as: 'fieldDelimiter'
1359
1359
  property :null_marker, as: 'null_marker'
1360
+ property :preserve_ascii_control_characters, as: 'preserveAsciiControlCharacters'
1360
1361
  property :quote, as: 'quote'
1361
1362
  property :skip_leading_rows, :numeric_string => true, as: 'skipLeadingRows'
1362
1363
  end
@@ -1652,6 +1653,7 @@ module Google
1652
1653
  property :max_bad_records, as: 'maxBadRecords'
1653
1654
  property :parquet_options, as: 'parquetOptions', class: Google::Apis::BigqueryV2::ParquetOptions, decorator: Google::Apis::BigqueryV2::ParquetOptions::Representation
1654
1655
 
1656
+ property :reference_file_schema_uri, as: 'referenceFileSchemaUri'
1655
1657
  property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
1656
1658
 
1657
1659
  property :source_format, as: 'sourceFormat'
@@ -1965,6 +1967,7 @@ module Google
1965
1967
  property :quote, as: 'quote'
1966
1968
  property :range_partitioning, as: 'rangePartitioning', class: Google::Apis::BigqueryV2::RangePartitioning, decorator: Google::Apis::BigqueryV2::RangePartitioning::Representation
1967
1969
 
1970
+ property :reference_file_schema_uri, as: 'referenceFileSchemaUri'
1968
1971
  property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
1969
1972
 
1970
1973
  property :schema_inline, as: 'schemaInline'
@@ -2505,6 +2508,7 @@ module Google
2505
2508
  property :active_units, :numeric_string => true, as: 'activeUnits'
2506
2509
  property :completed_units, :numeric_string => true, as: 'completedUnits'
2507
2510
  property :elapsed_ms, :numeric_string => true, as: 'elapsedMs'
2511
+ property :estimated_runnable_units, :numeric_string => true, as: 'estimatedRunnableUnits'
2508
2512
  property :pending_units, :numeric_string => true, as: 'pendingUnits'
2509
2513
  property :total_slot_ms, :numeric_string => true, as: 'totalSlotMs'
2510
2514
  end
@@ -2764,6 +2768,7 @@ module Google
2764
2768
  property :location, as: 'location'
2765
2769
  property :materialized_view, as: 'materializedView', class: Google::Apis::BigqueryV2::MaterializedViewDefinition, decorator: Google::Apis::BigqueryV2::MaterializedViewDefinition::Representation
2766
2770
 
2771
+ property :max_staleness, :base64 => true, as: 'maxStaleness'
2767
2772
  property :model, as: 'model', class: Google::Apis::BigqueryV2::ModelDefinition, decorator: Google::Apis::BigqueryV2::ModelDefinition::Representation
2768
2773
 
2769
2774
  property :num_bytes, :numeric_string => true, as: 'numBytes'
@@ -3024,9 +3029,11 @@ module Google
3024
3029
  property :loss_type, as: 'lossType'
3025
3030
  property :max_iterations, :numeric_string => true, as: 'maxIterations'
3026
3031
  property :max_parallel_trials, :numeric_string => true, as: 'maxParallelTrials'
3032
+ property :max_time_series_length, :numeric_string => true, as: 'maxTimeSeriesLength'
3027
3033
  property :max_tree_depth, :numeric_string => true, as: 'maxTreeDepth'
3028
3034
  property :min_relative_progress, as: 'minRelativeProgress'
3029
3035
  property :min_split_loss, as: 'minSplitLoss'
3036
+ property :min_time_series_length, :numeric_string => true, as: 'minTimeSeriesLength'
3030
3037
  property :min_tree_child_weight, :numeric_string => true, as: 'minTreeChildWeight'
3031
3038
  property :model_uri, as: 'modelUri'
3032
3039
  property :non_seasonal_order, as: 'nonSeasonalOrder', class: Google::Apis::BigqueryV2::ArimaOrder, decorator: Google::Apis::BigqueryV2::ArimaOrder::Representation
@@ -3042,8 +3049,10 @@ module Google
3042
3049
  property :time_series_data_column, as: 'timeSeriesDataColumn'
3043
3050
  property :time_series_id_column, as: 'timeSeriesIdColumn'
3044
3051
  collection :time_series_id_columns, as: 'timeSeriesIdColumns'
3052
+ property :time_series_length_fraction, as: 'timeSeriesLengthFraction'
3045
3053
  property :time_series_timestamp_column, as: 'timeSeriesTimestampColumn'
3046
3054
  property :tree_method, as: 'treeMethod'
3055
+ property :trend_smoothing_window_size, :numeric_string => true, as: 'trendSmoothingWindowSize'
3047
3056
  property :user_column, as: 'userColumn'
3048
3057
  property :wals_alpha, as: 'walsAlpha'
3049
3058
  property :warm_start, as: 'warmStart'
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.34.0
4
+ version: 0.37.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: 2022-06-13 00:00:00.000000000 Z
11
+ date: 2022-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.5'
19
+ version: '0.7'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.5'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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/main/generated/google-apis-bigquery_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.34.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.37.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquery_v2
63
63
  post_install_message:
64
64
  rdoc_options: []