google-apis-bigquery_v2 0.36.0 → 0.37.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: ecb82cc7539f3b47578e56b960f6b1ba774f098947cb4f5e566a4e63c9f958d8
4
- data.tar.gz: 16f2454079d331342de1e8e3824db8c241b08e8c991c36cade1174dcb1d0d627
3
+ metadata.gz: 32d2df0ba51f14f794d3e52af1c7cf2f50b2e548309cfca0825197453b9e9775
4
+ data.tar.gz: 9fe1896be61045533a0b61418669b7de35eca0aeccce3fcf960197b97a48dd95
5
5
  SHA512:
6
- metadata.gz: daa9e37524a35c0366f4adecde66998000d11dfac51114dfdb77276f9a66412261d1e4dfaddc586556ff9ad1353e18fb36a665f811320ff33bee2d18c4e7b6e2
7
- data.tar.gz: 8405025900f3ceb2d16a7db80c542a3501154442c79917b4a0937455ec0e2c423379ea04f4b496fc8255294c2434daeddec4e9f89ef1e0fcc5e53fcc5ec1743a
6
+ metadata.gz: ac90f0660bd2fd45b64a54560c4e937e46c95097836659e1b02bc09060fd8382c04597a00e1ef702dcb8145de5bdcb286c4ea47ee3b54b00c480d2f2354b5c12
7
+ data.tar.gz: 427ee1380c2a6367f0066fe2fcacad41607262866ca138b38579c5667d54f6a7b17f523e60124ee42cddfbf75c2c06a6a12a1fc2308c6dc297066465168f8e07
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
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
+
3
8
  ### v0.36.0 (2022-06-30)
4
9
 
5
10
  * Regenerated using generator version 0.8.0
@@ -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)
@@ -6136,7 +6159,8 @@ module Google
6136
6159
  # @return [Fixnum]
6137
6160
  attr_accessor :estimated_runnable_units
6138
6161
 
6139
- # Total parallel units of work remaining for the active stages.
6162
+ # Total units of work remaining for the query. This number can be revised (
6163
+ # increased or decreased) while the query is running.
6140
6164
  # Corresponds to the JSON property `pendingUnits`
6141
6165
  # @return [Fixnum]
6142
6166
  attr_accessor :pending_units
@@ -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.36.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.8.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220611"
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'
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.36.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-07-04 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
@@ -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.36.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: []