google-apis-bigquery_v2 0.84.0 → 0.86.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: a2206d80bd28c0bf1d42d75e91e9a013c860ff909fe8af8a8a4a95f38406304a
4
+ data.tar.gz: 7f43f72cb5228452360e5fd56f16fdd3f5bfe4f944a8b5c40ec625940a3047cc
5
5
  SHA512:
6
- metadata.gz: 82a130522c290cbfa8f39c5b5d3ae2afa12c42bd88cbddee4c098af57da9920469dd9f45a94ebf326f543c51a129a8a64298bf0f93d2676a81b8dcc1ac64d727
7
- data.tar.gz: 3601f4b4a18cad014b136c6d16d8f51b78d58d06ffc3d6d609c3a12b961006443e1b1bd420ee260495c922f4832ce40dead519fbe449db11b9b4ff1be55b8d1f
6
+ metadata.gz: 506f208dbf24f820c1a27e49239a6369ff2a0aa47bb452938735da0be6c760d0caa0bde820258c6ee5702742c0a5b86b78412287fb1c2fa9908790b65453cc8c
7
+ data.tar.gz: 74fcede957ab25db9c6933743236ca3eae6eea0bcc38283a63a93079a7e085252d2e425438a649d73a15eb46a61079eb088c727e21bb0e8eee2a1090e5e45bfb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.86.0 (2025-03-23)
4
+
5
+ * Regenerated from discovery document revision 20250313
6
+
7
+ ### v0.85.0 (2025-03-16)
8
+
9
+ * Regenerated from discovery document revision 20250302
10
+
3
11
  ### v0.84.0 (2025-02-26)
4
12
 
5
13
  * 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
 
@@ -4472,6 +4497,14 @@ module Google
4472
4497
  # @return [Google::Apis::BigqueryV2::JobConfigurationQuery]
4473
4498
  attr_accessor :query
4474
4499
 
4500
+ # Optional. The reservation that job would use. User can specify a reservation
4501
+ # to execute the job. If reservation is not set, reservation is determined based
4502
+ # on the rules defined by the reservation assignments. The expected format is `
4503
+ # projects/`project`/locations/`location`/reservations/`reservation``.
4504
+ # Corresponds to the JSON property `reservation`
4505
+ # @return [String]
4506
+ attr_accessor :reservation
4507
+
4475
4508
  def initialize(**args)
4476
4509
  update!(**args)
4477
4510
  end
@@ -4486,6 +4519,7 @@ module Google
4486
4519
  @labels = args[:labels] if args.key?(:labels)
4487
4520
  @load = args[:load] if args.key?(:load)
4488
4521
  @query = args[:query] if args.key?(:query)
4522
+ @reservation = args[:reservation] if args.key?(:reservation)
4489
4523
  end
4490
4524
  end
4491
4525
 
@@ -4791,6 +4825,17 @@ module Google
4791
4825
  # @return [String]
4792
4826
  attr_accessor :null_marker
4793
4827
 
4828
+ # Optional. A list of strings represented as SQL NULL value in a CSV file.
4829
+ # null_marker and null_markers can't be set at the same time. If null_marker is
4830
+ # set, null_markers has to be not set. If null_markers is set, null_marker has
4831
+ # to be not set. If both null_marker and null_markers are set at the same time,
4832
+ # a user error would be thrown. Any strings listed in null_markers, including
4833
+ # empty string would be interpreted as SQL NULL. This applies to all column
4834
+ # types.
4835
+ # Corresponds to the JSON property `nullMarkers`
4836
+ # @return [Array<String>]
4837
+ attr_accessor :null_markers
4838
+
4794
4839
  # Parquet Options for load and make external tables.
4795
4840
  # Corresponds to the JSON property `parquetOptions`
4796
4841
  # @return [Google::Apis::BigqueryV2::ParquetOptions]
@@ -4883,6 +4928,14 @@ module Google
4883
4928
  # @return [Fixnum]
4884
4929
  attr_accessor :skip_leading_rows
4885
4930
 
4931
+ # Optional. Controls the strategy used to match loaded columns to the schema. If
4932
+ # not set, a sensible default is chosen based on how the schema is provided. If
4933
+ # autodetect is used, then columns are matched by name. Otherwise, columns are
4934
+ # matched by position. This is done to keep the behavior backward-compatible.
4935
+ # Corresponds to the JSON property `sourceColumnMatch`
4936
+ # @return [String]
4937
+ attr_accessor :source_column_match
4938
+
4886
4939
  # Optional. The format of the data files. For CSV files, specify "CSV". For
4887
4940
  # datastore backups, specify "DATASTORE_BACKUP". For newline-delimited JSON,
4888
4941
  # specify "NEWLINE_DELIMITED_JSON". For Avro, specify "AVRO". For parquet,
@@ -4974,6 +5027,7 @@ module Google
4974
5027
  @json_extension = args[:json_extension] if args.key?(:json_extension)
4975
5028
  @max_bad_records = args[:max_bad_records] if args.key?(:max_bad_records)
4976
5029
  @null_marker = args[:null_marker] if args.key?(:null_marker)
5030
+ @null_markers = args[:null_markers] if args.key?(:null_markers)
4977
5031
  @parquet_options = args[:parquet_options] if args.key?(:parquet_options)
4978
5032
  @preserve_ascii_control_characters = args[:preserve_ascii_control_characters] if args.key?(:preserve_ascii_control_characters)
4979
5033
  @projection_fields = args[:projection_fields] if args.key?(:projection_fields)
@@ -4985,6 +5039,7 @@ module Google
4985
5039
  @schema_inline_format = args[:schema_inline_format] if args.key?(:schema_inline_format)
4986
5040
  @schema_update_options = args[:schema_update_options] if args.key?(:schema_update_options)
4987
5041
  @skip_leading_rows = args[:skip_leading_rows] if args.key?(:skip_leading_rows)
5042
+ @source_column_match = args[:source_column_match] if args.key?(:source_column_match)
4988
5043
  @source_format = args[:source_format] if args.key?(:source_format)
4989
5044
  @source_uris = args[:source_uris] if args.key?(:source_uris)
4990
5045
  @time_format = args[:time_format] if args.key?(:time_format)
@@ -7744,6 +7799,13 @@ module Google
7744
7799
  # @return [String]
7745
7800
  attr_accessor :request_id
7746
7801
 
7802
+ # Optional. The reservation that jobs.query request would use. User can specify
7803
+ # a reservation to execute the job.query. The expected format is `projects/`
7804
+ # project`/locations/`location`/reservations/`reservation``.
7805
+ # Corresponds to the JSON property `reservation`
7806
+ # @return [String]
7807
+ attr_accessor :reservation
7808
+
7747
7809
  # Optional. Optional: Specifies the maximum amount of time, in milliseconds,
7748
7810
  # that the client is willing to wait for the query to complete. By default, this
7749
7811
  # limit is 10 seconds (10,000 milliseconds). If the query is complete, the
@@ -7810,6 +7872,7 @@ module Google
7810
7872
  @query = args[:query] if args.key?(:query)
7811
7873
  @query_parameters = args[:query_parameters] if args.key?(:query_parameters)
7812
7874
  @request_id = args[:request_id] if args.key?(:request_id)
7875
+ @reservation = args[:reservation] if args.key?(:reservation)
7813
7876
  @timeout_ms = args[:timeout_ms] if args.key?(:timeout_ms)
7814
7877
  @use_legacy_sql = args[:use_legacy_sql] if args.key?(:use_legacy_sql)
7815
7878
  @use_query_cache = args[:use_query_cache] if args.key?(:use_query_cache)
@@ -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.86.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 = "20250313"
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
 
@@ -2451,6 +2453,7 @@ module Google
2451
2453
 
2452
2454
  property :query, as: 'query', class: Google::Apis::BigqueryV2::JobConfigurationQuery, decorator: Google::Apis::BigqueryV2::JobConfigurationQuery::Representation
2453
2455
 
2456
+ property :reservation, as: 'reservation'
2454
2457
  end
2455
2458
  end
2456
2459
 
@@ -2505,6 +2508,7 @@ module Google
2505
2508
  property :json_extension, as: 'jsonExtension'
2506
2509
  property :max_bad_records, as: 'maxBadRecords'
2507
2510
  property :null_marker, as: 'nullMarker'
2511
+ collection :null_markers, as: 'nullMarkers'
2508
2512
  property :parquet_options, as: 'parquetOptions', class: Google::Apis::BigqueryV2::ParquetOptions, decorator: Google::Apis::BigqueryV2::ParquetOptions::Representation
2509
2513
 
2510
2514
  property :preserve_ascii_control_characters, as: 'preserveAsciiControlCharacters'
@@ -2519,6 +2523,7 @@ module Google
2519
2523
  property :schema_inline_format, as: 'schemaInlineFormat'
2520
2524
  collection :schema_update_options, as: 'schemaUpdateOptions'
2521
2525
  property :skip_leading_rows, as: 'skipLeadingRows'
2526
+ property :source_column_match, as: 'sourceColumnMatch'
2522
2527
  property :source_format, as: 'sourceFormat'
2523
2528
  collection :source_uris, as: 'sourceUris'
2524
2529
  property :time_format, as: 'timeFormat'
@@ -3226,6 +3231,7 @@ module Google
3226
3231
  collection :query_parameters, as: 'queryParameters', class: Google::Apis::BigqueryV2::QueryParameter, decorator: Google::Apis::BigqueryV2::QueryParameter::Representation
3227
3232
 
3228
3233
  property :request_id, as: 'requestId'
3234
+ property :reservation, as: 'reservation'
3229
3235
  property :timeout_ms, as: 'timeoutMs'
3230
3236
  property :use_legacy_sql, as: 'useLegacySql'
3231
3237
  property :use_query_cache, as: 'useQueryCache'
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.86.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-23 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.86.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: