google-apis-bigquery_v2 0.84.0 → 0.87.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: a7da5f69c4edcf7ccd68cd3cf1575052b5e3054190b109e57e1ba4f217835e58
4
+ data.tar.gz: a80c1ce3a1a3b60dbf76cff64ed1f4633e34be0c621e9d1ebd77eb363f51f017
5
5
  SHA512:
6
- metadata.gz: 82a130522c290cbfa8f39c5b5d3ae2afa12c42bd88cbddee4c098af57da9920469dd9f45a94ebf326f543c51a129a8a64298bf0f93d2676a81b8dcc1ac64d727
7
- data.tar.gz: 3601f4b4a18cad014b136c6d16d8f51b78d58d06ffc3d6d609c3a12b961006443e1b1bd420ee260495c922f4832ce40dead519fbe449db11b9b4ff1be55b8d1f
6
+ metadata.gz: dd3823d1a79828fb6d6c5a2b23415f2f21070274647edfce779f16d0574cedbb21de50f60ab6bcda06f6c855d8404e1c347f10e4feb2d7a20652db5027106154
7
+ data.tar.gz: 4b703bdf7e0094eed6252e218a7e6d0dc02f325e449160488dcf0c29eb131066c6b9274dee6d953873cf21cf9b37692eef2d2eae91f7c88a9c11c97374219ffb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.87.0 (2025-04-20)
4
+
5
+ * Regenerated from discovery document revision 20250404
6
+
7
+ ### v0.86.0 (2025-03-23)
8
+
9
+ * Regenerated from discovery document revision 20250313
10
+
11
+ ### v0.85.0 (2025-03-16)
12
+
13
+ * Regenerated from discovery document revision 20250302
14
+
3
15
  ### v0.84.0 (2025-02-26)
4
16
 
5
17
  * Regenerated from discovery document revision 20250216
@@ -690,7 +690,8 @@ module Google
690
690
  end
691
691
  end
692
692
 
693
- # Configuration for BigLake managed tables.
693
+ # Configuration for BigQuery tables for Apache Iceberg (formerly BigLake managed
694
+ # tables.)
694
695
  class BigLakeConfiguration
695
696
  include Google::Apis::Core::Hashable
696
697
 
@@ -1606,6 +1607,17 @@ module Google
1606
1607
  # @return [String]
1607
1608
  attr_accessor :null_marker
1608
1609
 
1610
+ # Optional. A list of strings represented as SQL NULL value in a CSV file.
1611
+ # null_marker and null_markers can't be set at the same time. If null_marker is
1612
+ # set, null_markers has to be not set. If null_markers is set, null_marker has
1613
+ # to be not set. If both null_marker and null_markers are set at the same time,
1614
+ # a user error would be thrown. Any strings listed in null_markers, including
1615
+ # empty string would be interpreted as SQL NULL. This applies to all column
1616
+ # types.
1617
+ # Corresponds to the JSON property `nullMarkers`
1618
+ # @return [Array<String>]
1619
+ attr_accessor :null_markers
1620
+
1609
1621
  # Optional. Indicates if the embedded ASCII control characters (the first 32
1610
1622
  # characters in the ASCII-table, from '\x00' to '\x1F') are preserved.
1611
1623
  # Corresponds to the JSON property `preserveAsciiControlCharacters`
@@ -1641,6 +1653,18 @@ module Google
1641
1653
  # @return [Fixnum]
1642
1654
  attr_accessor :skip_leading_rows
1643
1655
 
1656
+ # Optional. Controls the strategy used to match loaded columns to the schema. If
1657
+ # not set, a sensible default is chosen based on how the schema is provided. If
1658
+ # autodetect is used, then columns are matched by name. Otherwise, columns are
1659
+ # matched by position. This is done to keep the behavior backward-compatible.
1660
+ # Acceptable values are: POSITION - matches by position. This assumes that the
1661
+ # columns are ordered the same way as the schema. NAME - matches by name. This
1662
+ # reads the header row as column names and reorders columns to match the field
1663
+ # names in the schema.
1664
+ # Corresponds to the JSON property `sourceColumnMatch`
1665
+ # @return [String]
1666
+ attr_accessor :source_column_match
1667
+
1644
1668
  def initialize(**args)
1645
1669
  update!(**args)
1646
1670
  end
@@ -1652,9 +1676,11 @@ module Google
1652
1676
  @encoding = args[:encoding] if args.key?(:encoding)
1653
1677
  @field_delimiter = args[:field_delimiter] if args.key?(:field_delimiter)
1654
1678
  @null_marker = args[:null_marker] if args.key?(:null_marker)
1679
+ @null_markers = args[:null_markers] if args.key?(:null_markers)
1655
1680
  @preserve_ascii_control_characters = args[:preserve_ascii_control_characters] if args.key?(:preserve_ascii_control_characters)
1656
1681
  @quote = args[:quote] if args.key?(:quote)
1657
1682
  @skip_leading_rows = args[:skip_leading_rows] if args.key?(:skip_leading_rows)
1683
+ @source_column_match = args[:source_column_match] if args.key?(:source_column_match)
1658
1684
  end
1659
1685
  end
1660
1686
 
@@ -4472,6 +4498,14 @@ module Google
4472
4498
  # @return [Google::Apis::BigqueryV2::JobConfigurationQuery]
4473
4499
  attr_accessor :query
4474
4500
 
4501
+ # Optional. The reservation that job would use. User can specify a reservation
4502
+ # to execute the job. If reservation is not set, reservation is determined based
4503
+ # on the rules defined by the reservation assignments. The expected format is `
4504
+ # projects/`project`/locations/`location`/reservations/`reservation``.
4505
+ # Corresponds to the JSON property `reservation`
4506
+ # @return [String]
4507
+ attr_accessor :reservation
4508
+
4475
4509
  def initialize(**args)
4476
4510
  update!(**args)
4477
4511
  end
@@ -4486,6 +4520,7 @@ module Google
4486
4520
  @labels = args[:labels] if args.key?(:labels)
4487
4521
  @load = args[:load] if args.key?(:load)
4488
4522
  @query = args[:query] if args.key?(:query)
4523
+ @reservation = args[:reservation] if args.key?(:reservation)
4489
4524
  end
4490
4525
  end
4491
4526
 
@@ -4791,6 +4826,17 @@ module Google
4791
4826
  # @return [String]
4792
4827
  attr_accessor :null_marker
4793
4828
 
4829
+ # Optional. A list of strings represented as SQL NULL value in a CSV file.
4830
+ # null_marker and null_markers can't be set at the same time. If null_marker is
4831
+ # set, null_markers has to be not set. If null_markers is set, null_marker has
4832
+ # to be not set. If both null_marker and null_markers are set at the same time,
4833
+ # a user error would be thrown. Any strings listed in null_markers, including
4834
+ # empty string would be interpreted as SQL NULL. This applies to all column
4835
+ # types.
4836
+ # Corresponds to the JSON property `nullMarkers`
4837
+ # @return [Array<String>]
4838
+ attr_accessor :null_markers
4839
+
4794
4840
  # Parquet Options for load and make external tables.
4795
4841
  # Corresponds to the JSON property `parquetOptions`
4796
4842
  # @return [Google::Apis::BigqueryV2::ParquetOptions]
@@ -4883,6 +4929,14 @@ module Google
4883
4929
  # @return [Fixnum]
4884
4930
  attr_accessor :skip_leading_rows
4885
4931
 
4932
+ # Optional. Controls the strategy used to match loaded columns to the schema. If
4933
+ # not set, a sensible default is chosen based on how the schema is provided. If
4934
+ # autodetect is used, then columns are matched by name. Otherwise, columns are
4935
+ # matched by position. This is done to keep the behavior backward-compatible.
4936
+ # Corresponds to the JSON property `sourceColumnMatch`
4937
+ # @return [String]
4938
+ attr_accessor :source_column_match
4939
+
4886
4940
  # Optional. The format of the data files. For CSV files, specify "CSV". For
4887
4941
  # datastore backups, specify "DATASTORE_BACKUP". For newline-delimited JSON,
4888
4942
  # specify "NEWLINE_DELIMITED_JSON". For Avro, specify "AVRO". For parquet,
@@ -4974,6 +5028,7 @@ module Google
4974
5028
  @json_extension = args[:json_extension] if args.key?(:json_extension)
4975
5029
  @max_bad_records = args[:max_bad_records] if args.key?(:max_bad_records)
4976
5030
  @null_marker = args[:null_marker] if args.key?(:null_marker)
5031
+ @null_markers = args[:null_markers] if args.key?(:null_markers)
4977
5032
  @parquet_options = args[:parquet_options] if args.key?(:parquet_options)
4978
5033
  @preserve_ascii_control_characters = args[:preserve_ascii_control_characters] if args.key?(:preserve_ascii_control_characters)
4979
5034
  @projection_fields = args[:projection_fields] if args.key?(:projection_fields)
@@ -4985,6 +5040,7 @@ module Google
4985
5040
  @schema_inline_format = args[:schema_inline_format] if args.key?(:schema_inline_format)
4986
5041
  @schema_update_options = args[:schema_update_options] if args.key?(:schema_update_options)
4987
5042
  @skip_leading_rows = args[:skip_leading_rows] if args.key?(:skip_leading_rows)
5043
+ @source_column_match = args[:source_column_match] if args.key?(:source_column_match)
4988
5044
  @source_format = args[:source_format] if args.key?(:source_format)
4989
5045
  @source_uris = args[:source_uris] if args.key?(:source_uris)
4990
5046
  @time_format = args[:time_format] if args.key?(:time_format)
@@ -7744,6 +7800,13 @@ module Google
7744
7800
  # @return [String]
7745
7801
  attr_accessor :request_id
7746
7802
 
7803
+ # Optional. The reservation that jobs.query request would use. User can specify
7804
+ # a reservation to execute the job.query. The expected format is `projects/`
7805
+ # project`/locations/`location`/reservations/`reservation``.
7806
+ # Corresponds to the JSON property `reservation`
7807
+ # @return [String]
7808
+ attr_accessor :reservation
7809
+
7747
7810
  # Optional. Optional: Specifies the maximum amount of time, in milliseconds,
7748
7811
  # that the client is willing to wait for the query to complete. By default, this
7749
7812
  # limit is 10 seconds (10,000 milliseconds). If the query is complete, the
@@ -7810,6 +7873,7 @@ module Google
7810
7873
  @query = args[:query] if args.key?(:query)
7811
7874
  @query_parameters = args[:query_parameters] if args.key?(:query_parameters)
7812
7875
  @request_id = args[:request_id] if args.key?(:request_id)
7876
+ @reservation = args[:reservation] if args.key?(:reservation)
7813
7877
  @timeout_ms = args[:timeout_ms] if args.key?(:timeout_ms)
7814
7878
  @use_legacy_sql = args[:use_legacy_sql] if args.key?(:use_legacy_sql)
7815
7879
  @use_query_cache = args[:use_query_cache] if args.key?(:use_query_cache)
@@ -9545,7 +9609,8 @@ module Google
9545
9609
  class Table
9546
9610
  include Google::Apis::Core::Hashable
9547
9611
 
9548
- # Configuration for BigLake managed tables.
9612
+ # Configuration for BigQuery tables for Apache Iceberg (formerly BigLake managed
9613
+ # tables.)
9549
9614
  # Corresponds to the JSON property `biglakeConfiguration`
9550
9615
  # @return [Google::Apis::BigqueryV2::BigLakeConfiguration]
9551
9616
  attr_accessor :biglake_configuration
@@ -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.87.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 = "20250404"
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.87.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-04-20 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.87.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: