google-apis-bigquery_v2 0.84.0 → 0.85.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: b37029d95a84bf90d39393db51bff70f84c9599e567e7f2b77c9a6e16b3d2a74
4
- data.tar.gz: 235e074c6f676d13e6ba30c6bcac6309b746174397bfa8924804324d2be21543
3
+ metadata.gz: 61b53c4716137572f6011b445f68f50456148d3d6d994c5c8f2caf649be34156
4
+ data.tar.gz: bc5a5f698a5d1e48dbb34849c8b90d25e78f9bb6ed93f543f5b44ea3c7c3a9cb
5
5
  SHA512:
6
- metadata.gz: 82a130522c290cbfa8f39c5b5d3ae2afa12c42bd88cbddee4c098af57da9920469dd9f45a94ebf326f543c51a129a8a64298bf0f93d2676a81b8dcc1ac64d727
7
- data.tar.gz: 3601f4b4a18cad014b136c6d16d8f51b78d58d06ffc3d6d609c3a12b961006443e1b1bd420ee260495c922f4832ce40dead519fbe449db11b9b4ff1be55b8d1f
6
+ metadata.gz: 67ea55ceca5a8b1766b22cf47ad668a132ad205102a8926725c6c284689a19873813b35299b0a0f5050e7aad985264469170319466fd6a1d612bb46965d28d45
7
+ data.tar.gz: f35fa4bafdb456ecd7bd97e026297cd985e141b413806f9bf763a75e705c755dbbc299292ee3fe6a951cd24695ce68d9cf7291a7a90baa3addca0cac2fe24dd8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.85.0 (2025-03-16)
4
+
5
+ * Regenerated from discovery document revision 20250302
6
+
3
7
  ### v0.84.0 (2025-02-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20250216
@@ -1606,6 +1606,17 @@ module Google
1606
1606
  # @return [String]
1607
1607
  attr_accessor :null_marker
1608
1608
 
1609
+ # Optional. A list of strings represented as SQL NULL value in a CSV file.
1610
+ # null_marker and null_markers can't be set at the same time. If null_marker is
1611
+ # set, null_markers has to be not set. If null_markers is set, null_marker has
1612
+ # to be not set. If both null_marker and null_markers are set at the same time,
1613
+ # a user error would be thrown. Any strings listed in null_markers, including
1614
+ # empty string would be interpreted as SQL NULL. This applies to all column
1615
+ # types.
1616
+ # Corresponds to the JSON property `nullMarkers`
1617
+ # @return [Array<String>]
1618
+ attr_accessor :null_markers
1619
+
1609
1620
  # Optional. Indicates if the embedded ASCII control characters (the first 32
1610
1621
  # characters in the ASCII-table, from '\x00' to '\x1F') are preserved.
1611
1622
  # Corresponds to the JSON property `preserveAsciiControlCharacters`
@@ -1641,6 +1652,18 @@ module Google
1641
1652
  # @return [Fixnum]
1642
1653
  attr_accessor :skip_leading_rows
1643
1654
 
1655
+ # Optional. Controls the strategy used to match loaded columns to the schema. If
1656
+ # not set, a sensible default is chosen based on how the schema is provided. If
1657
+ # autodetect is used, then columns are matched by name. Otherwise, columns are
1658
+ # matched by position. This is done to keep the behavior backward-compatible.
1659
+ # Acceptable values are: POSITION - matches by position. This assumes that the
1660
+ # columns are ordered the same way as the schema. NAME - matches by name. This
1661
+ # reads the header row as column names and reorders columns to match the field
1662
+ # names in the schema.
1663
+ # Corresponds to the JSON property `sourceColumnMatch`
1664
+ # @return [String]
1665
+ attr_accessor :source_column_match
1666
+
1644
1667
  def initialize(**args)
1645
1668
  update!(**args)
1646
1669
  end
@@ -1652,9 +1675,11 @@ module Google
1652
1675
  @encoding = args[:encoding] if args.key?(:encoding)
1653
1676
  @field_delimiter = args[:field_delimiter] if args.key?(:field_delimiter)
1654
1677
  @null_marker = args[:null_marker] if args.key?(:null_marker)
1678
+ @null_markers = args[:null_markers] if args.key?(:null_markers)
1655
1679
  @preserve_ascii_control_characters = args[:preserve_ascii_control_characters] if args.key?(:preserve_ascii_control_characters)
1656
1680
  @quote = args[:quote] if args.key?(:quote)
1657
1681
  @skip_leading_rows = args[:skip_leading_rows] if args.key?(:skip_leading_rows)
1682
+ @source_column_match = args[:source_column_match] if args.key?(:source_column_match)
1658
1683
  end
1659
1684
  end
1660
1685
 
@@ -4791,6 +4816,17 @@ module Google
4791
4816
  # @return [String]
4792
4817
  attr_accessor :null_marker
4793
4818
 
4819
+ # Optional. A list of strings represented as SQL NULL value in a CSV file.
4820
+ # null_marker and null_markers can't be set at the same time. If null_marker is
4821
+ # set, null_markers has to be not set. If null_markers is set, null_marker has
4822
+ # to be not set. If both null_marker and null_markers are set at the same time,
4823
+ # a user error would be thrown. Any strings listed in null_markers, including
4824
+ # empty string would be interpreted as SQL NULL. This applies to all column
4825
+ # types.
4826
+ # Corresponds to the JSON property `nullMarkers`
4827
+ # @return [Array<String>]
4828
+ attr_accessor :null_markers
4829
+
4794
4830
  # Parquet Options for load and make external tables.
4795
4831
  # Corresponds to the JSON property `parquetOptions`
4796
4832
  # @return [Google::Apis::BigqueryV2::ParquetOptions]
@@ -4883,6 +4919,14 @@ module Google
4883
4919
  # @return [Fixnum]
4884
4920
  attr_accessor :skip_leading_rows
4885
4921
 
4922
+ # Optional. Controls the strategy used to match loaded columns to the schema. If
4923
+ # not set, a sensible default is chosen based on how the schema is provided. If
4924
+ # autodetect is used, then columns are matched by name. Otherwise, columns are
4925
+ # matched by position. This is done to keep the behavior backward-compatible.
4926
+ # Corresponds to the JSON property `sourceColumnMatch`
4927
+ # @return [String]
4928
+ attr_accessor :source_column_match
4929
+
4886
4930
  # Optional. The format of the data files. For CSV files, specify "CSV". For
4887
4931
  # datastore backups, specify "DATASTORE_BACKUP". For newline-delimited JSON,
4888
4932
  # specify "NEWLINE_DELIMITED_JSON". For Avro, specify "AVRO". For parquet,
@@ -4974,6 +5018,7 @@ module Google
4974
5018
  @json_extension = args[:json_extension] if args.key?(:json_extension)
4975
5019
  @max_bad_records = args[:max_bad_records] if args.key?(:max_bad_records)
4976
5020
  @null_marker = args[:null_marker] if args.key?(:null_marker)
5021
+ @null_markers = args[:null_markers] if args.key?(:null_markers)
4977
5022
  @parquet_options = args[:parquet_options] if args.key?(:parquet_options)
4978
5023
  @preserve_ascii_control_characters = args[:preserve_ascii_control_characters] if args.key?(:preserve_ascii_control_characters)
4979
5024
  @projection_fields = args[:projection_fields] if args.key?(:projection_fields)
@@ -4985,6 +5030,7 @@ module Google
4985
5030
  @schema_inline_format = args[:schema_inline_format] if args.key?(:schema_inline_format)
4986
5031
  @schema_update_options = args[:schema_update_options] if args.key?(:schema_update_options)
4987
5032
  @skip_leading_rows = args[:skip_leading_rows] if args.key?(:skip_leading_rows)
5033
+ @source_column_match = args[:source_column_match] if args.key?(:source_column_match)
4988
5034
  @source_format = args[:source_format] if args.key?(:source_format)
4989
5035
  @source_uris = args[:source_uris] if args.key?(:source_uris)
4990
5036
  @time_format = args[:time_format] if args.key?(:time_format)
@@ -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.84.0"
19
+ GEM_VERSION = "0.85.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250216"
25
+ REVISION = "20250302"
26
26
  end
27
27
  end
28
28
  end
@@ -1740,9 +1740,11 @@ module Google
1740
1740
  property :encoding, as: 'encoding'
1741
1741
  property :field_delimiter, as: 'fieldDelimiter'
1742
1742
  property :null_marker, as: 'nullMarker'
1743
+ collection :null_markers, as: 'nullMarkers'
1743
1744
  property :preserve_ascii_control_characters, as: 'preserveAsciiControlCharacters'
1744
1745
  property :quote, as: 'quote'
1745
1746
  property :skip_leading_rows, :numeric_string => true, as: 'skipLeadingRows'
1747
+ property :source_column_match, as: 'sourceColumnMatch'
1746
1748
  end
1747
1749
  end
1748
1750
 
@@ -2505,6 +2507,7 @@ module Google
2505
2507
  property :json_extension, as: 'jsonExtension'
2506
2508
  property :max_bad_records, as: 'maxBadRecords'
2507
2509
  property :null_marker, as: 'nullMarker'
2510
+ collection :null_markers, as: 'nullMarkers'
2508
2511
  property :parquet_options, as: 'parquetOptions', class: Google::Apis::BigqueryV2::ParquetOptions, decorator: Google::Apis::BigqueryV2::ParquetOptions::Representation
2509
2512
 
2510
2513
  property :preserve_ascii_control_characters, as: 'preserveAsciiControlCharacters'
@@ -2519,6 +2522,7 @@ module Google
2519
2522
  property :schema_inline_format, as: 'schemaInlineFormat'
2520
2523
  collection :schema_update_options, as: 'schemaUpdateOptions'
2521
2524
  property :skip_leading_rows, as: 'skipLeadingRows'
2525
+ property :source_column_match, as: 'sourceColumnMatch'
2522
2526
  property :source_format, as: 'sourceFormat'
2523
2527
  collection :source_uris, as: 'sourceUris'
2524
2528
  property :time_format, as: 'timeFormat'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-bigquery_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.84.0
4
+ version: 0.85.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-02 00:00:00.000000000 Z
10
+ date: 2025-03-16 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquery_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.84.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.85.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquery_v2
62
62
  rdoc_options: []
63
63
  require_paths: