google-apis-bigquery_v2 0.104.0 → 0.105.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: 3c9ebf624e3b9de1472a52813783c00e9b08a86930193393bbbc40057337770d
4
- data.tar.gz: '00950c326db1291e21571fd83c7c441c281dc9ebeaea719b2fcab93739dd9f48'
3
+ metadata.gz: 43f1e18ce4d42fa6ca3effbdb9bd21c47cad03e15ec5df18877dee9371a07e88
4
+ data.tar.gz: c32572cca028d587a1e82400097ca3b8f453cf11d6a85ba20abbcfa257f89033
5
5
  SHA512:
6
- metadata.gz: 3bc82bf0cdea9572f5a24210597a71b56e1caf3cf87a289093ebe129caa4daa31348a56938c23010a364dec2ef9dc1d3b54a6611080959211f9a9770a6a7d9f2
7
- data.tar.gz: 3c4d749d70f1b7f6c462e59f0c5c8f464f46e42a04536bc56fe8e510ffc6a54f471c3d6bc673550ae3e8278cd66507f40c8f8c39400ced784ae89bbb066cf1f1
6
+ metadata.gz: e24822961d7c849fa5ef8337bf9d79ab0d224b280a72e5dae6fc203a7cf64f539e13d8515ffdffcb15eef95f2f45b2daa14e41e68d7662ad3e508fec19dcbc79
7
+ data.tar.gz: 4ce2003196cf90e6873e953d66ec12a1b0f910b5d4abaddecd8e92a308cb524cc90347bc3d41a662faeee7fd01343d02957ee1bde1f25746e68ac96f39446f3f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.105.0 (2026-07-12)
4
+
5
+ * Regenerated from discovery document revision 20260620
6
+
3
7
  ### v0.104.0 (2026-06-21)
4
8
 
5
9
  * Regenerated from discovery document revision 20260605
@@ -508,6 +508,77 @@ module Google
508
508
  end
509
509
  end
510
510
 
511
+ # Arrow RecordBatch. This feature is not yet available.
512
+ class ArrowRecordBatch
513
+ include Google::Apis::Core::Hashable
514
+
515
+ # IPC-serialized Arrow RecordBatch.
516
+ # Corresponds to the JSON property `serializedRecordBatch`
517
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
518
+ # @return [String]
519
+ attr_accessor :serialized_record_batch
520
+
521
+ def initialize(**args)
522
+ update!(**args)
523
+ end
524
+
525
+ # Update properties of this object
526
+ def update!(**args)
527
+ @serialized_record_batch = args[:serialized_record_batch] if args.key?(:serialized_record_batch)
528
+ end
529
+ end
530
+
531
+ # Arrow schema as specified in https://arrow.apache.org/docs/python/api/
532
+ # datatypes.html and serialized to bytes using IPC: https://arrow.apache.org/
533
+ # docs/format/Columnar.html#serialization-and-interprocess-communication-ipc See
534
+ # code samples on how this message can be deserialized. This feature is not yet
535
+ # available.
536
+ class ArrowSchema
537
+ include Google::Apis::Core::Hashable
538
+
539
+ # IPC serialized Arrow schema.
540
+ # Corresponds to the JSON property `serializedSchema`
541
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
542
+ # @return [String]
543
+ attr_accessor :serialized_schema
544
+
545
+ def initialize(**args)
546
+ update!(**args)
547
+ end
548
+
549
+ # Update properties of this object
550
+ def update!(**args)
551
+ @serialized_schema = args[:serialized_schema] if args.key?(:serialized_schema)
552
+ end
553
+ end
554
+
555
+ # Contains options specific to Arrow Serialization. This feature is not yet
556
+ # available.
557
+ class ArrowSerializationOptions
558
+ include Google::Apis::Core::Hashable
559
+
560
+ # The compression codec to use for Arrow buffers in serialized record batches.
561
+ # Corresponds to the JSON property `bufferCompression`
562
+ # @return [String]
563
+ attr_accessor :buffer_compression
564
+
565
+ # Optional. Set timestamp precision option. If not set, the default precision is
566
+ # microseconds.
567
+ # Corresponds to the JSON property `picosTimestampPrecision`
568
+ # @return [String]
569
+ attr_accessor :picos_timestamp_precision
570
+
571
+ def initialize(**args)
572
+ update!(**args)
573
+ end
574
+
575
+ # Update properties of this object
576
+ def update!(**args)
577
+ @buffer_compression = args[:buffer_compression] if args.key?(:buffer_compression)
578
+ @picos_timestamp_precision = args[:picos_timestamp_precision] if args.key?(:picos_timestamp_precision)
579
+ end
580
+ end
581
+
511
582
  # Specifies the audit configuration for a service. The configuration determines
512
583
  # which permission types are logged, and what identities, if any, are exempted
513
584
  # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
@@ -3569,8 +3640,11 @@ module Google
3569
3640
  # @return [String]
3570
3641
  attr_accessor :container_memory
3571
3642
 
3572
- # Optional. Maximum number of requests that a Python UDF container instance can
3573
- # handle concurrently. If absent or if `0`, a default concurrency is used.
3643
+ # Optional. Maximum number of requests that a Python UDF instance can handle
3644
+ # concurrently. If absent or if `0`, the default concurrency value is used. For
3645
+ # more information, see [Configure container limits for Python UDFs](https://
3646
+ # cloud.google.com/bigquery/docs/user-defined-functions-python#configure-
3647
+ # container-limits).
3574
3648
  # Corresponds to the JSON property `containerRequestConcurrency`
3575
3649
  # @return [Fixnum]
3576
3650
  attr_accessor :container_request_concurrency
@@ -3947,7 +4021,7 @@ module Google
3947
4021
  attr_accessor :asynchronous
3948
4022
  alias_method :asynchronous?, :asynchronous
3949
4023
 
3950
- # Optional. The generation expression (e.g. AI.EMBED(...)) used to generated the
4024
+ # Optional. The generation expression (e.g. AI.EMBED(...)) used to generate the
3951
4025
  # field.
3952
4026
  # Corresponds to the JSON property `generationExpression`
3953
4027
  # @return [String]
@@ -8394,6 +8468,12 @@ module Google
8394
8468
  class QueryRequest
8395
8469
  include Google::Apis::Core::Hashable
8396
8470
 
8471
+ # Contains options specific to Arrow Serialization. This feature is not yet
8472
+ # available.
8473
+ # Corresponds to the JSON property `arrowSerializationOptions`
8474
+ # @return [Google::Apis::BigqueryV2::ArrowSerializationOptions]
8475
+ attr_accessor :arrow_serialization_options
8476
+
8397
8477
  # Optional. Connection properties which can modify the query behavior.
8398
8478
  # Corresponds to the JSON property `connectionProperties`
8399
8479
  # @return [Array<Google::Apis::BigqueryV2::ConnectionProperty>]
@@ -8526,6 +8606,17 @@ module Google
8526
8606
  # @return [Array<Google::Apis::BigqueryV2::QueryParameter>]
8527
8607
  attr_accessor :query_parameters
8528
8608
 
8609
+ # Optional. The query results format. If the value is anything other than `
8610
+ # STRUCT_ENCODING` or unspecified: * The schema of the results will be provided
8611
+ # in `QueryResponse.results_schema` field. * The results of the first page will
8612
+ # be provided in `QueryResponse.results` field. * The `QueryResponse.rows` will
8613
+ # not be populated. * The `QueryResponse.schema` for `QueryResponse.rows` will
8614
+ # also not be populated since it is the schema of the `QueryResponse.rows`. This
8615
+ # feature is not yet available.
8616
+ # Corresponds to the JSON property `queryResultsFormat`
8617
+ # @return [String]
8618
+ attr_accessor :query_results_format
8619
+
8529
8620
  # Optional. A unique user provided identifier to ensure idempotent behavior for
8530
8621
  # queries. Note that this is different from the job_id. It has the following
8531
8622
  # properties: 1. It is case-sensitive, limited to up to 36 ASCII characters. A
@@ -8603,6 +8694,7 @@ module Google
8603
8694
 
8604
8695
  # Update properties of this object
8605
8696
  def update!(**args)
8697
+ @arrow_serialization_options = args[:arrow_serialization_options] if args.key?(:arrow_serialization_options)
8606
8698
  @connection_properties = args[:connection_properties] if args.key?(:connection_properties)
8607
8699
  @continuous = args[:continuous] if args.key?(:continuous)
8608
8700
  @create_session = args[:create_session] if args.key?(:create_session)
@@ -8622,6 +8714,7 @@ module Google
8622
8714
  @preserve_nulls = args[:preserve_nulls] if args.key?(:preserve_nulls)
8623
8715
  @query = args[:query] if args.key?(:query)
8624
8716
  @query_parameters = args[:query_parameters] if args.key?(:query_parameters)
8717
+ @query_results_format = args[:query_results_format] if args.key?(:query_results_format)
8625
8718
  @request_id = args[:request_id] if args.key?(:request_id)
8626
8719
  @reservation = args[:reservation] if args.key?(:reservation)
8627
8720
  @timeout_ms = args[:timeout_ms] if args.key?(:timeout_ms)
@@ -8635,6 +8728,20 @@ module Google
8635
8728
  class QueryResponse
8636
8729
  include Google::Apis::Core::Hashable
8637
8730
 
8731
+ # Arrow RecordBatch. This feature is not yet available.
8732
+ # Corresponds to the JSON property `arrowRecordBatch`
8733
+ # @return [Google::Apis::BigqueryV2::ArrowRecordBatch]
8734
+ attr_accessor :arrow_record_batch
8735
+
8736
+ # Arrow schema as specified in https://arrow.apache.org/docs/python/api/
8737
+ # datatypes.html and serialized to bytes using IPC: https://arrow.apache.org/
8738
+ # docs/format/Columnar.html#serialization-and-interprocess-communication-ipc See
8739
+ # code samples on how this message can be deserialized. This feature is not yet
8740
+ # available.
8741
+ # Corresponds to the JSON property `arrowSchema`
8742
+ # @return [Google::Apis::BigqueryV2::ArrowSchema]
8743
+ attr_accessor :arrow_schema
8744
+
8638
8745
  # Whether the query result was fetched from the query cache.
8639
8746
  # Corresponds to the JSON property `cacheHit`
8640
8747
  # @return [Boolean]
@@ -8705,6 +8812,12 @@ module Google
8705
8812
  # @return [Fixnum]
8706
8813
  attr_accessor :num_dml_affected_rows
8707
8814
 
8815
+ # Output only. The number of rows out of `total_rows` returned in this response.
8816
+ # This feature is not yet available.
8817
+ # Corresponds to the JSON property `pageRowCount`
8818
+ # @return [Fixnum]
8819
+ attr_accessor :page_row_count
8820
+
8708
8821
  # A token used for paging results. A non-empty token indicates that additional
8709
8822
  # results are available. To see additional results, query the [`jobs.
8710
8823
  # getQueryResults`](https://cloud.google.com/bigquery/docs/reference/rest/v2/
@@ -8774,6 +8887,8 @@ module Google
8774
8887
 
8775
8888
  # Update properties of this object
8776
8889
  def update!(**args)
8890
+ @arrow_record_batch = args[:arrow_record_batch] if args.key?(:arrow_record_batch)
8891
+ @arrow_schema = args[:arrow_schema] if args.key?(:arrow_schema)
8777
8892
  @cache_hit = args[:cache_hit] if args.key?(:cache_hit)
8778
8893
  @creation_time = args[:creation_time] if args.key?(:creation_time)
8779
8894
  @dml_stats = args[:dml_stats] if args.key?(:dml_stats)
@@ -8785,6 +8900,7 @@ module Google
8785
8900
  @kind = args[:kind] if args.key?(:kind)
8786
8901
  @location = args[:location] if args.key?(:location)
8787
8902
  @num_dml_affected_rows = args[:num_dml_affected_rows] if args.key?(:num_dml_affected_rows)
8903
+ @page_row_count = args[:page_row_count] if args.key?(:page_row_count)
8788
8904
  @page_token = args[:page_token] if args.key?(:page_token)
8789
8905
  @query_id = args[:query_id] if args.key?(:query_id)
8790
8906
  @rows = args[:rows] if args.key?(:rows)
@@ -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.104.0"
19
+ GEM_VERSION = "0.105.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260605"
25
+ REVISION = "20260620"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,24 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class ArrowRecordBatch
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class ArrowSchema
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class ArrowSerializationOptions
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
85
103
  class AuditConfig
86
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
105
 
@@ -1594,6 +1612,28 @@ module Google
1594
1612
  end
1595
1613
  end
1596
1614
 
1615
+ class ArrowRecordBatch
1616
+ # @private
1617
+ class Representation < Google::Apis::Core::JsonRepresentation
1618
+ property :serialized_record_batch, :base64 => true, as: 'serializedRecordBatch'
1619
+ end
1620
+ end
1621
+
1622
+ class ArrowSchema
1623
+ # @private
1624
+ class Representation < Google::Apis::Core::JsonRepresentation
1625
+ property :serialized_schema, :base64 => true, as: 'serializedSchema'
1626
+ end
1627
+ end
1628
+
1629
+ class ArrowSerializationOptions
1630
+ # @private
1631
+ class Representation < Google::Apis::Core::JsonRepresentation
1632
+ property :buffer_compression, as: 'bufferCompression'
1633
+ property :picos_timestamp_precision, as: 'picosTimestampPrecision'
1634
+ end
1635
+ end
1636
+
1597
1637
  class AuditConfig
1598
1638
  # @private
1599
1639
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3513,6 +3553,8 @@ module Google
3513
3553
  class QueryRequest
3514
3554
  # @private
3515
3555
  class Representation < Google::Apis::Core::JsonRepresentation
3556
+ property :arrow_serialization_options, as: 'arrowSerializationOptions', class: Google::Apis::BigqueryV2::ArrowSerializationOptions, decorator: Google::Apis::BigqueryV2::ArrowSerializationOptions::Representation
3557
+
3516
3558
  collection :connection_properties, as: 'connectionProperties', class: Google::Apis::BigqueryV2::ConnectionProperty, decorator: Google::Apis::BigqueryV2::ConnectionProperty::Representation
3517
3559
 
3518
3560
  property :continuous, as: 'continuous'
@@ -3537,6 +3579,7 @@ module Google
3537
3579
  property :query, as: 'query'
3538
3580
  collection :query_parameters, as: 'queryParameters', class: Google::Apis::BigqueryV2::QueryParameter, decorator: Google::Apis::BigqueryV2::QueryParameter::Representation
3539
3581
 
3582
+ property :query_results_format, as: 'queryResultsFormat'
3540
3583
  property :request_id, as: 'requestId'
3541
3584
  property :reservation, as: 'reservation'
3542
3585
  property :timeout_ms, as: 'timeoutMs'
@@ -3549,6 +3592,10 @@ module Google
3549
3592
  class QueryResponse
3550
3593
  # @private
3551
3594
  class Representation < Google::Apis::Core::JsonRepresentation
3595
+ property :arrow_record_batch, as: 'arrowRecordBatch', class: Google::Apis::BigqueryV2::ArrowRecordBatch, decorator: Google::Apis::BigqueryV2::ArrowRecordBatch::Representation
3596
+
3597
+ property :arrow_schema, as: 'arrowSchema', class: Google::Apis::BigqueryV2::ArrowSchema, decorator: Google::Apis::BigqueryV2::ArrowSchema::Representation
3598
+
3552
3599
  property :cache_hit, as: 'cacheHit'
3553
3600
  property :creation_time, :numeric_string => true, as: 'creationTime'
3554
3601
  property :dml_stats, as: 'dmlStats', class: Google::Apis::BigqueryV2::DmlStatistics, decorator: Google::Apis::BigqueryV2::DmlStatistics::Representation
@@ -3564,6 +3611,7 @@ module Google
3564
3611
  property :kind, as: 'kind'
3565
3612
  property :location, as: 'location'
3566
3613
  property :num_dml_affected_rows, :numeric_string => true, as: 'numDmlAffectedRows'
3614
+ property :page_row_count, :numeric_string => true, as: 'pageRowCount'
3567
3615
  property :page_token, as: 'pageToken'
3568
3616
  property :query_id, as: 'queryId'
3569
3617
  collection :rows, as: 'rows', class: Google::Apis::BigqueryV2::TableRow, decorator: Google::Apis::BigqueryV2::TableRow::Representation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-bigquery_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.104.0
4
+ version: 0.105.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -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.104.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.105.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: